-
Notifications
You must be signed in to change notification settings - Fork 323
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 build: error: failed to select a version for ibc-proto
.
#3676
Comments
This is weird, since Hermes builds fine on CI and I am also unable to reproduce this locally. Also this error message is plain wrong:
since Which commit are you building from? Maybe do a |
seems like it comes from Error: $ cargo add ibc-proto --package ibc-relayer-types
Updating crates.io index
Adding ibc-proto v0.38.0 to dependencies.
Features:
+ client
+ std
- borsh
- json-schema
- parity-scale-codec
- proto-descriptor
- serde
- server
error: failed to select a version for `ibc-proto`.
... required by package `ibc-relayer v0.26.0 (/home/ttruong/data/development/hermes/crates/relayer)`
versions that meet the requirements `^0.38.0` (locked to 0.38.0) are: 0.38. And yes, I did a cargo clean and working on |
Ah i see then yeah the v1.7.0 tag is a bit borked. You can either install it from crates.io or build from master if that's okay with you. Sorry about that! |
Can you create a new release? |
error when installing from crates.io:
|
error from building on master branch: ~/data/development/hermes (master)$ cargo build --release --bin hermes
error: failed to select a version for `ibc-proto`.
... required by package `ibc-relayer v0.26.0 (/home/ttruong/data/development/hermes/crates/relayer)`
versions that meet the requirements `^0.38.0` (locked to 0.38.0) are: 0.38.0
the package `ibc-relayer` depends on `ibc-proto`, with features: `tonic` but `ibc-proto` 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 `ibc-proto` which could resolve this conflict |
Are you using Rust |
That was the problem! Upgraded to |
I was trying to build v1.7.0 using
cargo build --release --bin hermes
, but get this error:I was able to build v1.6.0 though.
The text was updated successfully, but these errors were encountered: