From 011dd3e5bf6ee251b1baa39a07974f4d5e499dbc Mon Sep 17 00:00:00 2001 From: Eureka Date: Wed, 11 Nov 2026 08:02:30 +0000 Subject: [PATCH 1/2] INDEX: Libby's four native cargo-mutants corrections (--in-place, no -j, registry, harness background) Co-Authored-By: Claude Sonnet 5.5 --- tools/INDEX.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tools/INDEX.md b/tools/INDEX.md index 0d5bcd5..899eff7 100644 --- a/tools/INDEX.md +++ b/tools/INDEX.md @@ -49,3 +49,14 @@ the skill, and holds no Docker socket and no `ygg` ssh alias. So: cap (set `CARGO_BUILD_JOBS`, and `-j1`; point `CARGO_TARGET_DIR` and `TMPDIR` at a disk with room, since cargo-mutants copies the tree to `TMPDIR` and a small run took 2.3 GB), and its survivors are not confirmed on the full suite. Run survivors again unfiltered before reporting them MISSED. + + Learned on CultLib's Rust runtime (Libby, 38 mutants: 32 caught, 5 unviable, 1 + missed, 7 min): + - Add `--in-place` when tests read files by the repo's original path (CultLib's + vector tests): the copy-mode baseline fails (15 failures). `--in-place` + conflicts with `-j`, so drop `-j1`; mutants then run one at a time. + - Offline resolution needs the lockfile's exact crate versions in the cargo + registry (one checkout wanted `cc` 1.11.0, which was missing); fetch it + first or the baseline fails before any mutant runs. + - Launch as the harness's background run. A `nohup ... &` from the shell died + silently. From d5f247431a22226a33cc2dd6a6b3aa7864c561a5 Mon Sep 17 00:00:00 2001 From: Eureka Date: Wed, 11 Nov 2026 08:03:02 +0000 Subject: [PATCH 2/2] INDEX: --in-place replaces -j1, not joins it (Soul) Co-Authored-By: Claude Sonnet 5.5 --- tools/INDEX.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/INDEX.md b/tools/INDEX.md index 899eff7..faf35bd 100644 --- a/tools/INDEX.md +++ b/tools/INDEX.md @@ -46,15 +46,16 @@ the skill, and holds no Docker socket and no `ygg` ssh alias. So: The diff is taken at the workspace root and `--in-diff` paths match relative to it (see `tools/cargo-mutants.sh` header). A native run is a plain `cargo mutants`: no per-file filter stage, no confirm stage, no slots, no CPU or memory - cap (set `CARGO_BUILD_JOBS`, and `-j1`; point `CARGO_TARGET_DIR` and `TMPDIR` at a disk with + cap (set `CARGO_BUILD_JOBS`, and `-j1` unless `--in-place`; point `CARGO_TARGET_DIR` and `TMPDIR` at a disk with room, since cargo-mutants copies the tree to `TMPDIR` and a small run took 2.3 GB), and its survivors are not confirmed on the full suite. Run survivors again unfiltered before reporting them MISSED. Learned on CultLib's Rust runtime (Libby, 38 mutants: 32 caught, 5 unviable, 1 missed, 7 min): - Add `--in-place` when tests read files by the repo's original path (CultLib's - vector tests): the copy-mode baseline fails (15 failures). `--in-place` - conflicts with `-j`, so drop `-j1`; mutants then run one at a time. + vector tests): the copy-mode baseline fails (15 failures). Replace `-j1` in + the run command above with `--in-place`: cargo-mutants rejects the two + together, so in-place runs are serial. - Offline resolution needs the lockfile's exact crate versions in the cargo registry (one checkout wanted `cc` 1.11.0, which was missing); fetch it first or the baseline fails before any mutant runs.