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
Describe the bug
While running scripts/cargo_deny.sh, if cargo-deny is not already installed, the step that attempts to install it fails because the latest cargo-deny has an MSRV of 1.74, while the rust-toolchain file sets the toolchain to 1.72, and this affects cargo install.
$ cargo install cargo-deny
Updating crates.io index
Installing cargo-deny v0.14.21
Updating crates.io index
error: failed to compile `cargo-deny v0.14.21`, intermediate artifacts can be found at `/tmp/cargo-installv5Hzhx`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
Caused by:
package `clap_builder v4.5.2` cannot be built because it requires rustc 1.74 or newer, while the currently active rustc version is 1.72.0
Try re-running cargo install with `--locked`
To Reproduce
Steps to reproduce the behavior:
Uninstall cargo-deny if it is already installed.
From the repository root, run cargo install cargo-deny.
Expected behavior cargo-deny should install without error.
Desktop (please complete the following information):
OS: Arch Linux
Browser: N/A
Version: N/A
The text was updated successfully, but these errors were encountered:
Replaces only the cargo_deny.sh script for now. Can be expanded over
time to replace the other shell and python scripts, so only Rust is
needed to work with the repository.
Closes <#2887>
Closes <#4373>
---------
Co-authored-by: Emil Ernerfeldt <[email protected]>
Describe the bug
While running
scripts/cargo_deny.sh
, ifcargo-deny
is not already installed, the step that attempts to install it fails because the latestcargo-deny
has an MSRV of 1.74, while therust-toolchain
file sets the toolchain to 1.72, and this affectscargo install
.To Reproduce
Steps to reproduce the behavior:
cargo-deny
if it is already installed.cargo install cargo-deny
.Expected behavior
cargo-deny
should install without error.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: