Repository navigation
fix: sync Cargo.lock to 1.2.1 - #367
Merged
Merged
Conversation
#366 bumped Cargo.toml to 1.2.1 but left Cargo.lock at 1.2.0, so any `cargo build --locked` against this checkout fails with: error: cannot update the lock file .../Cargo.lock because --locked was passed to prevent this This breaks niubash's release workflow, which builds a bash shim inside the cloned ../rubash checkout. rubash's own CI does not catch it because it runs `cargo check` from the repo root rather than against a --locked consumer build.
This was referenced Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncs
Cargo.lockto match theCargo.tomlversion bumped in #366.Why
#366 bumped
Cargo.tomlto 1.2.1 but leftCargo.lockdeclaringrubash 1.2.0.Any
cargo build --lockedagainst this checkout then fails:rubash's own CI does not catch this — it runs
cargo checkfrom the repo root,where the lock is consistent enough to pass. It only surfaces on a consumer
build, which is exactly what niubash's release workflow does:
scripts/package-release.ps1builds a bash shim inside the cloned../rubashcheckout with
--locked, and that step died on the v1.2.1 tag run.Change
One line:
Cargo.lock→rubashversion1.2.0→1.2.1.Evidence
Failed release run: https://github.com/unixwin/niubash/actions/runs/36802287260
Both matrix legs (x64 and arm64) fail identically.