+- 2026-07-03 cleanup (from within a sandboxed agent shell): `sudo -n` was unavailable ("no new privileges" flag), so `sudo nix-collect-garbage -d`, `docker`/`podman` prune were all out. Sudo-free wins still worked: plain `nix-collect-garbage -d` talked to the daemon and freed 17.0 GiB (2777 store paths), and helper-validated Rust target deletions under `~/Projects` (`keepbook`, `rlru`, and several `rocket-sense/.claude/worktrees/*/target` + `.worktrees/*/target`) reclaimed ~27G, moving `/home` from 100% used with 86M free to 95% with 47G free. Left `~/Projects/lastfm-edit/target` (17.4G) intact deliberately: it was in active use by the running session/build and a concurrent agent, and enough space had already been freed. Lesson: when only ~80M is free, disk-write failures surface as nondeterministic Rust build errors ("could not compile … due to 1 previous error" with no diagnostic text, `disk I/O error` on `~/.cache/nix/fetcher-cache-v4.sqlite`, and openssl-sys build-script failures) rather than obvious "No space left" messages.
0 commit comments