Rustfmt: error: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is unavailable for download

Created on 16 Feb 2019  路  5Comments  路  Source: rust-lang/rustfmt

I'm seeing my nightly rust builds fail in travis fail because of the following error

error: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is unavailable for download

my builds attempt to install it using

rustup component add rustfmt

Thoughts?

Most helpful comment

All 5 comments

After a bit of digging, if you want a version of nightly with both working rustfmt and clippy, do:

rustup toolchain add nightly-2019-02-08
rustup component add --toolchain nightly-2019-02-08 rustfmt clippy

awesome it would be great to make those pages a bit more discoverable for rustfmt uses. perhaps a section in this projects README.md file

Is there anyone looking at this or an tracking issue I can link to? I'm going to do this temporary work around but would like to track an issue to I can reset when its fixed

This will be fixed once https://github.com/rust-lang/rust/pull/58337 gets merged and the new nightly with the commit included gets published.

Was this page helpful?
0 / 5 - 0 ratings