Cargo.lock file is outdated
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 9.9k
- Forks
- 734
- Avg merge
- 6h 36m
- Merged PRs (30d)
- 8
Description
Description
I want to build this with --locked:
cargo build --locked
Updating crates.io index
error: the lock file sea-orm/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, remove the --locked flag and use --offline instead.
Steps to Reproduce
- cargo build --locked
Expected Behavior
It should compile.
Actual Behavior
It complains.
Versions
1.1.14
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with sea-orm/Cargo.lock and run cargo build --locked from the repository root to reproduce the outdated-lockfile error. Regenerate the lock file using Cargo, then rerun the locked build; done means the command compiles without requiring lockfile updates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100