Skip to content

error_index_generator should output stdout/stderr when it panics. - #63002

Merged
bors merged 1 commit into
rust-lang:masterfrom
gilescope:better-build-diagnostics
Jul 26, 2019
Merged

error_index_generator should output stdout/stderr when it panics.#63002
bors merged 1 commit into
rust-lang:masterfrom
gilescope:better-build-diagnostics

Conversation

@gilescope

Copy link
Copy Markdown
Contributor

bootstrap change

Call error_index_generator tool using run_quiet which will additionally print std out and std err of the command when it returns an error.
(was run uses run_silent under the covers.)

Why: PR #62871 is hitting a build error but the panic isn't getting shown so its unclear what the problem is.

(was `run` uses `run_silent` under the covers.)
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 26, 2019
@gilescope

Copy link
Copy Markdown
ContributorAuthor

r? @Mark-Simulacrum

@gilescope

Copy link
Copy Markdown
ContributorAuthor

Hopefully this PR fixes issue #57151

@gilescope

Copy link
Copy Markdown
ContributorAuthor

As this change is in the build system I'm not sure that the green CI build above actually tested this change?

@Mark-Simulacrum

Copy link
Copy Markdown
Member

Yes, it did, we build rustbuild/bootstrap on every PR.

@bors r+

@bors

bors commented Jul 26, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 9d796eb has been approved by Mark-Simulacrum

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 26, 2019
Centril added a commit to Centril/rust that referenced this pull request Jul 26, 2019
… r=Mark-Simulacrum
error_index_generator should output stdout/stderr when it panics.
**bootstrap change**
Call error_index_generator tool using run_quiet which will additionally print std out and std err of the command when it returns an error.
(was `run` uses `run_silent` under the covers.)
Why: PR rust-lang#62871 is hitting a build error but the panic isn't getting shown so its unclear what the problem is.
@CentrilCentril mentioned this pull request Jul 26, 2019
bors added a commit that referenced this pull request Jul 26, 2019
Rollup of 22 pull requests
Successful merges:
- #62084 (allow clippy::unreadable_literal in unicode tables)
- #62120 (Add missing type links in documentation)
- #62310 (Add missing doc links in boxed module)
- #62421 (Introduce `as_deref` to Option)
- #62583 (Implement Unpin for all raw pointers)
- #62692 (rustc: precompute the largest Niche and store it in LayoutDetails.)
- #62801 (Remove support for -Zlower-128bit-ops)
- #62828 (Remove vector fadd/fmul reduction workarounds)
- #62862 (code cleanup)
- #62904 (Disable d32 on armv6 hf targets)
- #62907 (Initialize the MSP430 AsmParser)
- #62956 (Implement slow-path for FirstSets::first)
- #62963 (Allow lexer to recover from some homoglyphs)
- #62964 (clarify and unify some type test names)
- #62970 (ci: gate toolstate repo pushes on the TOOLSTATE_PUBLISH envvar)
- #62980 (std: Add more accessors for `Metadata` on Windows)
- #62983 (Remove needless indirection through Rc)
- #62985 (librustc_errors: Support ui-testing flag in annotate-snippet emitter)
- #63002 (error_index_generator should output stdout/stderr when it panics.)
- #63004 (Add test for issue-54062)
- #63007 (ci: debug network failures while downloading awscli from PyPI)
- #63009 (Remove redundant `mut` from variable declaration.)
Failed merges:
r? @ghost
@bors
bors merged commit 9d796eb into rust-lang:masterJul 26, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@gilescope@rust-highfive@Mark-Simulacrum@bors@alexcrichton