Skip to content

Fix the Audit workflow and update unsound dependencies - #32

Merged
anoek merged 1 commit into
mainfrom
fix-audit-workflow
Nov 15, 2026
Merged

anoek merged 1 commit into
mainfrom
fix-audit-workflow

Conversation

@anoek

@anoek anoek commented Nov 15, 2026

Copy link
Copy Markdown
Owner

The Audit workflow failed on the v0.4.0 push to main (run 43716643291). cargo audit found no vulnerabilities, but rustsec/audit-check reports warnings as a check run. The repository's default GITHUB_TOKEN is read-only, so creating the check run failed with "Resource not accessible by integration". On pull requests the action treats this error as a fork and passes, which is why only push runs failed.

Changes

  • audit.yml: grant contents: read and checks: write.
  • Update the dependencies that have unsoundness advisories:
    • anyhow 1.0.98 → 1.0.104 (RUSTSEC-2026-0190)
    • rand 0.9.1 → 0.9.5, dev-dependency only (RUSTSEC-2026-0097)
    • rustix 1.0.5 → 1.1.6 (RUSTSEC-2026-0486). This needs libc 0.2.172 → 0.2.182.

devlayer did not call the affected code: Error::downcast_mut, rustix's xattr functions (rustix comes only through clap → terminal_size), and rand in the binary.

pin-utils (RUSTSEC-2026-0441, unmaintained) has no fixed release, so Audit still reports 1 warning. With this change the warning is published as a check run and does not fail the job.

Testing

  • Debug, x86_64 musl and aarch64 musl release builds succeed.
  • I ran the full test suite locally inside a devlayer layer, where many tests fail in the same way on unchanged main. No test fails only on this branch: 63 tests fail on the branch and 79 on main. The Coverage workflow on this PR is the clean run.

…cies

audit-check reports warnings as a check run, which the repository's
read-only GITHUB_TOKEN can't create, so Audit failed on every push to
main that had warnings. Grant checks: write.

Update anyhow to 1.0.104, the rand dev-dependency to 0.9.5, and libc to
0.2.182 so rustix can move to 1.1.6, clearing RUSTSEC-2026-0190,
RUSTSEC-2026-0097 and RUSTSEC-2026-0486. pin-utils (RUSTSEC-2026-0441,
unmaintained) has no fixed release and stays a warning.
@anoek
anoek merged commit 7eb59ed into main Nov 15, 2026
6 checks passed
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