A shared CARGO_TARGET_DIR lets rvow's baseline worktree clobber same-version rlibs
Symptom#
cargo build -p rgit-cli fails with E0560 "struct WorktreeAddArgs has no field named cow" and E0599 "no associated function cow_mechanism" for API that IS in the local source, right after (or during) an rvow prove; cargo build -p rgit-git alone says Finished with no recompile.
Cause#
~/.cargo/config.toml sets a global target-dir = ".cache/cargo-target", so the rvow baseline worktree (checked out at the change's older base commit) and the working tree compile the same crate (rgit-git 0.0.6, same features) into the same -<hash>.rlib filename and the same .fingerprint entry. The baseline build's recorded file mtimes are newer than the working tree's, so cargo treats the stale no-cow rlib as fresh and never rebuilds.
Fix#
touch crates/<dep>/src/lib.rs (forces mtime past the warm tree's) then rebuild the dependent crate. This came back every time a baseline ran at the pre-cow base commit; touch again before the next prove.
Evidence#
nm on ~/.cache/cargo-target/debug/deps/librgit_git-402b5dd99932f679.rlib (rewritten by the 18:38 baseline run) showed 0 cow_mechanism symbols; after touch + rebuild, cargo test -p rgit-cli agent_skill went green and rvow prove TSK-w01xrv passed.