[INFO] cloning repository https://github.com/MrJohz/precommit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MrJohz/precommit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrJohz%2Fprecommit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrJohz%2Fprecommit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d22363197b366f9a8d2b372d8317f3749b763da [INFO] testing MrJohz/precommit against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrJohz%2Fprecommit" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MrJohz/precommit [INFO] finished tweaking git repo https://github.com/MrJohz/precommit [INFO] tweaked toml for git repo https://github.com/MrJohz/precommit written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MrJohz/precommit on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MrJohz/precommit 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 716bc3c20e8e0763c81b72b69d1eb8d72f9ce710cee79779222f59b35a217bd1 [INFO] running `Command { std: "docker" "start" "-a" "716bc3c20e8e0763c81b72b69d1eb8d72f9ce710cee79779222f59b35a217bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "716bc3c20e8e0763c81b72b69d1eb8d72f9ce710cee79779222f59b35a217bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "716bc3c20e8e0763c81b72b69d1eb8d72f9ce710cee79779222f59b35a217bd1", kill_on_drop: false }` [INFO] [stdout] 716bc3c20e8e0763c81b72b69d1eb8d72f9ce710cee79779222f59b35a217bd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] d77920d273b95dd9b8067ca7c4db7c95e24a3eea611de8de0e25c54d455b35ea [INFO] running `Command { std: "docker" "start" "-a" "d77920d273b95dd9b8067ca7c4db7c95e24a3eea611de8de0e25c54d455b35ea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling lexopt v0.3.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling cc v1.1.28 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling bstr v1.10.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling polling v3.7.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-io v2.3.4 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-signal v0.2.10 [INFO] [stderr] Compiling async-net v2.0.0 [INFO] [stderr] Compiling async-process v2.3.0 [INFO] [stderr] Compiling smol v2.0.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling git2 v0.19.0 [INFO] [stderr] Compiling precommit v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.25s [INFO] running `Command { std: "docker" "inspect" "d77920d273b95dd9b8067ca7c4db7c95e24a3eea611de8de0e25c54d455b35ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d77920d273b95dd9b8067ca7c4db7c95e24a3eea611de8de0e25c54d455b35ea", kill_on_drop: false }` [INFO] [stdout] d77920d273b95dd9b8067ca7c4db7c95e24a3eea611de8de0e25c54d455b35ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] f64553fb41c61a479665f052409c1949c91ff7b09e3ad64da0c40134f831a94d [INFO] running `Command { std: "docker" "start" "-a" "f64553fb41c61a479665f052409c1949c91ff7b09e3ad64da0c40134f831a94d", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling polling v3.7.3 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling async-io v2.3.4 [INFO] [stderr] Compiling async-signal v0.2.10 [INFO] [stderr] Compiling async-net v2.0.0 [INFO] [stderr] Compiling async-process v2.3.0 [INFO] [stderr] Compiling smol v2.0.2 [INFO] [stderr] Compiling precommit v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.46s [INFO] running `Command { std: "docker" "inspect" "f64553fb41c61a479665f052409c1949c91ff7b09e3ad64da0c40134f831a94d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f64553fb41c61a479665f052409c1949c91ff7b09e3ad64da0c40134f831a94d", kill_on_drop: false }` [INFO] [stdout] f64553fb41c61a479665f052409c1949c91ff7b09e3ad64da0c40134f831a94d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 8239bf4a460ce2650052cdb996dcd3cb47c76ac3a02dd4e15ec4ab6e026928b3 [INFO] running `Command { std: "docker" "start" "-a" "8239bf4a460ce2650052cdb996dcd3cb47c76ac3a02dd4e15ec4ab6e026928b3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/precommit/ee9c28a90397dbf1/deps/precommit-ee9c28a90397dbf1) [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 unittests src/bin/precommit.rs (/opt/rustwide/target/debug/build/precommit/d4927052cd21eac1/deps/precommit-d4927052cd21eac1) [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/check_diffs.rs (/opt/rustwide/target/debug/build/precommit/c80ffd6d4bbedc53/deps/check_diffs-c80ffd6d4bbedc53) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test check_diffs_errors_if_diff_is_not_identical ... ok [INFO] [stdout] test diff_commands_fail_if_the_command_returns_nonzero ... ok [INFO] [stdout] test diff_commands_can_emit_to_stderr_without_failing ... ok [INFO] [stdout] test check_diffs_command_output_against_existing_contents ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/check_git_integration.rs (/opt/rustwide/target/debug/build/precommit/a803fd1102abbdb1/deps/check_git_integration-a803fd1102abbdb1) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test check_passes_contents_of_file_as_seen_in_index ... ok [INFO] [stdout] test check_passes_file_contents_to_file_stdin ... ok [INFO] [stdout] test check_ignores_files_that_are_not_in_index ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/check_statuses.rs (/opt/rustwide/target/debug/build/precommit/6b2f49a66f917ed3/deps/check_statuses-6b2f49a66f917ed3) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test check_raises_an_error_if_no_repository_exists ... ok [INFO] [stdout] test check_does_nothing_if_no_files_are_to_be_added ... ok [INFO] [stdout] test check_runs_check_command_in_working_directory_of_git_folder ... ok [INFO] [stdout] test finds_correct_git_folder_when_run_in_subfolder_of_working_directory ... ok [INFO] [stdout] test check_status_is_fed_the_file_in_the_index ... ok [INFO] [stdout] test if_multiple_commands_fail_all_the_command_outputs_are_shown ... ok [INFO] [stdout] test if_multiple_files_fail_all_the_command_outputs_are_shown ... ok [INFO] [stdout] test if_the_command_fails_the_command_output_is_shown_and_the_command_fails ... ok [INFO] [stdout] test check_runs_check_command_for_each_file_to_be_added ... ok [INFO] [stdout] test passes_the_correct_file_name_to_the_command_being_run ... ok [INFO] [stdout] test the_command_name_replacement_string_can_be_changed_using_a_flag ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/list.rs (/opt/rustwide/target/debug/build/precommit/7a7e076b3c58f8b8/deps/list-7a7e076b3c58f8b8) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test listing_contents_of_a_non_git_project_produces_an_error ... ok [INFO] [stdout] test listing_contents_of_an_empty_project_produces_no_output ... ok [INFO] [stdout] test listing_contents_of_a_project_with_no_commits_and_unstaged_files_produces_no_output ... ok [INFO] [stdout] test listing_contents_of_a_project_with_no_commits_and_staged_files_lists_only_staged_files ... ok [INFO] [stdout] test lists_all_files_even_from_files_in_deep_folders ... ok [INFO] [stdout] test files_added_after_a_commit_are_listed ... ok [INFO] [stdout] test files_added_before_a_commit_are_not_listed ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests precommit [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" "8239bf4a460ce2650052cdb996dcd3cb47c76ac3a02dd4e15ec4ab6e026928b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8239bf4a460ce2650052cdb996dcd3cb47c76ac3a02dd4e15ec4ab6e026928b3", kill_on_drop: false }` [INFO] [stdout] 8239bf4a460ce2650052cdb996dcd3cb47c76ac3a02dd4e15ec4ab6e026928b3