Cargo.lock drift blocks every rebuild #23

Closed
opened 2026-05-12 14:57:06 +00:00 by zaelgohary · 1 comment
Member

cargo metadata --locked fails on current development:

error: cannot update the lock file ... because --locked was passed to prevent this
help: to generate the lock file without accessing the network, remove the --locked flag and use --offline instead.

herodev's hero-rebuild-all runs a pre-build cargo metadata --locked guard and reports FAIL drift hero_agent for every sync since the drift landed (currently 3h+ stale binary at /home/zainab/hero/bin/hero_agent).

Fix: cargo update in the repo, commit the regenerated Cargo.lock, push to development.

`cargo metadata --locked` fails on current `development`: ``` error: cannot update the lock file ... because --locked was passed to prevent this help: to generate the lock file without accessing the network, remove the --locked flag and use --offline instead. ``` herodev's `hero-rebuild-all` runs a pre-build `cargo metadata --locked` guard and reports `FAIL drift hero_agent` for every sync since the drift landed (currently 3h+ stale binary at `/home/zainab/hero/bin/hero_agent`). Fix: `cargo update` in the repo, commit the regenerated `Cargo.lock`, push to development.
Author
Member

Fixed in fa9d528 (root cause was upstream hero_embedder@cb23967 bumping its 0.5.0 dep pins to 0.6.0; lockfile regen then succeeded).

Fixed in fa9d528 (root cause was upstream hero_embedder@cb23967 bumping its 0.5.0 dep pins to 0.6.0; lockfile regen then succeeded).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_agent#23
No description provided.