[INFO] cloning repository https://github.com/jgarzik/brainpro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jgarzik/brainpro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgarzik%2Fbrainpro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgarzik%2Fbrainpro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dca91e613df3c0d8c757eca0c0963393c8cf90cc [INFO] testing jgarzik/brainpro against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgarzik%2Fbrainpro" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jgarzik/brainpro [INFO] finished tweaking git repo https://github.com/jgarzik/brainpro [INFO] tweaked toml for git repo https://github.com/jgarzik/brainpro written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jgarzik/brainpro 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/jgarzik/brainpro 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2789dc6cbf0beafebeb1cf68dbacf09277b27483ac992d0a90c07e84815de3f5 [INFO] running `Command { std: "docker" "start" "-a" "2789dc6cbf0beafebeb1cf68dbacf09277b27483ac992d0a90c07e84815de3f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2789dc6cbf0beafebeb1cf68dbacf09277b27483ac992d0a90c07e84815de3f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2789dc6cbf0beafebeb1cf68dbacf09277b27483ac992d0a90c07e84815de3f5", kill_on_drop: false }` [INFO] [stdout] 2789dc6cbf0beafebeb1cf68dbacf09277b27483ac992d0a90c07e84815de3f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2ec5b7dd454ebdf396595c69edc1571d5708dd9d6686266ac475cd290b2eee7d [INFO] running `Command { std: "docker" "start" "-a" "2ec5b7dd454ebdf396595c69edc1571d5708dd9d6686266ac475cd290b2eee7d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling itoa v1.0.16 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling zerocopy v0.8.34 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling ryu v1.0.21 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling cc v1.2.50 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde_yml v0.0.12 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling libyml v0.0.5 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling shell-words v1.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling fd-lock v4.0.4 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling diffy v0.4.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustyline v17.0.2 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling fancy-regex v0.13.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tiktoken-rs v0.6.0 [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 serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling clap v4.5.53 [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 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_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling brainpro v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "2ec5b7dd454ebdf396595c69edc1571d5708dd9d6686266ac475cd290b2eee7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ec5b7dd454ebdf396595c69edc1571d5708dd9d6686266ac475cd290b2eee7d", kill_on_drop: false }` [INFO] [stdout] 2ec5b7dd454ebdf396595c69edc1571d5708dd9d6686266ac475cd290b2eee7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 916cf8ec95af52b9034e6720223a8c837d6486aea5346ae91aada2b4d1e54684 [INFO] running `Command { std: "docker" "start" "-a" "916cf8ec95af52b9034e6720223a8c837d6486aea5346ae91aada2b4d1e54684", kill_on_drop: false }` [INFO] [stderr] Compiling sdd v3.0.10 [INFO] [stderr] Compiling serial_test_derive v3.3.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling scc v2.4.0 [INFO] [stderr] Compiling serial_test v3.3.1 [INFO] [stderr] Compiling brainpro v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.97s [INFO] running `Command { std: "docker" "inspect" "916cf8ec95af52b9034e6720223a8c837d6486aea5346ae91aada2b4d1e54684", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "916cf8ec95af52b9034e6720223a8c837d6486aea5346ae91aada2b4d1e54684", kill_on_drop: false }` [INFO] [stdout] 916cf8ec95af52b9034e6720223a8c837d6486aea5346ae91aada2b4d1e54684 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 4b2916fd036707bf15eec5759203b249b1756b737d9ddc5d208597bca72f34c2 [INFO] running `Command { std: "docker" "start" "-a" "4b2916fd036707bf15eec5759203b249b1756b737d9ddc5d208597bca72f34c2", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/brainpro-ed75ba6cea8b0cbf) [INFO] [stdout] [INFO] [stdout] running 214 tests [INFO] [stdout] test agent::core::tests::test_agent_loop_config_builder ... ok [INFO] [stdout] test agent::core::tests::test_agent_loop_config_default ... ok [INFO] [stdout] test agent::tool_executor::tests::test_dispatch_result_variants ... ok [INFO] [stdout] test agent_impl::tests::test_is_pure_tool ... ok [INFO] [stdout] test agent::core::tests::test_wind_down_prompt_injected ... ok [INFO] [stdout] test agent_impl::tests::test_hash_tool_call_different_tools ... ok [INFO] [stdout] test agent_impl::tests::test_hash_tool_call_different_args ... ok [INFO] [stdout] test agent_impl::tests::test_doom_loop_detector_triggers ... ok [INFO] [stdout] test agent_impl::tests::test_doom_loop_detector_reset_by_different_call ... ok [INFO] [stdout] test agent_policy::tests::test_agent_policy_builder ... ok [INFO] [stdout] test agent_policy::tests::test_model_restriction ... ok [INFO] [stdout] test agent_policy::tests::test_no_inherit ... ok [INFO] [stdout] test agent_policy::tests::test_filter_tools ... ok [INFO] [stdout] test agent_policy::tests::test_policy_stack_model_restrictions ... ok [INFO] [stdout] test agent_policy::tests::test_policy_stack_allowlist ... ok [INFO] [stdout] test agent_policy::tests::test_group_policies ... ok [INFO] [stdout] test agent_service::turn_state::tests::test_turn_state_expiry ... ok [INFO] [stdout] test circuit_breaker::tests::test_circuit_breaker_disabled ... ok [INFO] [stdout] test agent_policy::tests::test_policy_stack_global ... ok [INFO] [stdout] test circuit_breaker::tests::test_circuit_opens_after_failures ... ok [INFO] [stdout] test commands::tests::test_parse_frontmatter_no_frontmatter ... ok [INFO] [stdout] test circuit_breaker::tests::test_circuit_breaker_starts_closed ... ok [INFO] [stdout] test circuit_breaker::tests::test_registry_per_backend ... ok [INFO] [stdout] test circuit_breaker::tests::test_stats ... ok [INFO] [stdout] test circuit_breaker::tests::test_success_resets_failure_count ... ok [INFO] [stdout] test agent_impl::tests::test_doom_loop_detector_no_loop ... ok [INFO] [stdout] test commands::tests::test_command_expand ... ok [INFO] [stdout] test compact::tests::test_context_size ... ok [INFO] [stdout] test config::tests::test_target_display ... ok [INFO] [stdout] test config::tests::test_validate_valid_config ... ok [INFO] [stdout] test config::tests::test_validate_empty_hook_command ... ok [INFO] [stdout] test config::tests::test_validate_invalid_threshold ... ok [INFO] [stdout] test config::tests::test_validate_invalid_target ... ok [INFO] [stdout] test config::tests::test_parse_target ... ok [INFO] [stdout] test context_factory::tests::test_parse_working_dir_some ... ok [INFO] [stdout] test context_factory::tests::test_parse_working_dir_none ... ok [INFO] [stdout] test context_factory::tests::test_resolve_target_override ... ok [INFO] [stdout] test cost::tests::test_format_cost ... ok [INFO] [stdout] test cost::tests::test_format_tokens ... ok [INFO] [stdout] test context_factory::tests::test_apply_default_target_venice ... ok [INFO] [stdout] test cost::tests::test_session_costs ... ok [INFO] [stdout] test context_factory::tests::test_apply_default_target_no_keys ... ok [INFO] [stdout] test cost::tests::test_model_pricing_calculation ... ok [INFO] [stdout] test cost::tests::test_pricing_table_prefix_matching ... ok [INFO] [stdout] test commands::tests::test_parse_frontmatter_with_metadata ... ok [INFO] [stdout] test events::tests::test_event_sequence ... ok [INFO] [stdout] test events::tests::test_event_serialization ... ok [INFO] [stdout] test events::tests::test_subsystem_logger ... ok [INFO] [stdout] test gateway::channels::config::tests::test_auth_file_expansion ... ok [INFO] [stdout] test config::tests::test_validate_invalid_hook_regex ... ok [INFO] [stdout] test gateway::channels::manager::tests::test_streaming_state ... ok [INFO] [stdout] test gateway::channels::plugin::tests::test_approval_callback_parsing ... ok [INFO] [stdout] test gateway::channels::plugin::tests::test_channel_target_session_key ... ok [INFO] [stdout] test gateway::channels::plugin::tests::test_outbound_message_builders ... ok [INFO] [stdout] test gateway::channels::routes::tests::test_pair_request_deserialize ... ok [INFO] [stdout] test gateway::channels::session_map::tests::test_bidirectional_lookup ... ok [INFO] [stdout] test gateway::channels::session_map::tests::test_session_cleanup ... ok [INFO] [stdout] test circuit_breaker::tests::test_half_open_failure_reopens ... ok [INFO] [stdout] test gateway::channels::session_map::tests::test_streaming_message_tracking ... ok [INFO] [stdout] test gateway::lanes::tests::test_lane_manager_concurrency_limit ... ok [INFO] [stdout] test gateway::lanes::tests::test_lane_manager_dequeue_priority ... ok [INFO] [stdout] test circuit_breaker::tests::test_half_open_recovery ... ok [INFO] [stdout] test gateway::lanes::tests::test_lane_manager_enqueue ... ok [INFO] [stdout] test gateway::lanes::tests::test_lane_manager_queue_full ... ok [INFO] [stdout] test gateway::channels::config::tests::test_telegram_token_resolution ... ok [INFO] [stdout] test events::tests::test_event_bus_subscribe ... ok [INFO] [stdout] test gateway::channels::session_map::tests::test_get_or_create_session ... ok [INFO] [stdout] test gateway::lanes::tests::test_lane_priority ... ok [INFO] [stdout] test gateway::lanes::tests::test_lane_stats ... ok [INFO] [stdout] test events::tests::test_subsystem_filter ... ok [INFO] [stdout] test hooks::tests::test_matcher_none_matches_all ... ok [INFO] [stdout] test hooks::tests::test_hook_manager_no_hooks ... ok [INFO] [stdout] test llm::tests::test_jittered_backoff ... ok [INFO] [stdout] test llm::tests::test_is_retryable_status ... ok [INFO] [stdout] test model_routing::tests::test_category_inference ... ok [INFO] [stdout] test agent_policy::tests::test_policy_stack_agent_override ... ok [INFO] [stdout] test agent_service::turn_state::tests::test_turn_state_store ... ok [INFO] [stdout] test model_routing::tests::test_context_window_filtering ... ok [INFO] [stdout] test model_routing::tests::test_model_annotation_parsing ... ok [INFO] [stdout] test model_routing::tests::test_router_explicit_target_priority ... ok [INFO] [stdout] test metrics::tests::test_snapshot_timestamp ... ok [INFO] [stdout] test model_routing::tests::test_unavailable_backend_filtering ... ok [INFO] [stdout] test model_routing::tests::test_zdr_filtering ... ok [INFO] [stdout] test persona::loader::tests::test_load_mrbot_persona ... ok [INFO] [stdout] test persona::loader::tests::test_load_mrcode_persona ... ok [INFO] [stdout] test persona::loader::tests::test_mrcode_plan_mode_prompt ... ok [INFO] [stdout] test persona::loader::tests::test_render_template ... ok [INFO] [stdout] test persona::loader::tests::test_should_include_section ... ok [INFO] [stdout] test persona::loader::tests::test_parse_frontmatter ... ok [INFO] [stdout] test persona::loader::tests::test_truncate_content ... ok [INFO] [stdout] test persona::loader::tests::test_mrcode_optimize_mode_prompt ... ok [INFO] [stdout] test hooks::tests::test_matcher_exact ... ok [INFO] [stdout] test gateway::channels::auth::tests::test_pairing_code_uniqueness ... ok [INFO] [stdout] test gateway::channels::auth::tests::test_pairing_flow ... ok [INFO] [stdout] test metrics::tests::test_metrics_collector ... ok [INFO] [stdout] test plan::tests::test_plan_display ... ok [INFO] [stdout] test plan::tests::test_plan_creation ... ok [INFO] [stdout] test policy::tests::test_accept_edits_mode ... ok [INFO] [stdout] test policy::tests::test_allow_rule_overrides_default ... ok [INFO] [stdout] test persona::loader::tests::test_subagent_no_workspace_context ... ok [INFO] [stdout] test persona::loader::tests::test_workspace_context_in_prompt ... ok [INFO] [stdout] test plan::tests::test_plan_step_creation ... ok [INFO] [stdout] test policy::tests::test_ask_rule_overrides_allow ... ok [INFO] [stdout] test plan::tests::test_plan_mode_state ... ok [INFO] [stdout] test policy::tests::test_default_mode_write_asks ... ok [INFO] [stdout] test policy::tests::test_default_deny_wget ... ok [INFO] [stdout] test policy::tests::test_default_deny_curl ... ok [INFO] [stdout] test policy::tests::test_deny_rule_highest_priority ... ok [INFO] [stdout] test policy::tests::test_mcp_allow_wildcard ... ok [INFO] [stdout] test policy::tests::test_mcp_default_asks ... ok [INFO] [stdout] test policy::tests::test_mcp_wildcard_server ... ok [INFO] [stdout] test policy::tests::test_rule_matching_exact ... ok [INFO] [stdout] test policy::tests::test_mcp_tool_category ... ok [INFO] [stdout] test privacy::tests::test_backend_acceptability ... ok [INFO] [stdout] test plan::tests::test_parse_plan_without_block ... ok [INFO] [stdout] test persona::loader::tests::test_load_workspace_context_with_files ... ok [INFO] [stdout] test plan::tests::test_parse_plan_output ... ok [INFO] [stdout] test gateway::channels::auth::tests::test_revocation ... ok [INFO] [stdout] test privacy::tests::test_privacy_level_parsing ... ok [INFO] [stdout] test privacy::tests::test_filter_zdr_backends ... ok [INFO] [stdout] test policy::tests::test_default_mode_read_allowed ... ok [INFO] [stdout] test policy::tests::test_tool_category ... ok [INFO] [stdout] test privacy::tests::test_privacy_level_zdr_requirements ... ok [INFO] [stdout] test privacy::tests::test_audit_log ... ok [INFO] [stdout] test policy::tests::test_rule_matching_simple ... ok [INFO] [stdout] test protocol::client::tests::test_client_event ... ok [INFO] [stdout] test protocol::client::tests::test_client_response_error ... ok [INFO] [stdout] test protocol::client::tests::test_client_response_ok ... ok [INFO] [stdout] test protocol::client::tests::test_client_request_serialization ... ok [INFO] [stdout] test provider_health::tests::test_degraded_on_high_latency ... ok [INFO] [stdout] test protocol::internal::tests::test_agent_request_parsing ... ok [INFO] [stdout] test protocol::internal::tests::test_done_event ... ok [INFO] [stdout] test provider_health::tests::test_degraded_on_failures ... ok [INFO] [stdout] test protocol::internal::tests::test_agent_event_serialization ... ok [INFO] [stdout] test provider_health::tests::test_filter_available ... ok [INFO] [stdout] test provider_health::tests::test_starts_healthy ... ok [INFO] [stdout] test provider_health::tests::test_success_tracking ... ok [INFO] [stdout] test provider_health::tests::test_unhealthy_on_many_failures ... ok [INFO] [stdout] test skillpacks::activation::tests::test_effective_allowed_tools_intersection ... ok [INFO] [stdout] test skillpacks::parser::tests::test_invalid_name ... ok [INFO] [stdout] test skillpacks::parser::tests::test_parse_frontmatter_yaml_list ... ok [INFO] [stdout] test tool_display::tests::test_format_bash_call ... ok [INFO] [stdout] test tool_display::tests::test_format_bash_result_failure ... ok [INFO] [stdout] test tool_display::tests::test_format_bash_result_success ... ok [INFO] [stdout] test tool_display::tests::test_format_read_call ... ok [INFO] [stdout] test tool_display::tests::test_format_glob_result ... ok [INFO] [stdout] test tool_display::tests::test_format_read_result ... ok [INFO] [stdout] test tool_display::tests::test_format_search_call ... ok [INFO] [stdout] test tool_display::tests::test_format_truncated_output_flag ... ok [INFO] [stdout] test tool_display::tests::test_format_error ... ok [INFO] [stdout] test tool_filter::tests::test_matches_any_simple ... ok [INFO] [stdout] test tool_filter::tests::test_arg_exact_match ... ok [INFO] [stdout] test tool_filter::tests::test_arg_prefix_match ... ok [INFO] [stdout] test tool_filter::tests::test_mcp_wildcard ... ok [INFO] [stdout] test tool_output::tests::test_no_truncation_for_small_output ... ok [INFO] [stdout] test skillpacks::parser::tests::test_parse_frontmatter ... ok [INFO] [stdout] test tools::bash::tests::test_cwd_validation ... ok [INFO] [stdout] test tool_filter::tests::test_matches_any ... ok [INFO] [stdout] test tools::bash::tests::test_env_filtering_removes_node_options_prefix ... ok [INFO] [stdout] test hooks::tests::test_matcher_regex ... ok [INFO] [stdout] test tools::bash::tests::test_env_filtering_removes_preload ... ok [INFO] [stdout] test tools::bash::tests::test_execute_empty_command ... ok [INFO] [stdout] test policy::tests::test_mcp_wildcard_all ... ok [INFO] [stdout] test tools::bash::tests::test_schema ... ok [INFO] [stdout] test tools::bash::tests::test_schema_optimized ... ok [INFO] [stdout] test tool_filter::tests::test_exact_match ... ok [INFO] [stdout] test tools::edit::tests::test_count_replacement ... ok [INFO] [stdout] test agent::tool_executor::tests::test_truncation_applied_to_dispatch_result ... ok [INFO] [stdout] test policy::tests::test_rule_matching_prefix ... ok [INFO] [stdout] test tools::bash::tests::test_execute_command_with_args ... ok [INFO] [stdout] test tools::edit::tests::test_exact_replacement ... ok [INFO] [stdout] test tool_output::tests::test_truncates_large_string ... ok [INFO] [stdout] test tools::bash::tests::test_execute_captures_stderr ... ok [INFO] [stdout] test tools::edit::tests::test_normalize_whitespace_fallback ... ok [INFO] [stdout] test tools::patch::tests::test_context_mismatch ... ok [INFO] [stdout] test tools::edit::tests::test_normalize_indent_fallback ... ok [INFO] [stdout] test tools::patch::tests::test_dry_run ... ok [INFO] [stdout] test tools::patch::tests::test_schema ... ok [INFO] [stdout] test tools::patch::tests::test_empty_patch ... ok [INFO] [stdout] test tools::patch::tests::test_schema_optimized ... ok [INFO] [stdout] test tools::patch::tests::test_strip_git_prefix ... ok [INFO] [stdout] test tools::search::tests::test_schema ... ok [INFO] [stdout] test tools::patch::tests::test_file_not_found ... ok [INFO] [stdout] test tools::search::tests::test_schema_optimized ... ok [INFO] [stdout] test tools::patch::tests::test_invalid_patch ... ok [INFO] [stdout] test tools::search::tests::test_search_case_insensitive ... ok [INFO] [stdout] test tools::search::tests::test_search_count_mode ... ok [INFO] [stdout] test tools::search::tests::test_search_files_with_matches ... ok [INFO] [stdout] test tools::search::tests::test_search_invalid_regex ... ok [INFO] [stdout] test tools::edit::tests::test_punctuation_normalization ... ok [INFO] [stdout] test tools::search::tests::test_search_path_not_found ... ok [INFO] [stdout] test tools::search::tests::test_search_with_path ... ok [INFO] [stdout] test tools::search::tests::test_search_with_glob_filter ... ok [INFO] [stdout] test tools::search::tests::test_search_content_mode ... ok [INFO] [stdout] test tools::edit::tests::test_trim_whitespace_fallback ... ok [INFO] [stdout] test vendors::anthropic::tests::test_usage_cost_calculation ... ok [INFO] [stdout] test vendors::openai::tests::test_get_latest_pricing ... ok [INFO] [stdout] test vendors::openai::tests::test_usage_cost_calculation ... ok [INFO] [stdout] test vendors::openai::tests::test_usage_with_caching ... ok [INFO] [stdout] test vendors::venice::tests::test_cache_validity ... ok [INFO] [stdout] test vendors::anthropic::tests::test_get_latest_pricing ... ok [INFO] [stdout] test vendors::openai::tests::test_cache_validity ... ok [INFO] [stdout] test vendors::anthropic::tests::test_cache_validity ... ok [INFO] [stdout] test tools::bash::tests::test_execute_simple_command ... ok [INFO] [stdout] test tools::bash::tests::test_execute_nonexistent_command ... ok [INFO] [stdout] test tools::patch::tests::test_patch_with_explicit_path ... ok [INFO] [stdout] test tool_output::tests::test_truncates_large_array ... ok [INFO] [stdout] test tools::patch::tests::test_simple_patch ... ok [INFO] [stdout] test privacy::tests::test_scan_sensitive_prompt ... ok [INFO] [stdout] test privacy::tests::test_scan_password_prompt ... ok [INFO] [stdout] test privacy::tests::test_scan_clean_prompt ... ok [INFO] [stdout] test compact::tests::test_needs_compaction ... ok [INFO] [stdout] test compact::tests::test_context_tokens_nonzero ... ok [INFO] [stdout] test compact::tests::test_filter_oversized_messages ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 214 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.44s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/brainpro-7ab1c281403c4a05) [INFO] [stdout] [INFO] [stdout] running 200 tests [INFO] [stdout] test agent::core::tests::test_agent_loop_config_default ... ok [INFO] [stdout] test agent::tool_executor::tests::test_dispatch_result_variants ... ok [INFO] [stdout] test agent::core::tests::test_agent_loop_config_builder ... ok [INFO] [stdout] test agent_impl::tests::test_is_pure_tool ... ok [INFO] [stdout] test agent_impl::tests::test_hash_tool_call_different_tools ... ok [INFO] [stdout] test agent_impl::tests::test_hash_tool_call_different_args ... ok [INFO] [stdout] test agent_impl::tests::test_doom_loop_detector_reset_by_different_call ... ok [INFO] [stdout] test circuit_breaker::tests::test_circuit_breaker_starts_closed ... ok [INFO] [stdout] test agent_service::turn_state::tests::test_turn_state_expiry ... ok [INFO] [stdout] test agent_impl::tests::test_doom_loop_detector_no_loop ... ok [INFO] [stdout] test agent_impl::tests::test_doom_loop_detector_triggers ... ok [INFO] [stdout] test agent::core::tests::test_wind_down_prompt_injected ... ok [INFO] [stdout] test circuit_breaker::tests::test_circuit_breaker_disabled ... ok [INFO] [stdout] test circuit_breaker::tests::test_circuit_opens_after_failures ... ok [INFO] [stdout] test circuit_breaker::tests::test_stats ... ok [INFO] [stdout] test circuit_breaker::tests::test_success_resets_failure_count ... ok [INFO] [stdout] test commands::tests::test_parse_frontmatter_no_frontmatter ... ok [INFO] [stdout] test commands::tests::test_command_expand ... ok [INFO] [stdout] test config::tests::test_target_display ... ok [INFO] [stdout] test config::tests::test_parse_target ... ok [INFO] [stdout] test circuit_breaker::tests::test_registry_per_backend ... ok [INFO] [stdout] test agent_service::turn_state::tests::test_turn_state_store ... ok [INFO] [stdout] test compact::tests::test_context_size ... ok [INFO] [stdout] test config::tests::test_validate_empty_hook_command ... ok [INFO] [stdout] test config::tests::test_validate_invalid_threshold ... ok [INFO] [stdout] test config::tests::test_validate_invalid_target ... ok [INFO] [stdout] test context_factory::tests::test_parse_working_dir_none ... ok [INFO] [stdout] test context_factory::tests::test_resolve_target_override ... ok [INFO] [stdout] test cost::tests::test_format_cost ... ok [INFO] [stdout] test config::tests::test_validate_valid_config ... ok [INFO] [stdout] test context_factory::tests::test_apply_default_target_no_keys ... ok [INFO] [stdout] test context_factory::tests::test_apply_default_target_venice ... ok [INFO] [stdout] test cost::tests::test_format_tokens ... ok [INFO] [stdout] test context_factory::tests::test_parse_working_dir_some ... ok [INFO] [stdout] test commands::tests::test_parse_frontmatter_with_metadata ... ok [INFO] [stdout] test cost::tests::test_session_costs ... ok [INFO] [stdout] test gateway::channels::config::tests::test_auth_file_expansion ... ok [INFO] [stdout] test cost::tests::test_pricing_table_prefix_matching ... ok [INFO] [stdout] test gateway::channels::config::tests::test_telegram_token_resolution ... ok [INFO] [stdout] test cost::tests::test_model_pricing_calculation ... ok [INFO] [stdout] test circuit_breaker::tests::test_half_open_failure_reopens ... ok [INFO] [stdout] test circuit_breaker::tests::test_half_open_recovery ... ok [INFO] [stdout] test gateway::channels::plugin::tests::test_approval_callback_parsing ... ok [INFO] [stdout] test gateway::channels::plugin::tests::test_channel_target_session_key ... ok [INFO] [stdout] test gateway::channels::plugin::tests::test_outbound_message_builders ... ok [INFO] [stdout] test gateway::channels::routes::tests::test_pair_request_deserialize ... ok [INFO] [stdout] test gateway::channels::session_map::tests::test_bidirectional_lookup ... ok [INFO] [stdout] test gateway::channels::auth::tests::test_pairing_code_uniqueness ... ok [INFO] [stdout] test gateway::channels::manager::tests::test_streaming_state ... ok [INFO] [stdout] test gateway::channels::session_map::tests::test_get_or_create_session ... ok [INFO] [stdout] test gateway::channels::session_map::tests::test_session_cleanup ... ok [INFO] [stdout] test gateway::channels::session_map::tests::test_streaming_message_tracking ... ok [INFO] [stdout] test gateway::lanes::tests::test_lane_manager_dequeue_priority ... ok [INFO] [stdout] test gateway::lanes::tests::test_lane_manager_enqueue ... ok [INFO] [stdout] test config::tests::test_validate_invalid_hook_regex ... ok [INFO] [stdout] test gateway::lanes::tests::test_lane_manager_queue_full ... ok [INFO] [stdout] test gateway::lanes::tests::test_lane_stats ... ok [INFO] [stdout] test gateway::lanes::tests::test_lane_manager_concurrency_limit ... ok [INFO] [stdout] test hooks::tests::test_hook_manager_no_hooks ... ok [INFO] [stdout] test llm::tests::test_is_retryable_status ... ok [INFO] [stdout] test llm::tests::test_jittered_backoff ... ok [INFO] [stdout] test gateway::lanes::tests::test_lane_priority ... ok [INFO] [stdout] test model_routing::tests::test_router_explicit_target_priority ... ok [INFO] [stdout] test hooks::tests::test_matcher_none_matches_all ... ok [INFO] [stdout] test model_routing::tests::test_model_annotation_parsing ... ok [INFO] [stdout] test metrics::tests::test_snapshot_timestamp ... ok [INFO] [stdout] test model_routing::tests::test_category_inference ... ok [INFO] [stdout] test model_routing::tests::test_context_window_filtering ... ok [INFO] [stdout] test persona::loader::tests::test_load_mrbot_persona ... ok [INFO] [stdout] test hooks::tests::test_matcher_exact ... ok [INFO] [stdout] test persona::loader::tests::test_parse_frontmatter ... ok [INFO] [stdout] test persona::loader::tests::test_render_template ... ok [INFO] [stdout] test persona::loader::tests::test_load_mrcode_persona ... ok [INFO] [stdout] test model_routing::tests::test_zdr_filtering ... ok [INFO] [stdout] test persona::loader::tests::test_mrcode_plan_mode_prompt ... ok [INFO] [stdout] test persona::loader::tests::test_should_include_section ... ok [INFO] [stdout] test persona::loader::tests::test_truncate_content ... ok [INFO] [stdout] test model_routing::tests::test_unavailable_backend_filtering ... ok [INFO] [stdout] test metrics::tests::test_metrics_collector ... ok [INFO] [stdout] test persona::loader::tests::test_subagent_no_workspace_context ... ok [INFO] [stdout] test persona::loader::tests::test_mrcode_optimize_mode_prompt ... ok [INFO] [stdout] test persona::loader::tests::test_workspace_context_in_prompt ... ok [INFO] [stdout] test plan::tests::test_plan_display ... ok [INFO] [stdout] test plan::tests::test_plan_mode_state ... ok [INFO] [stdout] test plan::tests::test_plan_step_creation ... ok [INFO] [stdout] test policy::tests::test_accept_edits_mode ... ok [INFO] [stdout] test policy::tests::test_allow_rule_overrides_default ... ok [INFO] [stdout] test policy::tests::test_default_deny_curl ... ok [INFO] [stdout] test policy::tests::test_ask_rule_overrides_allow ... ok [INFO] [stdout] test persona::loader::tests::test_load_workspace_context_with_files ... ok [INFO] [stdout] test plan::tests::test_plan_creation ... ok [INFO] [stdout] test gateway::channels::auth::tests::test_revocation ... ok [INFO] [stdout] test policy::tests::test_deny_rule_highest_priority ... ok [INFO] [stdout] test policy::tests::test_default_mode_read_allowed ... ok [INFO] [stdout] test policy::tests::test_default_deny_wget ... ok [INFO] [stdout] test policy::tests::test_rule_matching_prefix ... ok [INFO] [stdout] test policy::tests::test_rule_matching_simple ... ok [INFO] [stdout] test policy::tests::test_mcp_allow_wildcard ... ok [INFO] [stdout] test policy::tests::test_default_mode_write_asks ... ok [INFO] [stdout] test policy::tests::test_tool_category ... ok [INFO] [stdout] test privacy::tests::test_audit_log ... ok [INFO] [stdout] test privacy::tests::test_backend_acceptability ... ok [INFO] [stdout] test policy::tests::test_mcp_default_asks ... ok [INFO] [stdout] test policy::tests::test_mcp_tool_category ... ok [INFO] [stdout] test policy::tests::test_mcp_wildcard_all ... ok [INFO] [stdout] test policy::tests::test_mcp_wildcard_server ... ok [INFO] [stdout] test policy::tests::test_rule_matching_exact ... ok [INFO] [stdout] test plan::tests::test_parse_plan_without_block ... ok [INFO] [stdout] test hooks::tests::test_matcher_regex ... ok [INFO] [stdout] test plan::tests::test_parse_plan_output ... ok [INFO] [stdout] test agent::tool_executor::tests::test_truncation_applied_to_dispatch_result ... ok [INFO] [stdout] test gateway::channels::auth::tests::test_pairing_flow ... ok [INFO] [stdout] test privacy::tests::test_privacy_level_parsing ... ok [INFO] [stdout] test privacy::tests::test_privacy_level_zdr_requirements ... ok [INFO] [stdout] test privacy::tests::test_filter_zdr_backends ... ok [INFO] [stdout] test protocol::client::tests::test_client_event ... ok [INFO] [stdout] test protocol::client::tests::test_client_request_serialization ... ok [INFO] [stdout] test protocol::client::tests::test_client_response_error ... ok [INFO] [stdout] test protocol::client::tests::test_client_response_ok ... ok [INFO] [stdout] test protocol::internal::tests::test_agent_event_serialization ... ok [INFO] [stdout] test protocol::internal::tests::test_agent_request_parsing ... ok [INFO] [stdout] test protocol::internal::tests::test_done_event ... ok [INFO] [stdout] test provider_health::tests::test_degraded_on_failures ... ok [INFO] [stdout] test provider_health::tests::test_degraded_on_high_latency ... ok [INFO] [stdout] test provider_health::tests::test_starts_healthy ... ok [INFO] [stdout] test provider_health::tests::test_success_tracking ... ok [INFO] [stdout] test provider_health::tests::test_unhealthy_on_many_failures ... ok [INFO] [stdout] test skillpacks::activation::tests::test_effective_allowed_tools_intersection ... ok [INFO] [stdout] test provider_health::tests::test_filter_available ... ok [INFO] [stdout] test skillpacks::parser::tests::test_invalid_name ... ok [INFO] [stdout] test tool_display::tests::test_format_bash_call ... ok [INFO] [stdout] test skillpacks::parser::tests::test_parse_frontmatter ... ok [INFO] [stdout] test tool_display::tests::test_format_bash_result_failure ... ok [INFO] [stdout] test tool_display::tests::test_format_bash_result_success ... ok [INFO] [stdout] test tool_display::tests::test_format_error ... ok [INFO] [stdout] test tool_display::tests::test_format_glob_result ... ok [INFO] [stdout] test skillpacks::parser::tests::test_parse_frontmatter_yaml_list ... ok [INFO] [stdout] test tool_display::tests::test_format_read_result ... ok [INFO] [stdout] test tool_display::tests::test_format_read_call ... ok [INFO] [stdout] test tool_display::tests::test_format_search_call ... ok [INFO] [stdout] test tool_display::tests::test_format_truncated_output_flag ... ok [INFO] [stdout] test tool_filter::tests::test_arg_exact_match ... ok [INFO] [stdout] test tool_filter::tests::test_arg_prefix_match ... ok [INFO] [stdout] test tool_filter::tests::test_exact_match ... ok [INFO] [stdout] test tool_filter::tests::test_matches_any ... ok [INFO] [stdout] test tool_filter::tests::test_matches_any_simple ... ok [INFO] [stdout] test tool_filter::tests::test_mcp_wildcard ... ok [INFO] [stdout] test tool_output::tests::test_no_truncation_for_small_output ... ok [INFO] [stdout] test tools::bash::tests::test_cwd_validation ... ok [INFO] [stdout] test tools::bash::tests::test_env_filtering_removes_node_options_prefix ... ok [INFO] [stdout] test tools::bash::tests::test_env_filtering_removes_preload ... ok [INFO] [stdout] test tools::bash::tests::test_schema_optimized ... ok [INFO] [stdout] test tools::bash::tests::test_execute_nonexistent_command ... ok [INFO] [stdout] test tools::edit::tests::test_count_replacement ... ok [INFO] [stdout] test tools::bash::tests::test_execute_empty_command ... ok [INFO] [stdout] test tools::bash::tests::test_schema ... ok [INFO] [stdout] test tools::edit::tests::test_exact_replacement ... ok [INFO] [stdout] test tools::patch::tests::test_context_mismatch ... ok [INFO] [stdout] test tools::patch::tests::test_dry_run ... ok [INFO] [stdout] test tools::patch::tests::test_empty_patch ... ok [INFO] [stdout] test tools::patch::tests::test_file_not_found ... ok [INFO] [stdout] test tools::edit::tests::test_normalize_indent_fallback ... ok [INFO] [stdout] test tools::edit::tests::test_normalize_whitespace_fallback ... ok [INFO] [stdout] test tools::patch::tests::test_schema ... ok [INFO] [stdout] test tools::bash::tests::test_execute_command_with_args ... ok [INFO] [stdout] test tools::patch::tests::test_invalid_patch ... ok [INFO] [stdout] test tools::patch::tests::test_schema_optimized ... ok [INFO] [stdout] test tools::bash::tests::test_execute_captures_stderr ... ok [INFO] [stdout] test tools::search::tests::test_schema ... ok [INFO] [stdout] test tools::search::tests::test_schema_optimized ... ok [INFO] [stdout] test tools::bash::tests::test_execute_simple_command ... ok [INFO] [stdout] test tools::patch::tests::test_strip_git_prefix ... ok [INFO] [stdout] test tools::edit::tests::test_trim_whitespace_fallback ... ok [INFO] [stdout] test tools::search::tests::test_search_invalid_regex ... ok [INFO] [stdout] test tools::search::tests::test_search_files_with_matches ... ok [INFO] [stdout] test tools::search::tests::test_search_content_mode ... ok [INFO] [stdout] test tools::edit::tests::test_punctuation_normalization ... ok [INFO] [stdout] test vendors::anthropic::tests::test_cache_validity ... ok [INFO] [stdout] test vendors::anthropic::tests::test_get_latest_pricing ... ok [INFO] [stdout] test tools::search::tests::test_search_with_path ... ok [INFO] [stdout] test vendors::openai::tests::test_cache_validity ... ok [INFO] [stdout] test vendors::anthropic::tests::test_usage_cost_calculation ... ok [INFO] [stdout] test vendors::openai::tests::test_usage_cost_calculation ... ok [INFO] [stdout] test tools::search::tests::test_search_with_glob_filter ... ok [INFO] [stdout] test vendors::openai::tests::test_usage_with_caching ... ok [INFO] [stdout] test vendors::venice::tests::test_cache_validity ... ok [INFO] [stdout] test tools::patch::tests::test_patch_with_explicit_path ... ok [INFO] [stdout] test vendors::openai::tests::test_get_latest_pricing ... ok [INFO] [stdout] test tools::search::tests::test_search_count_mode ... ok [INFO] [stdout] test tools::patch::tests::test_simple_patch ... ok [INFO] [stdout] test tools::search::tests::test_search_case_insensitive ... ok [INFO] [stdout] test tools::search::tests::test_search_path_not_found ... ok [INFO] [stdout] test tool_output::tests::test_truncates_large_string ... ok [INFO] [stdout] test tool_output::tests::test_truncates_large_array ... ok [INFO] [stdout] test privacy::tests::test_scan_password_prompt ... ok [INFO] [stdout] test privacy::tests::test_scan_sensitive_prompt ... ok [INFO] [stdout] test privacy::tests::test_scan_clean_prompt ... ok [INFO] [stdout] test compact::tests::test_needs_compaction ... ok [INFO] [stdout] test compact::tests::test_context_tokens_nonzero ... ok [INFO] [stdout] test compact::tests::test_filter_oversized_messages ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 200 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.15s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/agent_daemon.rs (/opt/rustwide/target/debug/deps/brainpro_agent-149aca5e684e9566) [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] [stderr] Running unittests src/bin/gateway.rs (/opt/rustwide/target/debug/deps/brainpro_gateway-c784dade0bf7f0a8) [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] [stderr] Running unittests src/bin/yo.rs (/opt/rustwide/target/debug/deps/yo-3c2e12bfc7e6effd) [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] [stderr] Doc-tests brainpro [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/agent_policy.rs - agent_policy (line 19) ... ignored [INFO] [stdout] test src/events.rs - events (line 20) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4b2916fd036707bf15eec5759203b249b1756b737d9ddc5d208597bca72f34c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b2916fd036707bf15eec5759203b249b1756b737d9ddc5d208597bca72f34c2", kill_on_drop: false }` [INFO] [stdout] 4b2916fd036707bf15eec5759203b249b1756b737d9ddc5d208597bca72f34c2