[x] Is this related to the actions-rs Actions?
If you think it's a problem related to Github Actions in general, use GitHub Community forum instead: https://github.community
[ ] 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.
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)`
Do the checklist before filing an issue:
actions-rs
Actions? If you think it's a problem related to Github Actions in general, use GitHub Community forum instead: https://github.communityDescription
Currently we get a warning on every run:
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
https://github.com/prql/prql/blob/7c53bae1df859e8a258f7605c5dba003889fc0dd/.github/workflows/test.yaml#L34-L39
Action output
Expected behavior
No warning