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

[Task] Installation #286

Open
izanoth opened this issue Jan 8, 2025 · 2 comments
Open

[Task] Installation #286

izanoth opened this issue Jan 8, 2025 · 2 comments

Comments

@izanoth
Copy link

izanoth commented Jan 8, 2025

Background

Dependecies issue on cargo-near installation

error: failed to select a version for wasmparser. ... required by package near-cli-rs v0.17.0... which satisfies dependencynear-cli-rs = "^0.17.0"(locked to 0.17.0) of packagecargo-near v0.13.2 (/home/zanoth/training/near/cargo-near/cargo-near)... which satisfies path dependencycargo-near(locked to 0.13.2) of packagecargo-near-integration-tests v0.1.0 (/home/zanoth/training/near/cargo-near/integration-tests)versions that meet the requirements^0.217` (locked to 0.217.0) are: 0.217.0

the package near-cli-rs depends on wasmparser, with features: indexmap but wasmparser does not have these features.
It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.

failed to select a version for wasmparser which could resolve this conflict`

User Story

Studying Rust for deploying smart contracts.

Acceptance Criteria

Get near-cargo installed

Resources & Additional Notes

No response

Priority

🟢 P9 : undefined

@dj8yfo
Copy link
Collaborator

dj8yfo commented Jan 9, 2025

install is fine with cargo install --locked cargo-near (cargo 1.83.0) on x86_64-unknown-linux-gnu

@izanoth
Copy link
Author

izanoth commented Jan 9, 2025

cargo install --locked cargo-near

Installing cargo-near v0.13.2 error: failed to select a version forwasmparser. ... required by package near-cli-rs v0.17.0... which satisfies dependencynear-cli-rs = "^0.17.0"(locked to 0.17.0) of packagecargo-near v0.13.2versions that meet the requirements^0.217` (locked to 0.217.0) are: 0.217.0

the package near-cli-rs depends on wasmparser, with features: indexmap but wasmparser does not have these features.
It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.

failed to select a version for wasmparser which could resolve this conflict`

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