rust-clippy icon indicating copy to clipboard operation
rust-clippy copied to clipboard

Unable to build clippy from source code

Open NullSpaceBoy opened this issue 2 years ago • 3 comments

Description

I've cloned the clippy repository and tried to run cargo build, but I get the error:

error: the 'cargo.exe' binary, normally provided by the 'cargo' component, is not applicable to the 'nightly-2023-12-16-x86_64-pc-windows-msvc' toolchain

I'm new to using nightly version and have no idea what this error means and how to fix it. It would be helpful if someone points me in the right direction.

Version

rustc 1.76.0-nightly (a96d57bdb 2023-12-15)
binary: rustc
commit-hash: a96d57bdb6d2bb6d233d7d5aaefc2995ab99be01
commit-date: 2023-12-15
host: x86_64-pc-windows-msvc
release: 1.76.0-nightly
LLVM version: 17.0.6

Additional Labels

@rustbot label + C-question

NullSpaceBoy avatar Dec 27 '23 16:12 NullSpaceBoy

Error: Parsing relabel command in comment failed: ...' label +' | error: empty label at >| ' C-questio'...

Please file an issue on GitHub at triagebot if there's a problem with this bot, or reach out on #t-infra on Zulip.

rustbot avatar Dec 27 '23 16:12 rustbot

@rustbot label +C-question

NullSpaceBoy avatar Dec 27 '23 16:12 NullSpaceBoy

Running rustup uninstall nightly-2023-12-16 and reinstalling it seemed to do the trick.

NullSpaceBoy avatar Dec 28 '23 05:12 NullSpaceBoy