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

error: failed to compile svm-rs v0.2.23, intermediate artifacts can be found at /var/folders/d7/1zb4w94j5fdb7l4vyps_nfz40000gn/T/cargo-installdubCuB #88

Open
DessertHeart opened this issue Jun 6, 2023 · 3 comments

Comments

@DessertHeart
Copy link

I tried to install svm using cargo but there was an error. The provided hint doesn't help as well.
It seemed a version problem and plz help me. my cargo version is cargo 1.59.0

$cargo install svm-rs
    Updating crates.io index
  Installing svm-rs v0.2.23
error: failed to compile `svm-rs v0.2.23`, intermediate artifacts can be found at `/var/folders/d7/1zb4w94j5fdb7l4vyps_nfz40000gn/T/cargo-installdubCuB`

Caused by:
  failed to select a version for the requirement `clap = "^4.2"`
  candidate versions found which didn't match: 3.2.25, 3.2.24, 3.2.23, ...
  location searched: crates.io index
  required by package `svm-rs v0.2.23`
@DessertHeart
Copy link
Author

and the second command didn't work either.

$cargo install --locked --git https://github.com/roynalnaruto/svm-rs

    Updating git repository `https://github.com/roynalnaruto/svm-rs`
  Installing svm-rs v0.2.23 (https://github.com/roynalnaruto/svm-rs#d161e6fc)
    Updating crates.io index

error: failed to select a version for the requirement `clap = "^4.2"`
candidate versions found which didn't match: 3.2.25, 3.2.24, 3.2.23, ...
location searched: crates.io index
required by package `svm-rs v0.2.23 (/Users/dazso/.cargo/git/checkouts/svm-rs-cd2fa967df1e48a1/d161e6f/crates/svm-rs)`

@DimitrisKasabalis
Copy link

I have the same error:

cargo install svm-rs
    Updating crates.io index
  Installing svm-rs v0.3.4
error: failed to compile `svm-rs v0.3.4`, intermediate artifacts can be found at `/var/folders/4w/t258b59n54gc7jtkqs2755f80000gn/T/cargo-install73dtC6`

Caused by:
  failed to select a version for the requirement `clap = "^4.2"`
  candidate versions found which didn't match: 3.2.25, 3.2.24, 3.2.23, ...
  location searched: crates.io index
  required by package `svm-rs v0.3.4`

Any solution??

@DaniPopes
Copy link
Member

You might be on an unsupported rust toolchain, but I'm not sure because I've never seen this error before. Try after rustup update on the latest stable version

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

3 participants