+
Skip to content

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

Description

@kpaxradio

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载