[INFO] fetching crate blastguard 0.1.2...
[INFO] testing blastguard-0.1.2 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate blastguard 0.1.2 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate blastguard 0.1.2
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate blastguard 0.1.2
[INFO] tweaked toml for crates.io crate blastguard 0.1.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate blastguard 0.1.2 on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate crates.io crate blastguard 0.1.2 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] bc3effb4ffc05790f51bf5f560583282ea22bcd6d78e3cf0b10017d9847b6671
[INFO] running `"docker" "start" "bc3effb4ffc05790f51bf5f560583282ea22bcd6d78e3cf0b10017d9847b6671"`
[INFO] running `"docker" "inspect" "bc3effb4ffc05790f51bf5f560583282ea22bcd6d78e3cf0b10017d9847b6671"`
[INFO] running `"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" "bc3effb4ffc05790f51bf5f560583282ea22bcd6d78e3cf0b10017d9847b6671" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "bc3effb4ffc05790f51bf5f560583282ea22bcd6d78e3cf0b10017d9847b6671"`
[INFO] running `"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" "bc3effb4ffc05790f51bf5f560583282ea22bcd6d78e3cf0b10017d9847b6671" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]    Compiling unicode-ident v1.0.26
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling find-msvc-tools v0.1.13
[INFO] [stderr]    Compiling shlex v2.0.1
[INFO] [stderr]    Compiling tree-sitter-language v0.1.8
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling clap_lex v1.1.1
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling winnow v1.0.4
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling cc v1.4.7
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling thiserror v2.0.20
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling toml_parser v1.1.3+spec-1.1.0
[INFO] [stderr]    Compiling clap_builder v4.6.7
[INFO] [stderr]    Compiling toml_writer v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling streaming-iterator v0.1.9
[INFO] [stderr]    Compiling aho-corasick v1.1.5
[INFO] [stderr]    Compiling bstr v1.13.1
[INFO] [stderr]    Compiling log v0.4.34
[INFO] [stderr]    Compiling indexmap v2.14.2
[INFO] [stderr]    Compiling shell-words v1.1.1
[INFO] [stderr]    Compiling syn v3.0.6
[INFO] [stderr]    Compiling tree-sitter-bash v0.25.1
[INFO] [stderr]    Compiling serde_spanned v1.1.1
[INFO] [stderr]    Compiling toml_datetime v0.7.5+spec-1.1.0
[INFO] [stderr]    Compiling toml v0.9.12+spec-1.1.0
[INFO] [stderr]    Compiling regex-automata v0.4.18
[INFO] [stderr]    Compiling tree-sitter v0.25.10
[INFO] [stderr]    Compiling clap_derive v4.6.7
[INFO] [stderr]    Compiling thiserror-impl v2.0.20
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling clap v4.6.7
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling globset v0.4.20
[INFO] [stderr]    Compiling blastguard v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 11s
[INFO] running `"docker" "inspect" "bc3effb4ffc05790f51bf5f560583282ea22bcd6d78e3cf0b10017d9847b6671"`
[INFO] running `"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" "bc3effb4ffc05790f51bf5f560583282ea22bcd6d78e3cf0b10017d9847b6671" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling blastguard v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 19s
[INFO] running `"docker" "inspect" "bc3effb4ffc05790f51bf5f560583282ea22bcd6d78e3cf0b10017d9847b6671"`
[INFO] running `"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" "bc3effb4ffc05790f51bf5f560583282ea22bcd6d78e3cf0b10017d9847b6671" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/blastguard/5128498cf1753152/out/blastguard-5128498cf1753152)
[INFO] [stdout] 
[INFO] [stdout] running 42 tests
[INFO] [stdout] test claude_hook::tests::missing_command_fails_closed ... ok
[INFO] [stdout] test claude::tests::settings_use_exec_form_and_exact_bash_matcher ... ok
[INFO] [stdout] test claude::tests::conflicting_settings_are_rejected ... ok
[INFO] [stdout] test execution::tests::terminal_sequences_and_controls_are_neutralized ... ok
[INFO] [stdout] test claude_hook::tests::extracts_only_the_documented_shape ... ok
[INFO] [stdout] test claude_hook::tests::unsupported_or_ambiguous_inputs_fail_closed ... ok
[INFO] [stdout] test policy::tests::allow_override_cannot_suppress_execution_boundary_ask ... ok
[INFO] [stdout] test claude_hook::tests::oversized_input_fails_closed_before_json_parsing ... ok
[INFO] [stdout] test policy::tests::benign_developer_commands_are_allowed ... ok
[INFO] [stdout] test policy::tests::config_precedence_applies_below_hard_blocks ... ok
[INFO] [stdout] test policy::tests::detects_nested_bypass_attempts ... ok
[INFO] [stdout] test github_action::tests::malformed_mismatched_or_error_results_never_become_policy_decisions ... ok
[INFO] [stdout] test policy::tests::execution_context_escalates_explicit_worktree_escapes ... ok
[INFO] [stdout] test execution::tests::rejects_limits_outside_hard_bounds ... ok
[INFO] [stdout] test policy::tests::hard_blocks_cannot_be_downgraded_by_allow_overrides ... ok
[INFO] [stdout] test policy::tests::destructive_operations_are_blocked ... ok
[INFO] [stdout] test policy::tests::unrelated_nested_commands_do_not_create_false_dataflow ... ok
[INFO] [stdout] test policy::tests::malformed_input_fails_closed_to_ask ... ok
[INFO] [stdout] test redaction::tests::redacts_assignment_secrets_in_nested_json_and_bearer_headers ... ok
[INFO] [stdout] test policy::tests::network_and_sensitive_reads_are_escalated ... ok
[INFO] [stdout] test redaction::tests::leaves_ordinary_output_unchanged ... ok
[INFO] [stdout] test config::tests::strongest_matching_override_wins ... ok
[INFO] [stdout] test render::tests::every_rendered_field_is_redacted ... ok
[INFO] [stdout] test shell::tests::parses_embedded_shell_script ... ok
[INFO] [stdout] test policy::tests::safe_path_references_do_not_claim_secret_reads ... ok
[INFO] [stdout] test redaction::tests::redacts_supported_secret_classes ... ok
[INFO] [stdout] test codex_hook::tests::strict_parser_rejects_ambiguous_extended_and_malformed_requests ... ok
[INFO] [stdout] test claude_hook::tests::maps_policy_to_pretooluse_decisions ... ok
[INFO] [stdout] test shell::tests::unwraps_common_execution_wrappers ... ok
[INFO] [stdout] test github_action::tests::publication_rejects_destinations_created_after_validation_without_clobbering ... ok
[INFO] [stdout] test shell::tests::parses_env_split_string_payload ... ok
[INFO] [stdout] test shell::tests::process_substitution_is_traversed_as_nested_syntax ... ok
[INFO] [stdout] test shell::tests::quoted_command_text_is_not_reinterpreted_as_a_command ... ok
[INFO] [stdout] test shell::tests::finds_nested_and_pipeline_commands ... ok
[INFO] [stdout] test shell::tests::malformed_syntax_is_incomplete ... ok
[INFO] [stdout] test render::tests::card_has_required_fields ... ok
[INFO] [stdout] test codex_hook::tests::deadline_covers_blocked_reads_and_internal_errors_are_static ... ok
[INFO] [stdout] test codex_hook::tests::payload_metadata_does_not_choose_policy_cwd_or_transcripts ... ok
[INFO] [stdout] test codex_hook::tests::hard_blocks_survive_source_allow_rules_and_commands_remain_data ... ok
[INFO] [stdout] test codex_hook::tests::validated_offline_decisions_match_versioned_fixtures ... ok
[INFO] [stdout] test codex_hook::tests::all_decisions_and_config_errors_omit_raw_secrets_and_controls ... ok
[INFO] [stdout] test codex_hook::tests::offline_context_validation_rejects_invalid_sessions_independently_of_binding ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.46s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/build/blastguard/084818bf9d8e5af4/out/blastguard-084818bf9d8e5af4)
[INFO] [stdout] 
[INFO] [stderr]      Running tests/claude_cli.rs (/opt/rustwide/target/release/build/blastguard/34ba6ab57d6a0dc9/out/claude_cli-34ba6ab57d6a0dc9)
[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] [stdout] running 7 tests
[INFO] [stdout] test public_docs_do_not_claim_native_claude_bash_is_brokered_or_output_redacted ... ok
[INFO] [stdout] test hook_config_matches_exec_form_contract_and_has_no_broker_claim ... ok
[INFO] [stdout] test launcher_refuses_missing_locked_and_drifted_sessions_before_spawn ... ok
[INFO] [stdout] test hook_redacts_secrets_and_allow_rule_cannot_downgrade_hard_block ... ok
[INFO] [stdout] test start_uses_worktree_preserves_arguments_context_and_exit_status ... ok
[INFO] [stdout] test hook_decisions_use_launcher_context_and_fail_closed ... ok
[INFO] [stdout] test internal_hook_timeout_returns_documented_blocking_exit ... ok
[INFO] [stderr]      Running tests/cli.rs (/opt/rustwide/target/release/build/blastguard/b3e6d37d2ce4a91f/out/cli-b3e6d37d2ce4a91f)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.25s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test json_analysis_has_stable_shape_and_allow_exit ... ok
[INFO] [stdout] test hook_emits_current_pretooluse_json ... ok
[INFO] [stdout] test analyze_returns_distinct_risk_codes ... ok
[INFO] [stdout] test help_and_version_are_successful_control_flow ... ok
[INFO] [stdout] test hook_ask_and_block_semantics_match_pretooluse ... ok
[INFO] [stdout] test hook_and_cli_errors_do_not_echo_secrets ... ok
[INFO] [stdout] test invalid_and_unsupported_hook_inputs_fail_closed ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/codex_cli.rs (/opt/rustwide/target/release/build/blastguard/b15cc0704aa6322c/out/codex_cli-b15cc0704aa6322c)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test no_launcher_config_or_plugin_command_is_exposed ... ok
[INFO] [stdout] test malformed_oversized_truncated_invalid_utf8_wrong_tool_and_missing_fields_deny ... ok
[INFO] [stdout] test unbound_hook_rejects_before_git_or_session_lock_access ... ok
[INFO] [stdout] test secret_shaped_metadata_and_errors_never_leak_and_commands_never_execute ... ok
[INFO] [stdout] test payload_and_even_complete_environment_cannot_fabricate_launch_authorization ... ok
[INFO] [stdout] test stale_tampered_symlinked_inactive_drifted_and_locked_contexts_deny ... ok
[INFO] [stdout] test open_stdin_is_bounded_by_the_hook_internal_deadline ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.06s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/execution_cli.rs (/opt/rustwide/target/release/build/blastguard/8a7dbe6ac3602535/out/execution_cli-8a7dbe6ac3602535)
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test execution_errors_redact_secret_shaped_paths ... ok
[INFO] [stdout] test stdout_stderr_and_nonzero_exit_are_reported_separately ... ok
[INFO] [stdout] test source_drift_lock_contention_missing_session_and_invalid_limits_fail_closed ... ok
[INFO] [stdout] test output_is_redacted_sanitized_and_journal_never_contains_raw_content ... ok
[INFO] [stdout] test output_limit_truncates_and_terminates_unbounded_output ... ok
[INFO] [stdout] test explicit_directory_escape_requires_approval_and_does_not_run_by_default ... ok
[INFO] [stdout] test allow_executes_in_managed_worktree_and_reports_stable_json ... ok
[INFO] [stdout] test child_environment_is_constructed_and_host_secrets_are_not_inherited ... ok
[INFO] [stdout] test ask_requires_approval_and_block_ignores_approval ... ok
[INFO] [stdout] test inactive_rejected_and_tampered_worktrees_cannot_execute ... ok
[INFO] [stdout] test timeout_terminates_background_descendant_in_the_process_group ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.88s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/github_action_cli.rs (/opt/rustwide/target/release/build/blastguard/a47b154243272cb6/out/github_action_cli-a47b154243272cb6)
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test metadata_documents_exact_inputs_outputs_and_uses_only_fixed_shell_source ... ok
[INFO] [stdout] test source_local_policy_and_subdirectory_context_are_used_without_following_symlinks ... ok
[INFO] [stdout] test allow_is_analysis_only_and_report_is_the_existing_json_contract ... ok
[INFO] [stdout] test invalid_inputs_and_configuration_never_produce_success_or_reports ... ok
[INFO] [stdout] test report_write_failure_and_output_file_failure_fail_closed ... FAILED
[INFO] [stdout] test secret_inputs_paths_config_findings_and_errors_never_leak ... ok
[INFO] [stdout] test shell_substitutions_newlines_redirects_and_workflow_injection_are_only_data ... ok
[INFO] [stdout] test bootstrap_builds_from_action_path_offline_and_never_falls_back_to_global_binary ... ok
[INFO] [stdout] test reports_cannot_escape_clobber_or_write_git_metadata ... ok
[INFO] [stdout] test ask_block_and_policy_pack_mapping_preserve_hard_blocks_and_defaults ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- report_write_failure_and_output_file_failure_fail_closed stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'report_write_failure_and_output_file_failure_fail_closed' (4546) panicked at tests/github_action_cli.rs:109:5:
[INFO] [stdout] assertion failed: !output.status.success()
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x63480117cd56 - <unknown>
[INFO] [stdout]    1:     0x6348011151ba - <unknown>
[INFO] [stdout]    2:     0x63480118225c - <unknown>
[INFO] [stdout]    3:     0x634801157152 - <unknown>
[INFO] [stdout]    4:     0x634801173f81 - <unknown>
[INFO] [stdout]    5:     0x634801174162 - <unknown>
[INFO] [stdout]    6:     0x634801157234 - <unknown>
[INFO] [stdout]    7:     0x63480114f619 - <unknown>
[INFO] [stdout]    8:     0x63480115805d - <unknown>
[INFO] [stdout]    9:     0x634801115e8c - <unknown>
[INFO] [stdout]   10:     0x634801115e52 - <unknown>
[INFO] [stdout]   11:     0x634801122ca9 - <unknown>
[INFO] [stdout]   12:     0x634801125cb9 - <unknown>
[INFO] [stdout]   13:     0x63480118403b - <unknown>
[INFO] [stdout]   14:     0x634801192120 - <unknown>
[INFO] [stdout]   15:     0x63480118b3e4 - <unknown>
[INFO] [stdout]   16:     0x634801195cf2 - <unknown>
[INFO] [stdout]   17:     0x63480117bb94 - <unknown>
[INFO] [stdout]   18:     0x73af1abd7dfa - <unknown>
[INFO] [stdout]   19:     0x73af1ac6b3d4 - clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     report_write_failure_and_output_file_failure_fail_closed
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 9 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test github_action_cli`
[INFO] running `"docker" "inspect" "bc3effb4ffc05790f51bf5f560583282ea22bcd6d78e3cf0b10017d9847b6671"`
[INFO] running `"docker" "rm" "-f" "bc3effb4ffc05790f51bf5f560583282ea22bcd6d78e3cf0b10017d9847b6671"`
[INFO] [stdout] bc3effb4ffc05790f51bf5f560583282ea22bcd6d78e3cf0b10017d9847b6671
