[INFO] cloning repository https://github.com/jakebromberg/clean-builds [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jakebromberg/clean-builds" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakebromberg%2Fclean-builds", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakebromberg%2Fclean-builds'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 61d49e7ffad515e216aeb56270e429b26edb1243 [INFO] testing jakebromberg/clean-builds against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakebromberg%2Fclean-builds" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jakebromberg/clean-builds [INFO] finished tweaking git repo https://github.com/jakebromberg/clean-builds [INFO] tweaked toml for git repo https://github.com/jakebromberg/clean-builds written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jakebromberg/clean-builds on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jakebromberg/clean-builds already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9c2ca813f2d31393997f61267b5e22e2567ed5fe1ce6a4b8743438a49ef56f5a [INFO] running `Command { std: "docker" "start" "9c2ca813f2d31393997f61267b5e22e2567ed5fe1ce6a4b8743438a49ef56f5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c2ca813f2d31393997f61267b5e22e2567ed5fe1ce6a4b8743438a49ef56f5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9c2ca813f2d31393997f61267b5e22e2567ed5fe1ce6a4b8743438a49ef56f5a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c2ca813f2d31393997f61267b5e22e2567ed5fe1ce6a4b8743438a49ef56f5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9c2ca813f2d31393997f61267b5e22e2567ed5fe1ce6a4b8743438a49ef56f5a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling clap_lex v1.0.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling jiff v0.2.20 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling syn v2.0.116 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling clap_builder v4.5.59 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling jwalk v0.8.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling clap v4.5.59 [INFO] [stderr] Compiling env_filter v1.0.0 [INFO] [stderr] Compiling env_logger v0.11.9 [INFO] [stderr] Compiling clean-builds v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 33.93s [INFO] running `Command { std: "docker" "inspect" "9c2ca813f2d31393997f61267b5e22e2567ed5fe1ce6a4b8743438a49ef56f5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9c2ca813f2d31393997f61267b5e22e2567ed5fe1ce6a4b8743438a49ef56f5a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling predicates-core v1.0.10 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling assert_cmd v2.1.2 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling predicates-tree v1.0.13 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling tempfile v3.25.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling env_filter v1.0.0 [INFO] [stderr] Compiling predicates v3.1.4 [INFO] [stderr] Compiling env_logger v0.11.9 [INFO] [stderr] Compiling clean-builds v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/integration.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | Command::cargo_bin("clean-builds").unwrap() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 38.30s [INFO] running `Command { std: "docker" "inspect" "9c2ca813f2d31393997f61267b5e22e2567ed5fe1ce6a4b8743438a49ef56f5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9c2ca813f2d31393997f61267b5e22e2567ed5fe1ce6a4b8743438a49ef56f5a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stderr] --> tests/integration.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | Command::cargo_bin("clean-builds").unwrap() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `clean-builds` (test "integration") generated 1 warning [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/clean_builds-3a9f29ddeb0e1989) [INFO] [stdout] [INFO] [stdout] running 79 tests [INFO] [stdout] test cli::tests::exclude_system_flag ... ok [INFO] [stdout] test cli::tests::include_flag ... ok [INFO] [stdout] test cli::tests::all_options ... ok [INFO] [stdout] test cli::tests::list_systems_flag ... ok [INFO] [stdout] test cli::tests::verbose_long_form ... ok [INFO] [stdout] test cli::tests::system_flag ... ok [INFO] [stdout] test delete::tests::confirm_no_aborts ... ok [INFO] [stdout] test delete::tests::empty_response_aborts ... ok [INFO] [stdout] test cli::tests::defaults ... ok [INFO] [stdout] test cli::tests::system_and_exclude_system_conflict ... ok [INFO] [stdout] test filter::tests::apply_with_no_filters_keeps_all ... ok [INFO] [stdout] test filter::tests::apply_strips_root_prefix ... ok [INFO] [stdout] test filter::tests::double_star_glob ... ok [INFO] [stdout] test filter::tests::include_only ... ok [INFO] [stdout] test filter::tests::bare_pattern_matches_ancestor_dir ... ok [INFO] [stdout] test filter::tests::multiple_include_patterns ... ok [INFO] [stdout] test filter::tests::multiple_exclude_patterns ... ok [INFO] [stdout] test filter::tests::no_patterns_matches_everything ... ok [INFO] [stdout] test output::tests::dry_run_footer ... ok [INFO] [stdout] test output::tests::empty_artifacts ... ok [INFO] [stdout] test output::tests::summary_table ... ok [INFO] [stdout] test rules::tests::all_ids_are_lowercase ... ok [INFO] [stdout] test output::tests::print_systems_shows_ids ... ok [INFO] [stdout] test delete::tests::confirm_yes_full_word ... ok [INFO] [stdout] test delete::tests::skip_confirm_deletes_immediately ... ok [INFO] [stdout] test filter::tests::question_mark_glob ... ok [INFO] [stdout] test filter::tests::bare_pattern_matches_leaf ... ok [INFO] [stdout] test rules::tests::all_rules_are_non_empty ... ok [INFO] [stdout] test delete::tests::output_includes_summary ... ok [INFO] [stdout] test delete::tests::confirm_yes_deletes ... ok [INFO] [stdout] test filter::tests::exclude_takes_precedence_over_include ... ok [INFO] [stdout] test filter::tests::invalid_pattern_returns_error ... ok [INFO] [stdout] test delete::tests::deletes_multiple_artifacts ... ok [INFO] [stdout] test rules::tests::filter_case_insensitive ... ok [INFO] [stdout] test filter::tests::exclude_only ... ok [INFO] [stdout] test output::tests::verbose_shows_paths ... ok [INFO] [stdout] test rules::tests::filter_empty_returns_all ... ok [INFO] [stdout] test rules::tests::filter_unknown_id_errors ... ok [INFO] [stdout] test rules::tests::filter_exclude_removes_matching ... ok [INFO] [stdout] test rules::tests::filter_include_keeps_matching ... ok [INFO] [stdout] test rules::tests::filter_multiple_include ... ok [INFO] [stdout] test rules::tests::has_marker_always ... ok [INFO] [stdout] test rules::tests::has_marker_files_absent ... ok [INFO] [stdout] test rules::tests::matches_dir_exact ... ok [INFO] [stdout] test rules::tests::system_ids_are_unique ... ok [INFO] [stdout] test rules::tests::system_ids_covers_all_systems ... ok [INFO] [stdout] test rules::tests::rule_count_covers_all_build_systems ... ok [INFO] [stdout] test rules::tests::has_marker_glob_suffix_present ... ok [INFO] [stdout] test rules::tests::matches_dir_suffix ... ok [INFO] [stdout] test rules::tests::has_marker_multiple_files_any_match ... ok [INFO] [stdout] test rules::tests::has_marker_files_present ... ok [INFO] [stdout] test rules::tests::has_marker_glob_suffix_absent ... ok [INFO] [stdout] test scanner::tests::detects_cocoapods ... ok [INFO] [stdout] test scanner::tests::detects_maven_target ... ok [INFO] [stdout] test scanner::tests::detects_dotnet_with_csproj ... ok [INFO] [stdout] test scanner::tests::detects_rust_target ... ok [INFO] [stdout] test scanner::tests::detects_node_modules ... ok [INFO] [stdout] test rules::tests::system_ids_sorted ... ok [INFO] [stdout] test scanner::tests::detects_swift_spm_build ... ok [INFO] [stdout] test scanner::tests::detects_egg_info_suffix ... ok [INFO] [stdout] test size::tests::format_size_bytes ... ok [INFO] [stdout] test scanner::tests::detects_elixir_mix ... ok [INFO] [stdout] test size::tests::format_size_kb ... ok [INFO] [stdout] test size::tests::format_size_gb ... ok [INFO] [stdout] test scanner::tests::ignores_venv_without_marker ... ok [INFO] [stdout] test scanner::tests::detects_python_venv_with_marker ... ok [INFO] [stdout] test scanner::tests::detects_cmake_build ... ok [INFO] [stdout] test size::tests::compute_sizes_populates_artifacts ... ok [INFO] [stdout] test scanner::tests::ignores_vendor_without_bundle ... ok [INFO] [stdout] test scanner::tests::detects_ruby_vendor_bundle ... ok [INFO] [stdout] test size::tests::format_size_mb ... ok [INFO] [stdout] test scanner::tests::prunes_nested_artifacts ... ok [INFO] [stdout] test scanner::tests::no_false_positive_on_generic_build_dir ... ok [INFO] [stdout] test scanner::tests::detects_gradle_build ... ok [INFO] [stdout] test scanner::tests::detects_multiple_projects ... ok [INFO] [stdout] test scanner::tests::detects_python_pycache_without_marker ... ok [INFO] [stdout] test scanner::tests::skips_git_directory ... ok [INFO] [stdout] test filter::tests::pattern_with_slash_used_as_is ... ok [INFO] [stdout] test size::tests::compute_sizes_many_artifacts_no_zeros ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 79 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/clean_builds-0bcc4fcf8a3c8120) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration.rs (/opt/rustwide/target/release/deps/integration-c62338802fb2d339) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test exclude_by_directory_name_prefix ... ok [INFO] [stdout] test default_shows_info_log_on_stderr ... ok [INFO] [stdout] test help_flag ... ok [INFO] [stdout] test exclude_by_glob_pattern ... ok [INFO] [stdout] test exclude_system ... ok [INFO] [stdout] test delete_multiple_systems_with_yes ... ok [INFO] [stdout] test dry_run_shows_summary ... ok [INFO] [stdout] test include_and_exclude_combined ... ok [INFO] [stdout] test delete_with_system_filter ... ok [INFO] [stdout] test invalid_pattern_exits_with_error ... ok [INFO] [stdout] test invalid_system_errors ... ok [INFO] [stdout] test default_does_not_show_debug_log ... ok [INFO] [stdout] test delete_with_yes_removes_artifacts ... ok [INFO] [stdout] test no_artifacts_found ... ok [INFO] [stdout] test verbose_shows_debug_log_on_stderr ... ok [INFO] [stdout] test list_systems_shows_table ... ok [INFO] [stdout] test multiple_include_patterns ... ok [INFO] [stdout] test dry_run_does_not_delete ... ok [INFO] [stdout] test include_only_matching_artifacts ... ok [INFO] [stdout] test system_combined_with_glob ... ok [INFO] [stdout] test nonexistent_path ... ok [INFO] [stdout] test multiple_build_systems ... ok [INFO] [stdout] test system_and_exclude_system_conflict ... ok [INFO] [stdout] test list_systems_works_without_path ... ok [INFO] [stdout] test pycache_detected_without_marker ... ok [INFO] [stdout] test verbose_shows_paths ... ok [INFO] [stdout] test system_filters_to_one_system ... ok [INFO] [stdout] test system_multiple ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests clean_builds [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9c2ca813f2d31393997f61267b5e22e2567ed5fe1ce6a4b8743438a49ef56f5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c2ca813f2d31393997f61267b5e22e2567ed5fe1ce6a4b8743438a49ef56f5a", kill_on_drop: false }` [INFO] [stdout] 9c2ca813f2d31393997f61267b5e22e2567ed5fe1ce6a4b8743438a49ef56f5a