Closed Manishearth closed 5 years ago
fyi @seanmonstar
I also get this with cargo check --all-targets
on futures-rs
getting this while trying to compile rust itself(702b45e409495a41afcccbe87a251a692b0cefab):
Confirming bisection range is #64946
guessing it's PR https://github.com/rust-lang/rust/pull/63674 attempting rust compilation with reverted like so:
this might take a while...
It's not it, surprisingly enough(for me). (manually)Reverting that PR fails the same. (that is, applied this patch on top of rust commit 702b45e409495a41afcccbe87a251a692b0cefab )
generator_interior_types
to typeck-table which is stable-hashed, and the hyper ICE is happening on async fn
by querying that table, which looks relevant.I've reversed-applied the patch from https://github.com/rust-lang/rust/pull/64895.patch (aka reverted PR #64895 ) on top of rust 7130fc54e05e247f93c7ecc2d10f56b314c97831 like this patch -R -p1 -i 64895.patch
, and the results are(74mins later, at least):
it passed!(failed later, on clippy_lints, but that's unrelated) So that's the problematic PR, thanks @sinkuu
Since rust got updated compared to my previous try, I'll re-apply this PR on top of what already worked just now to see if it indeed fails with it! Will post new comment with the update.
Confirmed the ICE is back with that PR, using @sinkuu 's minimized test-case:
Minimized test-case:
// compile-flags: -Z query-dep-graph --edition=2018
struct Body;
impl Body {
async fn next(&mut self) {
async { }.await
}
}
Thanks @sinkuu, self-assigning to look into this (since I caused it with #64895) - if anyone else wants to look into fixing also, please feel free.
Hyper fails to compile on Rust master (702b45e40)