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

Bootstrap outputs some progress messages on stdout #110995

Closed
clubby789 opened this issue Apr 29, 2023 · 0 comments · Fixed by #110999
Closed

Bootstrap outputs some progress messages on stdout #110995

clubby789 opened this issue Apr 29, 2023 · 0 comments · Fixed by #110999
Assignees
Labels
C-bug Category: This is a bug. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@clubby789
Copy link
Contributor

clubby789 commented Apr 29, 2023

I tried this:

x b -h 2>/dev/null

I expected to see this happen: No status messages, only help output

Instead, this happened:

info: Downloading and building bootstrap before processing --help command.
      See src/bootstrap/README.md for help with common commands.
extracting /home/jamie/Documents/rust/build/cache/2023-04-20/rust-std-beta-x86_64-unknown-linux-gnu.tar.xz
extracting /home/jamie/Documents/rust/build/cache/2023-04-20/rustc-beta-x86_64-unknown-linux-gnu.tar.xz
extracting /home/jamie/Documents/rust/build/cache/2023-04-20/cargo-beta-x86_64-unknown-linux-gnu.tar.xz
Building bootstrap

This makes stdout awkward to parse when using e.g. --json-output.

(I'll fix this myself later today if no one else wants to claim it)
@rustbot claim
@rustbot label +T-bootstrap

@clubby789 clubby789 added the C-bug Category: This is a bug. label Apr 29, 2023
@rustbot rustbot added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Apr 29, 2023
@jyn514 jyn514 added the E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. label Apr 29, 2023
@bors bors closed this as completed in a422610 Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants