This repository was archived by the owner on Oct 13, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 91
This repository was archived by the owner on Oct 13, 2023. It is now read-only.
Miscreant warning re rust-fmt already installed, on every run #213
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Do the checklist before filing an issue:
- Is this related to the
actions-rsActions?
If you think it's a problem related to Github Actions in general, use GitHub Community forum instead: https://github.community - You've read the Contributing section about bugs reporting: https://github.com/actions-rs/.github/blob/master/CONTRIBUTING.md#reporting-bugs
- Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
Description
Currently we get a warning on every run:
Warning: warning: tool `cargo-fmt` is already installed, remove it from `/home/runner/.cargo/bin`, then run `rustup update` to have rustup manage this tool.
Is this expected? It's not a calamity, but it's helpful to be able to use the presence of warnings to identify an actual issue, rather than have them on every run.
Workflow code
Action output
Run actions-rs/toolchain@v1
with:
profile: minimal
target: wasm32-unknown-unknown
toolchain: stable
default: false
override: false
env:
CACHE_ON_FAILURE: false
CARGO_INCREMENTAL: 0
/home/runner/.cargo/bin/rustup show
Default host: x86_64-unknown-linux-gnu
rustup home: /home/runner/.rustup
stable-x86_64-unknown-linux-gnu (overridden by '/home/runner/work/prql/prql/rust-toolchain.toml')
rustc 1.60.0 (7737e0b5c 2022-04-04)
/home/runner/.cargo/bin/rustup -V
rustup 1.24.3 (ce5817a94 2021-05-31)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.60.0 (7737e0b5c 2022-04-04)`
Installed rustup 1.24.3 support profiles
/home/runner/.cargo/bin/rustup set profile minimal
info: profile set to 'minimal'
/home/runner/.cargo/bin/rustup toolchain install stable
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
stable-x86_64-unknown-linux-gnu unchanged - rustc 1.60.0 (7737e0b5c 2022-04-04)
info: checking for self-updates
warning: tool `rustfmt` is already installed, remove it from `/home/runner/.cargo/bin`, then run `rustup update` to have rustup manage this tool.
Warning: warning: tool `cargo-fmt` is already installed, remove it from `/home/runner/.cargo/bin`, then run `rustup update` to have rustup manage this tool.
/home/runner/.cargo/bin/rustup target add --toolchain stable wasm32-unknown-unknown
info: downloading component 'rust-std' for 'wasm32-unknown-unknown'
info: installing component 'rust-std' for 'wasm32-unknown-unknown'
Gathering installed versions
/home/runner/.cargo/bin/rustc -V
rustc 1.60.0 (7737e0b5c 2022-04-04)
/home/runner/.cargo/bin/cargo -V
cargo 1.60.0 (d1fd9fe 2022-03-01)
/home/runner/.cargo/bin/rustup -V
rustup 1.24.3 (ce5817a94 2021-05-31)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.60.0 (7737e0b5c 2022-04-04)`
Expected behavior
No warning
asarkar and kyoto7250
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working