SeaQL / SeaQL/sea-orm

Cargo.lock file is outdated

Open
#2,687 0 comments 0 reactions 0 assignees View on GitHub

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

  1. cargo build --locked
Expected Behavior

It should compile.

Actual Behavior

It complains.

Versions

1.1.14

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.