fix(ci): pin nightly fuzz to x86_64-unknown-linux-gnu#39
Open
avrabe wants to merge 1 commit into
Open
Conversation
cargo-fuzz defaults to x86_64-unknown-linux-musl on Linux; libfuzzer-sys
enables -Zsanitizer=address by default, and rustc rejects ASan with a
statically-linked musl libc:
error: sanitizer is incompatible with statically linked libc,
disable it using `-C target-feature=-crt-static`
error[E0463]: can't find crate for `core`
All 12 fuzz-long targets in nightly.yml have been failing with this since
the workflow was added on 2026-04-24. The same-day follow-up 1d7723a fixed
fuzz-smoke.yml with `--target x86_64-unknown-linux-gnu` but missed this
file; cron didn't fire until the first scheduled run on 2026-05-04, so the
breakage went unnoticed for 10 days.
Mirror the proven fix from fuzz-smoke.yml. Single-line change. No -Z
build-std rebuild cost; no clobbering of RUSTFLAGS that libfuzzer-sys
also writes.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Summary
Nightly has been red every night since 2026-05-04 — all 12
fuzz-longmatrix targets failing with:```
error: sanitizer is incompatible with statically linked libc,
disable it using `-C target-feature=-crt-static`
error[E0463]: can't find crate for `core`
note: the `x86_64-unknown-linux-musl` target may not be installed
```
Root cause. `cargo fuzz` defaults to `x86_64-unknown-linux-musl` on Linux. libfuzzer-sys enables `-Zsanitizer=address` by default. ASan + statically-linked musl libc are incompatible.
Why now. Workflow added in `894c98e` (PR #21, 2026-04-24). Same-day follow-up `1d7723a` fixed
fuzz-smoke.ymlby pinning `--target x86_64-unknown-linux-gnu` but missednightly.yml. Cron only fires at 03:00 UTC, so the regression silently sailed past until the first scheduled run on 2026-05-04 — 10 days unnoticed.Fix. Mirror the proven `fuzz-smoke.yml` pattern. One-line change.
PR #35 (smithy-migration) is orthogonal — its diff only touches `fuzz-smoke.yml` + `sanitizers.yml`; this regression would persist after #35 lands.
Test plan
🤖 Generated with Claude Code