[INFO] fetching crate claude-hook-advisor 0.2.1...
[INFO] testing claude-hook-advisor-0.2.1 against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] extracting crate claude-hook-advisor 0.2.1 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate claude-hook-advisor 0.2.1
[INFO] finished tweaking crates.io crate claude-hook-advisor 0.2.1
[INFO] tweaked toml for crates.io crate claude-hook-advisor 0.2.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate claude-hook-advisor 0.2.1 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 crates.io crate claude-hook-advisor 0.2.1 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-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8fbe0629029c610562503ceb1ffc9bb86033f407365a7683fa16f170fdeca88c
[INFO] running `Command { std: "docker" "start" "8fbe0629029c610562503ceb1ffc9bb86033f407365a7683fa16f170fdeca88c", 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" "8fbe0629029c610562503ceb1ffc9bb86033f407365a7683fa16f170fdeca88c" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8fbe0629029c610562503ceb1ffc9bb86033f407365a7683fa16f170fdeca88c", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8fbe0629029c610562503ceb1ffc9bb86033f407365a7683fa16f170fdeca88c" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling bitflags v2.9.3
[INFO] [stderr]    Compiling libsqlite3-sys v0.28.0
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling env_home v0.1.0
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling clap_builder v4.5.44
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling indexmap v2.11.0
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling which v8.0.0
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling clap_derive v4.5.45
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling clap v4.5.45
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling rusqlite v0.31.0
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling claude-hook-advisor v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.46s
[INFO] running `Command { std: "docker" "inspect" "8fbe0629029c610562503ceb1ffc9bb86033f407365a7683fa16f170fdeca88c", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8fbe0629029c610562503ceb1ffc9bb86033f407365a7683fa16f170fdeca88c" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling which v8.0.0
[INFO] [stderr]    Compiling tempfile v3.21.0
[INFO] [stderr]    Compiling claude-hook-advisor v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 6.79s
[INFO] running `Command { std: "docker" "inspect" "8fbe0629029c610562503ceb1ffc9bb86033f407365a7683fa16f170fdeca88c", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8fbe0629029c610562503ceb1ffc9bb86033f407365a7683fa16f170fdeca88c" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/claude_hook_advisor-ef5743464381dbd5)
[INFO] [stdout] 
[INFO] [stdout] running 32 tests
[INFO] [stdout] test cli::tests::test_ensure_config_sections_all_sections_present ... ok
[INFO] [stdout] test cli::tests::test_create_example_config ... ok
[INFO] [stdout] test config::tests::test_config_loading_missing_file ... ok
[INFO] [stdout] test cli::tests::test_hooks_already_exist_empty_settings ... ok
[INFO] [stdout] test cli::tests::test_ensure_config_sections_missing_sections ... ok
[INFO] [stdout] test cli::tests::test_hooks_already_exist_with_other_hooks ... ok
[INFO] [stdout] test directory::tests::test_expand_path ... ok
[INFO] [stdout] test cli::tests::test_hooks_already_exist_no_settings_file ... ok
[INFO] [stdout] test cli::tests::test_hooks_already_exist_userprompsubmit_hooks ... ok
[INFO] [stdout] test hooks::tests::test_hook_output_serialization ... ok
[INFO] [stdout] test installer::tests::test_debug_assertions_consistency ... ok
[INFO] [stdout] test installer::tests::test_install_hooks ... ok
[INFO] [stdout] test installer::tests::test_merge_hooks_empty_settings ... ok
[INFO] [stdout] test installer::tests::test_merge_hooks_preserves_existing ... ok
[INFO] [stdout] test types::tests::test_hook_input_deserialization ... ok
[INFO] [stdout] test types::tests::test_hook_input_minimal ... ok
[INFO] [stdout] test installer::tests::test_merge_hooks_replaces_existing_claude_advisor ... ok
[INFO] [stdout] test types::tests::test_user_prompt_submit_hook ... ok
[INFO] [stdout] test types::tests::test_post_tool_use_hook ... ok
[INFO] [stdout] test directory::tests::test_detect_directory_references ... ok
[INFO] [stdout] test directory::tests::test_directory_alias_matching_patterns ... ok
[INFO] [stdout] test hooks::tests::test_command_mapping_prevents_false_positives ... ok
[INFO] [stdout] test cli::tests::test_hooks_already_exist_with_our_hooks ... ok
[INFO] [stdout] test cli::tests::test_hooks_already_exist_prefers_local_settings ... ok
[INFO] [stdout] test hooks::tests::test_command_mapping_edge_cases ... ok
[INFO] [stdout] test hooks::tests::test_command_mapping ... ok
[INFO] [stdout] test history::tests::test_database_initialization ... ok
[INFO] [stdout] test history::tests::test_log_and_query_command ... ok
[INFO] [stdout] test history::tests::test_command_replacement_tracking ... ok
[INFO] [stdout] test history::tests::test_query_failures_only ... ok
[INFO] [stdout] test history::tests::test_query_with_command_pattern ... ok
[INFO] [stdout] test history::tests::test_query_with_session_filter ... ok
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/claude_hook_advisor-2669386c99dffa0b)
[INFO] [stdout] test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests claude_hook_advisor
[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] [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" "8fbe0629029c610562503ceb1ffc9bb86033f407365a7683fa16f170fdeca88c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fbe0629029c610562503ceb1ffc9bb86033f407365a7683fa16f170fdeca88c", kill_on_drop: false }`
[INFO] [stdout] 8fbe0629029c610562503ceb1ffc9bb86033f407365a7683fa16f170fdeca88c
