You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem cargo fmt can no longer be run as of rustup 1.24.0
Steps
$ rustup self updateinfo: checking for self-updatesinfo: downloading self-update rustup updated - 1.24.0 (from 1.23.1)
$ rustup updaterustup 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-27, rust version 1.53.0-nightly (968425893 2021-04-26)info: skipping nightly which is missing installed component 'rustfmt'info: syncing channel updates for 'nightly-2021-04-26-x86_64-unknown-linux-gnu'info: latest update on 2021-04-26, rust version 1.53.0-nightly (3709ae324 2021-04-25)info: skipping nightly which is missing installed component 'rustfmt'info: syncing channel updates for 'nightly-2021-04-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 (42816d61e 2021-04-24)info: cleaning up downloads & tmp directories
$ rustup component add rustfmtinfo: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is up to date
$ cargo fmt error: unknown proxy name: 'cargo-fmt'; valid proxy names are 'rustc', 'rustdoc', 'cargo', 'rust-lldb', 'rust-gdb', 'rls', 'cargo-clippy', 'clippy-driver', 'cargo-miri'
Possible Solution(s)
This seems to work just fine on rustup 1.23.1, so we should likely be looking at recent changes
Notes
$ rustup --versionrustup --version rustup 1.24.0 (2f894d923 2021-04-24)info: This is the version for the rustup toolchain manager, not the rustc compiler.info: The currently active `rustc` version is `rustc 1.51.0 (2fd73fabe 2021-03-23)`
$ rustup showDefault host: x86_64-unknown-linux-gnurustup home: /home/avery/.rustupinstalled toolchains--------------------stable-x86_64-unknown-linux-gnu (default)nightly-x86_64-unknown-linux-gnu1.47.0-x86_64-unknown-linux-gnuinstalled targets for active toolchain--------------------------------------aarch64-apple-darwinwasm32-unknown-unknownx86_64-apple-darwinx86_64-unknown-linux-gnux86_64-unknown-linux-muslactive toolchain----------------stable-x86_64-unknown-linux-gnu (directory override for '/home/avery/work/rover')rustc 1.51.0 (2fd73fabe 2021-03-23)
The text was updated successfully, but these errors were encountered:
Problem
cargo fmt
can no longer be run as of rustup 1.24.0Steps
Possible Solution(s)
This seems to work just fine on rustup 1.23.1, so we should likely be looking at recent changes
Notes
The text was updated successfully, but these errors were encountered: