Install error, found last day(2019-10-15)

raspbian buster(10)

message:
Current installation options:

default host triple: armv7-unknown-linux-gnueabihf
default toolchain: stable
profile: default
modify PATH variable: yes

  1. Proceed with installation (default)
  2. Customize installation
  3. Cancel installation

1

info: profile set to 'default'
info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
info: latest update on 2019-09-26, rust version 1.38.0 (625451e37 2019-09-23)
error: some components unavailable for download for channel stable: 'clippy', 'rustfmt'
If you require these components, please install and use the latest successful build version,
which you can find at https://rust-lang.github.io/rustup-components-history.

After determining the correct date, install it with a command such as:

rustup toolchain install nightly-2018-12-27

Then you can use the toolchain with commands such as:

cargo +nightly-2018-12-27 build

clippy and rustfmt are not available for the latest nightly at the moment you tried to update. you can remove them first or wait a few days.

I see, but i just install it first time in my new raspberry pi4.

just run:
curl https://sh.rustup.rs -sSf | sh

Thanks for your help.

You can try to choose custom installation and then enter nightly-2019-10-13 as default toolchain. That is the latest nightly with rustfmt and clippy available.

Edit: You could try to set the profile to minimal after choosing custom installation. That will prevent installation of clippy and rustfmt.

I'm surprised you're getting this error for a stable install.

Any idea why clippy and rustfmt couldn't sync with rustc releases? Those errors are annoying.

On most targets the clippy and rustfmt are available on both stable and beta, but I think this is not the case for so called tier 2 targets.

Quoting https://forge.rust-lang.org/release/platform-support.html:

Tier 2 platforms can be thought of as "guaranteed to build". Automated tests are not run so it's not guaranteed to produce a working build, but platforms often work to quite a good degree and patches are always welcome!

@bjorn3 That makes sense. I think the error message from rustup is too nightly-centric though.