Uh oh!
There was an error while loading. Please reload this page.
Prevent fmt::Arguments from being shared across threads - #45198
Conversation
I would prefer to put a |
oli-obk
commented
Oct 11, 2017
Done r? @arielb1 |
There was a problem hiding this comment.
why are you changing a test that should be unaffected? Is this only for the snapshot? In that case, I think you should add a SNAP: remove after snapshot comment.
There was a problem hiding this comment.
I've been testing the fmt::Arguments changes on stage 1, but it keeps failing on this test even without my changes. Someone forgot to add the flag, which is required for most proc-macro tests.
There was a problem hiding this comment.
I don't think it has anything to do with snapshots, just with compiler plugins. I can remove this comment from this PR. It's just an annoyance I encountered
arielb1
commented
Oct 11, 2017
@bors r+ |
bors
commented
Oct 11, 2017
📌 Commit 787f9f4 has been approved by |
Umm I would actually rather like a comment on @bors r- |
arielb1
commented
Oct 11, 2017
@bors r+ |
bors
commented
Oct 11, 2017
📌 Commit dc7de37 has been approved by |
arielb1
commented
Oct 11, 2017
@bors rollup |
ghost
commented
Oct 11, 2017
@arielb1 |
Prevent fmt::Arguments from being shared across threads Fixesrust-lang#45197 This is a **breaking change**! Without doing this it's very easy to create race conditions. There's probably a way to do this without breaking valid use cases, but it would require quite an overhaul of the formatting machinery.
Mark-Simulacrum
commented
Oct 11, 2017
@bors r- |
Mark-Simulacrum
commented
Oct 11, 2017
@rust-lang/libs -- nominating for discussion, I think this (as a breaking change) deserves some discussion before merging. |
alexcrichton
commented
Oct 11, 2017
Ideally we'd have a crater run to evaluate the impact here, but on the other hand it's not like we're not going to fix this. Rather, we may fix it more slowly if this ends up having a lot of fallout. In any case I'd personally be ok landing this as-is as it's on nightly and we can always revert it if the problem is too widespread. |
sfackler
commented
Oct 11, 2017
I agree. It seems pretty unlikely to me that anyone is writing code that depends on the Send or Sync-ness here. |
arielb1
commented
Oct 11, 2017
Sure. Only the latter prevents OIBITs. |
cuviper
commented
Oct 11, 2017
Whereas |
arielb1
commented
Oct 11, 2017
It "accidentally" prevents |
Mark-Simulacrum
commented
Oct 11, 2017
@bors try Well, I'll start a try build so that we can get a cargobomb run complete sooner should we decide to go that route. I don't think we should merge without results from that, but am fine with being overruled. |
bors
commented
Oct 11, 2017
⌛ Trying commit dc7de37 with merge e7aa529cd92736ab0f7400ad33835c5f64e93fc7... |
alexcrichton
commented
Oct 31, 2017
@aidanhs just checking in, is this unblocked now to get another crater run? |
alexcrichton
commented
Oct 31, 2017
@kennytm oh to answer your question I think it's ok to use the same artifacts from before. |
aidanhs
commented
Nov 3, 2017
Crater run started. |
cuviper
commented
Nov 8, 2017
@aidanhs Did crater finish this? |
Mark-Simulacrum
commented
Nov 8, 2017
Crater results: http://cargobomb-reports.s3.amazonaws.com/pr-45198-2/index.html |
cuviper
commented
Nov 8, 2017
@dpc it looks like the slog fix was merged into the 1.5.0 branch, but not the 1.x.y branch from which you released slog-1.6.0. |
dpc
commented
Nov 8, 2017
Oh my. Sorry. I've added it to the |
carols10cents
commented
Nov 13, 2017
@aidanhs@Mark-Simulacrumlooks like this might need another crater run? |
Mark-Simulacrum
commented
Nov 13, 2017
It'll probably be at least 8-10 days before Crater is ready for this PR -- we have 2 in queue right now. If the last Crater run only recorded problems due to slog failing, them I'm somewhat inclined to just push this through -- @rust-lang/libs: What do you think? We'll run crater on beta anyway, so I'm not too worried... |
kennytm
commented
Nov 13, 2017
Could we just run a "mini-crater" test on those 62 regressed crates? |
Mark-Simulacrum
commented
Nov 13, 2017
Seems possible, not sure -- @aidanhs may be able to comment on that, I don't know crater internals well enough to. |
sfackler
commented
Nov 21, 2017
It has now been over a month. I am going to r+ this thing in an hour unless someone strenuously objects. |
Mark-Simulacrum
commented
Nov 22, 2017
@bors r=sfackler Yeah, we should've pushed this through faster. I believe there are no significant remaining concerns, and beta just branched, so I'm happy to let this bake on nightly. |
bors
commented
Nov 22, 2017
📌 Commit dc7de37 has been approved by |
kennytm
commented
Nov 22, 2017
@bors rollup- Better not to roll this up given the potential breakage. |
bors
commented
Nov 22, 2017
Prevent fmt::Arguments from being shared across threads Fixes#45197 This is a **breaking change**! Without doing this it's very easy to create race conditions. There's probably a way to do this without breaking valid use cases, but it would require quite an overhaul of the formatting machinery.
bors
commented
Nov 22, 2017
☀️ Test successful - status-appveyor, status-travis |
Fixes#45197
This is a breaking change! Without doing this it's very easy to create race conditions.
There's probably a way to do this without breaking valid use cases, but it would require quite an overhaul of the formatting machinery.