Error when running "cargo build --release --example muta-chain"
Just following the getting started guide and ran into the following error when trying to do a "cargo build --release --example muta-chain"
I get the following error:
cargo build --release --example muta-chain
Updating crates.io index
Updating git repository http://github.com/zeroqn/p2p
Updating git repository https://github.com/graphql-rust/juniper
Updating git repository https://github.com/tikv/rust-prometheus.git
error: failed to select a version for the requirement zeroize = "^0.9.3"
candidate versions found which didn't match: 1.4.1, 1.4.0, 1.3.0, ...
location searched: crates.io index
required by package amcl_wrapper v0.2.1
... which is depended on by bls_amcl v0.7.0
... which is depended on by ophelia-bls-amcl v0.3.0
... which is depended on by common-crypto v0.2.1 (/home/xxx/muta/common/crypto)
... which is depended on by byzantine v0.2.1 (/home/xxx/muta/byzantine)
... which is depended on by cli v0.2.1 (/home/xxx/muta/core/cli)
... which is depended on by muta v0.2.1 (/home/xxx/muta)
I see the version requirements do not match, not sure if I should try changing it since its a dependency, any help appreciated thank you!
This problem is because zeroize v0.9.3 has been cleared in crate. You can manually download zeroize v0.9.3 and put it under ~/.cargo/registry/.../zeroize-0.9.3, such as ~/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/zeroize-0.9.3,and zeroize_derive ~/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/zeroize_derive-0.9.3,link is here zeroize-0.9.3.
This problem is because zeroize v0.9.3 has been cleared in crate. You can manually download zeroize v0.9.3 and put it under
~/.cargo/registry/.../zeroize-0.9.3, such as~/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/zeroize-0.9.3,and zeroize_derive~/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/zeroize_derive-0.9.3,link is here zeroize-0.9.3.
Not work for me. Could you provide one docker file for build, or just the muta-chain binary file. Thanks!
This problem is because zeroize v0.9.3 has been cleared in crate. You can manually download zeroize v0.9.3 and put it under
~/.cargo/registry/.../zeroize-0.9.3, such as~/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/zeroize-0.9.3,and zeroize_derive~/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/zeroize_derive-0.9.3,link is here zeroize-0.9.3.Not work for me. Could you provide one docker file for build, or just the muta-chain binary file. Thanks!
this is a example of muta. https://filetransfer.io/data-package/gsKoFLSs#link
I'm getting the following error while running the build command:
➜ cargo build --release --example muta-chain
Updating crates.io index
error: failed to select a version for `tentacle-secio`.
... required by package `muta-keypair v0.2.1 (/home/zicklag/git/other/muta/devtools/keypair)`
versions that meet the requirements `^0.1` are: 0.1.11, 0.1.10, 0.1.9, 0.1.8, 0.1.7, 0.1.6, 0.1.5, 0.1.4, 0.1.3, 0.1.2, 0.1.1, 0.1.0
the package `muta-keypair` depends on `tentacle-secio`, with features: `molc` but `tentacle-secio` does not have these features.
failed to select a version for `tentacle-secio` which could resolve this conflict