[INFO] cloning repository https://github.com/Ddfang-sdf/ExploreAIAgent
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ddfang-sdf/ExploreAIAgent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDdfang-sdf%2FExploreAIAgent", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDdfang-sdf%2FExploreAIAgent'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2b2d1d6bfd8ed6e3109728b417bcc02b385fc162
[INFO] checking Ddfang-sdf/ExploreAIAgent against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDdfang-sdf%2FExploreAIAgent" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Ddfang-sdf/ExploreAIAgent
[INFO] finished tweaking git repo https://github.com/Ddfang-sdf/ExploreAIAgent
[INFO] tweaked toml for git repo https://github.com/Ddfang-sdf/ExploreAIAgent written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Ddfang-sdf/ExploreAIAgent on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Ddfang-sdf/ExploreAIAgent 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tower-http v0.5.2
[INFO] [stderr]   Downloaded unit-prefix v0.5.2
[INFO] [stderr]   Downloaded minreq v2.14.1
[INFO] [stderr]   Downloaded matchit v0.7.3
[INFO] [stderr]   Downloaded console v0.16.3
[INFO] [stderr]   Downloaded indicatif v0.18.4
[INFO] [stderr]   Downloaded axum-core v0.4.5
[INFO] [stderr]   Downloaded cc v1.2.61
[INFO] [stderr]   Downloaded crossterm v0.28.1
[INFO] [stderr]   Downloaded axum v0.7.9
[INFO] [stderr]   Downloaded rustix v0.38.44
[INFO] [stderr]   Downloaded tokio v1.52.2
[INFO] [stderr]   Downloaded linux-raw-sys v0.4.15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f08e5e6c651134401e91054e4b0b54298ce5f27b60de19ff7af5bbd69e3b5c1c
[INFO] running `Command { std: "docker" "start" "-a" "f08e5e6c651134401e91054e4b0b54298ce5f27b60de19ff7af5bbd69e3b5c1c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f08e5e6c651134401e91054e4b0b54298ce5f27b60de19ff7af5bbd69e3b5c1c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f08e5e6c651134401e91054e4b0b54298ce5f27b60de19ff7af5bbd69e3b5c1c", kill_on_drop: false }`
[INFO] [stdout] f08e5e6c651134401e91054e4b0b54298ce5f27b60de19ff7af5bbd69e3b5c1c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3c23c2d70e487f009af1e42a6fa7317cb30ca4bf5e3595867d685db9b97e4ce4
[INFO] running `Command { std: "docker" "start" "-a" "3c23c2d70e487f009af1e42a6fa7317cb30ca4bf5e3595867d685db9b97e4ce4", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking pin-project-lite v0.2.17
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking litemap v0.8.2
[INFO] [stderr]     Checking writeable v0.6.3
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]     Checking rustls-pki-types v1.14.1
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]     Checking ryu v1.0.23
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]     Checking ipnet v2.12.0
[INFO] [stderr]     Checking anstyle-parse v1.0.0
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking anstyle v1.0.14
[INFO] [stderr]     Checking colorchoice v1.0.5
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]     Checking webpki-roots v1.0.7
[INFO] [stderr]     Checking hashbrown v0.17.0
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking anstream v1.0.0
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking clap_lex v1.1.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking clap_builder v4.6.0
[INFO] [stderr]     Checking webpki-roots v0.25.4
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking unit-prefix v0.5.2
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking fastrand v2.4.1
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling explore-ai-agent v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking console v0.16.3
[INFO] [stderr]     Checking uuid v1.23.1
[INFO] [stderr]     Checking signal-hook-mio v0.2.5
[INFO] [stderr]     Checking indicatif v0.18.4
[INFO] [stderr]     Checking crossterm v0.28.1
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]     Checking tokio v1.52.2
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking minreq v2.14.1
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking tower-http v0.6.10
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stdout] warning: unused import: `LlmStructuredClient`
[INFO] [stdout]  --> src/agents/main_agent.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::adapter::api_adapter::{ApiAdapter, LlmStructuredClient, LlmToolClient};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LlmStructuredClient`
[INFO] [stdout]  --> src/orchestrator/orchestrator.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::adapter::api_adapter::{ApiAdapter, LlmStructuredClient};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LlmStructuredClient`
[INFO] [stdout]  --> src/agents/main_agent.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::adapter::api_adapter::{ApiAdapter, LlmStructuredClient, LlmToolClient};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LlmStructuredClient`
[INFO] [stdout]  --> src/orchestrator/orchestrator.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::adapter::api_adapter::{ApiAdapter, LlmStructuredClient};
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/tools/execute_shell.rs:621:13
[INFO] [stdout]     |
[INFO] [stdout] 621 |         let mut working_dir_str = working_dir.to_string_lossy().to_string();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/tools/execute_shell.rs:621:13
[INFO] [stdout]     |
[INFO] [stdout] 621 |         let mut working_dir_str = working_dir.to_string_lossy().to_string();
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `current_event` is assigned to, but never used
[INFO] [stdout]    --> src/adapter/retry.rs:340:21
[INFO] [stdout]     |
[INFO] [stdout] 340 |                 let mut current_event: Option<String> = None;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_current_event` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `current_event` is never read
[INFO] [stdout]    --> src/adapter/retry.rs:346:25
[INFO] [stdout]     |
[INFO] [stdout] 346 |                         current_event = Some(line[7..].to_string());
[INFO] [stdout]     |                         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `current_event` is assigned to, but never used
[INFO] [stdout]    --> src/adapter/retry.rs:340:21
[INFO] [stdout]     |
[INFO] [stdout] 340 |                 let mut current_event: Option<String> = None;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_current_event` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `current_event` is never read
[INFO] [stdout]    --> src/adapter/retry.rs:346:25
[INFO] [stdout]     |
[INFO] [stdout] 346 |                         current_event = Some(line[7..].to_string());
[INFO] [stdout]     |                         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `retryable_status` is never used
[INFO] [stdout]  --> src/adapter/retry.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub(crate) fn retryable_status(status: i32) -> bool {
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse_retry_after` is never used
[INFO] [stdout]   --> src/adapter/retry.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl ApiAdapter {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn parse_retry_after(resp: &minreq::Response) -> Option<u64> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `retryable_status` is never used
[INFO] [stdout]  --> src/adapter/retry.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub(crate) fn retryable_status(status: i32) -> bool {
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse_retry_after` is never used
[INFO] [stdout]   --> src/adapter/retry.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl ApiAdapter {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn parse_retry_after(resp: &minreq::Response) -> Option<u64> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> tests/test_conversation_manager.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let _ = manager.save_conversation("session-1", "Hello", "Hi there");
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^---------------------------------- argument #4 of type `Vec<Value>` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/conversation/manager.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn save_conversation(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let _ = manager.save_conversation("session-1", "Hello", "Hi there", /* Vec<Value> */);
[INFO] [stdout]    |                                                                       ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `explore_ai_agent::agents::quality_evaluator`
[INFO] [stdout]  --> tests/test_quality_evaluator.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | use explore_ai_agent::agents::quality_evaluator::*;
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^^ could not find `quality_evaluator` in `agents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `explore_ai_agent::context::exploration`
[INFO] [stdout]  --> tests/test_orchestrator.rs:2:32
[INFO] [stdout]   |
[INFO] [stdout] 2 | use explore_ai_agent::context::exploration::ExplorationContextTool;
[INFO] [stdout]   |                                ^^^^^^^^^^^ could not find `exploration` in `context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> tests/test_conversation_manager.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 42 |       let result = manager.save_conversation(
[INFO] [stdout]    |  __________________________^^^^^^^^^^^^^^^^^-
[INFO] [stdout] 43 | |         "session-1",
[INFO] [stdout] 44 | |         "What is BooleanValidator?",
[INFO] [stdout] 45 | |         "BooleanValidator is a class for boolean validation.",
[INFO] [stdout] 46 | |     );
[INFO] [stdout]    | |_____- argument #4 of type `Vec<Value>` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/conversation/manager.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn save_conversation(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let result = manager.save_conversation(
[INFO] [stdout] ...
[INFO] [stdout] 45 |         "BooleanValidator is a class for boolean validation.",
[INFO] [stdout] 46 ~         /* Vec<Value> */,
[INFO] [stdout] 47 ~     );
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `explore_ai_agent::context::exploration`
[INFO] [stdout]  --> tests/test_exploration_context.rs:1:32
[INFO] [stdout]   |
[INFO] [stdout] 1 | use explore_ai_agent::context::exploration::*;
[INFO] [stdout]   |                                ^^^^^^^^^^^ could not find `exploration` in `context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `explore_ai_agent::context::exploration`
[INFO] [stdout]  --> tests/test_exploration_context_tool_executor.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | use explore_ai_agent::context::exploration::ExplorationContextTool;
[INFO] [stdout]   |                                ^^^^^^^^^^^ could not find `exploration` in `context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `explore_ai_agent::context::exploration`
[INFO] [stdout]    --> tests/test_e2e_shell.rs:230:36
[INFO] [stdout]     |
[INFO] [stdout] 230 |     use explore_ai_agent::context::exploration::ExplorationContextTool;
[INFO] [stdout]     |                                    ^^^^^^^^^^^ could not find `exploration` in `context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> tests/test_e2e_shell.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> tests/test_conversation_manager.rs:57:25
[INFO] [stdout]    |
[INFO] [stdout] 57 |           let _ = manager.save_conversation(
[INFO] [stdout]    |  _________________________^^^^^^^^^^^^^^^^^-
[INFO] [stdout] 58 | |             "session-1",
[INFO] [stdout] 59 | |             &format!("Question {}", i),
[INFO] [stdout] 60 | |             &format!("Answer {}", i),
[INFO] [stdout] 61 | |         );
[INFO] [stdout]    | |_________- argument #4 of type `Vec<Value>` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/conversation/manager.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn save_conversation(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let _ = manager.save_conversation(
[INFO] [stdout] ...
[INFO] [stdout] 60 |             &format!("Answer {}", i),
[INFO] [stdout] 61 ~             /* Vec<Value> */,
[INFO] [stdout] 62 ~         );
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `explore_ai_agent::agents::tool_result_refiner`
[INFO] [stdout]  --> tests/test_tool_result_refiner.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | use explore_ai_agent::agents::tool_result_refiner::*;
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^^^^ could not find `tool_result_refiner` in `agents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> tests/test_conversation_manager.rs:72:26
[INFO] [stdout]    |
[INFO] [stdout] 72 |       let result = manager.save_conversation(
[INFO] [stdout]    |  __________________________^^^^^^^^^^^^^^^^^-
[INFO] [stdout] 73 | |         "nonexistent",
[INFO] [stdout] 74 | |         "What is BooleanValidator?",
[INFO] [stdout] 75 | |         "BooleanValidator is a class for boolean validation.",
[INFO] [stdout] 76 | |     );
[INFO] [stdout]    | |_____- argument #4 of type `Vec<Value>` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/conversation/manager.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn save_conversation(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let result = manager.save_conversation(
[INFO] [stdout] ...
[INFO] [stdout] 75 |         "BooleanValidator is a class for boolean validation.",
[INFO] [stdout] 76 ~         /* Vec<Value> */,
[INFO] [stdout] 77 ~     );
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `explore_ai_agent::context::exploration`
[INFO] [stdout]  --> tests/test_main_agent.rs:5:32
[INFO] [stdout]   |
[INFO] [stdout] 5 | use explore_ai_agent::context::exploration::ExplorationContextTool;
[INFO] [stdout]   |                                ^^^^^^^^^^^ could not find `exploration` in `context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]    --> tests/test_conversation_manager.rs:106:25
[INFO] [stdout]     |
[INFO] [stdout] 106 |           let _ = manager.save_conversation(
[INFO] [stdout]     |  _________________________^^^^^^^^^^^^^^^^^-
[INFO] [stdout] 107 | |             "session-1",
[INFO] [stdout] 108 | |             &format!("Q{}", i),
[INFO] [stdout] 109 | |             &format!("A{}", i),
[INFO] [stdout] 110 | |         );
[INFO] [stdout]     | |_________- argument #4 of type `Vec<Value>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/conversation/manager.rs:70:12
[INFO] [stdout]     |
[INFO] [stdout]  70 |     pub fn save_conversation(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let _ = manager.save_conversation(
[INFO] [stdout] ...
[INFO] [stdout] 109 |             &format!("A{}", i),
[INFO] [stdout] 110 ~             /* Vec<Value> */,
[INFO] [stdout] 111 ~         );
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]    --> tests/test_conversation_manager.rs:135:25
[INFO] [stdout]     |
[INFO] [stdout] 135 |           let _ = manager.save_conversation(
[INFO] [stdout]     |  _________________________^^^^^^^^^^^^^^^^^-
[INFO] [stdout] 136 | |             "session-1",
[INFO] [stdout] 137 | |             &format!("Question about topic {}", i),
[INFO] [stdout] 138 | |             &format!("Detailed answer about topic {}", i),
[INFO] [stdout] 139 | |         );
[INFO] [stdout]     | |_________- argument #4 of type `Vec<Value>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/conversation/manager.rs:70:12
[INFO] [stdout]     |
[INFO] [stdout]  70 |     pub fn save_conversation(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 135 |         let _ = manager.save_conversation(
[INFO] [stdout] ...
[INFO] [stdout] 138 |             &format!("Detailed answer about topic {}", i),
[INFO] [stdout] 139 ~             /* Vec<Value> */,
[INFO] [stdout] 140 ~         );
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `previous_messages` in initializer of `ConversationOutput`
[INFO] [stdout]    --> tests/test_conversation_manager.rs:150:18
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let output = ConversationOutput {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^ missing `previous_messages`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 4 arguments were supplied
[INFO] [stdout]    --> tests/test_e2e_shell.rs:274:18
[INFO] [stdout]     |
[INFO] [stdout] 274 |     let result = FastExploreTool::execute(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 275 |         &vec!["search_target".to_string()],
[INFO] [stdout] 276 |         &registry, &ect, &(&qe),
[INFO] [stdout]     |                    ----  ------ unexpected argument #4 of type `&&MockQe`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    unexpected argument #3
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/tools/fast_explore_tool.rs:6:18
[INFO] [stdout]     |
[INFO] [stdout]   6 |     pub async fn execute(
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] help: remove the extra arguments
[INFO] [stdout]     |
[INFO] [stdout] 276 -         &registry, &ect, &(&qe),
[INFO] [stdout] 276 +         &registry,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]    --> tests/test_conversation_manager.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |       let _ = manager.save_conversation(
[INFO] [stdout]     |  _____________________^^^^^^^^^^^^^^^^^-
[INFO] [stdout] 185 | |         "session-1",
[INFO] [stdout] 186 | |         "What is BooleanValidator?",
[INFO] [stdout] 187 | |         "BooleanValidator is a class for boolean validation with configurable parameters.",
[INFO] [stdout] 188 | |     );
[INFO] [stdout]     | |_____- argument #4 of type `Vec<Value>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/conversation/manager.rs:70:12
[INFO] [stdout]     |
[INFO] [stdout]  70 |     pub fn save_conversation(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 184 |     let _ = manager.save_conversation(
[INFO] [stdout] ...
[INFO] [stdout] 187 |         "BooleanValidator is a class for boolean validation with configurable parameters.",
[INFO] [stdout] 188 ~         /* Vec<Value> */,
[INFO] [stdout] 189 ~     );
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `&CapturingMock: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:710:49
[INFO] [stdout]     |
[INFO] [stdout] 710 |     let _ = agent.run("测试", "", fe, de, &shell, &&capturing, Arc::new(ExplorationContextTool::new("ma".into())), !enable_fe && !e...
[INFO] [stdout]     |                                                   ^^^^^^^^^^^ the trait `ModelAdapter` is not implemented for `&CapturingMock`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&&CapturingMock` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `explore-ai-agent` (test "test_exploration_context_tool_executor") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0061, E0063.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `explore-ai-agent` (test "test_conversation_manager") due to 8 previous errors
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:710:19
[INFO] [stdout]     |
[INFO] [stdout] 710 | ...nt.run("测试", "", fe, de, &shell, &&capturing, Arc::new(ExplorationContextTool::new("ma".into())), !enable_fe && !enable_de, 500, 10240, N...
[INFO] [stdout]     |       ^^^                                          --------------------------------------------------                            ---  ----- unexpected argument #10 of type `{integer}`
[INFO] [stdout]     |                                                    |                                                                             |
[INFO] [stdout]     |                                                    |                                                                             unexpected argument #9 of type `{integer}`
[INFO] [stdout]     |                                                    unexpected argument #7                                                        argument #9 of type `Arc<Atomic<bool>>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:710:29
[INFO] [stdout]     |
[INFO] [stdout] 710 |     let _ = agent.run("测试", "", fe, de, &shell, &&capturing, Arc::new(ExplorationContextTool::new("ma".into())), !enable_fe && !e...
[INFO] [stdout]     |                               ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&dyn FastExploreExecutor>`
[INFO] [stdout]    --> tests/test_main_agent.rs:710:33
[INFO] [stdout]     |
[INFO] [stdout] 710 |     let _ = agent.run("测试", "", fe, de, &shell, &&capturing, Arc::new(ExplorationContextTool::new("ma".into())), !enable_fe && !e...
[INFO] [stdout]     |                                   ^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&dyn FastExploreExecutor>`
[INFO] [stdout] note: expected `&dyn ToolDispatcher`, found `Option<&dyn DeepExploreExecutor>`
[INFO] [stdout]    --> tests/test_main_agent.rs:710:37
[INFO] [stdout]     |
[INFO] [stdout] 710 |     let _ = agent.run("测试", "", fe, de, &shell, &&capturing, Arc::new(ExplorationContextTool::new("ma".into())), !enable_fe && !e...
[INFO] [stdout]     |                                       ^^
[INFO] [stdout]     = note: expected reference `&dyn ToolDispatcher`
[INFO] [stdout]                     found enum `Option<&dyn DeepExploreExecutor>`
[INFO] [stdout] note: expected `Arc<ApiAdapter>`, found `&MockShellExecute`
[INFO] [stdout]    --> tests/test_main_agent.rs:710:41
[INFO] [stdout]     |
[INFO] [stdout] 710 |     let _ = agent.run("测试", "", fe, de, &shell, &&capturing, Arc::new(ExplorationContextTool::new("ma".into())), !enable_fe && !e...
[INFO] [stdout]     |                                           ^^^^^^
[INFO] [stdout]     = note: expected struct `Arc<ApiAdapter>`
[INFO] [stdout]             found reference `&MockShellExecute`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 710 -     let _ = agent.run("测试", "", fe, de, &shell, &&capturing, Arc::new(ExplorationContextTool::new("ma".into())), !enable_fe && !enable_de, 500, 10240, None).await;
[INFO] [stdout] 710 +     let _ = agent.run("测试", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &&capturing, !enable_fe && !enable_de, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `action_schema` found for struct `MainAgent` in the current scope
[INFO] [stdout]    --> tests/test_main_agent.rs:156:29
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let schema = MainAgent::action_schema();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ associated function or constant not found in `MainAgent`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `MainAgent`, consider using `MainAgent::new` which returns `MainAgent`
[INFO] [stdout]    --> src/agents/main_agent.rs:82:5
[INFO] [stdout]     |
[INFO] [stdout]  82 |     pub fn new() -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `action_schema` found for struct `MainAgent` in the current scope
[INFO] [stdout]    --> tests/test_main_agent.rs:165:29
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let schema = MainAgent::action_schema();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ associated function or constant not found in `MainAgent`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `MainAgent`, consider using `MainAgent::new` which returns `MainAgent`
[INFO] [stdout]    --> src/agents/main_agent.rs:82:5
[INFO] [stdout]     |
[INFO] [stdout]  82 |     pub fn new() -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `explore-ai-agent` (test "test_e2e_shell") due to 2 previous errors; 1 warning emitted
[INFO] [stdout] error[E0599]: no associated function or constant named `action_schema` found for struct `MainAgent` in the current scope
[INFO] [stdout]    --> tests/test_main_agent.rs:174:29
[INFO] [stdout]     |
[INFO] [stdout] 174 |     let schema = MainAgent::action_schema();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ associated function or constant not found in `MainAgent`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `MainAgent`, consider using `MainAgent::new` which returns `MainAgent`
[INFO] [stdout]    --> src/agents/main_agent.rs:82:5
[INFO] [stdout]     |
[INFO] [stdout]  82 |     pub fn new() -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:266:68
[INFO] [stdout]     |
[INFO] [stdout] 266 |     let result = agent.run("你好", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                                      ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_orchestrator.rs:31:33
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let result = orch.run("你好", "", Arc::new(ect)).await;
[INFO] [stdout]    |                       ---         ^^ expected `&[Value]`, found `&str`
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&[serde_json::value::Value]`
[INFO] [stdout]               found reference `&'static str`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/orchestrator/orchestrator.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub async fn run(
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:266:24
[INFO] [stdout]     |
[INFO] [stdout] 266 | ...nt.run("你好", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, N...
[INFO] [stdout]     |       ^^^                                                  -------------------------------------------------------         ---  ----- unexpected argument #10 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               |
[INFO] [stdout]     |                                                            |                                                               unexpected argument #9 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               argument #9 of type `Arc<Atomic<bool>>` is missing
[INFO] [stdout]     |                                                            unexpected argument #7
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:266:34
[INFO] [stdout]     |
[INFO] [stdout] 266 |     let result = agent.run("你好", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                    ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:266:38
[INFO] [stdout]     |
[INFO] [stdout] 266 |     let result = agent.run("你好", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                        ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `&dyn ToolDispatcher`, found `Option<&MockDeepExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:266:49
[INFO] [stdout]     |
[INFO] [stdout] 266 |     let result = agent.run("你好", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                   ^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&dyn ToolDispatcher`
[INFO] [stdout]                     found enum `Option<&MockDeepExplore>`
[INFO] [stdout] note: expected `Arc<ApiAdapter>`, found `&MockShellExecute`
[INFO] [stdout]    --> tests/test_main_agent.rs:266:60
[INFO] [stdout]     |
[INFO] [stdout] 266 |     let result = agent.run("你好", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                              ^^^^^^
[INFO] [stdout]     = note: expected struct `Arc<ApiAdapter>`
[INFO] [stdout]             found reference `&MockShellExecute`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 266 -     let result = agent.run("你好", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout] 266 +     let result = agent.run("你好", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &mock, false, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:281:70
[INFO] [stdout]     |
[INFO] [stdout] 281 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                                      ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_orchestrator.rs:41:35
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let result = orch.run("test", "", Arc::new(ect)).await;
[INFO] [stdout]    |                       ---         ^^ expected `&[Value]`, found `&str`
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&[serde_json::value::Value]`
[INFO] [stdout]               found reference `&'static str`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/orchestrator/orchestrator.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub async fn run(
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:281:24
[INFO] [stdout]     |
[INFO] [stdout] 281 | ...nt.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, N...
[INFO] [stdout]     |       ^^^                                                  -------------------------------------------------------         ---  ----- unexpected argument #10 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               |
[INFO] [stdout]     |                                                            |                                                               unexpected argument #9 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               argument #9 of type `Arc<Atomic<bool>>` is missing
[INFO] [stdout]     |                                                            unexpected argument #7
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:281:36
[INFO] [stdout]     |
[INFO] [stdout] 281 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                    ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:281:40
[INFO] [stdout]     |
[INFO] [stdout] 281 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                        ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `&dyn ToolDispatcher`, found `Option<&MockDeepExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:281:51
[INFO] [stdout]     |
[INFO] [stdout] 281 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                   ^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&dyn ToolDispatcher`
[INFO] [stdout]                     found enum `Option<&MockDeepExplore>`
[INFO] [stdout] note: expected `Arc<ApiAdapter>`, found `&MockShellExecute`
[INFO] [stdout]    --> tests/test_main_agent.rs:281:62
[INFO] [stdout]     |
[INFO] [stdout] 281 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                              ^^^^^^
[INFO] [stdout]     = note: expected struct `Arc<ApiAdapter>`
[INFO] [stdout]             found reference `&MockShellExecute`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 281 -     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout] 281 +     let result = agent.run("test", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &mock, false, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:296:70
[INFO] [stdout]     |
[INFO] [stdout] 296 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                                      ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_orchestrator.rs:51:35
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let result = orch.run("test", "", Arc::new(ect)).await;
[INFO] [stdout]    |                       ---         ^^ expected `&[Value]`, found `&str`
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&[serde_json::value::Value]`
[INFO] [stdout]               found reference `&'static str`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/orchestrator/orchestrator.rs:76:18
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub async fn run(
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:296:24
[INFO] [stdout]     |
[INFO] [stdout] 296 | ...nt.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, N...
[INFO] [stdout]     |       ^^^                                                  -------------------------------------------------------         ---  ----- unexpected argument #10 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               |
[INFO] [stdout]     |                                                            |                                                               unexpected argument #9 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               argument #9 of type `Arc<Atomic<bool>>` is missing
[INFO] [stdout]     |                                                            unexpected argument #7
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:296:36
[INFO] [stdout]     |
[INFO] [stdout] 296 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                    ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:296:40
[INFO] [stdout]     |
[INFO] [stdout] 296 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                        ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `&dyn ToolDispatcher`, found `Option<&MockDeepExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:296:51
[INFO] [stdout]     |
[INFO] [stdout] 296 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                   ^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&dyn ToolDispatcher`
[INFO] [stdout]                     found enum `Option<&MockDeepExplore>`
[INFO] [stdout] note: expected `Arc<ApiAdapter>`, found `&MockShellExecute`
[INFO] [stdout]    --> tests/test_main_agent.rs:296:62
[INFO] [stdout]     |
[INFO] [stdout] 296 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                              ^^^^^^
[INFO] [stdout]     = note: expected struct `Arc<ApiAdapter>`
[INFO] [stdout]             found reference `&MockShellExecute`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 296 -     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout] 296 +     let result = agent.run("test", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &mock, false, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:313:65
[INFO] [stdout]     |
[INFO] [stdout] 313 |     let _ = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), fal...
[INFO] [stdout]     |                                                                 ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:313:19
[INFO] [stdout]     |
[INFO] [stdout] 313 | ...nt.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, N...
[INFO] [stdout]     |       ^^^                                                  -------------------------------------------------------         ---  ----- unexpected argument #10 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               |
[INFO] [stdout]     |                                                            |                                                               unexpected argument #9 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               argument #9 of type `Arc<Atomic<bool>>` is missing
[INFO] [stdout]     |                                                            unexpected argument #7
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:313:31
[INFO] [stdout]     |
[INFO] [stdout] 313 |     let _ = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), fal...
[INFO] [stdout]     |                               ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:313:35
[INFO] [stdout]     |
[INFO] [stdout] 313 |     let _ = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), fal...
[INFO] [stdout]     |                                   ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `&dyn ToolDispatcher`, found `Option<&MockDeepExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:313:46
[INFO] [stdout]     |
[INFO] [stdout] 313 |     let _ = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), fal...
[INFO] [stdout]     |                                              ^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&dyn ToolDispatcher`
[INFO] [stdout]                     found enum `Option<&MockDeepExplore>`
[INFO] [stdout] note: expected `Arc<ApiAdapter>`, found `&MockShellExecute`
[INFO] [stdout]    --> tests/test_main_agent.rs:313:57
[INFO] [stdout]     |
[INFO] [stdout] 313 |     let _ = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), fal...
[INFO] [stdout]     |                                                         ^^^^^^
[INFO] [stdout]     = note: expected struct `Arc<ApiAdapter>`
[INFO] [stdout]             found reference `&MockShellExecute`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 313 -     let _ = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout] 313 +     let _ = agent.run("test", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &mock, false, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:329:65
[INFO] [stdout]     |
[INFO] [stdout] 329 |     let _ = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), fal...
[INFO] [stdout]     |                                                                 ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:329:19
[INFO] [stdout]     |
[INFO] [stdout] 329 | ...nt.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, N...
[INFO] [stdout]     |       ^^^                                                  -------------------------------------------------------         ---  ----- unexpected argument #10 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               |
[INFO] [stdout]     |                                                            |                                                               unexpected argument #9 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               argument #9 of type `Arc<Atomic<bool>>` is missing
[INFO] [stdout]     |                                                            unexpected argument #7
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:329:31
[INFO] [stdout]     |
[INFO] [stdout] 329 |     let _ = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), fal...
[INFO] [stdout]     |                               ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:329:35
[INFO] [stdout]     |
[INFO] [stdout] 329 |     let _ = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), fal...
[INFO] [stdout]     |                                   ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `&dyn ToolDispatcher`, found `Option<&MockDeepExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:329:46
[INFO] [stdout]     |
[INFO] [stdout] 329 |     let _ = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), fal...
[INFO] [stdout]     |                                              ^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&dyn ToolDispatcher`
[INFO] [stdout]                     found enum `Option<&MockDeepExplore>`
[INFO] [stdout] note: expected `Arc<ApiAdapter>`, found `&MockShellExecute`
[INFO] [stdout]    --> tests/test_main_agent.rs:329:57
[INFO] [stdout]     |
[INFO] [stdout] 329 |     let _ = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), fal...
[INFO] [stdout]     |                                                         ^^^^^^
[INFO] [stdout]     = note: expected struct `Arc<ApiAdapter>`
[INFO] [stdout]             found reference `&MockShellExecute`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 329 -     let _ = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout] 329 +     let _ = agent.run("test", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &mock, false, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:349:70
[INFO] [stdout]     |
[INFO] [stdout] 349 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                                      ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:349:24
[INFO] [stdout]     |
[INFO] [stdout] 349 | ...nt.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, N...
[INFO] [stdout]     |       ^^^                                                  -------------------------------------------------------         ---  ----- unexpected argument #10 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               |
[INFO] [stdout]     |                                                            |                                                               unexpected argument #9 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               argument #9 of type `Arc<Atomic<bool>>` is missing
[INFO] [stdout]     |                                                            unexpected argument #7
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:349:36
[INFO] [stdout]     |
[INFO] [stdout] 349 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                    ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:349:40
[INFO] [stdout]     |
[INFO] [stdout] 349 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                        ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `&dyn ToolDispatcher`, found `Option<&MockDeepExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:349:51
[INFO] [stdout]     |
[INFO] [stdout] 349 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                   ^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&dyn ToolDispatcher`
[INFO] [stdout]                     found enum `Option<&MockDeepExplore>`
[INFO] [stdout] note: expected `Arc<ApiAdapter>`, found `&MockShellExecute`
[INFO] [stdout]    --> tests/test_main_agent.rs:349:62
[INFO] [stdout]     |
[INFO] [stdout] 349 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                              ^^^^^^
[INFO] [stdout]     = note: expected struct `Arc<ApiAdapter>`
[INFO] [stdout]             found reference `&MockShellExecute`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 349 -     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout] 349 +     let result = agent.run("test", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &mock, false, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:364:70
[INFO] [stdout]     |
[INFO] [stdout] 364 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                                      ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `explore-ai-agent` (test "test_orchestrator") due to 4 previous errors
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:364:24
[INFO] [stdout]     |
[INFO] [stdout] 364 | ...nt.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, N...
[INFO] [stdout]     |       ^^^                                                  -------------------------------------------------------         ---  ----- unexpected argument #10 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               |
[INFO] [stdout]     |                                                            |                                                               unexpected argument #9 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               argument #9 of type `Arc<Atomic<bool>>` is missing
[INFO] [stdout]     |                                                            unexpected argument #7
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:364:36
[INFO] [stdout]     |
[INFO] [stdout] 364 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                    ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:364:40
[INFO] [stdout]     |
[INFO] [stdout] 364 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                        ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `&dyn ToolDispatcher`, found `Option<&MockDeepExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:364:51
[INFO] [stdout]     |
[INFO] [stdout] 364 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                   ^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&dyn ToolDispatcher`
[INFO] [stdout]                     found enum `Option<&MockDeepExplore>`
[INFO] [stdout] note: expected `Arc<ApiAdapter>`, found `&MockShellExecute`
[INFO] [stdout]    --> tests/test_main_agent.rs:364:62
[INFO] [stdout]     |
[INFO] [stdout] 364 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                              ^^^^^^
[INFO] [stdout]     = note: expected struct `Arc<ApiAdapter>`
[INFO] [stdout]             found reference `&MockShellExecute`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 364 -     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout] 364 +     let result = agent.run("test", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &mock, false, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:380:70
[INFO] [stdout]     |
[INFO] [stdout] 380 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                                      ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:380:24
[INFO] [stdout]     |
[INFO] [stdout] 380 | ...nt.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, N...
[INFO] [stdout]     |       ^^^                                                  -------------------------------------------------------         ---  ----- unexpected argument #10 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               |
[INFO] [stdout]     |                                                            |                                                               unexpected argument #9 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               argument #9 of type `Arc<Atomic<bool>>` is missing
[INFO] [stdout]     |                                                            unexpected argument #7
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:380:36
[INFO] [stdout]     |
[INFO] [stdout] 380 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                    ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:380:40
[INFO] [stdout]     |
[INFO] [stdout] 380 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                        ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `&dyn ToolDispatcher`, found `Option<&MockDeepExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:380:51
[INFO] [stdout]     |
[INFO] [stdout] 380 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                   ^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&dyn ToolDispatcher`
[INFO] [stdout]                     found enum `Option<&MockDeepExplore>`
[INFO] [stdout] note: expected `Arc<ApiAdapter>`, found `&MockShellExecute`
[INFO] [stdout]    --> tests/test_main_agent.rs:380:62
[INFO] [stdout]     |
[INFO] [stdout] 380 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                              ^^^^^^
[INFO] [stdout]     = note: expected struct `Arc<ApiAdapter>`
[INFO] [stdout]             found reference `&MockShellExecute`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 380 -     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout] 380 +     let result = agent.run("test", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &mock, false, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:395:70
[INFO] [stdout]     |
[INFO] [stdout] 395 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                                      ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:395:24
[INFO] [stdout]     |
[INFO] [stdout] 395 | ...nt.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, N...
[INFO] [stdout]     |       ^^^                                                  -------------------------------------------------------         ---  ----- unexpected argument #10 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               |
[INFO] [stdout]     |                                                            |                                                               unexpected argument #9 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               argument #9 of type `Arc<Atomic<bool>>` is missing
[INFO] [stdout]     |                                                            unexpected argument #7
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:395:36
[INFO] [stdout]     |
[INFO] [stdout] 395 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                    ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:395:40
[INFO] [stdout]     |
[INFO] [stdout] 395 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                        ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `&dyn ToolDispatcher`, found `Option<&MockDeepExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:395:51
[INFO] [stdout]     |
[INFO] [stdout] 395 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                   ^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&dyn ToolDispatcher`
[INFO] [stdout]                     found enum `Option<&MockDeepExplore>`
[INFO] [stdout] note: expected `Arc<ApiAdapter>`, found `&MockShellExecute`
[INFO] [stdout]    --> tests/test_main_agent.rs:395:62
[INFO] [stdout]     |
[INFO] [stdout] 395 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                              ^^^^^^
[INFO] [stdout]     = note: expected struct `Arc<ApiAdapter>`
[INFO] [stdout]             found reference `&MockShellExecute`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 395 -     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout] 395 +     let result = agent.run("test", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &mock, false, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:409:70
[INFO] [stdout]     |
[INFO] [stdout] 409 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                                      ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:409:24
[INFO] [stdout]     |
[INFO] [stdout] 409 | ...nt.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, N...
[INFO] [stdout]     |       ^^^                                                  -------------------------------------------------------         ---  ----- unexpected argument #10 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               |
[INFO] [stdout]     |                                                            |                                                               unexpected argument #9 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               argument #9 of type `Arc<Atomic<bool>>` is missing
[INFO] [stdout]     |                                                            unexpected argument #7
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:409:36
[INFO] [stdout]     |
[INFO] [stdout] 409 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                    ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:409:40
[INFO] [stdout]     |
[INFO] [stdout] 409 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                        ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `&dyn ToolDispatcher`, found `Option<&MockDeepExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:409:51
[INFO] [stdout]     |
[INFO] [stdout] 409 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                   ^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&dyn ToolDispatcher`
[INFO] [stdout]                     found enum `Option<&MockDeepExplore>`
[INFO] [stdout] note: expected `Arc<ApiAdapter>`, found `&MockShellExecute`
[INFO] [stdout]    --> tests/test_main_agent.rs:409:62
[INFO] [stdout]     |
[INFO] [stdout] 409 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                              ^^^^^^
[INFO] [stdout]     = note: expected struct `Arc<ApiAdapter>`
[INFO] [stdout]             found reference `&MockShellExecute`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 409 -     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout] 409 +     let result = agent.run("test", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &mock, false, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:425:70
[INFO] [stdout]     |
[INFO] [stdout] 425 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                                      ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:425:24
[INFO] [stdout]     |
[INFO] [stdout] 425 | ...nt.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, N...
[INFO] [stdout]     |       ^^^                                                  -------------------------------------------------------         ---  ----- unexpected argument #10 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               |
[INFO] [stdout]     |                                                            |                                                               unexpected argument #9 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               argument #9 of type `Arc<Atomic<bool>>` is missing
[INFO] [stdout]     |                                                            unexpected argument #7
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:425:36
[INFO] [stdout]     |
[INFO] [stdout] 425 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                    ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:425:40
[INFO] [stdout]     |
[INFO] [stdout] 425 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                        ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `&dyn ToolDispatcher`, found `Option<&MockDeepExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:425:51
[INFO] [stdout]     |
[INFO] [stdout] 425 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                   ^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&dyn ToolDispatcher`
[INFO] [stdout]                     found enum `Option<&MockDeepExplore>`
[INFO] [stdout] note: expected `Arc<ApiAdapter>`, found `&MockShellExecute`
[INFO] [stdout]    --> tests/test_main_agent.rs:425:62
[INFO] [stdout]     |
[INFO] [stdout] 425 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                              ^^^^^^
[INFO] [stdout]     = note: expected struct `Arc<ApiAdapter>`
[INFO] [stdout]             found reference `&MockShellExecute`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 425 -     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout] 425 +     let result = agent.run("test", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &mock, false, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:446:70
[INFO] [stdout]     |
[INFO] [stdout] 446 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                                      ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:446:24
[INFO] [stdout]     |
[INFO] [stdout] 446 | ...nt.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, N...
[INFO] [stdout]     |       ^^^                                                  -------------------------------------------------------         ---  ----- unexpected argument #10 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               |
[INFO] [stdout]     |                                                            |                                                               unexpected argument #9 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               argument #9 of type `Arc<Atomic<bool>>` is missing
[INFO] [stdout]     |                                                            unexpected argument #7
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:446:36
[INFO] [stdout]     |
[INFO] [stdout] 446 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                    ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:446:40
[INFO] [stdout]     |
[INFO] [stdout] 446 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                        ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `&dyn ToolDispatcher`, found `Option<&MockDeepExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:446:51
[INFO] [stdout]     |
[INFO] [stdout] 446 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                   ^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&dyn ToolDispatcher`
[INFO] [stdout]                     found enum `Option<&MockDeepExplore>`
[INFO] [stdout] note: expected `Arc<ApiAdapter>`, found `&MockShellExecute`
[INFO] [stdout]    --> tests/test_main_agent.rs:446:62
[INFO] [stdout]     |
[INFO] [stdout] 446 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                              ^^^^^^
[INFO] [stdout]     = note: expected struct `Arc<ApiAdapter>`
[INFO] [stdout]             found reference `&MockShellExecute`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 446 -     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout] 446 +     let result = agent.run("test", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &mock, false, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:464:65
[INFO] [stdout]     |
[INFO] [stdout] 464 |     let _ = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), fal...
[INFO] [stdout]     |                                                                 ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:464:19
[INFO] [stdout]     |
[INFO] [stdout] 464 | ...nt.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, N...
[INFO] [stdout]     |       ^^^                                                  -------------------------------------------------------         ---  ----- unexpected argument #10 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               |
[INFO] [stdout]     |                                                            |                                                               unexpected argument #9 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               argument #9 of type `Arc<Atomic<bool>>` is missing
[INFO] [stdout]     |                                                            unexpected argument #7
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:464:31
[INFO] [stdout]     |
[INFO] [stdout] 464 |     let _ = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), fal...
[INFO] [stdout]     |                               ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:464:35
[INFO] [stdout]     |
[INFO] [stdout] 464 |     let _ = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), fal...
[INFO] [stdout]     |                                   ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `&dyn ToolDispatcher`, found `Option<&MockDeepExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:464:46
[INFO] [stdout]     |
[INFO] [stdout] 464 |     let _ = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), fal...
[INFO] [stdout]     |                                              ^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&dyn ToolDispatcher`
[INFO] [stdout]                     found enum `Option<&MockDeepExplore>`
[INFO] [stdout] note: expected `Arc<ApiAdapter>`, found `&MockShellExecute`
[INFO] [stdout]    --> tests/test_main_agent.rs:464:57
[INFO] [stdout]     |
[INFO] [stdout] 464 |     let _ = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), fal...
[INFO] [stdout]     |                                                         ^^^^^^
[INFO] [stdout]     = note: expected struct `Arc<ApiAdapter>`
[INFO] [stdout]             found reference `&MockShellExecute`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 464 -     let _ = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout] 464 +     let _ = agent.run("test", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &mock, false, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:479:70
[INFO] [stdout]     |
[INFO] [stdout] 479 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                                      ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:479:24
[INFO] [stdout]     |
[INFO] [stdout] 479 | ...nt.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, N...
[INFO] [stdout]     |       ^^^                                                  -------------------------------------------------------         ---  ----- unexpected argument #10 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               |
[INFO] [stdout]     |                                                            |                                                               unexpected argument #9 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               argument #9 of type `Arc<Atomic<bool>>` is missing
[INFO] [stdout]     |                                                            unexpected argument #7
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:479:36
[INFO] [stdout]     |
[INFO] [stdout] 479 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                    ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:479:40
[INFO] [stdout]     |
[INFO] [stdout] 479 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                        ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `&dyn ToolDispatcher`, found `Option<&MockDeepExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:479:51
[INFO] [stdout]     |
[INFO] [stdout] 479 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                   ^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&dyn ToolDispatcher`
[INFO] [stdout]                     found enum `Option<&MockDeepExplore>`
[INFO] [stdout] note: expected `Arc<ApiAdapter>`, found `&MockShellExecute`
[INFO] [stdout]    --> tests/test_main_agent.rs:479:62
[INFO] [stdout]     |
[INFO] [stdout] 479 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                              ^^^^^^
[INFO] [stdout]     = note: expected struct `Arc<ApiAdapter>`
[INFO] [stdout]             found reference `&MockShellExecute`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 479 -     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout] 479 +     let result = agent.run("test", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &mock, false, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:499:70
[INFO] [stdout]     |
[INFO] [stdout] 499 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                                      ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:499:24
[INFO] [stdout]     |
[INFO] [stdout] 499 | ...nt.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, N...
[INFO] [stdout]     |       ^^^                                                  -------------------------------------------------------         ---  ----- unexpected argument #10 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               |
[INFO] [stdout]     |                                                            |                                                               unexpected argument #9 of type `{integer}`
[INFO] [stdout]     |                                                            |                                                               argument #9 of type `Arc<Atomic<bool>>` is missing
[INFO] [stdout]     |                                                            unexpected argument #7
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:499:36
[INFO] [stdout]     |
[INFO] [stdout] 499 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                    ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:499:40
[INFO] [stdout]     |
[INFO] [stdout] 499 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                        ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `&dyn ToolDispatcher`, found `Option<&MockDeepExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:499:51
[INFO] [stdout]     |
[INFO] [stdout] 499 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                   ^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&dyn ToolDispatcher`
[INFO] [stdout]                     found enum `Option<&MockDeepExplore>`
[INFO] [stdout] note: expected `Arc<ApiAdapter>`, found `&MockShellExecute`
[INFO] [stdout]    --> tests/test_main_agent.rs:499:62
[INFO] [stdout]     |
[INFO] [stdout] 499 |     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into()))...
[INFO] [stdout]     |                                                              ^^^^^^
[INFO] [stdout]     = note: expected struct `Arc<ApiAdapter>`
[INFO] [stdout]             found reference `&MockShellExecute`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 499 -     let result = agent.run("test", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout] 499 +     let result = agent.run("test", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &mock, false, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:514:74
[INFO] [stdout]     |
[INFO] [stdout] 514 |     let result = agent.run("项目有多少文件?", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-m...
[INFO] [stdout]     |                                                                                 ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:514:24
[INFO] [stdout]     |
[INFO] [stdout] 514 | ...nt.run("项目有多少文件?", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, N...
[INFO] [stdout]     |       ^^^                                                             -------------------------------------------------------         ---  ----- unexpected argument #10 of type `{integer}`
[INFO] [stdout]     |                                                                       |                                                               |
[INFO] [stdout]     |                                                                       |                                                               unexpected argument #9 of type `{integer}`
[INFO] [stdout]     |                                                                       |                                                               argument #9 of type `Arc<Atomic<bool>>` is missing
[INFO] [stdout]     |                                                                       unexpected argument #7
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:514:40
[INFO] [stdout]     |
[INFO] [stdout] 514 |     let result = agent.run("项目有多少文件?", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-m...
[INFO] [stdout]     |                                               ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:514:44
[INFO] [stdout]     |
[INFO] [stdout] 514 |     let result = agent.run("项目有多少文件?", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-m...
[INFO] [stdout]     |                                                   ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `&dyn ToolDispatcher`, found `Option<&MockDeepExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:514:55
[INFO] [stdout]     |
[INFO] [stdout] 514 |     let result = agent.run("项目有多少文件?", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-m...
[INFO] [stdout]     |                                                              ^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&dyn ToolDispatcher`
[INFO] [stdout]                     found enum `Option<&MockDeepExplore>`
[INFO] [stdout] note: expected `Arc<ApiAdapter>`, found `&MockShellExecute`
[INFO] [stdout]    --> tests/test_main_agent.rs:514:66
[INFO] [stdout]     |
[INFO] [stdout] 514 |     let result = agent.run("项目有多少文件?", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-m...
[INFO] [stdout]     |                                                                         ^^^^^^
[INFO] [stdout]     = note: expected struct `Arc<ApiAdapter>`
[INFO] [stdout]             found reference `&MockShellExecute`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 514 -     let result = agent.run("项目有多少文件?", "", Some(&fe), Some(&de), &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout] 514 +     let result = agent.run("项目有多少文件?", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &mock, false, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `action_schema` found for struct `MainAgent` in the current scope
[INFO] [stdout]    --> tests/test_main_agent.rs:525:29
[INFO] [stdout]     |
[INFO] [stdout] 525 |     let schema = MainAgent::action_schema();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ associated function or constant not found in `MainAgent`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `MainAgent`, consider using `MainAgent::new` which returns `MainAgent`
[INFO] [stdout]    --> src/agents/main_agent.rs:82:5
[INFO] [stdout]     |
[INFO] [stdout]  82 |     pub fn new() -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:545:69
[INFO] [stdout]     |
[INFO] [stdout] 545 |     let result = agent.run("项目有多少文件?", "", Some(&fe), None, &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".in...
[INFO] [stdout]     |                                                                            ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:545:24
[INFO] [stdout]     |
[INFO] [stdout] 545 |     let result = agent.run("项目有多少文件?", "", Some(&fe), None, &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".in...
[INFO] [stdout]     |                        ^^^
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:545:40
[INFO] [stdout]     |
[INFO] [stdout] 545 |     let result = agent.run("项目有多少文件?", "", Some(&fe), None, &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".in...
[INFO] [stdout]     |                                               ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:545:44
[INFO] [stdout]     |
[INFO] [stdout] 545 |     let result = agent.run("项目有多少文件?", "", Some(&fe), None, &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".in...
[INFO] [stdout]     |                                                   ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `Arc<Atomic<bool>>`, found integer
[INFO] [stdout]    --> tests/test_main_agent.rs:545:140
[INFO] [stdout]     |
[INFO] [stdout] 545 | ...c::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout]     |                                                                  ^^^
[INFO] [stdout]     = note: expected struct `Arc<Atomic<bool>>`
[INFO] [stdout]                  found type `{integer}`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 545 -     let result = agent.run("项目有多少文件?", "", Some(&fe), None, &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout] 545 +     let result = agent.run("项目有多少文件?", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &mock, false, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:560:65
[INFO] [stdout]     |
[INFO] [stdout] 560 |     let result = agent.run("test", "", Some(&fe), None, &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), fal...
[INFO] [stdout]     |                                                                 ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:560:24
[INFO] [stdout]     |
[INFO] [stdout] 560 |     let result = agent.run("test", "", Some(&fe), None, &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), fal...
[INFO] [stdout]     |                        ^^^
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:560:36
[INFO] [stdout]     |
[INFO] [stdout] 560 |     let result = agent.run("test", "", Some(&fe), None, &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), fal...
[INFO] [stdout]     |                                    ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:560:40
[INFO] [stdout]     |
[INFO] [stdout] 560 |     let result = agent.run("test", "", Some(&fe), None, &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), fal...
[INFO] [stdout]     |                                        ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `Arc<Atomic<bool>>`, found integer
[INFO] [stdout]    --> tests/test_main_agent.rs:560:136
[INFO] [stdout]     |
[INFO] [stdout] 560 | ...c::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout]     |                                                                  ^^^
[INFO] [stdout]     = note: expected struct `Arc<Atomic<bool>>`
[INFO] [stdout]                  found type `{integer}`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 560 -     let result = agent.run("test", "", Some(&fe), None, &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout] 560 +     let result = agent.run("test", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &mock, false, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:574:68
[INFO] [stdout]     |
[INFO] [stdout] 574 |     let result = agent.run("找 rs 文件", "", Some(&fe), None, &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())...
[INFO] [stdout]     |                                                                       ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:574:24
[INFO] [stdout]     |
[INFO] [stdout] 574 |     let result = agent.run("找 rs 文件", "", Some(&fe), None, &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())...
[INFO] [stdout]     |                        ^^^
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:574:39
[INFO] [stdout]     |
[INFO] [stdout] 574 |     let result = agent.run("找 rs 文件", "", Some(&fe), None, &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())...
[INFO] [stdout]     |                                          ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:574:43
[INFO] [stdout]     |
[INFO] [stdout] 574 |     let result = agent.run("找 rs 文件", "", Some(&fe), None, &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())...
[INFO] [stdout]     |                                              ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `Arc<Atomic<bool>>`, found integer
[INFO] [stdout]    --> tests/test_main_agent.rs:574:139
[INFO] [stdout]     |
[INFO] [stdout] 574 | ...c::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout]     |                                                                  ^^^
[INFO] [stdout]     = note: expected struct `Arc<Atomic<bool>>`
[INFO] [stdout]                  found type `{integer}`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 574 -     let result = agent.run("找 rs 文件", "", Some(&fe), None, &shell, &mock, Arc::new(ExplorationContextTool::new("test-ma".into())), false, 500, 10240, None).await;
[INFO] [stdout] 574 +     let result = agent.run("找 rs 文件", /* &[Value] */, /* Vec<ToolDefinition> */, /* &dyn ToolDispatcher */, /* Arc<ApiAdapter> */, &mock, false, None, /* Arc<Atomic<bool>> */).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:604:34
[INFO] [stdout]     |
[INFO] [stdout] 604 |         Some(&fe), None, &shell, &mock,
[INFO] [stdout]     |                                  ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:602:24
[INFO] [stdout]     |
[INFO] [stdout] 602 |     let result = agent.run(
[INFO] [stdout]     |                        ^^^
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:603:17
[INFO] [stdout]     |
[INFO] [stdout] 603 |         "搜索代码", "",
[INFO] [stdout]     |                     ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:604:9
[INFO] [stdout]     |
[INFO] [stdout] 604 |         Some(&fe), None, &shell, &mock,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `Arc<Atomic<bool>>`, found integer
[INFO] [stdout]    --> tests/test_main_agent.rs:606:15
[INFO] [stdout]     |
[INFO] [stdout] 606 |         true, 500, 10240, None, // shell_only
[INFO] [stdout]     |               ^^^
[INFO] [stdout]     = note: expected struct `Arc<Atomic<bool>>`
[INFO] [stdout]                  found type `{integer}`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 602 ~     let result = agent.run(
[INFO] [stdout] 603 ~         "搜索代码",
[INFO] [stdout] 604 +         /* &[Value] */,
[INFO] [stdout] 605 +         /* Vec<ToolDefinition> */,
[INFO] [stdout] 606 +         /* &dyn ToolDispatcher */,
[INFO] [stdout] 607 +         /* Arc<ApiAdapter> */,
[INFO] [stdout] 608 +         &mock,
[INFO] [stdout] 609 +         true,
[INFO] [stdout] 610 +         None,
[INFO] [stdout] 611 +         /* Arc<Atomic<bool>> */,
[INFO] [stdout] 612 ~     ).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:632:34
[INFO] [stdout]     |
[INFO] [stdout] 632 |         Some(&fe), None, &shell, &mock,
[INFO] [stdout]     |                                  ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:630:24
[INFO] [stdout]     |
[INFO] [stdout] 630 |     let result = agent.run(
[INFO] [stdout]     |                        ^^^
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:631:19
[INFO] [stdout]     |
[INFO] [stdout] 631 |         "列出所有文件", "",
[INFO] [stdout]     |                         ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:632:9
[INFO] [stdout]     |
[INFO] [stdout] 632 |         Some(&fe), None, &shell, &mock,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `Arc<Atomic<bool>>`, found integer
[INFO] [stdout]    --> tests/test_main_agent.rs:634:15
[INFO] [stdout]     |
[INFO] [stdout] 634 |         true, 500, 10240, None, // shell_only
[INFO] [stdout]     |               ^^^
[INFO] [stdout]     = note: expected struct `Arc<Atomic<bool>>`
[INFO] [stdout]                  found type `{integer}`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 630 ~     let result = agent.run(
[INFO] [stdout] 631 ~         "列出所有文件",
[INFO] [stdout] 632 +         /* &[Value] */,
[INFO] [stdout] 633 +         /* Vec<ToolDefinition> */,
[INFO] [stdout] 634 +         /* &dyn ToolDispatcher */,
[INFO] [stdout] 635 +         /* Arc<ApiAdapter> */,
[INFO] [stdout] 636 +         &mock,
[INFO] [stdout] 637 +         true,
[INFO] [stdout] 638 +         None,
[INFO] [stdout] 639 +         /* Arc<Atomic<bool>> */,
[INFO] [stdout] 640 ~     ).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `MockLlmClient: ModelAdapter` is not satisfied
[INFO] [stdout]    --> tests/test_main_agent.rs:658:34
[INFO] [stdout]     |
[INFO] [stdout] 658 |         Some(&fe), None, &shell, &mock,
[INFO] [stdout]     |                                  ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockLlmClient`
[INFO] [stdout]    --> tests/test_main_agent.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | struct MockLlmClient {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: the following other types implement trait `ModelAdapter`
[INFO] [stdout]    --> src/adapter/model/anthropic_messages.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl ModelAdapter for AnthropicMessagesAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AnthropicMessagesAdapter`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/adapter/model/openai_chat.rs:42:1
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl ModelAdapter for OpenAiChatAdapter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `OpenAiChatAdapter`
[INFO] [stdout]     = note: required for the cast from `&MockLlmClient` to `&dyn ModelAdapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 9 arguments but 11 arguments were supplied
[INFO] [stdout]    --> tests/test_main_agent.rs:656:24
[INFO] [stdout]     |
[INFO] [stdout] 656 |     let result = agent.run(
[INFO] [stdout]     |                        ^^^
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&[Value]`, found `&str`
[INFO] [stdout]    --> tests/test_main_agent.rs:657:17
[INFO] [stdout]     |
[INFO] [stdout] 657 |         "搜索代码", "",
[INFO] [stdout]     |                     ^^
[INFO] [stdout]     = note: expected reference `&[Value]`
[INFO] [stdout]                found reference `&'static str`
[INFO] [stdout] note: expected `Vec<ToolDefinition>`, found `Option<&MockFastExplore>`
[INFO] [stdout]    --> tests/test_main_agent.rs:658:9
[INFO] [stdout]     |
[INFO] [stdout] 658 |         Some(&fe), None, &shell, &mock,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     = note: expected struct `Vec<ToolDefinition>`
[INFO] [stdout]                  found enum `Option<&MockFastExplore>`
[INFO] [stdout] note: expected `Arc<Atomic<bool>>`, found integer
[INFO] [stdout]    --> tests/test_main_agent.rs:660:16
[INFO] [stdout]     |
[INFO] [stdout] 660 |         false, 500, 10240, None,
[INFO] [stdout]     |                ^^^
[INFO] [stdout]     = note: expected struct `Arc<Atomic<bool>>`
[INFO] [stdout]                  found type `{integer}`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/agents/main_agent.rs:87:18
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub async fn run(
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 656 ~     let result = agent.run(
[INFO] [stdout] 657 ~         "搜索代码",
[INFO] [stdout] 658 +         /* &[Value] */,
[INFO] [stdout] 659 +         /* Vec<ToolDefinition> */,
[INFO] [stdout] 660 +         /* &dyn ToolDispatcher */,
[INFO] [stdout] 661 +         /* Arc<ApiAdapter> */,
[INFO] [stdout] 662 +         &mock,
[INFO] [stdout] 663 +         false,
[INFO] [stdout] 664 +         None,
[INFO] [stdout] 665 +         /* Arc<Atomic<bool>> */,
[INFO] [stdout] 666 ~     ).await;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `explore-ai-agent` (test "test_main_agent") due to 51 previous errors
[INFO] [stderr] error: could not compile `explore-ai-agent` (test "test_tool_result_refiner") due to 1 previous error
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `explore-ai-agent` (test "test_quality_evaluator") due to 1 previous error
[INFO] [stdout] error[E0063]: missing field `compact_token_threshold` in initializer of `ExplorationConfig`
[INFO] [stdout]    --> tests/test_exploration_context.rs:622:23
[INFO] [stdout]     |
[INFO] [stdout] 622 |     let exploration = ExplorationConfig {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^ missing `compact_token_threshold`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `compact_token_threshold` in initializer of `ExplorationConfig`
[INFO] [stdout]    --> tests/test_exploration_context.rs:646:23
[INFO] [stdout]     |
[INFO] [stdout] 646 |     let exploration = ExplorationConfig {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^ missing `compact_token_threshold`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `compact_token_threshold` in initializer of `ExplorationConfig`
[INFO] [stdout]    --> tests/test_exploration_context.rs:682:23
[INFO] [stdout]     |
[INFO] [stdout] 682 |     let exploration = ExplorationConfig {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^ missing `compact_token_threshold`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `explore-ai-agent` (test "test_exploration_context") due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "3c23c2d70e487f009af1e42a6fa7317cb30ca4bf5e3595867d685db9b97e4ce4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c23c2d70e487f009af1e42a6fa7317cb30ca4bf5e3595867d685db9b97e4ce4", kill_on_drop: false }`
[INFO] [stdout] 3c23c2d70e487f009af1e42a6fa7317cb30ca4bf5e3595867d685db9b97e4ce4
