Repository navigation
Description
The finding
Every cargo-touching check on main is red for one reason: the integration
crate pins two crates that cannot co-exist.
From Build AsciiDoc / "Generate Rust API documentation", run 35763405727:
error: failed to select a version for `testcontainers`.
... required by package `testcontainers-modules v0.15.0`
... which satisfies dependency `testcontainers-modules = "^0.15"`
of package `hypatia-integration-tests v0.1.0` (/integration)
versions that meet the requirements `^0.27.0` are: 0.27.3, 0.27.2, 0.27.1, 0.27.0
all possible versions conflict with previously selected packages
previously selected package `bollard v0.21.0`
... which satisfies dependency `bollard = "^0.21.0"` of package `testcontainers v0.28.0`
... which satisfies dependency `testcontainers = "^0.28"` of package `hypatia-integration-tests`
failed to select a version for `testcontainers` which could resolve this conflict
integration/Cargo.toml asks for testcontainers = "^0.28" and
testcontainers-modules = "^0.15", but testcontainers-modules 0.15 requires
testcontainers ^0.27. The two requirements are unsatisfiable together, so
resolution fails before any compilation starts.
Blast radius
This is almost certainly the single cause behind the whole red cargo column on
main — Build AsciiDoc, Cargo check + clippy + fmt, Check, Clippy,
Test. Resolution failure happens before the step's actual subject, so each of
those checks reports a failure that has nothing to do with what it is named for.
Build AsciiDoc in particular is not an AsciiDoc failure: its AsciiDoc steps
pass and it dies later, in a cargo step.
Acceptance criteria
cargo metadata --locked(orcargo check --workspace --locked) resolves
with rc=0 — fix by moving to a compatible pair, e.g.testcontainers ^0.27
withtestcontainers-modules ^0.15, ortestcontainers-modules ^0.16+ if it
supports^0.28. Check the actual published matrix; do not guess.Cargo check + clippy + fmt,Check,ClippyandTestare all green on
main, evidenced from/commits/<sha>/check-runs.Build AsciiDocgreen — and if it is still red afterwards, that residual is a
different fault and gets its own issue rather than being folded in here.Cargo.lockis committed and CI builds use--locked, so a future
incompatible bump fails at the lockfile rather than resolving differently in
CI than locally.- A mutant proves the guard: reintroduce the incompatible pair on a branch and
confirm the check goes red at resolution.
Note on naming
Worth renaming Build AsciiDoc, or splitting its cargo-doc step out. A check
whose name describes one subject and whose failures come from another is how a
real fault goes unread for weeks.
Activity
hyperpolymath commentedon Sep 22, 2026
Fixed by #840, merged as
4fa2e393181d97c4a0679974399930fac64ff3f5at2026-09-22T18:25:58Z.
The hypothesis held, and the mechanism is now measured
This issue predicted that one unsatisfiable pair was behind the whole red cargo
column. It was. Side-by-side, from
/commits/<sha>/check-runs:main@c18608e(before)main@4fa2e39(after)Build AsciiDocCargo check + clippy + fmtCheckClippyTestFormatFormatis the diagnostic, and it was in the data all along.cargo fmtisthe only cargo subcommand that does not resolve the dependency graph — so it was
the only one that survived. Five red checks with five different subject names
and one green outlier is the signature of a resolution failure, not of five
faults. Partitioning the checks by "does this subcommand resolve?" localizes it
in one step, without opening a single log.
And as predicted,
Build AsciiDocwas never an AsciiDoc failure: it is greennow with no AsciiDoc change in the PR whatsoever.
The fix was a removal, not a version bump
There was no compatible pair to move to. As of 2026-09-22, crates.io shows
testcontainers newest 0.28.0 and testcontainers-modules newest 0.15.0,
which still requires
testcontainers ^0.27. The modules crate lags.The decisive fact was that nothing imported it —
git grep -rn 'testcontainers_modules'returns no hits. Dragonfly/Redis is provisioned byintegration/compose.test.yamland reached viaDRAGONFLY_URL(
integration/src/lib.rs:109-110). The crate that reddened the entire workspacecontributed nothing, so it was deleted rather than negotiated down. That keeps
the newest
testcontainersand drops 8 packages (ppv-lite86,rand,rand_chacha,rand_core,testcontainers-modules,ureq,ureq-proto,utf8-zero) — includingureq, a second HTTP client alongsidereqwest.Zero packages added.
governance / Trusted-base reduction policypasses.The
randremovals were duplicate-version removals, not a loss:rand v0.10.2remains on
main, still required bybollard,ferroidand the integrationcrate directly.
Acceptance criteria
cargo metadata --lockedandcargo check --workspace --all-targets --lockedboth rc=0. Resolved against the actual published matrix, not a guess.main@4fa2e39, evidenced abovefrom
/commits/<sha>/check-runs.Build AsciiDocgreen onmain, with no residual failure.Cargo.lockis committed and updated. The otherhalf is not done: no cargo invocation in any workflow passes
--locked(measured: zero hits across
.github/workflows/), so the committed lockfilecurrently constrains nothing in CI. That needs workflow edits, which require
the
workflowOAuth scope this session lacks. Filed as CI never passes --locked, so the committed Cargo.lock constrains nothing #841 rather thanleft silently ticked.
mainwas itself the mutant: it carriedthe incompatible pair, and
cargo metadatathere returned rc=101 with theresolution error quoted in this issue from run
35763405727. The failure wasat resolution, as the criterion requires.
Two things found alongside
governance / Actions lockfile verifyandgovernance / Validate Hypatia Baseline— were verifiedfailureonmain@
c18608ebeforehand. Inherited, not regressions, and neither is required.startup_failureonmain, not one:CI,Security,CodeQL Security AnalysisandTests (E2E / Integration / Stress / Bench).Because
ci.ymlis startup-dead and holds the repo's onlycargo test --workspace --doc, the four passing doctests execute nowhere inCI. Measured and posted to main is CI-dead since #830: tests.yml startup_failure (jobs=0) and Actions lockfile verify red #837.
Closing. The naming concern raised in this issue — a check whose name describes
one subject and whose failures come from another — stands on its own and is
worth acting on separately.