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

Update Cargo.lock #63

Open
orhun opened this issue Nov 18, 2020 · 0 comments
Open

Update Cargo.lock #63

orhun opened this issue Nov 18, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@orhun
Copy link

orhun commented Nov 18, 2020

Describe the bug
Using --locked flag with cargo build fails because Cargo.lock is not up-to-date.

error: Cargo.lock needs to be updated but --locked was passed to prevent this
If you want to try to generate the lock file without accessing the network, use the --offline flag.

Usage of --locked flag is important for the AUR package's reproducibility.

(I also recommend you to release a new version after updating the Cargo.lock file)

To Reproduce

  1. Checkout the repository.
  2. Run any cargo command with --locked flag. (e.g. cargo build --locked)

Expected behavior
Successful build.

System Info

  • OS: Arch Linux
  • Rust: 1.50.0-nightly

Additional context
You should update the Cargo.lock file for solving this issue. Please use cargo build command and commit the updated Cargo.lock file.

@orhun orhun added the bug Something isn't working label Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant