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

error: failed to select a version for the requirement crypto-mac = "^0.7" #231

Closed
ayushmishra2005 opened this issue Aug 25, 2021 · 4 comments

Comments

@ayushmishra2005
Copy link

I am getting below error while compiling code with Substrate 3.0.0


ayushkumarmishra@Ayushs-MacBook-Pro node % cargo build --release              
    Updating crates.io index
error: failed to select a version for the requirement `crypto-mac = "^0.7"`
candidate versions found which didn't match: 0.11.1, 0.11.0, 0.10.1, ...
location searched: crates.io index
required by package `hmac v0.7.0`
    ... which is depended on by `hmac-drbg v0.2.0`
    ... which is depended on by `libsecp256k1 v0.3.4`
    ... which is depended on by `sc-executor v0.9.0`
    ... which is depended on by `datahighway v3.0.5 (/Users/ayushkumarmishra/workspace/node/node)`
       

Please help me to fix this.

@ayushmishra2005
Copy link
Author

also I want to add crypto-mac 0.7.0 has been deleted here https://crates.io/crates/crypto-mac/versions

@ltfschoen
Copy link

crypto-mac 0.7.0 has been added back to https://crates.io/crates/crypto-mac/versions
latest Substrate commit is building again

@al3mart
Copy link
Contributor

al3mart commented Aug 30, 2021

I guess we can close this issue then, feel free to open it again if this is still relevant.

@al3mart al3mart closed this as completed Aug 30, 2021
@ltfschoen
Copy link

note that this issue is related to this Substrate issue paritytech/substrate#9633

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

3 participants