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

./x.py clippy is broken #64147

Closed
euclio opened this issue Sep 4, 2019 · 2 comments
Closed

./x.py clippy is broken #64147

euclio opened this issue Sep 4, 2019 · 2 comments
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@euclio
Copy link
Contributor

euclio commented Sep 4, 2019

commit 5f42f3e

Running ./x.py clippy results in the following message:

$ ./x.py clippy
Updating only changed submodules
Submodules updated in 0.05 seconds
    Finished dev [unoptimized] target(s) in 0.11s
Checking rustdoc artifacts (x86_64-apple-darwin -> x86_64-apple-darwin)
Checking std artifacts (x86_64-apple-darwin -> x86_64-apple-darwin)
error: 'json-render-diagnostics' isn't a valid value for '--message-format <FMT>'
        [possible values: human, json, short]

        Did you mean 'json'?

USAGE:
    cargo check --features <FEATURES> --jobs <N> --manifest-path <PATH> --message-format <FMT> --release --target <TRIPLE> -Z <FLAG>...

For more information try --help
command did not execute successfully: "/Users/andyru/repos/rust/build/x86_64-apple-darwin/stage0/bin/cargo" "clippy" "--target" "x86_64-apple-darwin" "-Zbinary-dep-depinfo" "-j" "16" "--release" "--features" "panic-unwind backtrace compiler-builtins-c" "--manifest-path" "/Users/andyru/repos/rust/src/libtest/Cargo.toml" "--message-format" "json-render-diagnostics" "--" "--cap-lints" "warn"
expected success, got: exit code: 1
failed to run: /Users/andyru/repos/rust/build/bootstrap/debug/bootstrap clippy
Build completed unsuccessfully in 0:00:01

I also tried performing a full build beforehand, but I got the same message.

@mati865
Copy link
Contributor

mati865 commented Sep 4, 2019

Weird, I just fixed it 2 weeks ago in #63781 and PR related to your error was merged 3 weeks ago: #63534

Maybe it's something in your environment?

@Centril Centril added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Sep 5, 2019
@euclio
Copy link
Contributor Author

euclio commented Nov 12, 2019

Yeah, seems to work fine now. Closing.

@euclio euclio closed this as completed Nov 12, 2019
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. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants