[INFO] fetching crate guardrail-proxy 0.1.1...
[INFO] testing guardrail-proxy-0.1.1 against 1.99.0-beta.1 for beta-1.99-5
[INFO] extracting crate guardrail-proxy 0.1.1 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate guardrail-proxy 0.1.1
[INFO] finished tweaking crates.io crate guardrail-proxy 0.1.1
[INFO] tweaked toml for crates.io crate guardrail-proxy 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate guardrail-proxy 0.1.1 on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate guardrail-proxy 0.1.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] bfcf489332df2c88a47ad67f724c4211490faa4ae91414df99f929ea20c6955b
[INFO] running `Command { std: "docker" "start" "bfcf489332df2c88a47ad67f724c4211490faa4ae91414df99f929ea20c6955b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bfcf489332df2c88a47ad67f724c4211490faa4ae91414df99f929ea20c6955b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bfcf489332df2c88a47ad67f724c4211490faa4ae91414df99f929ea20c6955b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bfcf489332df2c88a47ad67f724c4211490faa4ae91414df99f929ea20c6955b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bfcf489332df2c88a47ad67f724c4211490faa4ae91414df99f929ea20c6955b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.46
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling smallvec v1.15.2
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling memchr v2.8.2
[INFO] [stderr]    Compiling bytes v1.12.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling http v1.4.2
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling shlex v2.0.1
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v1.2.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling socket2 v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling cc v1.2.65
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling zerocopy v0.8.52
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling ipnet v2.12.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling zeroize v1.9.0
[INFO] [stderr]    Compiling rustls-pki-types v1.15.0
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling rustls v0.23.41
[INFO] [stderr]    Compiling log v0.4.33
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling anyhow v1.0.103
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling webpki-roots v1.0.8
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling bitflags v2.13.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling uuid v1.23.4
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling pin-project-internal v1.1.13
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling opentelemetry v0.27.1
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling prost-derive v0.13.5
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling h2 v0.4.15
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling pin-project v1.1.13
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tower-http v0.6.11
[INFO] [stderr]    Compiling prost v0.13.5
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling opentelemetry_sdk v0.27.1
[INFO] [stderr]    Compiling tracing-serde v0.2.0
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling regex v1.12.4
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling hyper v1.10.1
[INFO] [stderr]    Compiling time-core v0.1.9
[INFO] [stderr]    Compiling num-conv v0.2.2
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling prometheus v0.13.4
[INFO] [stderr]    Compiling time v0.3.53
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling arc-swap v1.9.2
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling symlink v0.1.0
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling hyper-timeout v0.5.2
[INFO] [stderr]    Compiling chrono v0.4.45
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling tonic v0.12.3
[INFO] [stderr]    Compiling tracing-opentelemetry v0.28.0
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling tracing-appender v0.2.5
[INFO] [stderr]    Compiling guardrail-core v0.1.1
[INFO] [stderr]    Compiling opentelemetry-proto v0.27.0
[INFO] [stderr]    Compiling guardrail-classifiers v0.1.1
[INFO] [stderr]    Compiling guardrail-config v0.1.1
[INFO] [stderr]    Compiling opentelemetry-otlp v0.27.0
[INFO] [stderr]    Compiling guardrail-proxy v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.24s
[INFO] running `Command { std: "docker" "inspect" "bfcf489332df2c88a47ad67f724c4211490faa4ae91414df99f929ea20c6955b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bfcf489332df2c88a47ad67f724c4211490faa4ae91414df99f929ea20c6955b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling bitflags v2.13.0
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling deadpool-runtime v0.1.4
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling deadpool v0.12.3
[INFO] [stderr]    Compiling opentelemetry_sdk v0.27.1
[INFO] [stderr]    Compiling tokio-test v0.4.5
[INFO] [stderr]    Compiling tower-http v0.6.11
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling h2 v0.4.15
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling tracing-opentelemetry v0.28.0
[INFO] [stderr]    Compiling hyper v1.10.1
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling hyper-timeout v0.5.2
[INFO] [stderr]    Compiling wiremock v0.6.5
[INFO] [stderr]    Compiling tonic v0.12.3
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling guardrail-core v0.1.1
[INFO] [stderr]    Compiling opentelemetry-proto v0.27.0
[INFO] [stderr]    Compiling guardrail-classifiers v0.1.1
[INFO] [stderr]    Compiling guardrail-config v0.1.1
[INFO] [stderr]    Compiling opentelemetry-otlp v0.27.0
[INFO] [stderr]    Compiling guardrail-proxy v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 13.08s
[INFO] running `Command { std: "docker" "inspect" "bfcf489332df2c88a47ad67f724c4211490faa4ae91414df99f929ea20c6955b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bfcf489332df2c88a47ad67f724c4211490faa4ae91414df99f929ea20c6955b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/guardrail_proxy-642a4bc519a9c9dc)
[INFO] [stdout] 
[INFO] [stdout] running 95 tests
[INFO] [stdout] test audit::tests::test_audit_record_allow ... ok
[INFO] [stdout] test audit::tests::test_audit_record_redact_entities_empty_when_stage_provides_none ... ok
[INFO] [stdout] test audit::tests::test_audit_record_block ... ok
[INFO] [stdout] test audit::tests::test_audit_record_redact_with_pii ... ok
[INFO] [stdout] test audit::tests::test_emit_does_not_panic ... ok
[INFO] [stdout] test audit::tests::test_timestamp_format ... ok
[INFO] [stdout] test audit::tests::test_audit_record_serializes_to_correct_json_shape ... ok
[INFO] [stdout] test audit::tests::test_unix_secs_epoch ... ok
[INFO] [stdout] test audit::tests::test_unix_secs_known_date ... ok
[INFO] [stdout] test audit_log::tests::test_disabled_returns_none ... ok
[INFO] [stdout] test audit_log::tests::test_rotating_writer_never_rotates_an_empty_file ... ok
[INFO] [stdout] test audit_log::tests::test_rotating_writer_no_rotation_under_threshold ... ok
[INFO] [stdout] test audit_log::tests::test_max_size_mb_zero_does_not_panic ... ok
[INFO] [stdout] test audit_log::tests::test_rotating_writer_resumes_existing_file_size ... ok
[INFO] [stdout] test audit_log::tests::test_rotating_writer_preserves_old_content_in_backup ... ok
[INFO] [stdout] test audit_log::tests::test_rotating_writer_rotates_when_threshold_exceeded ... ok
[INFO] [stdout] test auth::tests::test_disabled_auth_always_allows ... ok
[INFO] [stdout] test auth::tests::test_empty_keys_list_rejects_everything ... ok
[INFO] [stdout] test auth::tests::test_correct_key_allowed ... ok
[INFO] [stdout] test auth::tests::test_metrics_exempt_even_without_key ... ok
[INFO] [stdout] test auth::tests::test_healthz_exempt_even_without_key ... ok
[INFO] [stdout] test auth::tests::test_missing_key_rejected ... ok
[INFO] [stdout] test auth::tests::test_one_of_multiple_keys_allowed ... ok
[INFO] [stdout] test auth::tests::test_wrong_key_rejected ... ok
[INFO] [stdout] test error::tests::test_classify_upstream_error_non_upstream_variant_is_other ... ok
[INFO] [stdout] test auth::tests::test_proxy_path_not_exempt ... ok
[INFO] [stdout] test error::tests::test_error_response_shape ... ok
[INFO] [stdout] test error::tests::test_internal_error_response_is_500 ... ok
[INFO] [stdout] test error::tests::test_classify_upstream_error_connect_refused ... ok
[INFO] [stdout] test error::tests::test_classify_upstream_error_timeout ... ok
[INFO] [stdout] test error::tests::test_error_body_response_preserves_arbitrary_json ... ok
[INFO] [stdout] test forward::tests::test_stripped_headers_lists ... ok
[INFO] [stdout] test handler::tests::test_healthz ... ok
[INFO] [stdout] test forward::tests::test_forward_request_connection_refused ... ok
[INFO] [stdout] test forward::tests::test_forward_request_success ... ok
[INFO] [stdout] test handler::tests::test_provider_for_path_anthropic ... ok
[INFO] [stdout] test handler::tests::test_provider_for_path_openai_default ... ok
[INFO] [stdout] test audit_log::tests::test_creates_parent_directory ... ok
[INFO] [stdout] test handler::tests::test_provider_label_mapping ... ok
[INFO] [stdout] test metrics::tests::test_counters_increment ... ok
[INFO] [stdout] test audit_log::tests::test_builds_with_valid_config ... ok
[INFO] [stdout] test metrics::tests::test_upstream_errors_and_active_connections ... ok
[INFO] [stdout] test metrics::tests::test_histogram_observe ... ok
[INFO] [stdout] test metrics::tests::test_metrics_render_contains_metric_names ... ok
[INFO] [stdout] test response::tests::test_empty_choices_returns_none ... ok
[INFO] [stdout] test response::tests::test_is_redactable_response ... ok
[INFO] [stdout] test response::tests::test_clean_response_returns_none ... ok
[INFO] [stdout] test response::tests::test_anthropic_non_text_blocks_untouched ... ok
[INFO] [stdout] test response::tests::test_invalid_json_returns_none ... ok
[INFO] [stdout] test response::tests::test_redact_anthropic_response_with_pii ... ok
[INFO] [stdout] test handler::tests::test_maybe_redact_response_without_redactor_passthrough ... ok
[INFO] [stdout] test response::tests::test_preserves_unicode_content ... ok
[INFO] [stdout] test response::tests::test_redact_openai_response_multiple_choices ... ok
[INFO] [stdout] test response::tests::test_redact_openai_response_with_pii ... ok
[INFO] [stdout] test server::tests::test_auth_key_never_forwarded_upstream ... ok
[INFO] [stdout] test response::tests::test_response_without_choices_or_content_returns_none ... ok
[INFO] [stdout] test handler::tests::test_maybe_redact_response_skips_streaming ... ok
[INFO] [stdout] test handler::tests::test_maybe_redact_response_with_redactor_enabled ... ok
[INFO] [stdout] test server::tests::test_auth_disabled_by_default_allows_unauthenticated ... ok
[INFO] [stdout] test server::tests::test_auth_allows_request_with_correct_key ... ok
[INFO] [stdout] test server::tests::test_auth_rejects_wrong_key ... ok
[INFO] [stdout] test server::tests::test_auth_exempts_healthz_and_metrics ... ok
[INFO] [stdout] test telemetry::tests::test_build_otel_layer_with_endpoint_returns_provider ... ok
[INFO] [stdout] test telemetry::tests::test_empty_otlp_endpoint_returns_none ... ok
[INFO] [stdout] test telemetry::tests::test_otel_error_display ... ok
[INFO] [stdout] test telemetry::tests::test_request_span_is_created ... ok
[INFO] [stdout] test server::tests::test_auth_rejects_request_without_key ... ok
[INFO] [stdout] test telemetry::tests::test_stage_span_is_created ... ok
[INFO] [stdout] test telemetry::tests::test_upstream_span_is_created ... ok
[INFO] [stdout] test telemetry::tests::test_whitespace_only_otlp_endpoint_returns_none ... ok
[INFO] [stdout] test translate::tests::test_block_response_body_shape ... ok
[INFO] [stdout] test translate::tests::test_content_part_image_type_becomes_empty_text_placeholder ... ok
[INFO] [stdout] test translate::tests::test_content_part_unsupported_type_errors ... ok
[INFO] [stdout] test translate::tests::test_content_wrong_json_type_errors ... ok
[INFO] [stdout] test translate::tests::test_message_missing_content_errors ... ok
[INFO] [stdout] test translate::tests::test_message_missing_role_errors ... ok
[INFO] [stdout] test translate::tests::test_messages_not_array_errors ... ok
[INFO] [stdout] test translate::tests::test_null_content_becomes_empty_text ... ok
[INFO] [stdout] test translate::tests::test_parse_invalid_json_errors ... ok
[INFO] [stdout] test translate::tests::test_parse_missing_messages_errors ... ok
[INFO] [stdout] test translate::tests::test_parse_missing_model_errors ... ok
[INFO] [stdout] test translate::tests::test_parse_multipart_content ... ok
[INFO] [stdout] test translate::tests::test_parse_simple_openai_request ... ok
[INFO] [stdout] test translate::tests::test_roundtrip_preserves_extra_fields ... ok
[INFO] [stdout] test translate::tests::test_serialize_request_all_roles ... ok
[INFO] [stdout] test translate::tests::test_serialize_request_with_image_url_parts_roundtrip ... ok
[INFO] [stdout] test translate::tests::test_stream_flag_roundtrip ... ok
[INFO] [stdout] test translate::tests::test_tool_and_function_roles_map_to_tool ... ok
[INFO] [stdout] test translate::tests::test_unknown_role_errors ... ok
[INFO] [stdout] test server::tests::test_server_blocks_injection_request ... ok
[INFO] [stdout] test server::tests::test_metrics_endpoint ... ok
[INFO] [stdout] test audit_log::tests::test_writes_audit_events_as_ndjson ... ok
[INFO] [stdout] test server::tests::test_server_rejects_malformed_json ... ok
[INFO] [stdout] test server::tests::test_server_rejects_oversized_body ... ok
[INFO] [stdout] test server::tests::test_server_starts_and_responds_to_healthz ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 95 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests guardrail_proxy
[INFO] [stdout] 
[INFO] [stdout] running 25 tests
[INFO] [stdout] test src/audit_log.rs - audit_log (line 16) - compile ... ok
[INFO] [stdout] test src/error.rs - error::internal_error_response (line 67) ... ok
[INFO] [stdout] test src/error.rs - error::classify_upstream_error (line 132) ... ok
[INFO] [stdout] test src/audit.rs - audit::AuditRecord::from_decision (line 85) ... ok
[INFO] [stdout] test src/error.rs - error::read_limited_body (line 102) - compile ... ok
[INFO] [stdout] test src/forward.rs - forward::forward_request (line 34) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 64) - compile ... ok
[INFO] [stdout] test src/audit.rs - audit::AuditRecord::with_score (line 157) ... ok
[INFO] [stdout] test src/metrics.rs - metrics::Metrics::new (line 54) ... ok
[INFO] [stdout] test src/response.rs - response::is_redactable_response (line 50) ... ok
[INFO] [stdout] test src/metrics.rs - metrics::Metrics::render (line 195) ... ok
[INFO] [stdout] test src/telemetry.rs - telemetry::build_otel_layer (line 68) - compile ... ok
[INFO] [stdout] test src/server.rs - server::run_server (line 38) - compile ... ok
[INFO] [stdout] test src/telemetry.rs - telemetry::shutdown_tracer_provider (line 107) - compile ... ok
[INFO] [stdout] test src/response.rs - response::redact_response_body (line 77) ... ok
[INFO] [stdout] test src/telemetry.rs - telemetry::upstream_span (line 179) ... ok
[INFO] [stdout] test src/translate.rs - translate::block_response_body (line 252) ... ok
[INFO] [stdout] test src/telemetry.rs - telemetry::request_span (line 156) ... ok
[INFO] [stdout] test src/telemetry.rs - telemetry::stage_span (line 127) ... ok
[INFO] [stdout] test src/translate.rs - translate::serialize_request (line 186) ... ok
[INFO] [stdout] test src/translate.rs - translate::parse_request (line 24) ... ok
[INFO] [stdout] test src/audit.rs - audit::AuditRecord::from_decision (line 100) ... ok
[INFO] [stdout] test src/error.rs - error::error_response (line 20) ... ok
[INFO] [stdout] test src/error.rs - error::error_body_response (line 46) ... ok
[INFO] [stdout] test src/auth.rs - auth::is_authorized (line 32) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 46.60s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "bfcf489332df2c88a47ad67f724c4211490faa4ae91414df99f929ea20c6955b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bfcf489332df2c88a47ad67f724c4211490faa4ae91414df99f929ea20c6955b", kill_on_drop: false }`
[INFO] [stdout] bfcf489332df2c88a47ad67f724c4211490faa4ae91414df99f929ea20c6955b
