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

cargo metadata fails to verify the checksum of syn-test-suite v0.0.0 #967

Closed
matthiaskrgr opened this issue Feb 7, 2021 · 2 comments
Closed

Comments

@matthiaskrgr
Copy link

matthiaskrgr commented Feb 7, 2021

If i download syn 1.0.60 from crates.io https://crates.io/api/v1/crates/syn/1.0.60/download , extract it and run cargo metadata on the crate sources, I get an error:

  Downloaded syn-test-suite v0.0.0
error: failed to verify the checksum of `syn-test-suite v0.0.0`

It seems that I don't have the sources of the crate in my cargo cache (in ~/.cargo/registry/src/github.com-1ecc6299db9ec823/).
There is only syn-test-suite-0.0.0+test but not syn-test-suite-0.0.0.

Maybe something went wrong while packaging?

@dtolnay
Copy link
Owner

dtolnay commented Mar 29, 2021

Closing as this seems like a Cargo bug, not anything to do with syn specifically. If somebody does look into this and there is an easy workaround that syn would be able to do, I would welcome a PR.

@dtolnay dtolnay closed this as completed Mar 29, 2021
@aidanhs
Copy link

aidanhs commented Aug 11, 2021

For reference, this is to do with rust-lang/cargo#7180

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