Skip to content
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

error_index_generator can fail with no error messages #57151

Closed
varkor opened this issue Dec 27, 2018 · 3 comments
Closed

error_index_generator can fail with no error messages #57151

varkor opened this issue Dec 27, 2018 · 3 comments
Labels
T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.

Comments

@varkor
Copy link
Member

varkor commented Dec 27, 2018

See https://travis-ci.org/rust-lang/rust/jobs/472667448 for instance, in which the logs read:

[01:00:04] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/error_index_generator" "html" "/checkout/obj/build/x86_64-unknown-linux-gnu/doc/error-index.html"
[01:00:04] expected success, got: exit code: 101

This is completely unhelpful as it gives the user no idea what the problem is.

@Centril Centril added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Dec 28, 2018
@GuillaumeGomez
Copy link
Member

Interesting. All functions return a dyn Error which is checked at the top level in the main function. In case of errors, a panic! is emitted. So in theory you should see something in case of failure...

@Mark-Simulacrum
Copy link
Member

Since we don't know what caused this and it's likely impossible/hard to reproduce I'm going to close this; if someone narrows down a reproduction then we can reopen to track a fix (though I suspect a PR would be relatively simple at that point, hopefully).

@gilescope
Copy link
Contributor

In my case it was caused by #63016.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants