Repository navigation
fix(deps): drop unmaintained pin-utils (RUSTSEC-2026-0441) - #699
Conversation
Bump futures 0.3.31 to 0.3.34 and hyper 1.7.0 to 1.12.0, which no longer depend on pin-utils. Lock hnsw_rs at 0.3.4 so mmap-rs 0.7 uses nix 0.30 without the aio feature, removing nix 0.26.4. Cargo.lock has no pin-utils. Fixes #698 Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
lazyxeon
left a comment
There was a problem hiding this comment.
Astraea review: CLEAR @ e786a8aa9d8dbed0d9395adab719fddec2195edc (base main f4574635)
- Diff is
Cargo.lockonly (+32/−62). No Cargo.toml, code, ordeny.tomlchanges;deny.tomlhas no RUSTSEC-2026-0441 ignore. pin-utilsis gone from the lock (0 occurrences). The three edges that pulled it in are cut: futures-util 0.3.31→0.3.34, hyper 1.7.0→1.12.0, and hnsw_rs 0.3.2→0.3.4 (mmap-rs 0.6.1→0.7.0), which removes nix 0.26.4. Remaining nix versions are 0.29.0, 0.30.1 and 0.31.3; none depend on pin-utils.- Side effects check out: memoffset 0.7.1 dropped (left with nix 0.26), futures-macro moved to syn 3.0.9 (already in the lock), want 0.3.1→0.3.2. Semver-compatible within the workspace
hnsw_rs = "0.3"requirement. No new crates. - Body has
Fixes #698. Copilot couldn't review a lockfile and Codex reported no findings. No inline threads are open, and cursor[bot] hasn't reviewed this head yet, which the merge gate requires. cargo deny check advisorieswas not re-run here. This clear rests on the lock inspection plus the author's run (exit 0). CI Cargo Deny must be green before merge.
#698 is satisfied once this merges: pin-utils is absent and there is no deny ignore. Once this lands, #651/#600/#694 need a rebase onto the new main so their deny checks can go green.
There was a problem hiding this comment.
Not blocking. Head e786a8aa9d8dbed0d9395adab719fddec2195edc. Cargo.lock only. deny.toml is unchanged, so there is no RUSTSEC ignore. No new crate name. Not green: the replay hash jobs on this SHA were still pending.
pin-utils 0.1.0 is gone (1152 packages to 1149). cargo +1.89.0 tree -p astraweave-embeddings -i pin-utils --locked reports no such package. RUSTSEC-2026-0441 has patched = [], including 0.1.1, so bumping pin-utils would not clear it.
The three base parents and what replaced them:
futures-util0.3.31 → 0.3.34 (latest). 0.3.32 dropspin-utils. 0.3.33 fixes theReadLineandFuturesUnorderedsoundness bugs. 0.3.34 pointsfutures-macroatsyn^3, and the lock uses thesyn3.0.9 already present. Published checksums match. Not yanked.hyper1.7.0 → 1.12.0 (latest 1.x) andwant0.3.1 → 0.3.2. 1.12 requireswant^0.3.2. Thewantdiff only addsunwant(). The 1.8–1.12 HTTP/1 fixes dropContent-LengthwhenTransfer-Encodingis present and matchTEcase-insensitively.max_header_sizestays unset unless a builder sets it.reqwest0.12.24 allowshyper^1.1. The loopback URL policy inastraweave-llmis untouched. Lockedh2stays 0.4.20, already inside RUSTSEC-2026-0258 (>= 0.4.16).hnsw_rs0.3.2 → 0.3.4 pullsmmap-rs0.7.0 and dropsnix0.26.4 andmemoffset0.7.1.mmap-rs0.7 enables nix 0.30 featuresfeature,mman, andprocessonly. nix 0.30.1 hasdefault = []andaio = ["pin-utils"].cargo tree -e featuresshows noaioedge. Remaining nix is 0.29.0, 0.30.1, and 0.31.3, and none listpin-utils.hnsw_rs0.3.3 still usesmmap-rs^0.6, so 0.3.4 is the first 0.3 release that leaves nix 0.26. 0.3.5 needsrand^0.10. Embeddings stays onrand0.9.rand0.10.3 is already in the lock for other crates. The workspace requirement stayshnsw_rs = "0.3", so a later unconstrained update can select 0.3.5. That still usesmmap-rs^0.7 and does not bringpin-utilsback. Enabling nixaiolater would.
hnsw_rs is a default feature of astraweave-embeddings and is not imported. VectorStore::search stays a linear scan, so the mmap-rs 0.7 bump does not change search results. hnsw_rs 0.3.4 still depends on bincode 1.3.3. That is the existing ignored RUSTSEC-2025-0141, not a new ignore.
Lock integrity: changed crates match crates.io checksums. Same-version packages keep the same checksums and dependency edges, except egui_glow now says memoffset because 0.7.1 left. No windows-sys version or edge moved. cargo +1.89.0 metadata --locked --format-version 1 exit 0.
Determinism: hashed crate sources are unchanged. The core replay test closure still reaches futures-util through astraweave-gameplay → astraweave-scene → astraweave-asset → astraweave-security → astraweave-llm. persist_replay reaches hnsw_rs through astraweave-memory → astraweave-embeddings. Those tests do not call llm, futures, or hnsw. Expected hashes unchanged. Not re-run here.
CI on this SHA: Cargo Deny advisories, bans, sources, and licenses passed (job 127270392460, advisories ok). cargo-audit passed (job 127270392069, 1149 crates). Gate passed (job 127270827934). net-tests passed. GPU not measured. No deferred issue.
Sent by Cursor Automation: ASTRA PR AUDIT AGENT
Annubis devastation: TL;DR: RUSTSEC-2026-0441 ( This comment never blocks merge. |
Post-merge
Nothing new from the merge. Does not block. |


e786a8aa9d8dbed0d9395adab719fddec2195edc. Required checks have not finished on this SHA.cargo update -p futures-util -p futures -p futures-executor -p futures-channel -p futures-core -p futures-io -p futures-sink -p futures-task -p futures-macro— 0cargo update -p hyper— 0cargo update -p hnsw_rs --precise 0.3.4— 0cargo metadata --locked --format-version 1— 0cargo deny check advisories(cargo-deny 0.20.2) — 0 (advisories ok)cargo deny check bans sources licenses— 0cargo check -p astraweave-embeddings -p aw-net-server --locked— 0 (hyper 1.12.0, futures-util 0.3.34, futures-macro 0.3.34, mmap-rs 0.7.0, hnsw_rs 0.3.4)futures-utilreachesastraweave-gameplayonly throughastraweave-llm, which the replayed tick does not call.scripts/ci/run-gate.sh/run-tests.sh. This diff is the workspace lock only.cargo audit. The exit criterion iscargo deny check advisories.astraweave-render.Fixes #698.
Description
Cargo.lockno longer containspin-utils0.1.0, socargo deny check advisoriesis clear of RUSTSEC-2026-0441.deny.tomlis unchanged.futures/futures-util0.3.31 → 0.3.34 (dropspin-utils;futures-macrouses thesyn3.0.9 already in the lock)hyper1.7.0 → 1.12.0 (dropspin-utils;want0.3.1 → 0.3.2)hnsw_rs0.3.2 → 0.3.4, sommap-rs0.6.1 → 0.7.0 andnix0.26.4 leaves the graph. The remainingnixcrates are 0.29.0, 0.30.1, and 0.31.3, and none depend onpin-utils. 0.3.4 is the newesthnsw_rsthat still usesrand0.9.hnsw_rs0.3.5 requiresrand0.10. The workspace requirement stayshnsw_rs = "0.3".cargo updatealso retargeted unrelatedwindows-sysedges. Those edges are restored.cargo metadata --lockedaccepts the lock.No new crate was added.
memoffset0.7.1 left withnix0.26.4.sysctl0.6.0 was already in the lock.Type of change
Security Considerations
No new crate. Existing crates moved to versions that do not depend on unmaintained
pin-utils.Checklist
cargo denyadvisories, bans, sources, and licenses passed.cargo auditwas not run.