near / cargo-near

Cargo extension for building Rust smart contracts on NEAR
Apache License 2.0
34 stars 17 forks source link

Error on resolving dependencies #93

Open BadConfig opened 1 year ago

BadConfig commented 1 year ago

git clone for this repo and cargo build gives this error:

   Updating crates.io index
error: failed to select a version for the requirement `libgit2-sys = "^0.13.4"`
candidate versions found which didn't match: 0.13.2+1.4.2, 0.13.1+1.4.2, 0.13.0+1.4.1, ...
location searched: crates.io index
required by package `git2 v0.14.4`
    ... which satisfies dependency `git2 = "^0.14"` (locked to 0.14.4) of package `cargo-near-integration-tests v0.1.0 (/Users/artemiyartamonov/Projects/cargo-near/integration-tests)`

Perhaps something is wrong with Cargo.lock file, I suppose there are problems between cargo-near and integration-tests but I might be wrong. Anyway, it may be good idea to add contribution rules with build instructions and build requirements to this repo.