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

Cargo error #349

Open
neochine opened this issue Jul 3, 2024 · 2 comments
Open

Cargo error #349

neochine opened this issue Jul 3, 2024 · 2 comments

Comments

@neochine
Copy link

neochine commented Jul 3, 2024

cargo install metaboss
Updating crates.io index
Downloaded metaboss v0.42.0
Downloaded 1 crate (1.6 MB) in 5.68s
Installing metaboss v0.42.0
Updating crates.io index
error: failed to compile metaboss v0.42.0, intermediate artifacts can be found at /tmp/cargo-installyfT9LC.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.

Caused by:
failed to select a version for the requirement spl-pod = "^0.1.1"
candidate versions found which didn't match: 0.3.0, 0.2.2, 0.1.0
location searched: crates.io index
required by package metaboss v0.42.0
perhaps a crate was updated and forgotten to be re-vendored?
Version:
rustc --version
rustc 1.79.0 (129f3b996 2024-06-10)
cargo --version
cargo 1.79.0 (ffa9cf99a 2024-06-03)

@samuelvanderwaal
Copy link
Owner

samuelvanderwaal commented Jul 3, 2024

cargo install metaboss Updating crates.io index Downloaded metaboss v0.42.0 Downloaded 1 crate (1.6 MB) in 5.68s Installing metaboss v0.42.0 Updating crates.io index error: failed to compile metaboss v0.42.0, intermediate artifacts can be found at /tmp/cargo-installyfT9LC. To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.

Caused by: failed to select a version for the requirement spl-pod = "^0.1.1" candidate versions found which didn't match: 0.3.0, 0.2.2, 0.1.0 location searched: crates.io index required by package metaboss v0.42.0 perhaps a crate was updated and forgotten to be re-vendored? Version: rustc --version rustc 1.79.0 (129f3b996 2024-06-10) cargo --version cargo 1.79.0 (ffa9cf99a 2024-06-03)

Run install with --locked: cargo install metaboss --locked or use the install script.

@neochine
Copy link
Author

neochine commented Jul 3, 2024

Actually fixed it already by changing git cloning, editing toml file to spl-pod = 0.1.0 and cargo install .. Kept issue open in case you might want to edit toml file and push updates to fix this issue

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