Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upFresh install on macos can't install rustfmt and clippy using rustup #1558
Comments
This comment has been minimized.
This comment has been minimized.
|
Could you try running |
This comment has been minimized.
This comment has been minimized.
StefPac
commented
Dec 4, 2018
•
|
No luck with
As for the beta and nightly toolchains, is the documentation at https://beta.rust-lang.org/ supposed to work only with those? I think the website should explicitly mention it, because the wording suggests that the only beta is the website, not the tooling. |
This comment has been minimized.
This comment has been minimized.
tspiteri
commented
Dec 6, 2018
|
I don't know if it's related, but on Windows running On GNU/Linux, |
This comment has been minimized.
This comment has been minimized.
|
There were distribution problems with rustup on Windows, they're currently being addressed, so hopefully this should be resolved today. |
This comment has been minimized.
This comment has been minimized.
rhysd
commented
Dec 7, 2018
•
|
I'm seeing the same issue on macOS 10.12.
I did
And here is the output of cargo-x86_64-apple-darwin (default) clippy-preview-x86_64-apple-darwin (installed) lldb-preview-x86_64-apple-darwin llvm-tools-preview-x86_64-apple-darwin rls-preview-x86_64-apple-darwin rust-analysis-x86_64-apple-darwin rust-docs-x86_64-apple-darwin (default) rust-src rust-std-aarch64-apple-ios rust-std-aarch64-fuchsia rust-std-aarch64-linux-android rust-std-aarch64-unknown-cloudabi rust-std-aarch64-unknown-linux-gnu rust-std-aarch64-unknown-linux-musl rust-std-arm-linux-androideabi rust-std-arm-unknown-linux-gnueabi rust-std-arm-unknown-linux-gnueabihf rust-std-arm-unknown-linux-musleabi rust-std-arm-unknown-linux-musleabihf rust-std-armebv7r-none-eabi rust-std-armebv7r-none-eabihf rust-std-armv5te-unknown-linux-gnueabi rust-std-armv5te-unknown-linux-musleabi rust-std-armv7-apple-ios rust-std-armv7-linux-androideabi rust-std-armv7-unknown-cloudabi-eabihf rust-std-armv7-unknown-linux-gnueabihf rust-std-armv7-unknown-linux-musleabihf rust-std-armv7r-none-eabi rust-std-armv7r-none-eabihf rust-std-armv7s-apple-ios rust-std-asmjs-unknown-emscripten rust-std-i386-apple-ios rust-std-i586-pc-windows-msvc rust-std-i586-unknown-linux-gnu rust-std-i586-unknown-linux-musl rust-std-i686-apple-darwin rust-std-i686-linux-android rust-std-i686-pc-windows-gnu rust-std-i686-pc-windows-msvc rust-std-i686-unknown-cloudabi rust-std-i686-unknown-freebsd rust-std-i686-unknown-linux-gnu rust-std-i686-unknown-linux-musl rust-std-mips-unknown-linux-gnu rust-std-mips-unknown-linux-musl rust-std-mips64-unknown-linux-gnuabi64 rust-std-mips64el-unknown-linux-gnuabi64 rust-std-mipsel-unknown-linux-gnu rust-std-mipsel-unknown-linux-musl rust-std-powerpc-unknown-linux-gnu rust-std-powerpc-unknown-linux-gnuspe rust-std-powerpc64-unknown-linux-gnu rust-std-powerpc64le-unknown-linux-gnu rust-std-powerpc64le-unknown-linux-musl rust-std-riscv32imac-unknown-none-elf rust-std-riscv32imc-unknown-none-elf rust-std-s390x-unknown-linux-gnu rust-std-sparc-unknown-linux-gnu rust-std-sparc64-unknown-linux-gnu rust-std-sparcv9-sun-solaris rust-std-thumbv6m-none-eabi rust-std-thumbv7em-none-eabi rust-std-thumbv7em-none-eabihf rust-std-thumbv7m-none-eabi rust-std-wasm32-unknown-emscripten rust-std-wasm32-unknown-unknown rust-std-x86_64-apple-darwin (default) rust-std-x86_64-apple-ios rust-std-x86_64-fuchsia rust-std-x86_64-linux-android rust-std-x86_64-pc-windows-gnu rust-std-x86_64-pc-windows-msvc rust-std-x86_64-rumprun-netbsd rust-std-x86_64-sun-solaris rust-std-x86_64-unknown-cloudabi rust-std-x86_64-unknown-freebsd rust-std-x86_64-unknown-hermit rust-std-x86_64-unknown-linux-gnu rust-std-x86_64-unknown-linux-gnux32 rust-std-x86_64-unknown-linux-musl rust-std-x86_64-unknown-netbsd rust-std-x86_64-unknown-redox rustc-x86_64-apple-darwin (default) rustfmt-preview-x86_64-apple-darwin |
This comment has been minimized.
This comment has been minimized.
danpker
commented
Dec 7, 2018
|
This is also preventing the removal of
|
This comment has been minimized.
This comment has been minimized.
rom1v
commented
Dec 7, 2018
•
But:
But still does not work with "stable":
EDIT:
fixed the problem. |
This comment has been minimized.
This comment has been minimized.
rhysd
commented
Dec 7, 2018
|
I could also fix this issue by removing and adding stable again. |
This comment has been minimized.
This comment has been minimized.
yim7
commented
Dec 7, 2018
|
Thanks |
This comment has been minimized.
This comment has been minimized.
asomers
commented
Dec 8, 2018
|
clippy and rustfmt are also missing for x86_64-unknown-freebsd:
|
This comment has been minimized.
This comment has been minimized.
bspeice
commented
Dec 9, 2018
|
Had a lot of jobs in Travis start failing recently because of this too: https://travis-ci.org/bspeice/qadapt/jobs/465480502 |
added a commit
to tari-project/tari
that referenced
this issue
Jan 7, 2019
added a commit
to tari-project/tari
that referenced
this issue
Jan 7, 2019
This comment has been minimized.
This comment has been minimized.
rubberduck203
commented
Jan 7, 2019
|
FWIW I had to run the following to get to a working state. rustup toolchain remove stable && rustup toolchain install stable |
This comment has been minimized.
This comment has been minimized.
mass10
commented
Jan 14, 2019
This worked for me. Thank you! |
This comment has been minimized.
This comment has been minimized.
mykmelez
commented
Jan 28, 2019
I see this with clippy on nightly x86_64-apple-darwin:
However, I don't see it with rustfmt:
Regardless, it isn't unclear that it's the same issue, since this issue was originally that the stable toolchain "does not contain component", whereas this error message says it's "unavailable for download." |
This comment has been minimized.
This comment has been minimized.
mykmelez
commented
Jan 28, 2019
Indeed, it's unrelated. My issue is that clippy is actually unavailable for today's nightly, per https://mexus.github.io/rustup-components-history/x86_64-apple-darwin.html. |
StefPac commentedDec 3, 2018
Following the instructions in https://beta.rust-lang.org/learn/get-started I ran the commands:
rustup add component rustfmtandrustup add component clippyand got the following errors:and
I am new to the community, so apologies if this has an obvious explanation.