[INFO] cloning repository https://github.com/fxckcode/agent-shield
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fxckcode/agent-shield" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffxckcode%2Fagent-shield", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffxckcode%2Fagent-shield'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 55432f357575c104559d4fbe4dd4c32464c7871e
[INFO] testing fxckcode/agent-shield against 1.100.0-beta.1 for beta-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffxckcode%2Fagent-shield" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fxckcode/agent-shield
[INFO] finished tweaking git repo https://github.com/fxckcode/agent-shield
[INFO] tweaked toml for git repo https://github.com/fxckcode/agent-shield written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fxckcode/agent-shield on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fxckcode/agent-shield 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.100.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-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 956fb405491ded90bd185c9e4f60c370ded3deab2d8c2658e65b04f4078db34b
[INFO] running `Command { std: "docker" "start" "956fb405491ded90bd185c9e4f60c370ded3deab2d8c2658e65b04f4078db34b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "956fb405491ded90bd185c9e4f60c370ded3deab2d8c2658e65b04f4078db34b", 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" "956fb405491ded90bd185c9e4f60c370ded3deab2d8c2658e65b04f4078db34b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "956fb405491ded90bd185c9e4f60c370ded3deab2d8c2658e65b04f4078db34b", 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" "956fb405491ded90bd185c9e4f60c370ded3deab2d8c2658e65b04f4078db34b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling writeable v0.6.4
[INFO] [stderr]    Compiling litemap v0.8.3
[INFO] [stderr]    Compiling icu_properties_data v2.3.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.3.0
[INFO] [stderr]    Compiling smallvec v1.15.2
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]    Compiling aho-corasick v1.1.5
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling uuid v1.25.0
[INFO] [stderr]    Compiling regex-automata v0.4.18
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.6
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling zerotrie v0.2.5
[INFO] [stderr]    Compiling zerovec v0.11.8
[INFO] [stderr]    Compiling tinystr v0.8.4
[INFO] [stderr]    Compiling potential_utf v0.1.6
[INFO] [stderr]    Compiling icu_collections v2.3.0
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling icu_locale_core v2.3.0
[INFO] [stderr]    Compiling icu_provider v2.3.1
[INFO] [stderr]    Compiling icu_normalizer v2.3.0
[INFO] [stderr]    Compiling icu_properties v2.3.0
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling agent-shield v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.53s
[INFO] running `Command { std: "docker" "inspect" "956fb405491ded90bd185c9e4f60c370ded3deab2d8c2658e65b04f4078db34b", 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" "956fb405491ded90bd185c9e4f60c370ded3deab2d8c2658e65b04f4078db34b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling agent-shield v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.40s
[INFO] running `Command { std: "docker" "inspect" "956fb405491ded90bd185c9e4f60c370ded3deab2d8c2658e65b04f4078db34b", 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" "956fb405491ded90bd185c9e4f60c370ded3deab2d8c2658e65b04f4078db34b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stdout] 
[INFO] [stdout] running 33 tests
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/agent-shield/78cd176b34fbf88f/out/agent_guard_proxy-78cd176b34fbf88f)
[INFO] [stdout] test controlled_fetch::injection_detector::tests::test_empty_content_passes ... ok
[INFO] [stdout] test controlled_fetch::envelope::tests::test_envelope_is_never_trusted ... ok
[INFO] [stdout] test controlled_fetch::content_filter::tests::test_disallowed_content_type ... ok
[INFO] [stdout] test controlled_fetch::ip_validator::tests::test_ipv6_loopback_blocked ... ok
[INFO] [stdout] test controlled_fetch::envelope::tests::test_envelope_preserves_content ... ok
[INFO] [stdout] test controlled_fetch::ip_validator::tests::test_link_local_blocked ... ok
[INFO] [stdout] test controlled_fetch::ip_validator::tests::test_loopback_blocked ... ok
[INFO] [stdout] test controlled_fetch::ip_validator::tests::test_private_172_blocked ... ok
[INFO] [stdout] test controlled_fetch::ip_validator::tests::test_private_192_168_blocked ... ok
[INFO] [stdout] test controlled_fetch::ip_validator::tests::test_public_allowed ... ok
[INFO] [stdout] test controlled_fetch::ip_validator::tests::test_validate_connected_ip_allows_public ... ok
[INFO] [stdout] test controlled_fetch::content_filter::tests::test_allowed_content_type ... ok
[INFO] [stdout] test controlled_fetch::content_filter::tests::test_body_too_large ... ok
[INFO] [stdout] test controlled_fetch::ip_validator::tests::test_validate_connected_ip_blocks_ipv6_loopback ... ok
[INFO] [stdout] test controlled_fetch::ip_validator::tests::test_validate_url_metadata ... ok
[INFO] [stdout] test controlled_fetch::ip_validator::tests::test_private_10_blocked ... ok
[INFO] [stdout] test controlled_fetch::ip_validator::tests::test_validate_connected_ip_blocks_metadata ... ok
[INFO] [stdout] test controlled_fetch::redirect::tests::test_excessive_redirects_blocked ... ok
[INFO] [stdout] test controlled_fetch::redirect::tests::test_redirect_hop_to_loopback_is_blocked ... ok
[INFO] [stdout] test controlled_fetch::redirect::tests::test_redirect_hop_to_metadata_is_blocked ... ok
[INFO] [stdout] test controlled_fetch::redirect::tests::test_redirect_hop_to_private_ip_is_blocked ... ok
[INFO] [stdout] test controlled_fetch::ip_validator::tests::test_validate_connected_ip_blocks_private ... ok
[INFO] [stdout] test controlled_fetch::ip_validator::tests::test_validate_url_loopback ... ok
[INFO] [stdout] test controlled_fetch::redirect::tests::test_redirect_at_exact_limit_succeeds ... ok
[INFO] [stdout] test controlled_fetch::redirect::tests::test_redirect_one_over_limit_blocked ... ok
[INFO] [stdout] test controlled_fetch::redirect::tests::test_redirect_chain_multi_hop_to_private_is_blocked ... ok
[INFO] [stdout] test controlled_fetch::redirect::tests::test_redirect_to_private_blocked ... ok
[INFO] [stdout] test controlled_fetch::redirect::tests::test_redirect_within_limit_succeeds ... ok
[INFO] [stdout] test controlled_fetch::redirect::tests::test_redirect_to_ipv6_loopback_blocked ... ok
[INFO] [stdout] test controlled_fetch::redirect::tests::test_redirect_to_link_local_blocked ... ok
[INFO] [stdout] test controlled_fetch::injection_detector::tests::test_uncertain_fails_closed ... ok
[INFO] [stdout] test controlled_fetch::injection_detector::tests::test_injection_pattern_blocked ... ok
[INFO] [stdout] test controlled_fetch::injection_detector::tests::test_clean_content_passes ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/agent-shield/ea2e81b113b5fd34/out/agent_shield-ea2e81b113b5fd34)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test tests::wrap_dry_run_json_has_proxy_and_applied_false ... ok
[INFO] [stdout] test tests::update_json_proxy_preserves_existing_keys ... ok
[INFO] [stdout] test tests::wrap_unknown_cli_returns_error ... ok
[INFO] [stdout] test tests::wrap_list_output_mentions_opencode ... ok
[INFO] [stderr]      Running tests/probe_dkl_24_ssrf_block.rs (/opt/rustwide/target/debug/build/agent-shield/9e7872a0c8c2de36/out/probe_dkl_24_ssrf_block-9e7872a0c8c2de36)
[INFO] [stdout] test tests::wrap_cmd_dry_run_has_config_path ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test blocks_cloud_metadata_address ... ok
[INFO] [stdout] test socket_level_rebinding_blocks_private_ip ... ok
[INFO] [stdout] test blocks_private_rfc1918_address ... ok
[INFO] [stdout] test blocks_ipv6_loopback ... ok
[INFO] [stdout] test blocks_loopback_address ... ok
[INFO] [stdout] test blocks_link_local_address ... 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 tests/probe_dkl_24_unit_002_redirect_policy.rs (/opt/rustwide/target/debug/build/agent-shield/5561493b3e1d1da2/out/probe_dkl_24_unit_002_redirect_policy-5561493b3e1d1da2)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test excessive_redirect_policy_is_configurable ... ok
[INFO] [stdout] test redirect_to_private_ip_reason_code_is_stable ... ok
[INFO] [stdout] test excessive_redirects_reason_code_is_stable ... ok
[INFO] [stdout] test blocked_redirect_response_does_not_leak_target ... ok
[INFO] [stdout] test redirect_to_private_ip_returns_correct_reason_code ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/probe_dkl_24_unit_003_content_envelope.rs (/opt/rustwide/target/debug/build/agent-shield/96031fbed7e40f34/out/probe_dkl_24_unit_003_content_envelope-96031fbed7e40f34)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test default_policy_has_allowed_content_types ... ok
[INFO] [stdout] test default_policy_has_body_size_limit ... ok
[INFO] [stdout] test envelope_classification_prevents_policy_alteration ... ok
[INFO] [stdout] test error_display_is_safe_for_all_content_related_blocks ... ok
[INFO] [stdout] test untrusted_envelope_is_never_trusted ... ok
[INFO] [stdout] test body_size_exceeded_is_blocked_with_correct_reason ... ok
[INFO] [stderr]      Running tests/probe_dkl_24_unit_004_injection_detection.rs (/opt/rustwide/target/debug/build/agent-shield/6288edc3e5c699c2/out/probe_dkl_24_unit_004_injection_detection-6288edc3e5c699c2)
[INFO] [stdout] test disallowed_content_type_is_blocked_with_correct_reason ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test blocked_injection_content_is_never_delivered ... ok
[INFO] [stdout] test injection_system_override_pattern_is_blocked ... ok
[INFO] [stdout] test clean_content_passes_through ... ok
[INFO] [stdout] test uncertain_classification_fails_closed_blocks_delivery ... ok
[INFO] [stdout] test injection_context_escape_is_blocked ... ok
[INFO] [stdout] test injection_instruction_delimiter_is_blocked ... ok
[INFO] [stdout] test detection_uses_versioned_policy ... ok
[INFO] [stdout] test injection_jailbreak_attempt_is_blocked ... ok
[INFO] [stdout] test injection_role_hijack_pattern_is_blocked ... ok
[INFO] [stdout] test injection_tool_manipulation_is_blocked ... ok
[INFO] [stdout] test uncertain_content_is_never_delivered_as_trusted ... ok
[INFO] [stdout] test uncertain_threshold_boundary_fails_closed ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/probe_dkl_24_unit_006_real_http_transport.rs (/opt/rustwide/target/debug/build/agent-shield/71fee24412f846ff/out/probe_dkl_24_unit_006_real_http_transport-71fee24412f846ff)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test unsupported_scheme_ftp_fails_closed ... ok
[INFO] [stdout] test private_destination_blocked_before_connect ... ok
[INFO] [stdout] test error_display_for_unsupported_scheme_never_leaks ... ok
[INFO] [stdout] test error_display_never_leaks_request_details ... ok
[INFO] [stdout] test unsupported_scheme_https_fails_closed ... ok
[INFO] [stdout] test oversized_body_blocked_before_delivery ... ok
[INFO] [stdout] test real_transport_parses_status_headers_and_body ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/probe_dkl_24_unit_007_cli_smoke.rs (/opt/rustwide/target/debug/build/agent-shield/b9699c80ad8bae7a/out/probe_dkl_24_unit_007_cli_smoke-b9699c80ad8bae7a)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test fetch_missing_url_exits_nonzero_without_panic ... ok
[INFO] [stdout] test help_exits_zero_and_mentions_fetch ... ok
[INFO] [stdout] test fetch_private_ip_exits_nonzero_with_safe_json ... ok
[INFO] [stdout] test fetch_unsupported_scheme_exits_nonzero_with_safe_json ... ok
[INFO] [stdout] test missing_command_exits_nonzero_without_panic ... ok
[INFO] [stderr]    Doc-tests agent_guard_proxy
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[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] running `Command { std: "docker" "inspect" "956fb405491ded90bd185c9e4f60c370ded3deab2d8c2658e65b04f4078db34b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "956fb405491ded90bd185c9e4f60c370ded3deab2d8c2658e65b04f4078db34b", kill_on_drop: false }`
[INFO] [stdout] 956fb405491ded90bd185c9e4f60c370ded3deab2d8c2658e65b04f4078db34b
