[INFO] fetching crate neuron-hook-security 0.4.0... [INFO] testing neuron-hook-security-0.4.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate neuron-hook-security 0.4.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate neuron-hook-security 0.4.0 [INFO] finished tweaking crates.io crate neuron-hook-security 0.4.0 [INFO] tweaked toml for crates.io crate neuron-hook-security 0.4.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate neuron-hook-security 0.4.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate neuron-hook-security 0.4.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bf8a353268d034c77aeb79d48be66190c9bc2a4a4b6a3dd53bd73c3a236e85a [INFO] running `Command { std: "docker" "start" "-a" "2bf8a353268d034c77aeb79d48be66190c9bc2a4a4b6a3dd53bd73c3a236e85a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bf8a353268d034c77aeb79d48be66190c9bc2a4a4b6a3dd53bd73c3a236e85a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bf8a353268d034c77aeb79d48be66190c9bc2a4a4b6a3dd53bd73c3a236e85a", kill_on_drop: false }` [INFO] [stdout] 2bf8a353268d034c77aeb79d48be66190c9bc2a4a4b6a3dd53bd73c3a236e85a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e1706cd01ba89ee47f7a38a6d0b5c43f854270012e70fc16743df1e1a4335fa [INFO] running `Command { std: "docker" "start" "-a" "3e1706cd01ba89ee47f7a38a6d0b5c43f854270012e70fc16743df1e1a4335fa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling layer0 v0.4.0 [INFO] [stderr] Compiling neuron-hook-security v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.03s [INFO] running `Command { std: "docker" "inspect" "3e1706cd01ba89ee47f7a38a6d0b5c43f854270012e70fc16743df1e1a4335fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e1706cd01ba89ee47f7a38a6d0b5c43f854270012e70fc16743df1e1a4335fa", kill_on_drop: false }` [INFO] [stdout] 3e1706cd01ba89ee47f7a38a6d0b5c43f854270012e70fc16743df1e1a4335fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d79438b9b1d5cb78a0fce505d8f0d2ab0f0c415fd446772782040bb03f9e534 [INFO] running `Command { std: "docker" "start" "-a" "4d79438b9b1d5cb78a0fce505d8f0d2ab0f0c415fd446772782040bb03f9e534", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling neuron-hook-security v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.19s [INFO] running `Command { std: "docker" "inspect" "4d79438b9b1d5cb78a0fce505d8f0d2ab0f0c415fd446772782040bb03f9e534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d79438b9b1d5cb78a0fce505d8f0d2ab0f0c415fd446772782040bb03f9e534", kill_on_drop: false }` [INFO] [stdout] 4d79438b9b1d5cb78a0fce505d8f0d2ab0f0c415fd446772782040bb03f9e534 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c45fe7982cf113e3902513f2ce8f8fbf6a4c4f4d9d09455af0749a20a2b12091 [INFO] running `Command { std: "docker" "start" "-a" "c45fe7982cf113e3902513f2ce8f8fbf6a4c4f4d9d09455af0749a20a2b12091", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/neuron_hook_security-d4d16d8c4e8192fd) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test tests::exfil_guard_allows_normal_tool_use ... ok [INFO] [stdout] test tests::exfil_guard_no_false_positive_on_environment ... ok [INFO] [stdout] test tests::redaction_hook_ignores_non_post_tool_use ... ok [INFO] [stdout] test tests::exfil_guard_ignores_non_pre_tool_use ... ok [INFO] [stdout] test tests::redaction_hook_redacts_aws_key ... ok [INFO] [stdout] test tests::exfil_guard_detects_base64_exfil ... ok [INFO] [stdout] test tests::redaction_hook_multiple_matches ... ok [INFO] [stdout] test tests::redaction_hook_no_false_positive ... ok [INFO] [stdout] test tests::redaction_hook_redacts_vault_token ... ok [INFO] [stdout] test tests::redaction_hook_custom_pattern ... ok [INFO] [stdout] test tests::redaction_hook_redacts_github_token ... ok [INFO] [stdout] test tests::exfil_guard_detects_curl_with_env ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests neuron_hook_security [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" "c45fe7982cf113e3902513f2ce8f8fbf6a4c4f4d9d09455af0749a20a2b12091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c45fe7982cf113e3902513f2ce8f8fbf6a4c4f4d9d09455af0749a20a2b12091", kill_on_drop: false }` [INFO] [stdout] c45fe7982cf113e3902513f2ce8f8fbf6a4c4f4d9d09455af0749a20a2b12091