Skip to content

./x.py clippy is broken #64147

Closed
Closed

Description

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions