-
Notifications
You must be signed in to change notification settings - Fork 950
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
libp2p not building at 0.37.1 #2231
Comments
Reason for the compile time error:
Fix:
Would using |
Yes and no. More recent versions of Substrate upgraded to 0.39 already, but the people in the ecosystem who depend on older versions are stuck with 0.37. |
I have created branch
I can then merge the pull request and cut a new release of |
will try to do this |
When including rust-ipfs as a dependency in any crate, it fails with the following error: ``` error: failed to select a version for the requirement `aesni = "^0.7"` candidate versions found which didn't match: 0.99.99, 0.10.0, 0.9.0, ... location searched: crates.io index required by package `aes v0.4.0` ... which is depended on by `aes-gcm v0.6.0` ... which is depended on by `snow v0.7.1` ... which is depended on by `libp2p-noise v0.30.0 (/home/alexander/dev/misc/rust-libp2p/transports/noise)` ... which is depended on by `libp2p v0.37.1 (/home/alexander/dev/misc/rust-libp2p)` ... which is depended on by `libp2p-relay v0.2.0 (/home/alexander/dev/misc/rust-libp2p/protocols/relay)` ``` This fix updates the libp2p version into one that has a fix for this dependency and now it compiles fine
When including rust-ipfs as a dependency in any crate, it fails with the following error: ``` error: failed to select a version for the requirement `aesni = "^0.7"` candidate versions found which didn't match: 0.99.99, 0.10.0, 0.9.0, ... location searched: crates.io index required by package `aes v0.4.0` ... which is depended on by `aes-gcm v0.6.0` ... which is depended on by `snow v0.7.1` ... which is depended on by `libp2p-noise v0.30.0 (/home/alexander/dev/misc/rust-libp2p/transports/noise)` ... which is depended on by `libp2p v0.37.1 (/home/alexander/dev/misc/rust-libp2p)` ... which is depended on by `libp2p-relay v0.2.0 (/home/alexander/dev/misc/rust-libp2p/protocols/relay)` ``` This fix updates the libp2p version into one that has a fix for this dependency and now it compiles fine
475: Fixing build issue described in: libp2p/rust-libp2p#2231 r=koivunej a=karim-agha When including rust-ipfs as a dependency in any crate, it fails with the following error: ``` error: failed to select a version for the requirement `aesni = "^0.7"` candidate versions found which didn't match: 0.99.99, 0.10.0, 0.9.0, ... location searched: crates.io index required by package `aes v0.4.0` ... which is depended on by `aes-gcm v0.6.0` ... which is depended on by `snow v0.7.1` ... which is depended on by `libp2p-noise v0.30.0 (/home/alexander/dev/misc/rust-libp2p/transports/noise)` ... which is depended on by `libp2p v0.37.1 (/home/alexander/dev/misc/rust-libp2p)` ... which is depended on by `libp2p-relay v0.2.0 (/home/alexander/dev/misc/rust-libp2p/protocols/relay)` ``` This fix updates the libp2p version into one that has a fix for this dependency and now it compiles fine Co-authored-by: Karim Agha <[email protected]>
Problem Description
Version
0.37.1
is not currently building because of failed cargo dependency resolution. (This breaks a lot of dependents, e.g. Substrate.)Note: The error below is different from the one triggered in when trying to build Substrate. Substrate fails to select a version for
snow
.Reproduction Steps
git checkout v.0.37.1
cargo check
Error Logs
The text was updated successfully, but these errors were encountered: