From e1e79622381ba73826ff1b4b5f7247bebaba600c Mon Sep 17 00:00:00 2001 From: Eureka Date: Tue, 3 Nov 2026 01:19:30 +0100 Subject: [PATCH 1/4] cargo-mutants.sh: a failed build under the image's rustc wrapper retries once without it Stage containers sharing the eureka-sccache volume died mid-build with cargo's "could not execute process ... sccache ... (never executed)" or a missing dep-info file in their own target dir, though the image's sccache is present, executes, and a lone container builds clean. The wrapper only caches, so a failed build with RUSTC_WRAPPER set is retried once without it; the job summary carries a NOTE line saying which way it went, the first attempt's log is kept, and a build dead either way stays a red baseline (exit 4) with its cause. Container errors now tail 25 lines, not 5. Tests: dead wrapper recovers with NOTE; red with and without the wrapper stays red. Co-Authored-By: Claude Opus 5.5 --- tools/cargo-mutants.sh | 25 +++++++++++++++++----- tools/fixtures/mutation-mock/fakebin/cargo | 2 ++ tools/test-tools.sh | 7 ++++++ 3 files changed, 29 insertions(+), 5 deletions(-) diff --git a/tools/cargo-mutants.sh b/tools/cargo-mutants.sh index cc1d19a..9e435f5 100644 --- a/tools/cargo-mutants.sh +++ b/tools/cargo-mutants.sh @@ -208,7 +208,7 @@ if [ "$1" = --host ]; then container_error() { # container_error