Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
softprops opened this issue Feb 16, 2019 · 5 comments

Comments

@softprops
Copy link

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?

@kentfredric
Copy link

https://rust-lang-nursery.github.io/rust-toolstate/
https://mexus.github.io/rustup-components-history/
rust-lang/rust#56667

These links helped me understand :/, recurring issue.

@kentfredric
Copy link

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

@softprops
Copy link
Author

softprops commented Feb 17, 2019

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

@softprops
Copy link
Author

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

@topecongiro
Copy link
Contributor

This will be fixed once rust-lang/rust#58337 gets merged and the new nightly with the commit included gets published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants