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

run cargo test failed #366

Closed
zjingwang opened this issue Feb 13, 2023 · 6 comments
Closed

run cargo test failed #366

zjingwang opened this issue Feb 13, 2023 · 6 comments

Comments

@zjingwang
Copy link

hi, there. i am learning how to use this projects and had this problem:
`
Caused by:
unable to get packages from source

Caused by:
failed to parse manifest at /.cargo/registry/src/github.com-1ecc6299db9ec823/rayon-1.6.1/Cargo.toml

Caused by:
failed to parse the edition key

Caused by:
supported edition values are 2015 or 2018, but 2021 is unknown
`

@ripa1995
Copy link

ripa1995 commented Feb 13, 2023

Your issue lacks a bit of information and also seems to be more an issue related to rayon rather than bulletproofs, but I'll try to help.

It looks like you are trying to use bulletproofs with rayon in your custom project, which version of Rustc are you using (rayon 1.6.1 requires rustc version 1.56+)? Try to run rustup update.

@zjingwang
Copy link
Author

thanks for your help, sir, i'll try to update.

@19231224lhr
Copy link

thanks for your help, sir, i'll try to update.

Dear friends, do you solve this problem?
image

@ripa1995
Copy link

ripa1995 commented Apr 24, 2023

thanks for your help, sir, i'll try to update.

Dear friends, do you solve this problem? image

Hey,
the issue seems to be related Rust version described in the toolchain and supported by the bulletproofs main branch.
syn 2.0.15 requires version 1.56.
There are some PRs open / forks that fix such issues (one from our team actually).

@19231224lhr
Copy link

thanks for your help, sir, i'll try to update.

Dear friends, do you solve this problem? image

Hey, the issue seems to be related Rust version described in the toolchain and supported by the bulletproofs main branch. syn 2.0.15 requires version 1.56. There are some PRs open / forks that fix such issues (one from our team actually).

very thanks! I used your method and finally :
image

is this successfully passing the cargo test?

@ripa1995
Copy link

thanks for your help, sir, i'll try to update.

Dear friends, do you solve this problem? image

Hey, the issue seems to be related Rust version described in the toolchain and supported by the bulletproofs main branch. syn 2.0.15 requires version 1.56. There are some PRs open / forks that fix such issues (one from our team actually).

very thanks! I used your method and finally : image

is this successfully passing the cargo test?

Yes it should be.

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