-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Confusing CI error when compiler build fails #127869
Comments
I feel like this may be a recent change, I have noticed RLA capturing this output a lot since about last week. |
This could be related with one of the |
What's RLA? |
Rust log analyzer. Or Rust length array if we come up with safer VLAs :) |
This behavior is specific to the So in this case, the actual error that fails the CI job is really
not the previous compiler ICE (that is explicitly allowed by the script). |
To clarify: bootstrap is doing everything correctly here. The compiler build fails, it produces an error, and doesn't end its group. But because |
Ah! That makes sense.
Hm, maybe we could do the rustc build before the set +e, to ensure errors there actually count?
Ideally we'd convert these into subtrees and then get rid of the entire toolstate system (and the submodule pain)... Though I seem to recall @ehuss actually prefers submodules over subtrees.
|
…up, r=onur-ozkan Add missing GHA group for building `llvm-bitcode-linker` Found while investigating rust-lang#127869. r? `@onur-ozkan`
Rollup merge of rust-lang#127901 - Kobzol:llvm-bitcode-linker-gha-group, r=onur-ozkan Add missing GHA group for building `llvm-bitcode-linker` Found while investigating rust-lang#127869. r? `@onur-ozkan`
…onur-ozkan Improve error when a compiler/library build fails in `checktools.sh` Suggested by `@RalfJung` [here](rust-lang#127869 (comment)). `x86_64-gnu-tools` should take ~45 minutes, let's see if this doesn't regress it. r? `@onur-ozkan`
…onur-ozkan Improve error when a compiler/library build fails in `checktools.sh` Suggested by ``@RalfJung`` [here](rust-lang#127869 (comment)). `x86_64-gnu-tools` should take ~45 minutes, let's see if this doesn't regress it. r? ``@onur-ozkan``
Rollup merge of rust-lang#127934 - Kobzol:checktools-better-error, r=onur-ozkan Improve error when a compiler/library build fails in `checktools.sh` Suggested by ``@RalfJung`` [here](rust-lang#127869 (comment)). `x86_64-gnu-tools` should take ~45 minutes, let's see if this doesn't regress it. r? ``@onur-ozkan``
Improve error when a compiler/library build fails in `checktools.sh` Suggested by ``@RalfJung`` [here](rust-lang/rust#127869 (comment)). `x86_64-gnu-tools` should take ~45 minutes, let's see if this doesn't regress it. r? ``@onur-ozkan``
#127934 is merged, closing the issue. |
Opening this failed log shows a somewhat confusing error message:
It very much looks like this toolstate error is what makes the build fail. That's wrong though, there is another error hiding inside "Building compiler artifacts", and that is the true error.
Is there a way we can avoid showing errors that are entirely unrelated to the actual problem? Also, is there a way we can avoid hiding the compiler error? AFAIK github doesn't fold a group if the
endgroup
is missing, so ideally we'd not emitendgroup
if there was an error that aborts the build.Cc @rust-lang/bootstrap
The text was updated successfully, but these errors were encountered: