[INFO] cloning repository https://github.com/DuoNode-Inc/aegis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DuoNode-Inc/aegis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDuoNode-Inc%2Faegis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDuoNode-Inc%2Faegis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 717e215853f04d4ac4f75251683e09ec4d183a3f [INFO] testing DuoNode-Inc/aegis against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDuoNode-Inc%2Faegis" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DuoNode-Inc/aegis [INFO] finished tweaking git repo https://github.com/DuoNode-Inc/aegis [INFO] tweaked toml for git repo https://github.com/DuoNode-Inc/aegis written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DuoNode-Inc/aegis on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DuoNode-Inc/aegis 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea3600cc06fe2ad4385ffaf37100d8c998f5cb57250e12aaa71d2a60a91d0f8f [INFO] running `Command { std: "docker" "start" "-a" "ea3600cc06fe2ad4385ffaf37100d8c998f5cb57250e12aaa71d2a60a91d0f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea3600cc06fe2ad4385ffaf37100d8c998f5cb57250e12aaa71d2a60a91d0f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea3600cc06fe2ad4385ffaf37100d8c998f5cb57250e12aaa71d2a60a91d0f8f", kill_on_drop: false }` [INFO] [stdout] ea3600cc06fe2ad4385ffaf37100d8c998f5cb57250e12aaa71d2a60a91d0f8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc5fea4ffd78d8d570c0a4f9eaede60231ddbc367ec50a874683a783f2f4b871 [INFO] running `Command { std: "docker" "start" "-a" "dc5fea4ffd78d8d570c0a4f9eaede60231ddbc367ec50a874683a783f2f4b871", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling aws-lc-rs v1.15.4 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling clap_lex v0.7.7 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling clap_builder v4.5.57 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.37.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling clap v4.5.57 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling aegis v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "dc5fea4ffd78d8d570c0a4f9eaede60231ddbc367ec50a874683a783f2f4b871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc5fea4ffd78d8d570c0a4f9eaede60231ddbc367ec50a874683a783f2f4b871", kill_on_drop: false }` [INFO] [stdout] dc5fea4ffd78d8d570c0a4f9eaede60231ddbc367ec50a874683a783f2f4b871 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 079018538d06a445ff4dc85e0b7c4525325b0284fd8562bb1e0b6d79a4633927 [INFO] running `Command { std: "docker" "start" "-a" "079018538d06a445ff4dc85e0b7c4525325b0284fd8562bb1e0b6d79a4633927", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling assert_cmd v2.1.2 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling clap v4.5.57 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tokio-test v0.4.5 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling aegis v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "079018538d06a445ff4dc85e0b7c4525325b0284fd8562bb1e0b6d79a4633927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "079018538d06a445ff4dc85e0b7c4525325b0284fd8562bb1e0b6d79a4633927", kill_on_drop: false }` [INFO] [stdout] 079018538d06a445ff4dc85e0b7c4525325b0284fd8562bb1e0b6d79a4633927 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9f27c6b2f46cab3e5c412bbfae5b7b62fcbb365bbe3b85576e3af6b5b3c681ca [INFO] running `Command { std: "docker" "start" "-a" "9f27c6b2f46cab3e5c412bbfae5b7b62fcbb365bbe3b85576e3af6b5b3c681ca", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/aegis-81ea5313a098c197) [INFO] [stdout] [INFO] [stdout] running 62 tests [INFO] [stdout] test config::tests::apply_overrides_host_and_port ... ok [INFO] [stdout] test config::tests::apply_overrides_mode ... ok [INFO] [stdout] test config::tests::apply_overrides_none_preserves_defaults ... ok [INFO] [stdout] test config::tests::default_endpoints_include_major_providers ... ok [INFO] [stdout] test config::tests::invalid_toml_returns_error ... ok [INFO] [stdout] test detection::entropy::tests::analyze_flags_high_entropy ... ok [INFO] [stdout] test config::tests::parse_minimal_toml ... ok [INFO] [stdout] test detection::entropy::tests::analyze_passes_normal_text ... ok [INFO] [stdout] test detection::entropy::tests::analyze_skips_short_input ... ok [INFO] [stdout] test detection::entropy::tests::empty_input_zero_entropy ... ok [INFO] [stdout] test detection::entropy::tests::english_text_moderate_entropy ... ok [INFO] [stdout] test detection::entropy::tests::single_byte_zero_entropy ... ok [INFO] [stdout] test detection::entropy::tests::two_equally_distributed_bytes ... ok [INFO] [stdout] test detection::entropy::tests::base64_high_entropy ... ok [INFO] [stdout] test detection::injection::tests::detects_case_insensitive ... ok [INFO] [stdout] test detection::injection::tests::no_false_positive_on_code_discussion ... ok [INFO] [stdout] test config::tests::load_config_missing_file_uses_defaults ... ok [INFO] [stdout] test detection::injection::tests::detects_token_injection ... ok [INFO] [stdout] test config::tests::default_config_values ... ok [INFO] [stdout] test config::tests::load_config_from_temp_file ... ok [INFO] [stdout] test config::tests::parse_full_toml ... ok [INFO] [stdout] test detection::injection::tests::no_false_positive_on_clean_input ... ok [INFO] [stdout] test detection::injection::tests::detects_multiple_patterns ... ok [INFO] [stdout] test detection::injection::tests::detects_jailbreak ... ok [INFO] [stdout] test detection::injection::tests::detects_system_tag ... ok [INFO] [stdout] test detection::injection::tests::detects_instruction_override ... ok [INFO] [stdout] test endpoints::tests::is_ai_endpoint ... ok [INFO] [stdout] test endpoints::tests::matches_anthropic_route ... ok [INFO] [stdout] test detection::pii::tests::detects_ssn ... ok [INFO] [stdout] test endpoints::tests::matches_openai_route ... ok [INFO] [stdout] test proxy::handler::tests::block_response_is_403_json ... ok [INFO] [stdout] test endpoints::tests::no_match_unknown_prefix ... ok [INFO] [stdout] test proxy::handler::tests::block_response_json_structure ... ok [INFO] [stdout] test proxy::handler::tests::scan_request_blocks_pii ... ok [INFO] [stdout] test detection::pipeline::tests::blocks_injection ... ok [INFO] [stdout] test detection::pipeline::tests::injection_takes_priority_over_pii ... ok [INFO] [stdout] test proxy::handler::tests::scan_request_blocks_injection ... ok [INFO] [stdout] test rules::loader::tests::load_actual_injection_rules ... ok [INFO] [stdout] test detection::pii::tests::no_false_positive_on_clean_text ... ok [INFO] [stdout] test detection::pii::tests::detects_private_key ... ok [INFO] [stdout] test rules::loader::tests::load_patterns_empty_file ... ok [INFO] [stdout] test rules::loader::tests::load_actual_pii_rules ... ok [INFO] [stdout] test rules::loader::tests::load_patterns_missing_file_errors ... ok [INFO] [stdout] test rules::loader::tests::load_patterns_skips_comments_and_blanks ... ok [INFO] [stdout] test rules::loader::tests::load_pii_rules_invalid_format_errors ... ok [INFO] [stdout] test rules::loader::tests::load_pii_rules_parses_label_pattern ... ok [INFO] [stdout] test rules::loader::tests::load_patterns_trims_whitespace ... ok [INFO] [stdout] test rules::loader::tests::load_pii_rules_handles_colons_in_pattern ... ok [INFO] [stdout] test proxy::handler::tests::scan_response_silent_on_pass ... ok [INFO] [stdout] test rules::loader::tests::load_pii_rules_skips_comments ... ok [INFO] [stdout] test detection::pipeline::tests::blocks_pii ... ok [INFO] [stdout] test detection::pipeline::tests::display_format_pass ... ok [INFO] [stdout] test detection::pipeline::tests::latency_is_recorded ... ok [INFO] [stdout] test detection::pipeline::tests::passes_clean_input ... ok [INFO] [stdout] test detection::pii::tests::detects_github_token ... ok [INFO] [stdout] test detection::pii::tests::detects_aws_key ... ok [INFO] [stdout] test proxy::handler::tests::scan_request_passes_clean_input ... ok [INFO] [stdout] test detection::pipeline::tests::display_format_block ... ok [INFO] [stdout] test proxy::handler::tests::scan_response_emits_on_pii ... ok [INFO] [stdout] test detection::pii::tests::detects_multiple_pii_types ... ok [INFO] [stdout] test detection::pii::tests::detects_email ... ok [INFO] [stdout] test detection::pii::tests::detects_credit_card ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 62 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] Running tests/adversarial_tests.rs (/opt/rustwide/target/debug/deps/adversarial_tests-97c9c188487fd985) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test edge_unicode_input ... ok [INFO] [stdout] test fp_api_key_discussion_not_actual_key ... ok [INFO] [stdout] test edge_newlines_in_input ... ok [INFO] [stdout] test fp_normal_rust_code ... ok [INFO] [stdout] test fp_coding_question_about_security ... ok [INFO] [stdout] test fp_solidity_code_discussion ... ok [INFO] [stdout] test fp_security_research_discussion ... ok [INFO] [stdout] test edge_empty_input ... ok [INFO] [stdout] test tp_aws_access_key ... ok [INFO] [stdout] test fp_blockchain_discussion ... ok [INFO] [stdout] test edge_emoji_input ... ok [INFO] [stdout] test edge_very_short_input ... ok [INFO] [stdout] test fp_math_question ... ok [INFO] [stdout] test tp_eth_private_key_hex ... ok [INFO] [stdout] test tp_crypto_private_key_extraction ... ok [INFO] [stdout] test tp_injection_with_politeness_prefix ... ok [INFO] [stdout] test tp_classic_injection_ignore ... ok [INFO] [stdout] test tp_injection_buried_in_paragraph ... ok [INFO] [stdout] test tp_case_insensitive_injection ... ok [INFO] [stdout] test fp_wallet_discussion_not_extraction ... ok [INFO] [stdout] test fp_travel_question ... ok [INFO] [stdout] test tp_ssn_in_prompt ... ok [INFO] [stdout] test fp_json_with_key_field ... ok [INFO] [stdout] test performance_latency_under_target ... FAILED [INFO] [stdout] test tp_credit_card_visa ... ok [INFO] [stdout] test tp_github_token ... ok [INFO] [stdout] test tp_crypto_seed_phrase_coercion ... ok [INFO] [stdout] test tp_private_key_header ... ok [INFO] [stdout] test tp_jailbreak_dan ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- performance_latency_under_target stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'performance_latency_under_target' (188) panicked at tests/adversarial_tests.rs:348:13: [INFO] [stdout] Pipeline latency 55853us exceeds 20ms ceiling (even for debug) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x613bd1003a9a - std[da2fd379f16a7ff7]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x613bd1003a9a - std[da2fd379f16a7ff7]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x613bd1003a9a - std[da2fd379f16a7ff7]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x613bd1003a9a - <::print::DisplayBacktrace as core[97f61b5528a4c2b4]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x613bd1019f5a - ::fmt [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x613bd1019f5a - core[97f61b5528a4c2b4]::fmt::write [INFO] [stdout] 6: 0x613bd1009722 - std[da2fd379f16a7ff7]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x613bd1009722 - as std[da2fd379f16a7ff7]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x613bd0fe240f - ::print [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x613bd0fe240f - std[da2fd379f16a7ff7]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x613bd0ffbf89 - std[da2fd379f16a7ff7]::panicking::default_hook [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x613bd0f5626c - core[97f61b5528a4c2b4]::ops::function::Fn<(&'a std[da2fd379f16a7ff7]::panic::PanicHookInfo<'b>,), Output = ()> + core[97f61b5528a4c2b4]::marker::Send + core[97f61b5528a4c2b4]::marker::Sync> as core[97f61b5528a4c2b4]::ops::function::Fn<(&std[da2fd379f16a7ff7]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x613bd0f5626c - test[d0b63a2f043bab5e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x613bd0ffc142 - core[97f61b5528a4c2b4]::ops::function::Fn<(&'a std[da2fd379f16a7ff7]::panic::PanicHookInfo<'b>,), Output = ()> + core[97f61b5528a4c2b4]::marker::Send + core[97f61b5528a4c2b4]::marker::Sync> as core[97f61b5528a4c2b4]::ops::function::Fn<(&std[da2fd379f16a7ff7]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x613bd0ffc142 - std[da2fd379f16a7ff7]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x613bd0fe24c8 - std[da2fd379f16a7ff7]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x613bd0fd9e69 - std[da2fd379f16a7ff7]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x613bd0fe31dd - __rustc[9f3cd9eabd71303e]::rust_begin_unwind [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x613bd101a88c - core[97f61b5528a4c2b4]::panicking::panic_fmt [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x613bd0f46daf - adversarial_tests[492045a2bd8c0b56]::performance_latency_under_target [INFO] [stdout] at /opt/rustwide/workdir/tests/adversarial_tests.rs:348:13 [INFO] [stdout] 20: 0x613bd0f43d57 - adversarial_tests[492045a2bd8c0b56]::performance_latency_under_target::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/tests/adversarial_tests.rs:327:38 [INFO] [stdout] 21: 0x613bd0f4a086 - >::call_once [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x613bd0f4a34b - core[97f61b5528a4c2b4]::result::Result<(), alloc[ec929a98520ab192]::string::String> as core[97f61b5528a4c2b4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x613bd0f4a34b - test[d0b63a2f043bab5e]::__rust_begin_short_backtrace::, fn() -> core[97f61b5528a4c2b4]::result::Result<(), alloc[ec929a98520ab192]::string::String>> [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/test/src/lib.rs:663:18 [INFO] [stdout] 24: 0x613bd0f56d3b - test[d0b63a2f043bab5e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/test/src/lib.rs:686:74 [INFO] [stdout] 25: 0x613bd0f56d3b - as core[97f61b5528a4c2b4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 26: 0x613bd0f56d3b - std[da2fd379f16a7ff7]::panicking::catch_unwind::do_call::, core[97f61b5528a4c2b4]::result::Result<(), alloc[ec929a98520ab192]::string::String>> [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/panicking.rs:581:40 [INFO] [stdout] 27: 0x613bd0f56d3b - std[da2fd379f16a7ff7]::panicking::catch_unwind::, core[97f61b5528a4c2b4]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/panicking.rs:544:19 [INFO] [stdout] 28: 0x613bd0f56d3b - std[da2fd379f16a7ff7]::panic::catch_unwind::, core[97f61b5528a4c2b4]::result::Result<(), alloc[ec929a98520ab192]::string::String>> [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/panic.rs:359:14 [INFO] [stdout] 29: 0x613bd0f56d3b - test[d0b63a2f043bab5e]::run_test_in_process [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/test/src/lib.rs:686:27 [INFO] [stdout] 30: 0x613bd0f56d3b - test[d0b63a2f043bab5e]::run_test::{closure#0} [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/test/src/lib.rs:607:43 [INFO] [stdout] 31: 0x613bd0f52454 - test[d0b63a2f043bab5e]::run_test::{closure#1} [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/test/src/lib.rs:637:41 [INFO] [stdout] 32: 0x613bd0f52454 - std[da2fd379f16a7ff7]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 33: 0x613bd0f59942 - std[da2fd379f16a7ff7]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 34: 0x613bd0f59942 - ::{closure#1}::{closure#0}> as core[97f61b5528a4c2b4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 35: 0x613bd0f59942 - std[da2fd379f16a7ff7]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/panicking.rs:581:40 [INFO] [stdout] 36: 0x613bd0f59942 - std[da2fd379f16a7ff7]::panicking::catch_unwind::<(), core[97f61b5528a4c2b4]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/panicking.rs:544:19 [INFO] [stdout] 37: 0x613bd0f59942 - std[da2fd379f16a7ff7]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/panic.rs:359:14 [INFO] [stdout] 38: 0x613bd0f59942 - std[da2fd379f16a7ff7]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 39: 0x613bd0f59942 - ::{closure#1} as core[97f61b5528a4c2b4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x613bd100332f - + core[97f61b5528a4c2b4]::marker::Send> as core[97f61b5528a4c2b4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 41: 0x613bd100332f - ::new::thread_start [INFO] [stdout] at /rustc/8da20828b6ea601dfd8e2448cb50ace88876bd78/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 42: 0x7831264e9aa4 - [INFO] [stdout] 43: 0x783126576a64 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] performance_latency_under_target [INFO] [stdout] [INFO] [stdout] test result: FAILED. 28 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.78s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test adversarial_tests` [INFO] running `Command { std: "docker" "inspect" "9f27c6b2f46cab3e5c412bbfae5b7b62fcbb365bbe3b85576e3af6b5b3c681ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f27c6b2f46cab3e5c412bbfae5b7b62fcbb365bbe3b85576e3af6b5b3c681ca", kill_on_drop: false }` [INFO] [stdout] 9f27c6b2f46cab3e5c412bbfae5b7b62fcbb365bbe3b85576e3af6b5b3c681ca