[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#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrJohz%2Fprecommit" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MrJohz/precommit on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a3f0244368cfd7015d4bd2970ddfe06d3548336d7a1f6430c318493ddd50c376
[INFO] running `Command { std: "docker" "start" "-a" "a3f0244368cfd7015d4bd2970ddfe06d3548336d7a1f6430c318493ddd50c376", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a3f0244368cfd7015d4bd2970ddfe06d3548336d7a1f6430c318493ddd50c376", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3f0244368cfd7015d4bd2970ddfe06d3548336d7a1f6430c318493ddd50c376", kill_on_drop: false }`
[INFO] [stdout] a3f0244368cfd7015d4bd2970ddfe06d3548336d7a1f6430c318493ddd50c376
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] da93335e5dadee4f0530cea631a9e1b3bb0c97f1b9406179b7ba6571f45c711a
[INFO] running `Command { std: "docker" "start" "-a" "da93335e5dadee4f0530cea631a9e1b3bb0c97f1b9406179b7ba6571f45c711a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling proc-macro2 v1.0.87
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling rustix v0.38.37
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[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 lexopt v0.3.0
[INFO] [stderr]    Compiling futures-lite v2.3.0
[INFO] [stderr]    Compiling piper v0.2.4
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling bstr v1.10.0
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling async-executor v1.13.1
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling event-listener-strategy v0.5.2
[INFO] [stderr]    Compiling async-lock v3.4.0
[INFO] [stderr]    Compiling async-channel v2.3.1
[INFO] [stderr]    Compiling blocking v1.6.1
[INFO] [stderr]    Compiling cc v1.1.28
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling async-fs v2.1.2
[INFO] [stderr]    Compiling libz-sys v1.1.20
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]    Compiling libssh2-sys v0.3.0
[INFO] [stderr]    Compiling libgit2-sys v0.17.0+1.8.1
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.64
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling polling v3.7.3
[INFO] [stderr]    Compiling async-io v2.3.4
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling async-signal v0.2.10
[INFO] [stderr]    Compiling async-net v2.0.0
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling async-process v2.3.0
[INFO] [stderr]    Compiling smol v2.0.2
[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 30.86s
[INFO] running `Command { std: "docker" "inspect" "da93335e5dadee4f0530cea631a9e1b3bb0c97f1b9406179b7ba6571f45c711a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da93335e5dadee4f0530cea631a9e1b3bb0c97f1b9406179b7ba6571f45c711a", kill_on_drop: false }`
[INFO] [stdout] da93335e5dadee4f0530cea631a9e1b3bb0c97f1b9406179b7ba6571f45c711a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0331ff62eda823cd808d91810f4cfd049895b9755a345d6dc7199f20ae33a71d
[INFO] running `Command { std: "docker" "start" "-a" "0331ff62eda823cd808d91810f4cfd049895b9755a345d6dc7199f20ae33a71d", 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 7.07s
[INFO] running `Command { std: "docker" "inspect" "0331ff62eda823cd808d91810f4cfd049895b9755a345d6dc7199f20ae33a71d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0331ff62eda823cd808d91810f4cfd049895b9755a345d6dc7199f20ae33a71d", kill_on_drop: false }`
[INFO] [stdout] 0331ff62eda823cd808d91810f4cfd049895b9755a345d6dc7199f20ae33a71d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] eb0b6807a54cb6f3ebd28596cbed687dfc60209d3319f507ed0be35c37dfdf55
[INFO] running `Command { std: "docker" "start" "-a" "eb0b6807a54cb6f3ebd28596cbed687dfc60209d3319f507ed0be35c37dfdf55", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/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/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/deps/check_diffs-c80ffd6d4bbedc53)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test diff_commands_fail_if_the_command_returns_nonzero ... ok
[INFO] [stdout] test check_diffs_errors_if_diff_is_not_identical ... ok
[INFO] [stdout] test check_diffs_command_output_against_existing_contents ... ok
[INFO] [stdout] test diff_commands_can_emit_to_stderr_without_failing ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/check_git_integration.rs (/opt/rustwide/target/debug/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_ignores_files_that_are_not_in_index ... ok
[INFO] [stdout] test check_passes_file_contents_to_file_stdin ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/check_statuses.rs (/opt/rustwide/target/debug/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 if_multiple_commands_fail_all_the_command_outputs_are_shown ... ok
[INFO] [stdout] test the_command_name_replacement_string_can_be_changed_using_a_flag ... ok
[INFO] [stdout] test check_runs_check_command_in_working_directory_of_git_folder ... ok
[INFO] [stdout] test if_the_command_fails_the_command_output_is_shown_and_the_command_fails ... ok
[INFO] [stdout] test check_status_is_fed_the_file_in_the_index ... ok
[INFO] [stdout] test passes_the_correct_file_name_to_the_command_being_run ... ok
[INFO] [stdout] test finds_correct_git_folder_when_run_in_subfolder_of_working_directory ... ok
[INFO] [stdout] test check_runs_check_command_for_each_file_to_be_added ... ok
[INFO] [stdout] test if_multiple_files_fail_all_the_command_outputs_are_shown ... 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/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_a_project_with_no_commits_and_unstaged_files_produces_no_output ... ok
[INFO] [stdout] test listing_contents_of_an_empty_project_produces_no_output ... ok
[INFO] [stdout] test lists_all_files_even_from_files_in_deep_folders ... ok
[INFO] [stdout] test listing_contents_of_a_project_with_no_commits_and_staged_files_lists_only_staged_files ... ok
[INFO] [stdout] test files_added_before_a_commit_are_not_listed ... ok
[INFO] [stdout] test files_added_after_a_commit_are_listed ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[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" "eb0b6807a54cb6f3ebd28596cbed687dfc60209d3319f507ed0be35c37dfdf55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb0b6807a54cb6f3ebd28596cbed687dfc60209d3319f507ed0be35c37dfdf55", kill_on_drop: false }`
[INFO] [stdout] eb0b6807a54cb6f3ebd28596cbed687dfc60209d3319f507ed0be35c37dfdf55
