[INFO] cloning repository https://github.com/block/lefthookmerge
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/block/lefthookmerge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblock%2Flefthookmerge", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblock%2Flefthookmerge'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8221f76293c87042a3a511bcac601d3216d0577f
[INFO] testing block/lefthookmerge against master#f9988fefd3add01f414f52b414308e7872622fee for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblock%2Flefthookmerge" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/block/lefthookmerge
[INFO] finished tweaking git repo https://github.com/block/lefthookmerge
[INFO] tweaked toml for git repo https://github.com/block/lefthookmerge written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/block/lefthookmerge on toolchain f9988fefd3add01f414f52b414308e7872622fee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/block/lefthookmerge 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" "+f9988fefd3add01f414f52b414308e7872622fee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zmij v1.0.20
[INFO] [stderr]   Downloaded env_logger v0.11.10
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 76d69e7221364c7d5023679746db0da470f963abd901c381d8450e7a1caee310
[INFO] running `Command { std: "docker" "start" "-a" "76d69e7221364c7d5023679746db0da470f963abd901c381d8450e7a1caee310", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "76d69e7221364c7d5023679746db0da470f963abd901c381d8450e7a1caee310", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76d69e7221364c7d5023679746db0da470f963abd901c381d8450e7a1caee310", kill_on_drop: false }`
[INFO] [stdout] 76d69e7221364c7d5023679746db0da470f963abd901c381d8450e7a1caee310
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+f9988fefd3add01f414f52b414308e7872622fee" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed4fe01a5173900e355dea2f13a05dc8a3dc04ae1aa068850ea014205076fca4
[INFO] running `Command { std: "docker" "start" "-a" "ed4fe01a5173900e355dea2f13a05dc8a3dc04ae1aa068850ea014205076fca4", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.23
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling libc v0.2.185
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling jiff v0.2.23
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]    Compiling env_filter v1.0.0
[INFO] [stderr]    Compiling env_logger v0.11.10
[INFO] [stderr]    Compiling clap v4.6.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling lhm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.39s
[INFO] running `Command { std: "docker" "inspect" "ed4fe01a5173900e355dea2f13a05dc8a3dc04ae1aa068850ea014205076fca4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed4fe01a5173900e355dea2f13a05dc8a3dc04ae1aa068850ea014205076fca4", kill_on_drop: false }`
[INFO] [stdout] ed4fe01a5173900e355dea2f13a05dc8a3dc04ae1aa068850ea014205076fca4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8a0c9d660cf2750524e0a6c677127bba8f691567201186ef3fb27a68a689a4bf
[INFO] running `Command { std: "docker" "start" "-a" "8a0c9d660cf2750524e0a6c677127bba8f691567201186ef3fb27a68a689a4bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling lhm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.28s
[INFO] running `Command { std: "docker" "inspect" "8a0c9d660cf2750524e0a6c677127bba8f691567201186ef3fb27a68a689a4bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8a0c9d660cf2750524e0a6c677127bba8f691567201186ef3fb27a68a689a4bf", kill_on_drop: false }`
[INFO] [stdout] 8a0c9d660cf2750524e0a6c677127bba8f691567201186ef3fb27a68a689a4bf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 131212d7fd7b1f109bf9b9986d4951adfd550ff0aacd73d4b975affdefe1029b
[INFO] running `Command { std: "docker" "start" "-a" "131212d7fd7b1f109bf9b9986d4951adfd550ff0aacd73d4b975affdefe1029b", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lhm-d0cd66eacd6ef6a6)
[INFO] [stdout] 
[INFO] [stdout] running 103 tests
[INFO] [stdout] test adapters::hooks_dir::tests::test_detect_without_hooks_dir ... ok
[INFO] [stdout] test adapters::hooks_dir::tests::test_detect_with_git_hooks ... ok
[INFO] [stdout] test adapters::hooks_dir::tests::test_detect_file_not_dir ... ok
[INFO] [stdout] test adapters::hooks_dir::tests::test_detect_with_dot_hooks ... ok
[INFO] [stdout] test adapters::hooks_dir::tests::test_detect_ignores_dot_git_hooks ... ok
[INFO] [stdout] test adapters::hooks_dir::tests::test_generate_config_different_hooks ... ok
[INFO] [stdout] test adapters::hooks_dir::tests::test_generate_config_git_hooks_dir ... ok
[INFO] [stdout] test adapters::hooks_dir::tests::test_generate_config_prefixed_scripts_in_git_hooks ... ok
[INFO] [stdout] test adapters::hooks_dir::tests::test_generate_config_prefixed_only_no_exact_match ... ok
[INFO] [stdout] test adapters::husky::tests::test_detect_without_husky_dir ... ok
[INFO] [stdout] test adapters::hooks_dir::tests::test_dot_hooks_takes_priority_over_git_hooks ... ok
[INFO] [stdout] test adapters::hooks_dir::tests::test_matching_scripts_ignores_non_executable ... ok
[INFO] [stdout] test adapters::hooks_dir::tests::test_generate_config_skips_non_executable_hooks ... ok
[INFO] [stdout] test adapters::hooks_dir::tests::test_generate_config_without_hook_script ... ok
[INFO] [stdout] test adapters::hooks_dir::tests::test_generate_config_with_hook_script ... ok
[INFO] [stdout] test adapters::hooks_dir::tests::test_dot_hooks_follows_symlinks ... ok
[INFO] [stdout] test adapters::pre_commit::tests::test_generate_includes_remote_repos ... ok
[INFO] [stdout] test adapters::husky::tests::test_detect_with_husky_dir ... ok
[INFO] [stdout] test adapters::pre_commit::tests::test_generate_delegates_to_pre_commit ... ok
[INFO] [stdout] test adapters::hooks_dir::tests::test_matching_scripts_ignores_directories ... ok
[INFO] [stdout] test adapters::pre_commit::tests::test_generate_multiple_stages ... ok
[INFO] [stdout] test adapters::hooks_dir::tests::test_generate_config_with_prefixed_scripts ... ok
[INFO] [stdout] test adapters::husky::tests::test_generate_config_with_hook_script ... ok
[INFO] [stdout] test adapters::pre_commit::tests::test_hook_matches_stage_default_stages ... ok
[INFO] [stdout] test adapters::husky::tests::test_detect_file_not_dir ... ok
[INFO] [stdout] test adapters::pre_commit::tests::test_generate_respects_default_stages ... ok
[INFO] [stdout] test adapters::husky::tests::test_generate_config_without_hook_script ... ok
[INFO] [stdout] test adapters::pre_commit::tests::test_hook_matches_stage_no_stages_defaults_to_pre_commit ... ok
[INFO] [stdout] test adapters::pre_commit::tests::test_hook_stages_override_default ... ok
[INFO] [stdout] test adapters::pre_commit::tests::test_generate_no_stages_defaults_to_pre_commit ... ok
[INFO] [stdout] test adapters::husky::tests::test_generate_config_different_hooks ... ok
[INFO] [stdout] test adapters::pre_commit::tests::test_detect_directory_not_file ... ok
[INFO] [stdout] test adapters::pre_commit::tests::test_detect_without_config ... ok
[INFO] [stdout] test adapters::tests::test_detect_adapter_hooks_dir ... ok
[INFO] [stdout] test adapters::pre_commit::tests::test_hook_matches_stage_explicit ... ok
[INFO] [stdout] test adapters::pre_commit::tests::test_detect_with_config ... ok
[INFO] [stdout] test adapters::pre_commit::tests::test_generate_empty_repos ... ok
[INFO] [stdout] test adapters::tests::test_detect_adapter_husky ... ok
[INFO] [stdout] test adapters::tests::test_detect_adapter_none ... ok
[INFO] [stdout] test adapters::tests::test_detect_adapter_pre_commit ... ok
[INFO] [stdout] test config::tests::test_cli_flags_override_env_vars ... ok
[INFO] [stdout] test adapters::pre_commit::tests::test_generate_hook_stages_override_default ... ok
[INFO] [stdout] test adapters::tests::test_detect_adapter_priority_pre_commit_over_husky ... ok
[INFO] [stdout] test config::tests::test_find_config_dotted ... ok
[INFO] [stdout] test config::tests::test_find_config_none ... ok
[INFO] [stdout] test config::tests::test_find_config_prefers_yml_over_yaml ... ok
[INFO] [stdout] test config::tests::test_find_config_dot_config_subdir ... ok
[INFO] [stdout] test config::tests::test_overrides_from_env ... ok
[INFO] [stdout] test config::tests::test_find_config_toml ... ok
[INFO] [stdout] test config::tests::test_find_config_yaml ... ok
[INFO] [stdout] test config::tests::test_find_config_yml ... ok
[INFO] [stdout] test adapters::hooks_dir::tests::test_matching_scripts_sorted ... ok
[INFO] [stdout] test config::tests::test_global_config_override ... ok
[INFO] [stdout] test hooks::tests::test_annotate_hooks_skips_non_hook_keys ... ok
[INFO] [stdout] test hooks::tests::test_hook_script_embeds_hook_name_not_filename ... ok
[INFO] [stdout] test hooks::tests::test_annotate_hooks_stage_fixed_on_pre_commit_hooks ... ok
[INFO] [stdout] test hooks::tests::test_annotate_hooks_no_parallel_on_serial_hooks ... ok
[INFO] [stdout] test hooks::tests::test_annotate_hooks_no_stage_fixed_on_pre_push ... ok
[INFO] [stdout] test hooks::tests::test_hook_script_content ... ok
[INFO] [stdout] test hooks::tests::test_is_hook_name ... ok
[INFO] [stdout] test merge::tests::test_merge_configs_commands_dedup ... ok
[INFO] [stdout] test merge::tests::test_merge_configs_cross_format_commands_vs_jobs ... ok
[INFO] [stdout] test config::tests::test_load_global_config_returns_none_when_missing ... ok
[INFO] [stdout] test config::tests::test_install_default_global_config_skips_when_exists ... ok
[INFO] [stdout] test adapters::pre_commit::tests::test_generate_respects_stages ... ok
[INFO] [stdout] test merge::tests::test_merge_configs_global_only_hook_preserved ... ok
[INFO] [stdout] test config::tests::test_repo_config_override ... ok
[INFO] [stdout] test config::tests::test_load_global_config_returns_some_when_exists ... ok
[INFO] [stdout] test merge::tests::test_merge_configs_repo_overrides_scalars ... ok
[INFO] [stdout] test merge::tests::test_merge_jobs_named_dedup ... ok
[INFO] [stdout] test config::tests::test_install_default_global_config_creates_when_missing ... ok
[INFO] [stdout] test tests::test_install_scope_base_dir_shared_structure ... ok
[INFO] [stdout] test merge::tests::test_merge_jobs_unnamed_appended ... ok
[INFO] [stdout] test hooks::tests::test_create_hook_scripts_replaces_symlinks ... ok
[INFO] [stdout] test hooks::tests::test_annotate_hooks_parallel_on_safe_hooks ... ok
[INFO] [stdout] test tests::test_install_scope_system_git_flag ... ok
[INFO] [stdout] test tests::test_install_scope_system_hooks_dir ... ok
[INFO] [stdout] test tests::test_install_scope_user_config_dir ... ok
[INFO] [stdout] test tests::test_install_scope_user_hooks_dir_under_local ... ok
[INFO] [stdout] test tests::test_install_scope_system_config_dir ... ok
[INFO] [stdout] test tests::test_install_scope_user_git_flag ... ok
[INFO] [stdout] test tests::test_require_root_fails_for_non_root ... ok
[INFO] [stdout] test tests::test_resolve_config_adapter_used_when_no_repo ... ok
[INFO] [stdout] test tests::test_merge_layers_three_layers ... ok
[INFO] [stdout] test hooks::tests::test_create_hook_scripts_removes_stale_hooks ... ok
[INFO] [stdout] test merge::tests::test_merge_real_configs ... ok
[INFO] [stdout] test tests::test_resolve_config_keeps_no_tty_in_global_when_no_local ... ok
[INFO] [stdout] test tests::test_resolve_config_all_three_layers ... ok
[INFO] [stdout] test tests::test_merge_layers_empty ... ok
[INFO] [stdout] test tests::test_merge_layers_single ... ok
[INFO] [stdout] test hooks::tests::test_create_hook_scripts ... ok
[INFO] [stdout] test tests::test_resolve_config_none ... ok
[INFO] [stdout] test tests::test_merge_layers_later_overrides_earlier ... ok
[INFO] [stdout] test tests::test_resolve_config_no_tty_in_repo_preserved ... ok
[INFO] [stdout] test hooks::tests::test_create_hook_scripts_overwrites_existing ... ok
[INFO] [stdout] test tests::test_strip_no_tty_absent ... ok
[INFO] [stdout] test tests::test_run_git_hook_missing_hook_succeeds ... ok
[INFO] [stdout] test tests::test_strip_no_tty ... ok
[INFO] [stdout] test tests::test_resolve_config_system_only ... ok
[INFO] [stdout] test tests::test_resolve_config_repo_beats_adapter ... ok
[INFO] [stdout] test tests::test_resolve_config_strips_no_tty_from_global_when_local_present ... ok
[INFO] [stdout] test tests::test_run_git_hook_failing_script ... ok
[INFO] [stdout] test tests::test_run_git_hook_executes_script ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 103 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "131212d7fd7b1f109bf9b9986d4951adfd550ff0aacd73d4b975affdefe1029b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "131212d7fd7b1f109bf9b9986d4951adfd550ff0aacd73d4b975affdefe1029b", kill_on_drop: false }`
[INFO] [stdout] 131212d7fd7b1f109bf9b9986d4951adfd550ff0aacd73d4b975affdefe1029b
