[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 master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftenxhq%2Ftenx-hooks" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tenxhq/tenx-hooks on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded onig v6.5.1
[INFO] [stderr]   Downloaded plist v1.7.2
[INFO] [stderr]   Downloaded onig_sys v69.9.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] be497c5a5ba8cd2369da98398627f3d1e29390f559f8fa18d95fa7874a682c18
[INFO] running `Command { std: "docker" "start" "-a" "be497c5a5ba8cd2369da98398627f3d1e29390f559f8fa18d95fa7874a682c18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be497c5a5ba8cd2369da98398627f3d1e29390f559f8fa18d95fa7874a682c18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be497c5a5ba8cd2369da98398627f3d1e29390f559f8fa18d95fa7874a682c18", kill_on_drop: false }`
[INFO] [stdout] be497c5a5ba8cd2369da98398627f3d1e29390f559f8fa18d95fa7874a682c18
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 86f40e84a4911da53e9a2d8569bf5172e6fa00821dfec03275b9a787b8de9859
[INFO] running `Command { std: "docker" "start" "-a" "86f40e84a4911da53e9a2d8569bf5172e6fa00821dfec03275b9a787b8de9859", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]    Compiling clap_builder v4.5.40
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling quick-xml v0.37.5
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling atty v0.2.14
[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 serde v1.0.219
[INFO] [stderr]    Compiling onig v6.5.1
[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 41.48s
[INFO] running `Command { std: "docker" "inspect" "86f40e84a4911da53e9a2d8569bf5172e6fa00821dfec03275b9a787b8de9859", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86f40e84a4911da53e9a2d8569bf5172e6fa00821dfec03275b9a787b8de9859", kill_on_drop: false }`
[INFO] [stdout] 86f40e84a4911da53e9a2d8569bf5172e6fa00821dfec03275b9a787b8de9859
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 27b70baead7642b7544a155423cd97cf05e3212a32e456d59ef320d4160b4ff6
[INFO] running `Command { std: "docker" "start" "-a" "27b70baead7642b7544a155423cd97cf05e3212a32e456d59ef320d4160b4ff6", kill_on_drop: false }`
[INFO] [stderr]    Compiling onig v6.5.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling assert_cmd v2.0.17
[INFO] [stderr]    Compiling float-cmp v0.10.0
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling code-hooks v0.0.1 (/opt/rustwide/workdir/crates/code-hooks)
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling syntect v5.2.0
[INFO] [stderr]    Compiling rust-hook v0.0.1 (/opt/rustwide/workdir/crates/rust-hook)
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling hooktest v0.0.1 (/opt/rustwide/workdir/crates/hooktest)
[INFO] [stderr]    Compiling claude-transcript v0.0.1 (/opt/rustwide/workdir/crates/claude-transcript)
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling bstr v1.12.0
[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 16.42s
[INFO] running `Command { std: "docker" "inspect" "27b70baead7642b7544a155423cd97cf05e3212a32e456d59ef320d4160b4ff6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "27b70baead7642b7544a155423cd97cf05e3212a32e456d59ef320d4160b4ff6", kill_on_drop: false }`
[INFO] [stdout] 27b70baead7642b7544a155423cd97cf05e3212a32e456d59ef320d4160b4ff6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 47cda9ebcb58736d874d5ae79972dd3031c05125f22836a67b70d0e1412d7c3c
[INFO] running `Command { std: "docker" "start" "-a" "47cda9ebcb58736d874d5ae79972dd3031c05125f22836a67b70d0e1412d7c3c", 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.14s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/claude_transcript-45e719f4cb6b4d25)
[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/test_transcript_parsing.rs (/opt/rustwide/target/debug/deps/test_transcript_parsing-940b55cd93f37017)
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test test_parse_various_entry_types ... ok
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/code_hooks-2c35b0ecb63e17f1)
[INFO] [stdout] test test_complex_content_structures ... ok
[INFO] [stdout] test test_parse_transcript_with_context_errors ... ok
[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_result_with_array_content ... ok
[INFO] [stdout] test test_tool_uses_parsing ... 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] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test notification::tests::test_notification_roundtrip ... ok
[INFO] [stdout] test error::tests::test_error_display ... ok
[INFO] [stdout] test posttool::tests::test_post_tool_use_roundtrip ... ok
[INFO] [stdout] test stop::tests::test_stop_roundtrip ... ok
[INFO] [stdout] test pretool::tests::test_pre_tool_use_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.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hooktest-0790dfa5e6c10995)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test input::tests::test_combine_inputs ... ok
[INFO] [stdout] test input::tests::test_parse_json_inputs ... ok
[INFO] [stdout] test input::tests::test_parse_string_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-e59db54179fee0bd)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test test_help ... ok
[INFO] [stdout] test test_notification ... ok
[INFO] [stdout] test test_posttool ... ok
[INFO] [stdout] test test_pretool ... ok
[INFO] [stdout] test test_subagent_stop ... ok
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_hook-5a99262bc8b58ab2)
[INFO] [stdout] test test_stop ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s
[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] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_hook-30e7b6f5302e45ff)
[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] [stderr]      Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-0451db761d1ce391)
[INFO] [stdout] running 4 tests
[INFO] [stdout] test test_find_project_root ... ok
[INFO] [stdout] test test_rust_file_check ... ok
[INFO] [stdout] test test_cli_help ... ok
[INFO] [stdout] test test_subcommand_help ... ok
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests claude_transcript
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.53s
[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] [stderr]    Doc-tests code_hooks
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test crates/code-hooks/src/io.rs - io::HookResponse (line 41) - compile ... ok
[INFO] [stdout] test crates/code-hooks/src/io.rs - io::Input (line 16) - compile ... ok
[INFO] [stdout] test crates/code-hooks/src/lib.rs - (line 14) - compile ... 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] [stdout] all doctests ran in 0.54s; merged doctests compilation took 0.53s
[INFO] [stderr]    Doc-tests rust_hook
[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" "47cda9ebcb58736d874d5ae79972dd3031c05125f22836a67b70d0e1412d7c3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47cda9ebcb58736d874d5ae79972dd3031c05125f22836a67b70d0e1412d7c3c", kill_on_drop: false }`
[INFO] [stdout] 47cda9ebcb58736d874d5ae79972dd3031c05125f22836a67b70d0e1412d7c3c
