[INFO] fetching crate defect-agent 0.1.0-alpha.6...
[INFO] testing defect-agent-0.1.0-alpha.6 against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate defect-agent 0.1.0-alpha.6 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate defect-agent 0.1.0-alpha.6
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate defect-agent 0.1.0-alpha.6
[INFO] tweaked toml for crates.io crate defect-agent 0.1.0-alpha.6 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate defect-agent 0.1.0-alpha.6 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 crates.io crate defect-agent 0.1.0-alpha.6 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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a961b79ecba82f688503fbcf2719b5dad636a911dd2d48efdafe4fd405913dcb
[INFO] running `Command { std: "docker" "start" "a961b79ecba82f688503fbcf2719b5dad636a911dd2d48efdafe4fd405913dcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a961b79ecba82f688503fbcf2719b5dad636a911dd2d48efdafe4fd405913dcb", 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" "a961b79ecba82f688503fbcf2719b5dad636a911dd2d48efdafe4fd405913dcb" "/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" "a961b79ecba82f688503fbcf2719b5dad636a911dd2d48efdafe4fd405913dcb", 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" "a961b79ecba82f688503fbcf2719b5dad636a911dd2d48efdafe4fd405913dcb" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling strum_macros v0.28.0
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling cpufeatures v0.3.0
[INFO] [stderr]    Compiling nix v0.31.3
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling chacha20 v0.10.0
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling bstr v1.12.1
[INFO] [stderr]    Compiling arc-swap v1.9.1
[INFO] [stderr]    Compiling schemars_derive v1.2.1
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling derive_more v2.1.1
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling strum v0.28.0
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling rand v0.10.1
[INFO] [stderr]    Compiling dashmap v6.2.1
[INFO] [stderr]    Compiling os_info v3.15.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling serde_with_macros v3.20.0
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling schemars v1.2.1
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling serde_with v3.20.0
[INFO] [stderr]    Compiling globset v0.4.18
[INFO] [stderr]    Compiling agent-client-protocol-schema v0.13.2
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling defect-core v0.1.0-alpha.6
[INFO] [stderr]    Compiling defect-agent v0.1.0-alpha.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 08s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.31.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "a961b79ecba82f688503fbcf2719b5dad636a911dd2d48efdafe4fd405913dcb", 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" "a961b79ecba82f688503fbcf2719b5dad636a911dd2d48efdafe4fd405913dcb" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling nix v0.31.3
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling os_info v3.15.0
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling defect-core v0.1.0-alpha.6
[INFO] [stderr]    Compiling defect-agent v0.1.0-alpha.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 54.84s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.31.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "a961b79ecba82f688503fbcf2719b5dad636a911dd2d48efdafe4fd405913dcb", 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" "a961b79ecba82f688503fbcf2719b5dad636a911dd2d48efdafe4fd405913dcb" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.16s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.31.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/defect-agent/f44d496f70642c07/out/defect_agent-f44d496f70642c07)
[INFO] [stdout] 
[INFO] [stdout] running 189 tests
[INFO] [stdout] test fs::tests::symlink_pointing_outside_workspace_is_blocked ... ok
[INFO] [stdout] test hooks::builtin::tests::path_token_extraction ... ok
[INFO] [stdout] test hooks::builtin::tests::registry_step_factories_match_event_factories ... ok
[INFO] [stdout] test fs::tests::parent_canonicalize_blocks_traversal ... ok
[INFO] [stdout] test fs::tests::relative_path_resolves_inside_workspace ... ok
[INFO] [stdout] test hooks::builtin::tests::registry_defaults_have_two_builtins ... ok
[INFO] [stdout] test hooks::builtin::tests::registry_lookup_unknown_returns_none ... ok
[INFO] [stdout] test hooks::command::tests::shell_kind_dispatch_compiles ... ok
[INFO] [stdout] test fs::tests::write_target_may_not_exist ... ok
[INFO] [stdout] test fs::tests::missing_parent_resolves_by_walking_up ... ok
[INFO] [stdout] test hooks::builtin::tests::triggers_glob_hit_on_path_token ... ok
[INFO] [stdout] test hooks::builtin::tests::manifest_includes_always_on_body ... ok
[INFO] [stdout] test hooks::builtin::tests::goal_gate_reached_proceeds ... ok
[INFO] [stdout] test hooks::builtin::tests::redact_secrets_step_no_secrets_no_verdict ... ok
[INFO] [stdout] test hooks::builtin::tests::triggers_excludes_always_on_skill ... ok
[INFO] [stdout] test hooks::builtin::tests::goal_gate_briefs_at_session_enter ... ok
[INFO] [stdout] test hooks::builtin::tests::goal_gate_not_reached_continues_with_feedback ... ok
[INFO] [stdout] test hooks::builtin::tests::skill_manifest_step_injects_context ... ok
[INFO] [stdout] test hooks::builtin::tests::triggers_no_hit_returns_none ... ok
[INFO] [stdout] test hooks::builtin::tests::triggers_keyword_hit ... ok
[INFO] [stdout] test hooks::builtin::tests::redact_secrets_step_redacts_args ... ok
[INFO] [stdout] test hooks::prompt::tests::envelope_json_render_serializes_envelope ... ok
[INFO] [stdout] test hooks::prompt::tests::envelope_template_replaces_known_keys ... ok
[INFO] [stdout] test hooks::step::tests::before_compact_can_skip ... ok
[INFO] [stdout] test hooks::prompt::tests::prompt_step_propagates_provider_error ... ok
[INFO] [stdout] test hooks::step::tests::after_tool_batch_envelope_lists_results ... ok
[INFO] [stdout] test hooks::step::tests::before_compact_veto_means_skip ... ok
[INFO] [stdout] test hooks::step::tests::before_generate_short_circuits ... ok
[INFO] [stdout] test hooks::step::tests::before_ingest_prepends_input_preserving_existing ... ok
[INFO] [stdout] test hooks::prompt::tests::envelope_template_missing_key_becomes_empty ... ok
[INFO] [stdout] test hooks::command::tests::step_empty_stdout_is_no_verdict ... ok
[INFO] [stdout] test hooks::prompt::tests::prompt_step_injects_additional_context ... ok
[INFO] [stdout] test hooks::step::tests::pipeline_error_handler_can_skip_or_block ... ok
[INFO] [stdout] test hooks::step::tests::session_enter_injects_and_breaks ... ok
[INFO] [stdout] test hooks::step::tests::before_ingest_rewrites_input ... ok
[INFO] [stdout] test hooks::step::tests::pipeline_accumulates_data_then_early_exits_on_control ... ok
[INFO] [stdout] test hooks::step::tests::pipeline_stops_at_first_control ... ok
[INFO] [stdout] test hooks::step::tests::tool_apply_break_ends_turn ... ok
[INFO] [stdout] test hooks::step::tests::tool_apply_malformed_result_errors ... ok
[INFO] [stdout] test hooks::prompt::tests::envelope_template_unclosed_passes_literally ... ok
[INFO] [stdout] test hooks::step::tests::after_generate_envelope_and_observe_only ... ok
[INFO] [stdout] test hooks::step::tests::tool_apply_envelope_exposes_args_and_safety ... ok
[INFO] [stdout] test hooks::step::tests::tool_apply_short_circuit_fills_result ... ok
[INFO] [stdout] test hooks::command::tests::step_nonzero_exit_is_handler_failed ... ok
[INFO] [stdout] test hooks::command::tests::step_non_json_stdout_is_no_verdict ... ok
[INFO] [stdout] test hooks::command::tests::step_exit_2_yields_veto ... ok
[INFO] [stdout] test hooks::step::tests::before_permission_stub_records_resolved ... ok
[INFO] [stdout] test hooks::command::tests::step_json_stdout_becomes_verdict ... ok
[INFO] [stdout] test hooks::step::tests::after_tool_apply_envelope_exposes_output ... ok
[INFO] [stdout] test hooks::step::tests::tool_apply_patches_args ... ok
[INFO] [stdout] test hooks::step::tests::turn_end_envelope_carries_state ... ok
[INFO] [stdout] test hooks::step::tests::turn_end_veto_means_continue ... ok
[INFO] [stdout] test hooks::step::tests::unknown_control_errors ... ok
[INFO] [stdout] test hooks::step::tests::turn_end_continue_injects_feedback ... ok
[INFO] [stdout] test hooks::step::tests::turn_end_null_verdict_proceeds ... ok
[INFO] [stdout] test hooks::step::tests::turn_end_break_with_reason ... ok
[INFO] [stdout] test hooks::step::tests::tool_apply_veto_means_break ... ok
[INFO] [stdout] test hooks::tests::dispatch_matcher_filters_by_safety ... ok
[INFO] [stdout] test policy::tests::ask_writes_does_not_remember_allow_once ... ok
[INFO] [stdout] test hooks::tests::dispatch_matcher_filters_by_tool ... ok
[INFO] [stdout] test policy::tests::mode_catalog_rejects_empty_or_unknown_current ... ok
[INFO] [stdout] test policy::tests::open_allows_everything ... ok
[INFO] [stdout] test hooks::tests::dispatch_merges_common_header ... ok
[INFO] [stdout] test llm::registry::tests::same_model_id_across_distinct_vendors_resolves_per_vendor ... ok
[INFO] [stdout] test hooks::tests::dispatch_routes_to_step_handler_by_event_name ... ok
[INFO] [stdout] test llm::registry::tests::duplicate_vendor_model_pair_errors ... ok
[INFO] [stdout] test llm::registry::tests::first_entry_for_model_picks_assembly_order ... ok
[INFO] [stdout] test llm::registry::tests::unknown_default_pair_errors ... ok
[INFO] [stdout] test policy::tests::read_only_denies_writes ... ok
[INFO] [stdout] test hooks::tests::glob_basic ... ok
[INFO] [stdout] test hooks::tests::dispatch_no_handler_returns_proceed ... ok
[INFO] [stdout] test policy::tests::ask_writes_remembers_allow_always ... ok
[INFO] [stdout] test policy::tests::deny_all_denies ... ok
[INFO] [stdout] test hooks::command::tests::step_exit_2_vetoes_even_when_script_ignores_large_stdin ... ok
[INFO] [stdout] test policy::tests::ask_writes_allows_read_asks_writes ... ok
[INFO] [stdout] test policy::tests::mode_catalog_switches_active_policy ... ok
[INFO] [stdout] test policy::tests::non_interactive_maps_ask_to_deny_passes_allow_deny ... ok
[INFO] [stdout] test session::background::tests::recent_blocks_default_limit_drops_free_form_body_keeps_tool_name ... ok
[INFO] [stdout] test session::capabilities::tests::delegate_with_supported_provider_enables_hosted ... ok
[INFO] [stdout] test session::context::tests::frontend_describe_renders_delegation ... ok
[INFO] [stdout] test session::capabilities::tests::unsatisfied_error_message_includes_actionable_hint ... ok
[INFO] [stdout] test session::capabilities::tests::disabled_exposes_nothing ... ok
[INFO] [stdout] test session::background::tests::ids_are_unique_and_monotonic ... ok
[INFO] [stdout] test session::history::tests::append_then_snapshot ... ok
[INFO] [stdout] test session::background::tests::recent_blocks_flattens_messages_and_orders ... ok
[INFO] [stdout] test session::events::tests::dropped_subscriber_is_pruned ... ok
[INFO] [stdout] test session::events::tests::slow_consumer_backpressures_emit ... ok
[INFO] [stdout] test session::history::tests::record_input_tokens_refreshes_baseline_and_resets_increment ... ok
[INFO] [stdout] test session::history::tests::replace_swaps_messages_and_clears_baseline ... ok
[INFO] [stdout] test session::history::tests::splice_prefix_clears_baseline ... ok
[INFO] [stdout] test session::history::tests::len_and_is_empty_track_messages ... ok
[INFO] [stdout] test session::history::tests::splice_prefix_overlong_drop_count_trips_invariant_in_debug - should panic ... FAILED
[INFO] [stdout] test session::history::tests::record_input_tokens_becomes_baseline_plus_increment ... ok
[INFO] [stdout] test session::events::tests::emits_to_all_subscribers ... ok
[INFO] [stdout] test session::history::tests::splice_prefix_preserves_tail_appended_during_flight ... ok
[INFO] [stdout] test session::history::tests::token_estimate_none_when_empty ... ok
[INFO] [stdout] test session::history::tests::truncate_rolls_back_to_boundary ... ok
[INFO] [stdout] test session::capabilities::tests::delegate_with_unsupported_provider_fails ... ok
[INFO] [stdout] test session::history::tests::splice_prefix_replaces_head_keeps_tail ... ok
[INFO] [stdout] test session::background::tests::cancel_all_propagates_to_task_token ... ok
[INFO] [stdout] test session::background::tests::completed_task_flows_into_queue ... ok
[INFO] [stdout] test session::history::tests::truncate_noop_when_len_ge_current ... ok
[INFO] [stdout] test session::tool_registry::tests::allowlist_dedups_overlapping_patterns ... ok
[INFO] [stdout] test session::tool_registry::tests::allowlist_exact_names_still_work ... ok
[INFO] [stdout] test session::permissions::tests::cancel_returns_cancelled ... ok
[INFO] [stdout] test session::history::tests::truncate_clears_baseline ... ok
[INFO] [stdout] test session::permissions::tests::resolve_wakes_waiter ... ok
[INFO] [stdout] test session::permissions::tests::resolve_without_waiter_is_noop ... ok
[INFO] [stdout] test session::history::tests::token_estimate_char_heuristic_without_baseline ... ok
[INFO] [stdout] test session::tool_registry::tests::allowlist_explicit_spawn_agent_sets_flag_not_tool ... ok
[INFO] [stdout] test session::tool_registry::tests::allowlist_glob_matches_mcp_server_prefix ... ok
[INFO] [stdout] test session::tool_registry::tests::allowlist_pattern_matching_nothing_is_error ... ok
[INFO] [stdout] test session::tool_registry::tests::filter_registry_builds_subset ... ok
[INFO] [stdout] test session::tool_registry::tests::composite_session_overrides_process ... ok
[INFO] [stdout] test session::turn::compact::tests::boundary_keeps_recent_turns_within_budget ... ok
[INFO] [stdout] test session::turn::compact::tests::empty_history_returns_none ... ok
[INFO] [stdout] test session::background::tests::peek_without_attached_history_returns_empty_blocks ... ok
[INFO] [stdout] test session::turn::compact::tests::boundary_never_splits_tool_use_result_pair ... ok
[INFO] [stdout] test session::turn::compact::tests::prepare_head_message_truncates_tool_output_and_strips_image ... ok
[INFO] [stdout] test session::tool_registry::tests::static_registry_lookup ... ok
[INFO] [stdout] test session::turn::compact::tests::extract_previous_summary_strips_prefix ... ok
[INFO] [stdout] test session::turn::compact::tests::single_turn_long_autonomous_loop_compacts_via_assistant_boundary ... ok
[INFO] [stdout] test session::turn::compact::tests::build_prompt_wraps_previous_summary ... ok
[INFO] [stdout] test session::turn::compact::tests::tiny_budget_keeps_only_last_turn ... ok
[INFO] [stdout] test session::turn::compact::tests::truncate_chars_respects_multibyte_boundary ... ok
[INFO] [stdout] test session::turn::compact::tests::turn_start_requires_non_tool_result_user_content ... ok
[INFO] [stdout] test session::turn::llm_drive::tests::backoff_caps ... ok
[INFO] [stdout] test session::background::tests::peek_reads_attached_history_committed_blocks ... ok
[INFO] [stdout] test session::turn::llm_drive::tests::non_backoff_hints_unchanged ... ok
[INFO] [stdout] test session::turn::llm_drive::tests::backoff_grows_exponentially_within_jitter ... ok
[INFO] [stdout] test session::turn::compact::tests::extract_previous_summary_none_when_absent ... ok
[INFO] [stdout] test session::turn::compact::tests::single_turn_falls_back_to_assistant_boundary ... ok
[INFO] [stdout] test session::turn::microcompact::tests::idempotent ... ok
[INFO] [stdout] test session::turn::microcompact::tests::preserves_tool_use_id_and_is_error ... ok
[INFO] [stdout] test session::turn::microcompact::tests::respects_size_floor ... ok
[INFO] [stdout] test session::turn::microcompact::tests::skips_when_too_few_turns ... ok
[INFO] [stdout] test session::turn::request_audit::tests::delta_reports_message_and_tool_changes ... ok
[INFO] [stdout] test session::turn::microcompact::tests::clears_oversized_results_in_old_turns_only ... ok
[INFO] [stdout] test session::background::tests::format_outcome_labels_source_and_status ... ok
[INFO] [stdout] test session::background::tests::truncate_body_respects_limit ... ok
[INFO] [stdout] test session::turn::request_audit::tests::delta_reports_none_when_snapshot_is_identical ... ok
[INFO] [stdout] test session::tool_registry::tests::allowlist_star_matches_everything_and_spawn_agent ... ok
[INFO] [stdout] test session::turn::sanitize::tests::only_missing_one_is_filled ... ok
[INFO] [stdout] test session::context::tests::render_includes_all_fields ... ok
[INFO] [stdout] test session::prompt::tests::emits_environment_even_without_prompts ... ok
[INFO] [stdout] test session::turn::sanitize::tests::orphan_tool_use_gets_synthetic_result ... ok
[INFO] [stdout] test session::turn::sanitize::tests::paired_sequence_unchanged ... ok
[INFO] [stdout] test session::turn::sanitize::tests::multiple_orphans_in_one_assistant ... ok
[INFO] [stdout] test session::turn::tests::audio_content_is_rejected ... ok
[INFO] [stdout] test session::turn::sanitize::tests::no_tool_use_unchanged ... ok
[INFO] [stdout] test session::turn::tests::blob_resource_is_rejected ... ok
[INFO] [stdout] test session::prompt::tests::resolves_layers_in_order_with_headings_and_rules ... ok
[INFO] [stdout] test session::background::tests::task_outlives_spawn_call ... ok
[INFO] [stdout] test session::turn::tests::text_content_stays_text ... ok
[INFO] [stdout] test session::turn::tests::image_content_with_uri_becomes_url_image ... ok
[INFO] [stdout] test session::turn::tests::resource_link_becomes_descriptive_text ... ok
[INFO] [stdout] test session::turn::tests::stop_hook_continue_counter_starts_zero ... ok
[INFO] [stdout] test session::turn::tools::tests::rejects_result_exceeding_context_window ... ok
[INFO] [stdout] test session::turn::tools::tests::keeps_result_within_context_window ... ok
[INFO] [stdout] test session::turn::tools::tests::rejection_message_names_the_numbers ... ok
[INFO] [stdout] test session::turn::tools::tests::no_window_means_no_ceiling ... ok
[INFO] [stdout] test session::turn::tools::tests::rejects_only_the_oversized_ones_in_a_batch ... ok
[INFO] [stdout] test tool::background_tasks::tests::cancel_without_background_fails_loud ... ok
[INFO] [stdout] test tool::background_tasks::tests::inspect_empty_lists_nothing ... ok
[INFO] [stdout] test session::tool_registry::tests::allowlist_invalid_glob_is_error ... ok
[INFO] [stdout] test session::turn::request_audit::tests::snapshot_counts_thinking_tool_use_and_tool_result_blocks ... ok
[INFO] [stdout] test session::turn::sanitize::tests::globally_satisfied_not_duplicated ... ok
[INFO] [stdout] test session::turn::tests::image_content_with_data_becomes_base64_image ... ok
[INFO] [stdout] test session::turn::tests::stop_hook_continues_capped ... ok
[INFO] [stdout] test tool::skill::tests::has_skills_reflects_emptiness ... ok
[INFO] [stdout] test tool::skill::tests::loads_body_and_directory_hint ... ok
[INFO] [stdout] test tool::skill::tests::schema_has_name_enum_and_catalog ... ok
[INFO] [stdout] test session::turn::tests::stop_hook_continues_respects_custom_cap ... ok
[INFO] [stdout] test tool::spawn_agent::tests::schema_has_profile_enum_and_catalog ... ok
[INFO] [stdout] test session::turn::tests::text_resource_becomes_text_with_source_header ... ok
[INFO] [stdout] test tool::spawn_agent::tests::subagent_events_bridged_to_parent ... ok
[INFO] [stdout] test tool::spawn_agent::tests::deadlock_guard_mutating_tool_is_denied_and_turn_completes ... ok
[INFO] [stdout] test tool::spawn_agent::tests::returns_subagent_final_text ... ok
[INFO] [stdout] test tool::spawn_agent::tests::unknown_allowed_tool_fails_loud ... ok
[INFO] [stdout] test tool::spawn_agent::tests::unknown_profile_fails ... ok
[INFO] [stdout] test tool::skill::tests::unknown_skill_fails_loud ... ok
[INFO] [stdout] test tool::background_tasks::tests::inspect_lists_running_and_finished ... ok
[INFO] [stdout] test tool::background_tasks::tests::cancel_finished_task_is_noop ... ok
[INFO] [stdout] test tool::spawn_agent::tests::profile_hook_engine_runs_in_subagent_turn ... ok
[INFO] [stdout] test tool::background_tasks::tests::inspect_without_background_fails_loud ... ok
[INFO] [stdout] test tool::background_tasks::tests::cancel_unknown_task_id_fails ... ok
[INFO] [stdout] test tool::background_tasks::tests::inspect_unknown_task_id_fails ... ok
[INFO] [stdout] test tool::background_tasks::tests::cancel_running_task_then_it_ends_canceled ... ok
[INFO] [stdout] test hooks::command::tests::step_cancellation_returns_timeout ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- session::history::tests::splice_prefix_overlong_drop_count_trips_invariant_in_debug stdout ----
[INFO] [stdout] note: test did not panic as expected at src/session/history/tests.rs:141:4
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     session::history::tests::splice_prefix_overlong_drop_count_trips_invariant_in_debug
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 188 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "a961b79ecba82f688503fbcf2719b5dad636a911dd2d48efdafe4fd405913dcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a961b79ecba82f688503fbcf2719b5dad636a911dd2d48efdafe4fd405913dcb", kill_on_drop: false }`
[INFO] [stdout] a961b79ecba82f688503fbcf2719b5dad636a911dd2d48efdafe4fd405913dcb
