-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
./x.py test src/test/ui
fails to build compiletest
#100062
Comments
This seems to have started recently; going back to before #99768 fixes the problem. |
Cc @dtolnay any idea what might be happening here? Not everyone sees this behavior, strangely. |
Looks like #99431 (comment), and probably needs the same fix. Something is lying about the exit status of rustc. |
Cc @yaahc who seems to be (or has been) getting similar errors |
@dtolnay hm, but this code seems to forward the exist status correctly rust/src/bootstrap/bin/rustc.rs Lines 215 to 236 in 471fa05
|
One possible issue is that anyhow does not seem to propagate The bootstrap |
IOW, this logic from autocfg is missing. |
Not sure what's going on in this case sadly :/ I had this issue because of a bug in rustc-perf but I haven't seen it show up outside of that context. |
I can confirm that the issue is fixed by applying dtolnay/anyhow#249. |
I am pretty sure this was caused by #99431: after that PR, the build probe of anyhow fails to build with latest libstd. It still works with the bootstrap compiler's libstd though, which is why anyhow thinks it can use the backtrace feature, but actually can't. eyre has exactly the same problem: eyre-rs/eyre#84 |
update anyhow Fixes rust-lang/rust#100062 by incorporating dtolnay/anyhow#249
update anyhow Fixes rust-lang/rust#100062 by incorporating dtolnay/anyhow#249
The text was updated successfully, but these errors were encountered: