Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upUpdate is happening even if user has a tool and that tool is missing #1486
Comments
nrc
added
the
bug
label
Aug 24, 2018
This comment has been minimized.
This comment has been minimized.
|
We need to block nightly on RLS etc. again if rustup cannot prevent uninstall of manually added components. (cc @rust-lang-nursery/infra) (P.S. we need to sync the team members between the two orgs...) |
kennytm
referenced this issue
Aug 25, 2018
Open
Stop blocking nightlies when RLS/rustfmt/clippy is missing #69
This comment has been minimized.
This comment has been minimized.
|
The generated manifests when rls is missing are wrong. The rustup behavior was changed in #1419 to handle removed components (when the docs for some tier 2 platforms were removed and users weren't able to update), but the old behavior is still present when the component is marked as Currently there is no mention of rls in the nightly manifest at all. The easiest way to fix is to keep rls in the manifest but mark it as unavailable, and this doesn't require any rustup update. |
pietroalbini
referenced this issue
Aug 26, 2018
Merged
Include missing tools in the manifest and mark them as unavailable #53715
bors
added a commit
to rust-lang/rust
that referenced
this issue
Aug 26, 2018
This comment has been minimized.
This comment has been minimized.
|
This should be fixed with @pietroalbini's PR |
nrc
closed this
Aug 27, 2018
This comment has been minimized.
This comment has been minimized.
|
When will that fix propagate out? The 2018-08-29 nightly still upgraded and warned about missing rls-preview and clippy-preview components. |
This comment has been minimized.
This comment has been minimized.
|
It should have worked today :-( |
nrc
reopened this
Aug 29, 2018
This comment has been minimized.
This comment has been minimized.
|
In today's manifest, rls and Clippy have |
This comment has been minimized.
This comment has been minimized.
|
Nope, experimented with this for a bit locally, and it's still a manifest problem. While the components themselves are [[pkg.rust.target.x86_64-unknown-linux-gnu.components]]
pkg = "clippy-preview"
target = "x86_64-unknown-linux-gnu"The error messages are still really bad, but at least we don't upgrade people with components installed. I'll look into sending a PR to rustc soon to tweak manifest generation again. |
pietroalbini
referenced this issue
Aug 29, 2018
Merged
Fix manifests for broken tools: take 2 #53803
bors
added a commit
to rust-lang/rust
that referenced
this issue
Aug 30, 2018
This comment has been minimized.
This comment has been minimized.
|
Ok, this should be fixed now. |
This comment has been minimized.
This comment has been minimized.
|
Awesome, thank you! |

nrc commentedAug 24, 2018
This should require
--force.cc rust-lang/rls#641