[INFO] cloning repository https://github.com/tenxhq/tenx-hooks
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tenxhq/tenx-hooks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftenxhq%2Ftenx-hooks", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftenxhq%2Ftenx-hooks'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bcf7afb38ea50122ea90404fe561bf5f802743f5
[INFO] testing tenxhq/tenx-hooks against 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftenxhq%2Ftenx-hooks" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tenxhq/tenx-hooks
[INFO] finished tweaking git repo https://github.com/tenxhq/tenx-hooks
[INFO] tweaked toml for git repo https://github.com/tenxhq/tenx-hooks written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tenxhq/tenx-hooks on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tenxhq/tenx-hooks 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.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded assert_cmd v2.0.17
[INFO] [stderr]   Downloaded plist v1.7.2
[INFO] [stderr]   Downloaded syntect v5.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0b4ea10e5d0f4468dcf8b3a5c2851b249fa72c52234cf6f01fddde2e98ba44d1
[INFO] running `Command { std: "docker" "start" "-a" "0b4ea10e5d0f4468dcf8b3a5c2851b249fa72c52234cf6f01fddde2e98ba44d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0b4ea10e5d0f4468dcf8b3a5c2851b249fa72c52234cf6f01fddde2e98ba44d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b4ea10e5d0f4468dcf8b3a5c2851b249fa72c52234cf6f01fddde2e98ba44d1", kill_on_drop: false }`
[INFO] [stdout] 0b4ea10e5d0f4468dcf8b3a5c2851b249fa72c52234cf6f01fddde2e98ba44d1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a365d222c70b21b902955ba6a6b8c23ae51e9cb54d25c48d23caac56ff296f68
[INFO] running `Command { std: "docker" "start" "-a" "a365d222c70b21b902955ba6a6b8c23ae51e9cb54d25c48d23caac56ff296f68", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling anstyle-query v1.1.3
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling anstream v0.6.19
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling clap_builder v4.5.40
[INFO] [stderr]    Compiling quick-xml v0.37.5
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling onig_sys v69.9.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.40
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling clap v4.5.40
[INFO] [stderr]    Compiling onig v6.5.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling plist v1.7.2
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling claude-transcript v0.0.1 (/opt/rustwide/workdir/crates/claude-transcript)
[INFO] [stderr]    Compiling syntect v5.2.0
[INFO] [stderr]    Compiling code-hooks v0.0.1 (/opt/rustwide/workdir/crates/code-hooks)
[INFO] [stderr]    Compiling rust-hook v0.0.1 (/opt/rustwide/workdir/crates/rust-hook)
[INFO] [stderr]    Compiling hooktest v0.0.1 (/opt/rustwide/workdir/crates/hooktest)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.82s
[INFO] running `Command { std: "docker" "inspect" "a365d222c70b21b902955ba6a6b8c23ae51e9cb54d25c48d23caac56ff296f68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a365d222c70b21b902955ba6a6b8c23ae51e9cb54d25c48d23caac56ff296f68", kill_on_drop: false }`
[INFO] [stdout] a365d222c70b21b902955ba6a6b8c23ae51e9cb54d25c48d23caac56ff296f68
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f2b7fc437cbc077b654a5f6b17bd0e5e53a12b63b1cbfc98edf31e461dae0049
[INFO] running `Command { std: "docker" "start" "-a" "f2b7fc437cbc077b654a5f6b17bd0e5e53a12b63b1cbfc98edf31e461dae0049", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling predicates-core v1.0.9
[INFO] [stderr]    Compiling assert_cmd v2.0.17
[INFO] [stderr]    Compiling code-hooks v0.0.1 (/opt/rustwide/workdir/crates/code-hooks)
[INFO] [stderr]    Compiling onig v6.5.1
[INFO] [stderr]    Compiling float-cmp v0.10.0
[INFO] [stderr]    Compiling predicates-tree v1.0.12
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling syntect v5.2.0
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling rust-hook v0.0.1 (/opt/rustwide/workdir/crates/rust-hook)
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling bstr v1.12.0
[INFO] [stderr]    Compiling claude-transcript v0.0.1 (/opt/rustwide/workdir/crates/claude-transcript)
[INFO] [stderr]    Compiling hooktest v0.0.1 (/opt/rustwide/workdir/crates/hooktest)
[INFO] [stderr]    Compiling predicates v3.1.3
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> crates/hooktest/tests/cli_tests.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut file = NamedTempFile::new().unwrap();
[INFO] [stdout]   |         ----^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 12.20s
[INFO] running `Command { std: "docker" "inspect" "f2b7fc437cbc077b654a5f6b17bd0e5e53a12b63b1cbfc98edf31e461dae0049", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2b7fc437cbc077b654a5f6b17bd0e5e53a12b63b1cbfc98edf31e461dae0049", kill_on_drop: false }`
[INFO] [stdout] f2b7fc437cbc077b654a5f6b17bd0e5e53a12b63b1cbfc98edf31e461dae0049
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] af90d80da2c184beefe5c4dd3f348f0ed74a694c9b0d6dfbdbde688d40343890
[INFO] running `Command { std: "docker" "start" "-a" "af90d80da2c184beefe5c4dd3f348f0ed74a694c9b0d6dfbdbde688d40343890", kill_on_drop: false }`
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> crates/hooktest/tests/cli_tests.rs:9:9
[INFO] [stderr]   |
[INFO] [stderr] 9 |     let mut file = NamedTempFile::new().unwrap();
[INFO] [stderr]   |         ----^^^^
[INFO] [stderr]   |         |
[INFO] [stderr]   |         help: remove this `mut`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `hooktest` (test "cli_tests") generated 1 warning (run `cargo fix --test "cli_tests" -p hooktest` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/claude_transcript-0d3d4d43aed815fc)
[INFO] [stderr]      Running tests/test_transcript_parsing.rs (/opt/rustwide/target/debug/deps/test_transcript_parsing-5b3159fe3de56637)
[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] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test test_assistant_api_error_without_request_id ... ok
[INFO] [stdout] test test_assistant_thinking_content ... ok
[INFO] [stdout] test test_system_entry_without_tool_use_id ... ok
[INFO] [stdout] test test_system_entry_without_level ... ok
[INFO] [stdout] test test_tool_uses_parsing ... ok
[INFO] [stdout] test test_tool_result_with_array_content ... ok
[INFO] [stdout] test test_complex_content_structures ... ok
[INFO] [stdout] test test_parse_various_entry_types ... ok
[INFO] [stdout] test test_parse_transcript_with_context_errors ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/code_hooks-172459af7e4cf83c)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test error::tests::test_error_display ... ok
[INFO] [stdout] test notification::tests::test_notification_roundtrip ... ok
[INFO] [stdout] test pretool::tests::test_pre_tool_use_roundtrip ... ok
[INFO] [stdout] test posttool::tests::test_post_tool_use_roundtrip ... ok
[INFO] [stdout] test stop::tests::test_stop_roundtrip ... ok
[INFO] [stdout] test subagent_stop::tests::test_subagent_stop_roundtrip ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hooktest-6af0674f269c5e9a)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test input::tests::test_combine_inputs ... ok
[INFO] [stdout] test input::tests::test_parse_string_inputs ... ok
[INFO] [stdout] test input::tests::test_parse_json_inputs ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/cli_tests.rs (/opt/rustwide/target/debug/deps/cli_tests-62fc79c04ab389ee)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test test_help ... ok
[INFO] [stdout] test test_subagent_stop ... ok
[INFO] [stdout] test test_stop ... ok
[INFO] [stdout] test test_pretool ... ok
[INFO] [stdout] test test_posttool ... ok
[INFO] [stdout] test test_notification ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test_notification stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test_notification' (48) panicked at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5:
[INFO] [stdout] Unexpected failure.
[INFO] [stdout] code=1
[INFO] [stdout] stderr=``````
[INFO] [stdout] Error: Broken pipe (os error 32)
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.98/src/backtrace.rs:27:14
[INFO] [stdout]    1: <core::result::Result<T,F> as core::ops::try_trait::FromResidual<core::result::Result<core::convert::Infallible,E>>>::from_residual
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/result.rs:2189:27
[INFO] [stdout]    2: hooktest::execute::execute_hook
[INFO] [stdout]              at ./src/execute.rs:42:9
[INFO] [stdout]    3: hooktest::notification::run_notification_hook
[INFO] [stdout]              at ./src/notification.rs:29:32
[INFO] [stdout]    4: hooktest::main
[INFO] [stdout]              at ./src/main.rs:285:13
[INFO] [stdout]    5: core::ops::function::FnOnce::call_once
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stdout]    6: std::sys::backtrace::__rust_begin_short_backtrace
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]    7: std::rt::lang_start::{{closure}}
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/rt.rs:206:18
[INFO] [stdout]    8: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:287:21
[INFO] [stdout]    9: std::panicking::catch_unwind::do_call
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:581:40
[INFO] [stdout]   10: std::panicking::catch_unwind
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:544:19
[INFO] [stdout]   11: std::panic::catch_unwind
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panic.rs:359:14
[INFO] [stdout]   12: std::rt::lang_start_internal::{{closure}}
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/rt.rs:175:24
[INFO] [stdout]   13: std::panicking::catch_unwind::do_call
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:581:40
[INFO] [stdout]   14: std::panicking::catch_unwind
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:544:19
[INFO] [stdout]   15: std::panic::catch_unwind
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panic.rs:359:14
[INFO] [stdout]   16: std::rt::lang_start_internal
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/rt.rs:171:5
[INFO] [stdout]   17: std::rt::lang_start
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/rt.rs:205:5
[INFO] [stdout]   18: main
[INFO] [stdout]   19: <unknown>
[INFO] [stdout]   20: __libc_start_main
[INFO] [stdout]   21: _start
[INFO] [stdout] ```
[INFO] [stdout] ```
[INFO] [stdout] command=`"/opt/rustwide/target/debug/hooktest" "notification" "--" "true"`
[INFO] [stdout] code=1
[INFO] [stdout] stdout=```
[INFO] [stdout] 
[INFO] [stdout] === Running Hook ===
[INFO] [stdout] Command: true 
[INFO] [stdout] 
[INFO] [stdout] === Input JSON ===
[INFO] [stdout] {
[INFO] [stdout]   \"hook_event_name\": \"Claude Code\",
[INFO] [stdout]   \"message\": \"Claude needs permission to run a command\",
[INFO] [stdout]   \"session_id\": \"test-session-1773174725299\",
[INFO] [stdout]   \"transcript_path\": \"/tmp/transcript.json\"
[INFO] [stdout] }
[INFO] [stdout] === Execution ===
[INFO] [stdout] ```
[INFO] [stdout] 
[INFO] [stdout] stderr=```
[INFO] [stdout] Error: Broken pipe (os error 32)
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.98/src/backtrace.rs:27:14
[INFO] [stdout]    1: <core::result::Result<T,F> as core::ops::try_trait::FromResidual<core::result::Result<core::convert::Infallible,E>>>::from_residual
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/result.rs:2189:27
[INFO] [stdout]    2: hooktest::execute::execute_hook
[INFO] [stdout]              at ./src/execute.rs:42:9
[INFO] [stdout]    3: hooktest::notification::run_notification_hook
[INFO] [stdout]              at ./src/notification.rs:29:32
[INFO] [stdout]    4: hooktest::main
[INFO] [stdout]              at ./src/main.rs:285:13
[INFO] [stdout]    5: core::ops::function::FnOnce::call_once
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stdout]    6: std::sys::backtrace::__rust_begin_short_backtrace
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]    7: std::rt::lang_start::{{closure}}
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/rt.rs:206:18
[INFO] [stdout]    8: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:287:21
[INFO] [stdout]    9: std::panicking::catch_unwind::do_call
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:581:40
[INFO] [stdout]   10: std::panicking::catch_unwind
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:544:19
[INFO] [stdout]   11: std::panic::catch_unwind
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panic.rs:359:14
[INFO] [stdout]   12: std::rt::lang_start_internal::{{closure}}
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/rt.rs:175:24
[INFO] [stdout]   13: std::panicking::catch_unwind::do_call
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:581:40
[INFO] [stdout]   14: std::panicking::catch_unwind
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:544:19
[INFO] [stdout]   15: std::panic::catch_unwind
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panic.rs:359:14
[INFO] [stdout]   16: std::rt::lang_start_internal
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/rt.rs:171:5
[INFO] [stdout]   17: std::rt::lang_start
[INFO] [stdout]              at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/rt.rs:205:5
[INFO] [stdout]   18: main
[INFO] [stdout]   19: <unknown>
[INFO] [stdout]   20: __libc_start_main
[INFO] [stdout]   21: _start
[INFO] [stdout] ```
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f4907382442 - std::backtrace_rs::backtrace::libunwind::trace::hff358a60abf734fc
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5f4907382442 - std::backtrace_rs::backtrace::trace_unsynchronized::h3b121f916dd95ec6
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5f4907382442 - std::sys::backtrace::_print_fmt::hde0a62ded68798e9
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5f4907382442 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h93773fc827e3113d
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5f490739364a - core::fmt::rt::Argument::fmt::h01eff69902dad97f
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5f490739364a - core::fmt::write::hed7b5c73d82ecb7c
[INFO] [stdout]    6:     0x5f490734f2c6 - std::io::default_write_fmt::h2f696ff5b8bbaa4b
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5f490734f2c6 - std::io::Write::write_fmt::h5e66814db8a9cfce
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x5f4907360359 - std::sys::backtrace::BacktraceLock::print::h8b1d6fcc5a56d1a3
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5f4907360359 - std::panicking::default_hook::{{closure}}::h2be84df4f189ae36
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5f49073601f1 - std::panicking::default_hook::hf0ea8939246f43a9
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5f49072ec7ce - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h02d35e3888986252
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x5f49072ec7ce - test::test_main_with_exit_callback::{{closure}}::h939640a27d647173
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5f49073605d2 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hc9df09ff391af3e7
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x5f49073605d2 - std::panicking::panic_with_hook::hb4bd9ac1123582a0
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5f4907360418 - std::panicking::panic_handler::{{closure}}::hde00dd15f5637fe2
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5f490735b579 - std::sys::backtrace::__rust_end_short_backtrace::hb72197fa777c1785
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5f4907343f5d - __rustc[4425a7e20b4c8619]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5f490739af1c - core::panicking::panic_fmt::ha59b517dd231f4da
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5f4907321d48 - core::panicking::panic_display::h6b6741ef4cd2d45a
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panicking.rs:259:5
[INFO] [stdout]   20:     0x5f490731ba47 - assert_cmd::assert::AssertError::panic::h705986e6ee5dd422
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/assert_cmd-2.0.17/src/assert.rs:1033:9
[INFO] [stdout]   21:     0x5f4907320cb7 - core::ops::function::FnOnce::call_once::ha6e78014b369bdb6
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   22:     0x5f490731f694 - core::result::Result<T,E>::unwrap_or_else::he12a4414a10f4dd5
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/result.rs:1622:23
[INFO] [stdout]   23:     0x5f490731c220 - assert_cmd::assert::Assert::success::h71142b9b1160985f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/assert_cmd-2.0.17/src/assert.rs:158:28
[INFO] [stdout]   24:     0x5f49072ccdf7 - cli_tests::test_notification::hd9bb7e195b8f82fc
[INFO] [stdout]                                at /opt/rustwide/workdir/crates/hooktest/tests/cli_tests.rs:71:10
[INFO] [stdout]   25:     0x5f49072ccee7 - cli_tests::test_notification::{{closure}}::h7ceafe37be0ab482
[INFO] [stdout]                                at /opt/rustwide/workdir/crates/hooktest/tests/cli_tests.rs:66:23
[INFO] [stdout]   26:     0x5f49072cabe6 - core::ops::function::FnOnce::call_once::h60885bc3a37f484c
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27:     0x5f49072ec58b - core::ops::function::FnOnce::call_once::hddb3cd395c36bfbb
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x5f49072ec58b - test::__rust_begin_short_backtrace::h0b6a7601d9750bfa
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:663:18
[INFO] [stdout]   29:     0x5f49072fff9a - test::run_test_in_process::{{closure}}::h444209903f00b347
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:686:74
[INFO] [stdout]   30:     0x5f49072fff9a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hfb3ba8f46e537649
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   31:     0x5f49072fff9a - std::panicking::catch_unwind::do_call::h1672a45911fcf9dc
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:581:40
[INFO] [stdout]   32:     0x5f49072fff9a - std::panicking::catch_unwind::h0fadaee22787a6dd
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:544:19
[INFO] [stdout]   33:     0x5f49072fff9a - std::panic::catch_unwind::hc47ad190f2c8e188
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panic.rs:359:14
[INFO] [stdout]   34:     0x5f49072fff9a - test::run_test_in_process::hcd7faaf934f29999
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:686:27
[INFO] [stdout]   35:     0x5f49072fff9a - test::run_test::{{closure}}::hddc4550da4871867
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:607:43
[INFO] [stdout]   36:     0x5f49072da3f4 - test::run_test::{{closure}}::h98ae26689f13ed94
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:637:41
[INFO] [stdout]   37:     0x5f49072da3f4 - std::sys::backtrace::__rust_begin_short_backtrace::h3ec4d1f21ad44588
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   38:     0x5f49072ddd92 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd8bf2c73d479939f
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   39:     0x5f49072ddd92 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h3b4248f358af2491
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   40:     0x5f49072ddd92 - std::panicking::catch_unwind::do_call::hda10a64f4b8daebe
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:581:40
[INFO] [stdout]   41:     0x5f49072ddd92 - std::panicking::catch_unwind::h659e5ee8336ec8c7
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:544:19
[INFO] [stdout]   42:     0x5f49072ddd92 - std::panic::catch_unwind::h9d4d66a538912c18
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panic.rs:359:14
[INFO] [stdout]   43:     0x5f49072ddd92 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h7557906bb51d79f1
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   44:     0x5f49072ddd92 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9e460d1d7fc83d35
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x5f490735667f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h61282da819d64ea9
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   46:     0x5f490735667f - std::sys::thread::unix::Thread::new::thread_start::h982f9ea829d1b5fb
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/thread/unix.rs:127:17
[INFO] [stdout]   47:     0x7bdf24febaa4 - <unknown>
[INFO] [stdout]   48:     0x7bdf25078a64 - clone
[INFO] [stdout]   49:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test_notification
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `-p hooktest --test cli_tests`
[INFO] running `Command { std: "docker" "inspect" "af90d80da2c184beefe5c4dd3f348f0ed74a694c9b0d6dfbdbde688d40343890", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af90d80da2c184beefe5c4dd3f348f0ed74a694c9b0d6dfbdbde688d40343890", kill_on_drop: false }`
[INFO] [stdout] af90d80da2c184beefe5c4dd3f348f0ed74a694c9b0d6dfbdbde688d40343890
