[INFO] cloning repository https://github.com/iamcobolt/MailSubsystem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iamcobolt/MailSubsystem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamcobolt%2FMailSubsystem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamcobolt%2FMailSubsystem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73796da67e83c80d9a2598264e1599d0726ff1cb [INFO] testing iamcobolt/MailSubsystem against 1.97.0-beta.1 for beta-1.97-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamcobolt%2FMailSubsystem" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/iamcobolt/MailSubsystem [INFO] finished tweaking git repo https://github.com/iamcobolt/MailSubsystem [INFO] tweaked toml for git repo https://github.com/iamcobolt/MailSubsystem written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iamcobolt/MailSubsystem on toolchain 1.97.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/iamcobolt/MailSubsystem 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.97.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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c822028a08a783e08a55054ae878914a71df8ac575b713f90a12d2844800eb61 [INFO] running `Command { std: "docker" "start" "-a" "c822028a08a783e08a55054ae878914a71df8ac575b713f90a12d2844800eb61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c822028a08a783e08a55054ae878914a71df8ac575b713f90a12d2844800eb61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c822028a08a783e08a55054ae878914a71df8ac575b713f90a12d2844800eb61", kill_on_drop: false }` [INFO] [stdout] c822028a08a783e08a55054ae878914a71df8ac575b713f90a12d2844800eb61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2352a86652e7295de3cb19e75a8e4b8d0b47d91b67c70c85cb2181497dc56e13 [INFO] running `Command { std: "docker" "start" "-a" "2352a86652e7295de3cb19e75a8e4b8d0b47d91b67c70c85cb2181497dc56e13", kill_on_drop: false }` [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling openssl-sys v0.9.116 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling openssl v0.10.80 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.13.2 [INFO] [stderr] Compiling aws-lc-rs v1.17.0 [INFO] [stderr] Compiling tokio v1.52.3 [INFO] [stderr] Compiling aws-lc-sys v0.41.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling instability v0.3.12 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling compact_str v0.9.0 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling kasuari v0.4.12 [INFO] [stderr] Compiling unicode-truncate v2.0.1 [INFO] [stderr] Compiling lru v0.16.4 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling ratatui-core v0.1.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pin-project-internal v1.1.13 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling data-encoding v2.11.0 [INFO] [stderr] Compiling pin-project v1.1.13 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling async-compression v0.4.42 [INFO] [stderr] Compiling h2 v0.4.14 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling line-clipping v0.3.7 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling ratatui-widgets v0.3.0 [INFO] [stderr] Compiling tungstenite v0.29.0 [INFO] [stderr] Compiling schemars_derive v1.2.1 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling tower-http v0.6.10 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling winnow v1.0.3 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling ratatui-crossterm v0.1.0 [INFO] [stderr] Compiling schemars v1.2.1 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling env_filter v1.0.1 [INFO] [stderr] Compiling ratatui-macros v0.7.0 [INFO] [stderr] Compiling tokio-tungstenite v0.29.0 [INFO] [stderr] Compiling stop-token v0.7.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling charset v0.1.5 [INFO] [stderr] Compiling imap-proto v0.16.7 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling nanoid v0.4.0 [INFO] [stderr] Compiling ordered-float v5.3.0 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling self_cell v1.2.2 [INFO] [stderr] Compiling as-any v0.3.2 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling jiff v0.2.24 [INFO] [stderr] Compiling quoted_printable v0.5.2 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling pgvector v0.4.1 [INFO] [stderr] Compiling mailparse v0.16.1 [INFO] [stderr] Compiling async-imap v0.11.2 [INFO] [stderr] Compiling toml v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling uuid v1.23.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.8.9 [INFO] [stderr] Compiling ratatui v0.30.0 [INFO] [stderr] Compiling async-native-tls v0.6.0 [INFO] [stderr] Compiling env_logger v0.11.10 [INFO] [stderr] Compiling rustls-webpki v0.103.13 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.7.0 [INFO] [stderr] Compiling hyper-rustls v0.27.9 [INFO] [stderr] Compiling reqwest v0.13.3 [INFO] [stderr] Compiling rig-core v0.37.0 [INFO] [stderr] Compiling mailsubsystem-daemon v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 29s [INFO] running `Command { std: "docker" "inspect" "2352a86652e7295de3cb19e75a8e4b8d0b47d91b67c70c85cb2181497dc56e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2352a86652e7295de3cb19e75a8e4b8d0b47d91b67c70c85cb2181497dc56e13", kill_on_drop: false }` [INFO] [stdout] 2352a86652e7295de3cb19e75a8e4b8d0b47d91b67c70c85cb2181497dc56e13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f228fcd228db6f6bc8c1d662146357c6039ce1cf079c1c3ed0afe00ab373ca30 [INFO] running `Command { std: "docker" "start" "-a" "f228fcd228db6f6bc8c1d662146357c6039ce1cf079c1c3ed0afe00ab373ca30", kill_on_drop: false }` [INFO] [stderr] Compiling mailsubsystem-daemon v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 51.35s [INFO] running `Command { std: "docker" "inspect" "f228fcd228db6f6bc8c1d662146357c6039ce1cf079c1c3ed0afe00ab373ca30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f228fcd228db6f6bc8c1d662146357c6039ce1cf079c1c3ed0afe00ab373ca30", kill_on_drop: false }` [INFO] [stdout] f228fcd228db6f6bc8c1d662146357c6039ce1cf079c1c3ed0afe00ab373ca30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9c6ccb2cf22a6fb933932f60e4acd792c718cb375c65ef13852b9dd8ca94e202 [INFO] running `Command { std: "docker" "start" "-a" "9c6ccb2cf22a6fb933932f60e4acd792c718cb375c65ef13852b9dd8ca94e202", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mailsubsystem_daemon-5957bcd94efc6683) [INFO] [stdout] [INFO] [stdout] running 268 tests [INFO] [stdout] test agent_catalog::tests::advanced_agents_return_specialists_in_sort_order ... ok [INFO] [stdout] test agent_catalog::tests::builtin_catalog_has_one_default_agent ... ok [INFO] [stdout] test agent_catalog::tests::find_agent_matches_case_insensitively ... ok [INFO] [stdout] test agent_catalog::tests::user_facing_agents_can_include_advanced_for_dev_mode ... ok [INFO] [stdout] test agent_router::tests::mail_assistant_routes_cleanup_question_to_folder_consolidator ... ok [INFO] [stdout] test agent_router::tests::digest_window_uses_daily_keywords ... ok [INFO] [stdout] test agent_router::tests::mail_assistant_routes_digest_question_to_digest_agent ... ok [INFO] [stdout] test agent_catalog::tests::visible_agents_hide_advanced_specialists ... ok [INFO] [stdout] test agent_router::tests::current_turn_overrides_digest_history_when_intent_changes ... ok [INFO] [stdout] test agent_router::tests::mail_assistant_keeps_mailbox_recap_on_digest_path_even_with_context_email ... ok [INFO] [stdout] test agent_router::tests::mail_assistant_routes_explicit_escalation_to_orchestrator ... ok [INFO] [stdout] test agent_router::tests::mail_assistant_routes_folder_question_to_location_agent ... ok [INFO] [stdout] test agent_router::tests::mail_assistant_routes_single_email_review_to_email_analyzer ... ok [INFO] [stdout] test agent_router::tests::mail_assistant_uses_history_for_follow_on_digest_turns ... ok [INFO] [stdout] test agent_router::tests::unrelated_turn_does_not_inherit_previous_digest_route ... ok [INFO] [stdout] test ai::tests::test_parse_analysis_response_minimal ... ok [INFO] [stdout] test ai::tests::test_ai_config_debug_redacts_api_keys ... ok [INFO] [stdout] test ai::tests::test_parse_analysis_response_empty_object ... ok [INFO] [stdout] test ai::tests::test_location_tools_names ... ok [INFO] [stdout] test ai::tests::test_rate_limit_override_precedence ... ok [INFO] [stdout] test ai::tests::test_parse_analysis_response_unescaped_quote_in_string ... ok [INFO] [stdout] test ai::tests::test_parse_analysis_response_with_confidence ... ok [INFO] [stdout] test ai::tests::test_to_ai_response_preserves_content_tool_calls_and_usage ... ok [INFO] [stdout] test ai::tests::test_to_internal_usage_handles_zero_and_large_counts ... ok [INFO] [stdout] test ai::tests::test_to_rig_completion_request_preserves_messages_tools_and_limits ... ok [INFO] [stdout] test agent_catalog::tests::user_facing_agents_hide_advanced_specialists_by_default ... ok [INFO] [stdout] test agent_router::tests::direct_specialist_threads_stay_direct ... ok [INFO] [stdout] test ai::tests::test_parse_analysis_response_invalid_json ... ok [INFO] [stdout] test agent_router::tests::mail_assistant_routes_email_specific_recap_to_email_analyzer ... ok [INFO] [stdout] test ai_analysis::tests::infer_category_uses_existing_category_list_from_secondary_fields ... ok [INFO] [stdout] test ai_analysis::tests::infer_email_type_only_uses_exact_schema_values_when_missing ... ok [INFO] [stdout] test ai_analysis::tests::infer_otp_status_defaults_to_not_otp_when_missing ... ok [INFO] [stdout] test ai_analysis::tests::infer_otp_status_keeps_code_based_otp ... ok [INFO] [stdout] test ai_analysis::tests::infer_otp_status_detects_password_reset_from_summary ... ok [INFO] [stdout] test ai_analysis::tests::infer_otp_status_prefers_magic_link_evidence_over_model_otp ... ok [INFO] [stdout] test ai_analysis::tests::normalize_category_only_accepts_schema_categories ... ok [INFO] [stdout] test ai_analysis::tests::normalize_otp_status_maps_none_like_values_to_not_otp ... ok [INFO] [stdout] test ai_analysis::tests::schema_alignment_applies_existing_category_open_subcategory_and_email_type ... ok [INFO] [stdout] test ai_analysis::tests::schema_alignment_review_checks_email_type_semantics ... ok [INFO] [stdout] test ai_analysis::tests::source_evidence_verifier_ignores_generic_preference_footer ... ok [INFO] [stdout] test ai_analysis::tests::source_evidence_verifier_ignores_non_alert_watch_list_language ... ok [INFO] [stdout] test ai_analysis::tests::source_evidence_verifier_matches_saved_search_footer ... ok [INFO] [stdout] test ai_analysis::tests::taxonomy_alignment_review_targets_missing_generic_or_misplaced_categories ... ok [INFO] [stdout] test ai_analysis::tests::test_analyze_one_live_record ... ignored, requires DATABASE_URL, TEST_MESSAGE_ID, and AI API keys; run with --ignored [INFO] [stdout] test ai_analysis::tests::normalize_email_type_accepts_only_schema_values ... ok [INFO] [stdout] test ai_analysis::tests::test_build_orchestrator_escalation_input_preserves_worker_context ... ok [INFO] [stdout] test ai_analysis::tests::test_analyze_runs_schema_alignment_repair_for_generic_personal ... ok [INFO] [stdout] test ai_analysis::tests::test_email_to_harness_input_includes_attachment_summary ... ok [INFO] [stdout] test ai_analysis::tests::test_email_to_harness_input_includes_required_fields ... ok [INFO] [stdout] test ai_analysis::tests::test_harness_output_to_analysis_result_deserializes ... ok [INFO] [stdout] test ai_analysis::tests::email_analyzer_agent_prompt_shares_auth_flow_subtypes ... ok [INFO] [stdout] test ai_analysis::tests::test_email_to_harness_input_with_worker_instruction_sets_context ... ok [INFO] [stdout] test ai_analysis::tests::test_new_uses_default_agent_specs_dir ... ok [INFO] [stdout] test ai_analysis::tests::test_orchestrator_output_to_analysis_result_deserializes ... ok [INFO] [stdout] test ai_analysis::tests::useful_admin_guidance_verifier_ignores_retail_deal_newsletter ... ok [INFO] [stdout] test ai_analysis::tests::useful_admin_guidance_verifier_matches_property_compliance_newsletter ... ok [INFO] [stdout] test ai_analysis::tests::user_configured_alert_summary_detail_adds_alert_basis ... ok [INFO] [stdout] test ai_analysis::tests::user_configured_alert_summary_detail_does_not_duplicate_alert_basis ... ok [INFO] [stdout] test ai_analysis::tests::user_configured_alert_verifier_ignores_generic_retail_promo ... ok [INFO] [stdout] test ai_analysis::tests::email_analyzer_agent_prompt_shares_travel_promo_spam_policy ... ok [INFO] [stdout] test ai_analysis::tests::user_configured_alert_verifier_matches_saved_search_alert ... ok [INFO] [stdout] test ai_analysis::tests::test_thinking_mode_spec_overrides_iterations_and_budgets ... ok [INFO] [stdout] test api::chat::tests::build_chat_task_input_adds_digest_window_for_digest_agent ... ok [INFO] [stdout] test api::chat::tests::build_chat_task_input_includes_history_and_context_email ... ok [INFO] [stdout] test api::chat::tests::build_harness_stream_callback_streams_routed_mail_assistant_text ... ok [INFO] [stdout] test api::chat::tests::chat_request_validate_allows_missing_agent_name ... ok [INFO] [stdout] test api::chat::tests::chat_request_validate_rejects_too_large_message ... ok [INFO] [stdout] test api::chat::tests::direct_specialist_turn_reports_specialist_as_response_agent ... ok [INFO] [stdout] test api::chat::tests::extract_chat_confidence_reads_nested_orchestrator_result ... ok [INFO] [stdout] test api::chat::tests::default_thread_title_prefers_user_message ... ok [INFO] [stdout] test api::chat::tests::format_agent_response_prefers_response_markdown ... ok [INFO] [stdout] test api::chat::tests::format_chat_agent_response_preserves_head_agent_markdown_for_routed_turn ... ok [INFO] [stdout] test api::chat::tests::format_chat_agent_response_preserves_pending_readiness_message ... ok [INFO] [stdout] test api::chat::tests::extract_header_value_handles_folded_headers ... ok [INFO] [stdout] test api::chat::tests::format_agent_response_falls_back_to_json ... ok [INFO] [stdout] test ai_analysis::tests::unaligned_category_is_preserved_as_open_subcategory ... ok [INFO] [stdout] test api::chat::tests::history_without_message_excludes_the_current_turn ... ok [INFO] [stdout] test api::chat::tests::parse_stream_request_message_rejects_oversized_text_frame ... ok [INFO] [stdout] test api::chat::tests::format_chat_agent_response_rewrites_email_analyzer_output_for_mail_assistant ... ok [INFO] [stdout] test api::chat::tests::resolve_thread_visible_agent_allows_mail_assistant_threads_without_specialist_override ... ok [INFO] [stdout] test api::chat::tests::resolve_thread_visible_agent_resumes_legacy_specialist_thread_through_mail_assistant ... ok [INFO] [stdout] test api::chat::tests::routed_mail_assistant_turn_reports_mail_assistant_as_response_agent ... ok [INFO] [stdout] test api::chat::tests::split_stream_text_preserves_original_content ... ok [INFO] [stdout] test api::data::tests::build_folder_tree_creates_nested_nodes ... ok [INFO] [stdout] test api::data::tests::resolve_stats_window_defaults_to_30_days ... ok [INFO] [stdout] test api::data::tests::resolve_stats_window_uses_since_as_the_reported_window ... ok [INFO] [stdout] test api::data::tests::sanitize_email_for_list_omits_large_fields_from_json ... ok [INFO] [stdout] test api::middleware::tests::api_token_accepts_bearer_or_token_header ... ok [INFO] [stdout] test api::middleware::tests::api_token_rejects_missing_or_wrong_token ... ok [INFO] [stdout] test api::routes::tests::health_returns_ok ... ok [INFO] [stdout] test api::state::tests::try_acquire_chat_stream_enforces_concurrency_limit ... ok [INFO] [stdout] test api::chat::tests::mail_assistant_synthesis_input_embeds_specialist_result_privately ... ok [INFO] [stdout] test api::state::tests::allow_chat_request_enforces_fixed_window_limit ... ok [INFO] [stdout] test attachments::tests::test_analyze_attachment_executable_mz ... ok [INFO] [stdout] test attachments::tests::test_analyze_attachment_pdf_not_executable ... ok [INFO] [stdout] test attachments::tests::test_attachment_analysis_to_json_value ... ok [INFO] [stdout] test cli::tests::parse_api_command_with_bind ... ok [INFO] [stdout] test attachments::tests::test_extract_attachments_finds_one ... ok [INFO] [stdout] test cli::tests::parse_app_command_with_bind ... ok [INFO] [stdout] test cli::tests::parse_core_status_command ... ok [INFO] [stdout] test cli::tests::parse_locate_command_with_limit_and_message_id ... ok [INFO] [stdout] test api::chat::tests::parse_stream_request_message_validates_payload_shape ... ok [INFO] [stdout] test commands::agent_commands::tests::test_list_agent_runs_empty ... ignored [INFO] [stdout] test commands::agent_commands::tests::test_scratchpad_roundtrip ... ignored [INFO] [stdout] test cli::tests::parse_migrate_schema_apply_command ... ok [INFO] [stdout] test commands::analysis_commands::tests::parse_priority_rank_dedupes_and_trims ... ok [INFO] [stdout] test commands::hygiene_commands::tests::parse_delete_keys_ignores_invalid_values ... ok [INFO] [stdout] test commands::hygiene_commands::tests::parse_entry_target_reads_agent_key_pairs ... ok [INFO] [stdout] test commands::analysis_commands::tests::reorder_batch_emails_applies_priority_and_preserves_unranked_order ... ok [INFO] [stdout] test commands::hygiene_commands::tests::parse_summaries_ignores_empty_values ... ok [INFO] [stdout] test commands::location_commands::tests::canonical_filing_paths_can_be_auto_created ... ok [INFO] [stdout] test commands::location_commands::tests::container_paths_are_rewritten_to_selectable_general_leaves ... ok [INFO] [stdout] test commands::location_commands::tests::filing_cooldown_has_safe_default ... ok [INFO] [stdout] test commands::location_commands::tests::filing_paths_are_sanitized_for_dovecot ... ok [INFO] [stdout] test commands::location_commands::tests::security_paths_are_rewritten_to_selectable_personal_security_leaves ... ok [INFO] [stdout] test commands::location_commands::tests::selectable_check_allows_noselect_intermediate_parent ... ok [INFO] [stdout] test commands::location_commands::tests::selectable_check_rejects_noselect_leaf ... ok [INFO] [stdout] test config::tests::test_account_config_debug_redacts_password ... ok [INFO] [stdout] test commands::analysis_commands::tests::parse_worker_instructions_ignores_invalid_entries ... ok [INFO] [stdout] test config::tests::test_account_config_from_toml ... ok [INFO] [stdout] test config::tests::test_api_allowed_origins_defaults_and_parses_csv ... ok [INFO] [stdout] test config::tests::test_api_allowed_origins_supports_legacy_single_origin_env ... ok [INFO] [stdout] test config::tests::test_api_bind_addr_defaults_and_overrides ... ok [INFO] [stdout] test commands::location_commands::tests::create_if_missing_still_allows_noncanonical_paths ... ok [INFO] [stdout] test config::tests::test_api_bind_security_allows_loopback_without_token ... ok [INFO] [stdout] test config::tests::test_api_bind_security_rejects_public_bind_addresses ... ok [INFO] [stdout] test config::tests::test_api_bind_security_requires_token_for_tailscale ... ok [INFO] [stdout] test config::tests::test_load_all_falls_back_to_env ... ok [INFO] [stdout] test core_work::tests::follow_up_analyze_keeps_locating_and_requeues_analysis_backlog ... ok [INFO] [stdout] test ai_analysis::tests::email_analyzer_agent_prompt_treats_email_content_as_untrusted ... ok [INFO] [stdout] test core_work::tests::follow_up_file_apply_requeues_analysis_when_backlog_remains ... ok [INFO] [stdout] test core_work::tests::follow_up_locate_still_previews_before_apply ... ok [INFO] [stdout] test core_work::tests::follow_up_preview_enqueues_apply_when_file_apply_enabled ... ok [INFO] [stdout] test core_work::tests::idle_work_plan_applies_filing_backlog_only_when_enabled ... ok [INFO] [stdout] test core_work::tests::idle_work_plan_bootstraps_blank_database ... ok [INFO] [stdout] test core_work::tests::idle_work_plan_keeps_core_syncing_when_backlog_is_clear ... ok [INFO] [stdout] test core_work::tests::idle_work_plan_recovers_partial_database ... ok [INFO] [stdout] test core_work::tests::runtime_lock_key_is_stable_and_account_scoped ... ok [INFO] [stdout] test database::config::tests::database_config_debug_redacts_password ... ok [INFO] [stdout] test core_work::tests::idle_work_plan_requeues_missing_backlog ... ok [INFO] [stdout] test core_work::tests::planner_coalesces_durable_pipeline_work_not_ephemeral_subagents ... ok [INFO] [stdout] test database::config::tests::database_config_from_url_errors_for_malformed_url ... ok [INFO] [stdout] test database::config::tests::database_config_from_url_decodes_reserved_chars_in_username ... ok [INFO] [stdout] test database::config::tests::database_config_from_url_extracts_sslmode ... ok [INFO] [stdout] test database::config::tests::database_config_from_url_errors_for_missing_database ... ok [INFO] [stdout] test database::config::tests::database_config_from_url_decodes_reserved_chars_in_password ... ok [INFO] [stdout] test database::config::tests::schema_migration_cache_marks_connection_once ... ok [INFO] [stdout] test database::config::tests::schema_migration_mode_parses_release_safe_defaults ... ok [INFO] [stdout] test database::conversations::tests::conversation_optional_title_normalizes_blank_to_none ... ok [INFO] [stdout] test database::conversations::tests::conversation_role_validation_rejects_invalid_roles ... ok [INFO] [stdout] test database::core_work::tests::core_state_from_work_distinguishes_pipeline_states ... ok [INFO] [stdout] test database::integration_tests::test_analysis_backoff_intervals_are_exponential ... ok [INFO] [stdout] test database::integration_tests::test_backfill_message_tokens_for_account_isolated ... ignored [INFO] [stdout] test database::integration_tests::test_batch_lifecycle_assign_and_query_roundtrip ... ignored [INFO] [stdout] test database::integration_tests::test_conversation_threads_round_trip_and_account_isolation ... ignored [INFO] [stdout] test database::integration_tests::test_core_work_claim_prioritizes_pipeline_over_subagent_support ... ignored [INFO] [stdout] test database::integration_tests::test_frontier_claim_prevents_duplicate_processing ... ignored [INFO] [stdout] test database::integration_tests::test_frontier_dead_letters_after_max_attempts ... ignored [INFO] [stdout] test database::integration_tests::test_frontier_mark_done_removes_row ... ignored [INFO] [stdout] test database::integration_tests::test_frontier_retry_backoff_persists_failed_state ... ignored [INFO] [stdout] test database::integration_tests::test_db_completeness_snapshot_backlog_detection ... ok [INFO] [stdout] test database::integration_tests::test_get_agent_run_stats_for_account_isolated ... ignored [INFO] [stdout] test database::integration_tests::test_get_email_stats_for_window_counts_correctly ... ignored [INFO] [stdout] test database::integration_tests::test_get_emails_needing_location_force_includes_existing_recommendations ... ignored [INFO] [stdout] test database::integration_tests::test_get_folder_email_samples_account_isolated ... ignored [INFO] [stdout] test database::config::tests::database_config_from_url_parses_standard_dev_url ... ok [INFO] [stdout] test database::integration_tests::test_get_folder_email_samples_returns_correct_folder ... ignored [INFO] [stdout] test database::integration_tests::test_get_sender_history_for_account_isolated ... ignored [INFO] [stdout] test database::conversations::tests::conversation_identifier_validation_rejects_blank_values ... ok [INFO] [stdout] test database::integration_tests::test_get_top_senders_for_window_returns_ordered ... ignored [INFO] [stdout] test database::integration_tests::test_get_unanalyzed_emails_force_includes_analyzed_rows ... ignored [INFO] [stdout] test database::integration_tests::test_list_agent_runs_for_account_isolated ... ignored [INFO] [stdout] test database::integration_tests::test_recompute_imap_folder_priority_keeps_normal_folders_out_of_priority_one ... ignored [INFO] [stdout] test database::integration_tests::test_release_core_work_for_worker_only_releases_owned_processing_rows ... ignored [INFO] [stdout] test database::integration_tests::test_subagent_skill_lessons_reinforce_existing_memory ... ignored [INFO] [stdout] test database::integration_tests::test_window_boundary_excludes_old_emails ... ignored [INFO] [stdout] test database::schema_management::tests::schema_fingerprint_source_keeps_statement_changes ... ok [INFO] [stdout] test database::schema_management::tests::schema_fingerprint_source_ignores_comment_only_changes ... ok [INFO] [stdout] test harness::agent_tools::tests::test_list_subfolders_returns_string ... ignored [INFO] [stdout] test harness::agent_tools::tests::test_mail_assistant_tools_names ... ignored [INFO] [stdout] test harness::agent_tools::tests::test_orchestrator_tools_names ... ignored [INFO] [stdout] test harness::calibration::tests::calibration_clamps_to_lower_bound ... ok [INFO] [stdout] test harness::agent_tools::tests::test_analysis_tool_schemas_are_json_objects ... ok [INFO] [stdout] test harness::calibration::tests::calibration_clamps_to_upper_bound ... ok [INFO] [stdout] test harness::calibration::tests::calibration_high_escalation_lowers_threshold ... ok [INFO] [stdout] test harness::calibration::tests::calibration_insufficient_samples_skips ... ok [INFO] [stdout] test harness::calibration::tests::calibration_low_escalation_raises_threshold ... ok [INFO] [stdout] test harness::calibration::tests::calibration_smoothing_prevents_large_jumps ... ok [INFO] [stdout] test harness::executor::tests::test_check_escalation_low_confidence ... ok [INFO] [stdout] test harness::executor::tests::test_check_escalation_phishing_flag ... ok [INFO] [stdout] test harness::executor::tests::test_classify_db_prerequisite_work_for_empty_db ... ok [INFO] [stdout] test harness::executor::tests::test_classify_db_prerequisite_work_for_missing_analysis ... ok [INFO] [stdout] test harness::executor::tests::test_classify_db_prerequisite_work_for_missing_body ... ok [INFO] [stdout] test harness::executor::tests::test_classify_db_prerequisite_work_for_missing_location ... ok [INFO] [stdout] test harness::executor::tests::test_classify_db_prerequisite_work_for_partial_sync ... ok [INFO] [stdout] test harness::executor::tests::test_classify_db_prerequisite_work_ignores_missing_message_id_anomalies ... ok [INFO] [stdout] test harness::executor::tests::test_count_emails_tool_args_extracts_sender_filter ... ok [INFO] [stdout] test harness::executor::tests::test_db_prerequisites_pending_output_is_chat_safe ... ok [INFO] [stdout] test harness::executor::tests::test_deferred_tool_promise_detection ... ok [INFO] [stdout] test harness::executor::tests::test_harness_resume_from_checkpoint ... ignored [INFO] [stdout] test harness::executor::tests::test_harness_run_completes_after_tool_call ... ignored [INFO] [stdout] test harness::executor::tests::test_interactive_mail_assistant_uses_partial_db_context ... ok [INFO] [stdout] test harness::executor::tests::test_mail_assistant_count_requests_require_count_tool ... ok [INFO] [stdout] test harness::executor::tests::test_mail_assistant_database_sample_requests_require_list_tool ... ok [INFO] [stdout] test harness::executor::tests::test_parse_json_tool_call ... ok [INFO] [stdout] test harness::executor::tests::test_should_complete_db_pending_for_api_chat_tasks_only ... ok [INFO] [stdout] test harness::executor::tests::test_should_gate_db_completeness_for_user_facing_mail_assistant_only ... ok [INFO] [stdout] test harness::executor::tests::test_synced_email_list_tool_args_extracts_limit ... ok [INFO] [stdout] test harness::executor::tests::test_validate_output_bad_enum ... ok [INFO] [stdout] test harness::executor::tests::test_validate_output_missing_field ... ok [INFO] [stdout] test harness::executor::tests::test_validate_output_normalizes_common_analysis_enums_without_category_guessing ... ok [INFO] [stdout] test harness::executor::tests::test_validate_output_strips_markdown_fences ... ok [INFO] [stdout] test harness::executor::tests::test_validate_output_valid ... ok [INFO] [stdout] test harness::spec::tests::test_consolidator_output_validates ... ok [INFO] [stdout] test embeddings::tests::clean_email_body_text_strips_html_and_normalizes_spaces ... ok [INFO] [stdout] test core_work::tests::follow_up_preview_stays_dry_run_when_file_apply_disabled ... ok [INFO] [stdout] test embeddings::tests::clean_email_body_text_truncates ... ok [INFO] [stdout] test harness::calibration::tests::calibration_in_band_preserves_threshold ... ok [INFO] [stdout] test harness::spec::tests::test_consolidator_system_folder_guard_list_present ... ok [INFO] [stdout] test harness::spec::tests::test_consolidator_spec_parses ... ok [INFO] [stdout] test harness::spec::tests::test_digest_output_validates ... ok [INFO] [stdout] test harness::spec::tests::test_digest_spec_parses ... ok [INFO] [stdout] test harness::spec::tests::test_parse_bad_toml_returns_error ... ok [INFO] [stdout] test harness::spec::tests::test_parse_defaults ... ok [INFO] [stdout] test harness::spec::tests::test_orchestrator_batch_plan_output_validates ... ok [INFO] [stdout] test harness::spec::tests::test_orchestrator_batch_review_output_validates ... ok [INFO] [stdout] test harness::spec::tests::test_parse_file_composes_base_and_skills ... ok [INFO] [stdout] test harness::spec::tests::test_parse_unknown_provider_tier_returns_error ... ok [INFO] [stdout] test harness::spec::tests::test_system_prompt_extracted_verbatim ... ok [INFO] [stdout] test harness::state::tests::test_mark_run_escalated_sets_flag ... ignored [INFO] [stdout] test harness::spec::tests::test_orchestrator_spec_parses ... ok [INFO] [stdout] test harness::spec::tests::test_parse_valid_agent_md ... ok [INFO] [stdout] test harness::tools::tests::test_as_completion_tools_includes_registered_tools ... ok [INFO] [stdout] test harness::tools::tests::test_unknown_tool_returns_error_string_not_err ... ok [INFO] [stdout] test harness::tools::tests::test_echo_tool_executes ... ok [INFO] [stdout] test harness::spec::tests::test_parse_file ... ok [INFO] [stdout] test imap::tests::create_already_exists_response_is_success_equivalent ... ok [INFO] [stdout] test imap::tests::new_uid_search_query_avoids_reversed_open_ended_ranges ... ok [INFO] [stdout] test imap::tests::tls_server_name_defaults_to_connection_host ... ok [INFO] [stdout] test imap::tests::tls_server_name_rejects_empty_override ... ok [INFO] [stdout] test imap::tests::tls_server_name_uses_explicit_override ... ok [INFO] [stdout] test observability::tests::json_log_line_includes_run_and_command ... ok [INFO] [stdout] test rag::tests::fuse_hybrid_results_dedupes_and_respects_limit ... ok [INFO] [stdout] test rag::tests::fuse_hybrid_results_falls_back_when_semantic_empty ... ok [INFO] [stdout] test rag::tests::test_execute_tool_call_unknown_tool ... ok [INFO] [stdout] test subagent_runtime::tests::default_workers_are_scoped_by_bundle ... ok [INFO] [stdout] test metrics::tests::file_metrics_sink_writes_jsonl ... ok [INFO] [stdout] test subagent_runtime::tests::extracts_general_skill_lessons_from_worker_output ... ok [INFO] [stdout] test subagent_runtime::tests::rejects_message_specific_or_mutating_skill_lessons ... ok [INFO] [stdout] test subagent_runtime::tests::subagent_input_includes_skill_memory_and_improvement_contract ... ok [INFO] [stdout] test sync_runtime::tests::empty_uid_range_advances_only_the_requested_batch ... ok [INFO] [stdout] test subagent_runtime::tests::task_payload_requires_mail_assistant_creator ... ok [INFO] [stdout] test tui::app::tests::active_legacy_specialist_thread_chats_through_mail_assistant ... ok [INFO] [stdout] test tui::app::tests::chat_composer_allows_typing_n_without_opening_new_thread ... ok [INFO] [stdout] test tui::app::tests::loaded_catalog_hides_advanced_agents_in_tui ... ok [INFO] [stdout] test tui::app::tests::switching_to_emails_requests_initial_load ... ok [INFO] [stdout] test tui::app::tests::new_thread_flow_enters_draft_mode ... ok [INFO] [stdout] test tui::client::tests::error_text_suggests_starting_local_stack_for_connection_refused ... ok [INFO] [stdout] test tui::client::tests::normalize_base_url_keeps_expected_origin ... ok [INFO] [stdout] test tui::client::tests::parse_chat_stream_event_round_trip ... ok [INFO] [stdout] test tui::ui::tests::transcript_scroll_accounts_for_wrapped_lines ... ok [INFO] [stdout] test tui::ui::tests::transcript_scroll_zero_tracks_bottom ... ok [INFO] [stdout] test ai_analysis::tests::email_analyzer_agent_prompt_shares_user_configured_alert_policy ... ok [INFO] [stdout] test tui::app::tests::chat_about_selected_email_prepares_draft_context ... ok [INFO] [stdout] test tui::ui::tests::chat_tab_renders_visible_composer_contents ... ok [INFO] [stdout] test ai_analysis::tests::email_analyzer_agent_prompt_shares_summary_detail_contract ... ok [INFO] [stdout] test ai_analysis::tests::email_analyzer_agent_prompt_shares_property_guidance_policy ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mailsubsystem-525c673bc88b8e2e) [INFO] [stderr] Doc-tests mailsubsystem_daemon [INFO] [stdout] test rate_limit::tests::rate_limiter_enforces_interval ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 238 passed; 0 failed; 30 ignored; 0 measured; 0 filtered out; finished in 0.68s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9c6ccb2cf22a6fb933932f60e4acd792c718cb375c65ef13852b9dd8ca94e202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c6ccb2cf22a6fb933932f60e4acd792c718cb375c65ef13852b9dd8ca94e202", kill_on_drop: false }` [INFO] [stdout] 9c6ccb2cf22a6fb933932f60e4acd792c718cb375c65ef13852b9dd8ca94e202