solokeys / solo2-cli

Solo 2 library and CLI in Rust
https://docs.rs/solo2
Apache License 2.0
173 stars 31 forks source link

cannot be built because it requires rustc 1.64.0 or newer, while the currently active rustc version is 1.63.0 #111

Open kpaxradio opened 1 year ago

kpaxradio commented 1 year ago

In
$sudo cargo install solo

I have an error

Updating crates.io index Installing solo2 v0.2.2 error: failed to compile solo2 v0.2.2, intermediate artifacts can be found at /tmp/cargo-installlLTNKN Caused by: package anstyle-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: package spin v0.9.4 in Cargo.lock is yanked in registry crates-io, consider running without --locked error: failed to compile solo2 v0.2.2, intermediate artifacts can be found at /tmp/cargo-installjE7ZG1

Caused by: package clap 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 ?

BeesBoxler commented 1 year ago

if you already have rustup installed, running rustup update will update to the latest version (1.72.1 as of me typing this)