You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rustbuild: --no-fail-fast tries to compile rustc 40+ times (due to crossbeam-utils failure) before eventually failing #74801
Presumably this is because 46 things depend on crossbeam-utils. But then they should automatically fail when one of their dependencies has recorded a failure, instead of re-running the same command. (In other words --no-fail-fast should only move onto other targets whose dependencies haven't failed.)
It's hard to notice these failures, since the error messages quickly scroll out of view. I only noticed because I eventually realised the build really shouldn't be taking 3+ hours.
changed the title [-]rustbuild: --no-fail-fast tries to compile crossbeam-utils 40+ times before eventually failing[/-][+]rustbuild: --no-fail-fast tries to compile rustc 40+ times (due to crossbeam-utils failure) before eventually failing[/+]on Jul 27, 2020
AFAICT, this is not trying to compile rustc 40+ times, it's just the tests for each rustc crate -- building those will always fail if a dependency like crossbeam-utils is failing to compile.
I'm not sure what behavior is expected from no-fail-fast, though -- I don't think we have a good way of differentiating the different kinds of cargo test failures (i.e., unit test failure from "could not build"). Maybe we could get Cargo to return different exit codes or something like that...
Activity
[-]rustbuild: --no-fail-fast tries to compile crossbeam-utils 40+ times before eventually failing[/-][+]rustbuild: --no-fail-fast tries to compile rustc 40+ times (due to crossbeam-utils failure) before eventually failing[/+]infinity0 commentedon Jul 27, 2020
edited the bug title to clarify that it tries to compile the whole of rustc 40+ times, a massive waste of time
Rollup merge of rust-lang#74803 - infinity0:fix-exec, r=nagisa
Mark-Simulacrum commentedon Aug 2, 2020
AFAICT, this is not trying to compile rustc 40+ times, it's just the tests for each rustc crate -- building those will always fail if a dependency like crossbeam-utils is failing to compile.
I'm not sure what behavior is expected from no-fail-fast, though -- I don't think we have a good way of differentiating the different kinds of
cargo testfailures (i.e., unit test failure from "could not build"). Maybe we could get Cargo to return different exit codes or something like that...Enselic commentedon Dec 16, 2023
Triage: Is this still a problem?