Skip to content

error: the lock file /build/sqlx-cli/src/sqlx-0.7.3/Cargo.lock needs to be updated but --locked was passed to prevent this #3031

@svenstaro

Description

@svenstaro

Bug Description

I'm trying to build sqlx-cli 0.7.3 with --locked but I'm getting:

error: the lock file /build/sqlx-cli/src/sqlx-0.7.3/Cargo.lock needs to be updated but --locked was passed to prevent this

Minimal Reproduction

git checkout v0.7.3
cargo build --locked

I think the release process didn't properly run cargo update after bumping the package version number. I'd like to request a new release where this is done properly as it's fairly important to be able to do a --locked build to ensure reproducibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions