Skip to content

Cargo test Error #376

Open
Open
@bo-hub

Description

@bo-hub

I am trying to run this projects. And when I ran cargo test, it returns this error below.

bob@bobvm:~/code/rust_demo/rust_lib_zk/bulletproofs$ cargo test
Updating crates.io index
error: failed to select a version for the requirement regex = "= 1.10.3"
candidate versions found which didn't match: 1.8.4, 1.8.3, 1.8.2, ...
location searched: crates.io index
required by package criterion v0.3.6
... which is depended on by bulletproofs v2.0.0 (/home/bob/code/rust_demo/rust_lib_zk/bulletproofs)

And my rust toolchain list is:

stable-x86_64-unknown-linux-gnu
nightly-2019-07-31-x86_64-unknown-linux-gnu (override)
nightly-x86_64-unknown-linux-gnu (default)
1.56.0-x86_64-unknown-linux-gnu

How to fix this?

Thanks inadvance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions