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

Bug: failed to verify the checksum of surrealdb v1.0.0-beta.9+20230402 #1850

Closed
2 tasks done
Odonno opened this issue Apr 23, 2023 · 4 comments
Closed
2 tasks done

Bug: failed to verify the checksum of surrealdb v1.0.0-beta.9+20230402 #1850

Odonno opened this issue Apr 23, 2023 · 4 comments
Labels
bug Something isn't working topic:rust This is related to the Rust embedded library

Comments

@Odonno
Copy link
Contributor

Odonno commented Apr 23, 2023

Describe the bug

I have the following error very often when running inside GitHub Actions CI pipeline:

error: failed to verify the checksum of `surrealdb v1.0.0-beta.9+20230402` 

Example: https://github.com/Odonno/surrealdb-migrations/actions/runs/4777366293/jobs/8493040358?pr=4

Steps to reproduce

  1. Create a Rust project
  2. Install the surrealdb create to the latest version
  3. Sometimes it fails, sometimes it works

Expected behaviour

No fail.

SurrealDB version

v1.0.0-beta.9+20230402

Contact Details

No response

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Odonno Odonno added bug Something isn't working triage This issue is new labels Apr 23, 2023
@rushmorem rushmorem removed the triage This issue is new label Apr 23, 2023
@rushmorem rushmorem added this to the v1.0.0-beta.10 milestone Apr 23, 2023
@rushmorem
Copy link
Collaborator

This is a known Cargo issue. I'm not sure why it happens sometimes. I never run into it myself. This will automatically be fixed once beta.10 is released. A workaround for now is to use a git dependency.

@tobiemh tobiemh added the topic:rust This is related to the Rust embedded library label Apr 29, 2023
@yohcop
Copy link

yohcop commented May 1, 2023

Hi,

I'm running in the same issue.

rust-lang/cargo#7180
This is possibly the reason. So publishing beta 10 might indeed fix it, but until this bug is fixed in cargo, it could be good to avoid publishing the same version with a different + tag for future versions.

Best,

@sueskind
Copy link

sueskind commented May 3, 2023

To elaborate on @rushmorem 's workaround: You need to put this into your Cargo.toml under [dependencies]:

surrealdb = { git = "https://github.com/surrealdb/surrealdb.git", tag = "v1.0.0-beta.9" }

Or use a more recent tag.

@tobiemh
Copy link
Member

tobiemh commented May 22, 2023

I'm going to close this issue, as the problems arising in this issue will be fixed automatically with the next version release 🚀.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working topic:rust This is related to the Rust embedded library
Projects
None yet
Development

No branches or pull requests

5 participants