ci(mutants): run on ubuntu-24.04, the glibc cargo-mutants now needs - #253
Merged
Conversation
cargo-mutants v27.1.0 (2026-06-02) links its prebuilt binaries against glibc 2.39. ubuntu-22.04 carries 2.35, so install-action fetched the binary, verified its checksum, and then could not run it: cargo-mutants: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by cargo-mutants) That failed the job on PR #252 before a single mutant was generated, and would have failed every PR from here on. The repo-wide ubuntu-22.04 pin exists so shipped binaries stay loadable on older glibc. This job ships nothing — it builds mutants and throws them away — so the pin buys it nothing while costing it the tool. Bump the runner rather than pinning an older cargo-mutants, which keeps the tool on `latest` like every other install-action call in ci.yml and does not re-break when 22.04 falls further behind. Claude-Session: https://claude.ai/code/session_01DNWvvwKcgrpc15bsSNdXhY
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.
The failure
Mutation Testing (changed code)failed on PR #252 at the Install cargo-mutants step, before a single mutant was generated:cargo-mutants v27.1.0 (2026-06-02) links its prebuilt binaries against glibc 2.39.
ubuntu-22.04carries 2.35.install-actionfetched the binary and verified its checksum successfully — it just could not load it. Since the job pins no version, every PR from here on would have hit this.It did not show up on the
mainmerge because this job isif: github.event_name == 'pull_request'.The fix
Move this one job to
ubuntu-24.04.The repo-wide
ubuntu-22.04pin exists so shipped binaries stay loadable on older glibc. This job ships nothing — it builds mutants and throws them away — so the pin buys it nothing while costing it the tool.Bumping the runner rather than pinning an older cargo-mutants keeps the tool on
latest, consistent with every otherinstall-actioncall inci.yml, and does not re-break as 22.04 falls further behind.Verification
This PR is itself the test: the job is PR-only, so opening it is the only way to exercise the change. A green
Mutation Testing (changed code)here is the proof.