Skip to content

ci: install cargo-make --locked (every zip 2.x was yanked) - #204

Merged
sanity merged 1 commit into
mainfrom
ci/cargo-make-locked
Oct 16, 2026
Merged

sanity merged 1 commit into
mainfrom
ci/cargo-make-locked

Conversation

@sanity

@sanity sanity commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Every zip 2.x release on crates.io was yanked on 2026-10-16. cargo-make 0.37.24 (latest) requires zip = "^2", so an unlocked cargo install cargo-make now fails with "failed to select a version for the requirement zip = \"^2\"".

Fix: add --locked to the cargo-make install in deploy.yml, publish-freenet.yml and integration-test.yml (the last goes through actions-rs/cargo, which runs the same cargo install). --locked builds from cargo-make's own Cargo.lock (zip 2.2.2). I verified locally that cargo install --locked cargo-make still works.

Without this, the next scheduled Freenet Deploy (daily, ~18:30 UTC) will fail at the cargo-make install step.

[AI-assisted - Claude]

https://claude.ai/code/session_01SzES9BQh5PhrJhHdh9FSFw

Every zip 2.x release on crates.io was yanked on 2026-10-16, and cargo-make 0.37.24 requires zip ^2, so an unlocked `cargo install cargo-make` fails to resolve. `--locked` builds from cargo-make's own Cargo.lock (zip 2.2.2), which still installs.

Claude-Session: https://claude.ai/code/session_01SzES9BQh5PhrJhHdh9FSFw
@sanity
sanity merged commit aff001a into main Oct 16, 2026
3 checks passed
@sanity
sanity deleted the ci/cargo-make-locked branch October 16, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant