rust-lang / docker-rust-nightly

63 stars 30 forks source link

rustfmt/clippy is unavailable for download #12

Closed tyranron closed 5 years ago

tyranron commented 5 years ago

Cannot install rustfmt on nightly:

docker run --rm -it rustlang/rust:nightly rustup component add rustfmt
error: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is unavailable for download

While this works on stable:

docker run --rm -it rust:latest rustup component add rustfmt
info: downloading component 'rustfmt'
  3.2 MiB /   3.2 MiB (100 %)   2.4 MiB/s ETA:   0 s
info: installing component 'rustfmt'

How this can be workarounded?

sfackler commented 5 years ago

This is an upstream problem - there's nothing to do about this on the docker side.

tyranron commented 5 years ago

Fixed in recent builds.

Deedasmi commented 5 years ago

@sfackler Could you create a tag for nightly_clippy that only grabs the last version to support clippy?