Skip to content

rustfmt hasn't been published to nightly in a while now #4792

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

Closed
RReverser opened this issue Apr 9, 2021 · 3 comments
Closed

rustfmt hasn't been published to nightly in a while now #4792

RReverser opened this issue Apr 9, 2021 · 3 comments

Comments

@RReverser
Copy link
Contributor

For couple of weeks, I can't update to newer nightly Rust, because it's missing rustfmt component and Rustup (for a good reason) refuses to update to nightly versions without all installed components these days:

~$ rustup update
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2021-04-09, rust version 1.53.0-nightly (2e495d2e8 2021-04-08)
info: skipping nightly which is missing installed component 'rustfmt'
info: syncing channel updates for 'nightly-2021-04-08-x86_64-unknown-linux-gnu'
info: latest update on 2021-04-08, rust version 1.53.0-nightly (361bfce30 2021-04-07)
info: skipping nightly which is missing installed component 'rustfmt'
info: syncing channel updates for 'nightly-2021-04-07-x86_64-unknown-linux-gnu'
info: latest update on 2021-04-07, rust version 1.53.0-nightly (c051c5ddd 2021-04-06)
info: skipping nightly which is missing installed component 'rustfmt'
info: syncing channel updates for 'nightly-2021-04-06-x86_64-unknown-linux-gnu'
info: latest update on 2021-04-06, rust version 1.53.0-nightly (d32238532 2021-04-05)
info: skipping nightly which is missing installed component 'rustfmt'
info: syncing channel updates for 'nightly-2021-04-05-x86_64-unknown-linux-gnu'
info: latest update on 2021-04-05, rust version 1.53.0-nightly (c755ee4ce 2021-04-04)
info: skipping nightly which is missing installed component 'rustfmt'
info: syncing channel updates for 'nightly-2021-04-04-x86_64-unknown-linux-gnu'
info: latest update on 2021-04-04, rust version 1.53.0-nightly (0b417ab5c 2021-04-03)
info: skipping nightly which is missing installed component 'rustfmt'
info: syncing channel updates for 'nightly-2021-04-03-x86_64-unknown-linux-gnu'
info: latest update on 2021-04-03, rust version 1.53.0-nightly (138fd56cf 2021-04-02)
info: skipping nightly which is missing installed component 'rustfmt'
info: syncing channel updates for 'nightly-2021-04-02-x86_64-unknown-linux-gnu'
info: latest update on 2021-04-02, rust version 1.53.0-nightly (d474075a8 2021-04-01)
info: skipping nightly which is missing installed component 'rustfmt'
info: syncing channel updates for 'nightly-2021-04-01-x86_64-unknown-linux-gnu'
info: latest update on 2021-04-01, rust version 1.53.0-nightly (4fdac23f3 2021-03-31)
info: skipping nightly which is missing installed component 'rustfmt'
info: syncing channel updates for 'nightly-2021-03-31-x86_64-unknown-linux-gnu'
info: latest update on 2021-03-31, rust version 1.53.0-nightly (74874a690 2021-03-30)
info: skipping nightly which is missing installed component 'rustfmt'
info: syncing channel updates for 'nightly-2021-03-30-x86_64-unknown-linux-gnu'
info: latest update on 2021-03-30, rust version 1.53.0-nightly (48691ea6e 2021-03-29)
info: skipping nightly which is missing installed component 'rustfmt'
info: syncing channel updates for 'nightly-2021-03-29-x86_64-unknown-linux-gnu'
info: latest update on 2021-03-29, rust version 1.53.0-nightly (4a20eb6a9 2021-03-28)
info: skipping nightly which is missing installed component 'rustfmt'
info: syncing channel updates for 'nightly-2021-03-28-x86_64-unknown-linux-gnu'
info: latest update on 2021-03-28, rust version 1.53.0-nightly (9b0edb7fd 2021-03-27)
info: skipping nightly which is missing installed component 'rustfmt'
info: syncing channel updates for 'nightly-2021-03-27-x86_64-unknown-linux-gnu'
info: latest update on 2021-03-27, rust version 1.53.0-nightly (5e65467ef 2021-03-26)
info: skipping nightly which is missing installed component 'rustfmt'
info: syncing channel updates for 'nightly-2021-03-26-x86_64-unknown-linux-gnu'
info: latest update on 2021-03-26, rust version 1.53.0-nightly (52e3dffa5 2021-03-25)
info: skipping nightly which is missing installed component 'rustfmt'
info: syncing channel updates for 'nightly-2021-03-25-x86_64-unknown-linux-gnu'
info: checking for self-updates

   stable-x86_64-unknown-linux-gnu unchanged - rustc 1.51.0 (2fd73fabe 2021-03-23)
  nightly-x86_64-unknown-linux-gnu unchanged - rustc 1.53.0-nightly (07e0e2ec2 2021-03-24)

info: cleaning up downloads & tmp directories

Of course, I could temporarily remove rustfmt from nightly toolchain, but it seems to be an indicator of some deeper issue so decided to report here first.

@RReverser RReverser added the bug Panic, non-idempotency, invalid code, etc. label Apr 9, 2021
@m-ou-se
Copy link
Member

m-ou-se commented Apr 9, 2021

Looks like this is already tracked in rust-lang/rust#83460

@RReverser
Copy link
Contributor Author

Ah good to know. I only looked through rustfmt issues before submitting, because it seemed like a natural place for tracking this issue.

@calebcartwright calebcartwright removed the bug Panic, non-idempotency, invalid code, etc. label Apr 10, 2021
@calebcartwright
Copy link
Member

Thanks for reaching out but going to close this. In cases of broken toolstates the relevant teams are automatically informed in real time so there's no need to report missing tools.

As an aside, note that rustup supports the --allow-downgrade flag which can be particularly useful in these sorts of cases if you don't need a bleeding edge nightly (e.g. rustup toolchain install --allow-downgrade nightly -c rustfmt

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