Description
In
$sudo cargo install solo
I have an error
Updating crates.io index
Installing solo2 v0.2.2
error: failed to compilesolo2 v0.2.2
, intermediate artifacts can be found at/tmp/cargo-installlLTNKN
Caused by:
packageanstyle-query v1.0.0
cannot be built because it requires rustc 1.64.0 or newer, while the currently active rustc version is 1.63.0
Try re-running cargo install with--locked
I try also
$sudo cargo install solo2 --locked
and get similar error
Updating crates.io index
Installing solo2 v0.2.2
warning: packagespin v0.9.4
in Cargo.lock is yanked in registrycrates-io
, consider running without --locked
error: failed to compilesolo2 v0.2.2
, intermediate artifacts can be found at/tmp/cargo-installjE7ZG1
Caused by:
packageclap v4.1.1
cannot be built because it requires rustc 1.64.0 or newer, while the currently active rustc version is 1.63.0
I tried to put from https://rustup.rs/
as
$curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
but it doesn't seem to see the newer one in the command
$sudo cargo install solo
how can I use only the newer rustup version for installing solo2 ?