Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Aug 5, 2023 · 1 comment

Comments

@kpaxradio
Copy link

kpaxradio commented Aug 5, 2023

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants