[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/2b2d1d6bfd8ed6e3109728b417bcc02b385fc162 against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDdfang-sdf%2FExploreAIAgent" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ddfang-sdf/ExploreAIAgent on toolchain 507271bc119683008ec719ecee48814e8ac86c65 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tower-http v0.6.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31f7e99ef045be29babefb17a18b06f11d3432e1cff37d1f6b574fe33f14f905 [INFO] running `Command { std: "docker" "start" "-a" "31f7e99ef045be29babefb17a18b06f11d3432e1cff37d1f6b574fe33f14f905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31f7e99ef045be29babefb17a18b06f11d3432e1cff37d1f6b574fe33f14f905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31f7e99ef045be29babefb17a18b06f11d3432e1cff37d1f6b574fe33f14f905", kill_on_drop: false }` [INFO] [stdout] 31f7e99ef045be29babefb17a18b06f11d3432e1cff37d1f6b574fe33f14f905 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 878fa51af44873ea4127c2d884da48652812e32c5ca7bef7651e79a0782ddbaf [INFO] running `Command { std: "docker" "start" "-a" "878fa51af44873ea4127c2d884da48652812e32c5ca7bef7651e79a0782ddbaf", kill_on_drop: false }` [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking bitflags v2.11.1 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Checking console v0.16.3 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking yoke v0.8.2 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling explore-ai-agent v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking unit-prefix v0.5.2 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking uuid v1.23.1 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking rustix v1.1.4 [INFO] [stderr] Checking tokio v1.52.2 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking indicatif v0.18.4 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking minreq v2.14.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking chrono v0.4.44 [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 = 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 = 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 { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `explore_ai_agent::context::exploration` [INFO] [stdout] --> tests/test_fast_explore_tool.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use explore_ai_agent::context::exploration::{ExplorationContextTool, ExplorationRecord}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `exploration` in `context` [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[E0432]: unresolved import `explore_ai_agent::agents::search_strategy` [INFO] [stdout] --> tests/test_deep_explorer.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use explore_ai_agent::agents::search_strategy::CriticalFileRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `search_strategy` in `agents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `explore_ai_agent::context::exploration` [INFO] [stdout] --> tests/test_deep_explorer.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | 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.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[E0061]: this function takes 2 arguments but 4 arguments were supplied [INFO] [stdout] --> tests/test_fast_explore_tool.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | let result = FastExploreTool::execute(&keywords, ®istry, &ect, &qe).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ---- --- unexpected argument #4 of type `&MockQeClient` [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] 64 - let result = FastExploreTool::execute(&keywords, ®istry, &ect, &qe).await; [INFO] [stdout] 64 + let result = FastExploreTool::execute(&keywords, ®istry).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 4 arguments were supplied [INFO] [stdout] --> tests/test_fast_explore_tool.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | let result = FastExploreTool::execute(&keywords, ®istry, &ect, &qe).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ---- --- unexpected argument #4 of type `&MockQeClient` [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] 77 - let result = FastExploreTool::execute(&keywords, ®istry, &ect, &qe).await; [INFO] [stdout] 77 + let result = FastExploreTool::execute(&keywords, ®istry).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 4 arguments were supplied [INFO] [stdout] --> tests/test_fast_explore_tool.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | let result = FastExploreTool::execute(&keywords, ®istry, &ect, &qe).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ---- --- unexpected argument #4 of type `&MockQeClient` [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] 90 - let result = FastExploreTool::execute(&keywords, ®istry, &ect, &qe).await; [INFO] [stdout] 90 + let result = FastExploreTool::execute(&keywords, ®istry).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 4 arguments were supplied [INFO] [stdout] --> tests/test_fast_explore_tool.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let _ = FastExploreTool::execute(&keywords, ®istry, &ect, &qe).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ---- --- unexpected argument #4 of type `&MockQeClient` [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] 104 - let _ = FastExploreTool::execute(&keywords, ®istry, &ect, &qe).await; [INFO] [stdout] 104 + let _ = FastExploreTool::execute(&keywords, ®istry).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `check_duplicate` is private [INFO] [stdout] --> tests/test_deep_explorer.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | assert!(!de.check_duplicate("read_file", "hash1")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/agents/deep_explorer.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_duplicate(&mut self, tool_name: &str, params_hash: &str) -> bool { [INFO] [stdout] | ------------------------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `check_duplicate` is private [INFO] [stdout] --> tests/test_deep_explorer.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | assert!(!de.check_duplicate("read_file", "hash1")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/agents/deep_explorer.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_duplicate(&mut self, tool_name: &str, params_hash: &str) -> bool { [INFO] [stdout] | ------------------------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `check_duplicate` is private [INFO] [stdout] --> tests/test_deep_explorer.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | assert!(de.check_duplicate("read_file", "hash1")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/agents/deep_explorer.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_duplicate(&mut self, tool_name: &str, params_hash: &str) -> bool { [INFO] [stdout] | ------------------------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `check_duplicate` is private [INFO] [stdout] --> tests/test_deep_explorer.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | assert!(!de.check_duplicate("read_file", "hash1")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/agents/deep_explorer.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_duplicate(&mut self, tool_name: &str, params_hash: &str) -> bool { [INFO] [stdout] | ------------------------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `check_duplicate` is private [INFO] [stdout] --> tests/test_deep_explorer.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | assert!(!de.check_duplicate("search_content", "hash1")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/agents/deep_explorer.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_duplicate(&mut self, tool_name: &str, params_hash: &str) -> bool { [INFO] [stdout] | ------------------------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `check_duplicate` is private [INFO] [stdout] --> tests/test_deep_explorer.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | assert!(!de.check_duplicate("read_file", "hash1")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/agents/deep_explorer.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_duplicate(&mut self, tool_name: &str, params_hash: &str) -> bool { [INFO] [stdout] | ------------------------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `check_duplicate` is private [INFO] [stdout] --> tests/test_deep_explorer.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | assert!(!de.check_duplicate("read_file", "hash2")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/agents/deep_explorer.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_duplicate(&mut self, tool_name: &str, params_hash: &str) -> bool { [INFO] [stdout] | ------------------------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `check_duplicate` is private [INFO] [stdout] --> tests/test_deep_explorer.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | de.check_duplicate("read_file", "hash1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/agents/deep_explorer.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_duplicate(&mut self, tool_name: &str, params_hash: &str) -> bool { [INFO] [stdout] | ------------------------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 4 arguments were supplied [INFO] [stdout] --> tests/test_fast_explore_tool.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let _ = FastExploreTool::execute(&keywords, ®istry, &ect, &qe).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ---- --- unexpected argument #4 of type `&MockQeClient` [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] 132 - let _ = FastExploreTool::execute(&keywords, ®istry, &ect, &qe).await; [INFO] [stdout] 132 + let _ = FastExploreTool::execute(&keywords, ®istry).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `check_duplicate` is private [INFO] [stdout] --> tests/test_deep_explorer.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | de.check_duplicate("read_file", "hash1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/agents/deep_explorer.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_duplicate(&mut self, tool_name: &str, params_hash: &str) -> bool { [INFO] [stdout] | ------------------------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `check_duplicate` is private [INFO] [stdout] --> tests/test_deep_explorer.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | de.check_duplicate("read_file", "hash1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/agents/deep_explorer.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_duplicate(&mut self, tool_name: &str, params_hash: &str) -> bool { [INFO] [stdout] | ------------------------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 4 arguments were supplied [INFO] [stdout] --> tests/test_fast_explore_tool.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | let result = FastExploreTool::execute(&keywords, ®istry, &ect, &qe).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ---- --- unexpected argument #4 of type `&MockQeClient` [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] 147 - let result = FastExploreTool::execute(&keywords, ®istry, &ect, &qe).await; [INFO] [stdout] 147 + let result = FastExploreTool::execute(&keywords, ®istry).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 4 arguments were supplied [INFO] [stdout] --> tests/test_fast_explore_tool.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let _ = FastExploreTool::execute(&keywords, ®istry, &ect, &qe).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ---- --- unexpected argument #4 of type `&MockQeClient` [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] 161 - let _ = FastExploreTool::execute(&keywords, ®istry, &ect, &qe).await; [INFO] [stdout] 161 + let _ = FastExploreTool::execute(&keywords, ®istry).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 4 arguments were supplied [INFO] [stdout] --> tests/test_fast_explore_tool.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | let result = FastExploreTool::execute(&keywords, ®istry, &ect, &qe).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ---- --- unexpected argument #4 of type `&MockQeClient` [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] 175 - let result = FastExploreTool::execute(&keywords, ®istry, &ect, &qe).await; [INFO] [stdout] 175 + let result = FastExploreTool::execute(&keywords, ®istry).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 4 arguments were supplied [INFO] [stdout] --> tests/test_fast_explore_tool.rs:212:18 [INFO] [stdout] | [INFO] [stdout] 212 | let result = FastExploreTool::execute(&keywords, ®istry, &ect, &qe).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ---- --- unexpected argument #4 of type `&MockQeClient` [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] 212 - let result = FastExploreTool::execute(&keywords, ®istry, &ect, &qe).await; [INFO] [stdout] 212 + let result = FastExploreTool::execute(&keywords, ®istry).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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_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, E0432. [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_fast_explore_tool") due to 10 previous errors [INFO] [stdout] error[E0432]: unresolved import `explore_ai_agent::agents::exploration_refiner` [INFO] [stdout] --> tests/test_exploration_refiner.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use explore_ai_agent::agents::exploration_refiner::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ could not find `exploration_refiner` in `agents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `explore_ai_agent::context::exploration` [INFO] [stdout] --> tests/test_exploration_refiner.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use explore_ai_agent::context::exploration::{ [INFO] [stdout] | ^^^^^^^^^^^ could not find `exploration` in `context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_loop_warning` found for struct `explore_ai_agent::agents::deep_explorer::DeepExplorer` in the current scope [INFO] [stdout] --> tests/test_deep_explorer.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | assert!(de.generate_loop_warning().is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `explore_ai_agent::agents::deep_explorer::DeepExplorer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `check_duplicate` is private [INFO] [stdout] --> tests/test_deep_explorer.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | de.check_duplicate("read_file", "hash1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/agents/deep_explorer.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_duplicate(&mut self, tool_name: &str, params_hash: &str) -> bool { [INFO] [stdout] | ------------------------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `check_duplicate` is private [INFO] [stdout] --> tests/test_deep_explorer.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | de.check_duplicate("read_file", "hash1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/agents/deep_explorer.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_duplicate(&mut self, tool_name: &str, params_hash: &str) -> bool { [INFO] [stdout] | ------------------------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `check_duplicate` is private [INFO] [stdout] --> tests/test_deep_explorer.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | de.check_duplicate("read_file", "hash1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/agents/deep_explorer.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_duplicate(&mut self, tool_name: &str, params_hash: &str) -> bool { [INFO] [stdout] | ------------------------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `check_duplicate` is private [INFO] [stdout] --> tests/test_deep_explorer.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | de.check_duplicate("read_file", "hash1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/agents/deep_explorer.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_duplicate(&mut self, tool_name: &str, params_hash: &str) -> bool { [INFO] [stdout] | ------------------------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_loop_warning` found for struct `explore_ai_agent::agents::deep_explorer::DeepExplorer` in the current scope [INFO] [stdout] --> tests/test_deep_explorer.rs:141:22 [INFO] [stdout] | [INFO] [stdout] 141 | let warning = de.generate_loop_warning().expect("应触发警告"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `explore_ai_agent::agents::deep_explorer::DeepExplorer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `check_duplicate` is private [INFO] [stdout] --> tests/test_deep_explorer.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | for _ in 0..6 { de.check_duplicate("read_file", "hash1"); } [INFO] [stdout] | ^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/agents/deep_explorer.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_duplicate(&mut self, tool_name: &str, params_hash: &str) -> bool { [INFO] [stdout] | ------------------------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_loop_warning` found for struct `explore_ai_agent::agents::deep_explorer::DeepExplorer` in the current scope [INFO] [stdout] --> tests/test_deep_explorer.rs:150:16 [INFO] [stdout] | [INFO] [stdout] 150 | assert!(de.generate_loop_warning().is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `explore_ai_agent::agents::deep_explorer::DeepExplorer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `assemble_prompt` found for struct `explore_ai_agent::agents::deep_explorer::DeepExplorer` in the current scope [INFO] [stdout] --> tests/test_deep_explorer.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | let prompt = de.assemble_prompt("What is X?", &make_summary()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `explore_ai_agent::agents::deep_explorer::DeepExplorer` [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[E0599]: no method named `assemble_prompt` found for struct `explore_ai_agent::agents::deep_explorer::DeepExplorer` in the current scope [INFO] [stdout] --> tests/test_deep_explorer.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | let prompt = de.assemble_prompt("test", &make_summary()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `explore_ai_agent::agents::deep_explorer::DeepExplorer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_stream::StreamExt` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `assemble_prompt` found for struct `explore_ai_agent::agents::deep_explorer::DeepExplorer` in the current scope [INFO] [stdout] --> tests/test_deep_explorer.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | let prompt = de.assemble_prompt("test", &make_summary()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `explore_ai_agent::agents::deep_explorer::DeepExplorer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct WebState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 27 | core: Arc, [INFO] [stdout] 28 | config: AppConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `assemble_prompt` found for struct `explore_ai_agent::agents::deep_explorer::DeepExplorer` in the current scope [INFO] [stdout] --> tests/test_deep_explorer.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | let prompt = de.assemble_prompt("test", &make_summary()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `explore_ai_agent::agents::deep_explorer::DeepExplorer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `check_duplicate` is private [INFO] [stdout] --> tests/test_deep_explorer.rs:219:24 [INFO] [stdout] | [INFO] [stdout] 219 | for _ in 0..4 { de.check_duplicate("read_file", "hash1"); } [INFO] [stdout] | ^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/agents/deep_explorer.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_duplicate(&mut self, tool_name: &str, params_hash: &str) -> bool { [INFO] [stdout] | ------------------------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `assemble_prompt` found for struct `explore_ai_agent::agents::deep_explorer::DeepExplorer` in the current scope [INFO] [stdout] --> tests/test_deep_explorer.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | let prompt = de.assemble_prompt("test", &make_summary()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `explore_ai_agent::agents::deep_explorer::DeepExplorer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ApiAdapter: ModelAdapter` is not satisfied [INFO] [stdout] --> tests/test_deep_explorer.rs:236:54 [INFO] [stdout] | [INFO] [stdout] 236 | let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^^ the trait `ModelAdapter` is not implemented for `ApiAdapter` [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 `&ApiAdapter` to `&dyn ModelAdapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/test_deep_explorer.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^ ---- unexpected argument #5 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/agents/deep_explorer.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 236 - let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] 236 + let result = de.execute("test", &make_summary(), &adapter, ®istry).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ApiAdapter: ModelAdapter` is not satisfied [INFO] [stdout] --> tests/test_deep_explorer.rs:250:54 [INFO] [stdout] | [INFO] [stdout] 250 | let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^^ the trait `ModelAdapter` is not implemented for `ApiAdapter` [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 `&ApiAdapter` to `&dyn ModelAdapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/test_deep_explorer.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^ ---- unexpected argument #5 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/agents/deep_explorer.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 250 - let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] 250 + let result = de.execute("test", &make_summary(), &adapter, ®istry).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ApiAdapter: ModelAdapter` is not satisfied [INFO] [stdout] --> tests/test_deep_explorer.rs:262:54 [INFO] [stdout] | [INFO] [stdout] 262 | let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^^ the trait `ModelAdapter` is not implemented for `ApiAdapter` [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 `&ApiAdapter` to `&dyn ModelAdapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/test_deep_explorer.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^ ---- unexpected argument #5 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/agents/deep_explorer.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 262 - let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] 262 + let result = de.execute("test", &make_summary(), &adapter, ®istry).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ApiAdapter: ModelAdapter` is not satisfied [INFO] [stdout] --> tests/test_deep_explorer.rs:274:54 [INFO] [stdout] | [INFO] [stdout] 274 | let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^^ the trait `ModelAdapter` is not implemented for `ApiAdapter` [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 `&ApiAdapter` to `&dyn ModelAdapter` [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 5 arguments were supplied [INFO] [stdout] --> tests/test_deep_explorer.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 274 | let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^ ---- unexpected argument #5 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/agents/deep_explorer.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 274 - let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] 274 + let result = de.execute("test", &make_summary(), &adapter, ®istry).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ApiAdapter: ModelAdapter` is not satisfied [INFO] [stdout] --> tests/test_deep_explorer.rs:286:54 [INFO] [stdout] | [INFO] [stdout] 286 | let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^^ the trait `ModelAdapter` is not implemented for `ApiAdapter` [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 `&ApiAdapter` to `&dyn ModelAdapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/test_deep_explorer.rs:286:21 [INFO] [stdout] | [INFO] [stdout] 286 | let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^ ---- unexpected argument #5 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/agents/deep_explorer.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 286 - let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] 286 + let result = de.execute("test", &make_summary(), &adapter, ®istry).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ApiAdapter: ModelAdapter` is not satisfied [INFO] [stdout] --> tests/test_deep_explorer.rs:298:54 [INFO] [stdout] | [INFO] [stdout] 298 | let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^^ the trait `ModelAdapter` is not implemented for `ApiAdapter` [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 `&ApiAdapter` to `&dyn ModelAdapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/test_deep_explorer.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 298 | let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^ ---- unexpected argument #5 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/agents/deep_explorer.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 298 - let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] 298 + let result = de.execute("test", &make_summary(), &adapter, ®istry).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ApiAdapter: ModelAdapter` is not satisfied [INFO] [stdout] --> tests/test_deep_explorer.rs:314:54 [INFO] [stdout] | [INFO] [stdout] 314 | let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^^ the trait `ModelAdapter` is not implemented for `ApiAdapter` [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 `&ApiAdapter` to `&dyn ModelAdapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/test_deep_explorer.rs:314:21 [INFO] [stdout] | [INFO] [stdout] 314 | let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^ ---- unexpected argument #5 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/agents/deep_explorer.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 314 - let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] 314 + let result = de.execute("test", &make_summary(), &adapter, ®istry).await; [INFO] [stdout] | [INFO] [stdout] [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] [stdout] error[E0277]: the trait bound `ApiAdapter: ModelAdapter` is not satisfied [INFO] [stdout] --> tests/test_deep_explorer.rs:326:54 [INFO] [stdout] | [INFO] [stdout] 326 | let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^^ the trait `ModelAdapter` is not implemented for `ApiAdapter` [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 `&ApiAdapter` to `&dyn ModelAdapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `explore_ai_agent::agents::search_strategy` [INFO] [stdout] --> tests/test_search_strategy.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use explore_ai_agent::agents::search_strategy::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `search_strategy` in `agents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `explore_ai_agent::context::exploration` [INFO] [stdout] --> tests/test_search_strategy.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | 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 5 arguments were supplied [INFO] [stdout] --> tests/test_deep_explorer.rs:326:21 [INFO] [stdout] | [INFO] [stdout] 326 | let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^ ---- unexpected argument #5 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/agents/deep_explorer.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 326 - let result = de.execute("test", &make_summary(), &adapter, ®istry, &ect).await; [INFO] [stdout] 326 + let result = de.execute("test", &make_summary(), &adapter, ®istry).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `action_schema` found for struct `explore_ai_agent::agents::deep_explorer::DeepExplorer` in the current scope [INFO] [stdout] --> tests/test_deep_explorer.rs:334:32 [INFO] [stdout] | [INFO] [stdout] 334 | let schema = DeepExplorer::action_schema(); [INFO] [stdout] | ^^^^^^^^^^^^^ associated function or constant not found in `explore_ai_agent::agents::deep_explorer::DeepExplorer` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `explore_ai_agent::agents::deep_explorer::DeepExplorer` consider using one of the following associated functions: [INFO] [stdout] explore_ai_agent::agents::deep_explorer::DeepExplorer::new [INFO] [stdout] explore_ai_agent::agents::deep_explorer::DeepExplorer::from_config [INFO] [stdout] --> src/agents/deep_explorer.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn from_config(config: &DeepExplorerConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MockDualClient: ModelAdapter` is not satisfied [INFO] [stdout] --> tests/test_deep_explorer.rs:484:52 [INFO] [stdout] | [INFO] [stdout] 484 | .execute("test question", &make_summary(), &mock, ®istry, &ect) [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockDualClient` [INFO] [stdout] --> tests/test_deep_explorer.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | struct MockDualClient { [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 `&MockDualClient` to `&dyn ModelAdapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/test_deep_explorer.rs:484:10 [INFO] [stdout] | [INFO] [stdout] 484 | .execute("test question", &make_summary(), &mock, ®istry, &ect) [INFO] [stdout] | ^^^^^^^ ---- unexpected argument #5 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/agents/deep_explorer.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 484 - .execute("test question", &make_summary(), &mock, ®istry, &ect) [INFO] [stdout] 484 + .execute("test question", &make_summary(), &mock, ®istry) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MockDualClient: ModelAdapter` is not satisfied [INFO] [stdout] --> tests/test_deep_explorer.rs:530:52 [INFO] [stdout] | [INFO] [stdout] 530 | .execute("test question", &make_summary(), &mock, ®istry, &ect) [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockDualClient` [INFO] [stdout] --> tests/test_deep_explorer.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | struct MockDualClient { [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 `&MockDualClient` 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: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>` 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`, 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` [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`, 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` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &&capturing, !enable_fe && !enable_de, None, /* Arc> */).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/test_deep_explorer.rs:530:10 [INFO] [stdout] | [INFO] [stdout] 530 | .execute("test question", &make_summary(), &mock, ®istry, &ect) [INFO] [stdout] | ^^^^^^^ ---- unexpected argument #5 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/agents/deep_explorer.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 530 - .execute("test question", &make_summary(), &mock, ®istry, &ect) [INFO] [stdout] 530 + .execute("test question", &make_summary(), &mock, ®istry) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MockDualClient: ModelAdapter` is not satisfied [INFO] [stdout] --> tests/test_deep_explorer.rs:574:52 [INFO] [stdout] | [INFO] [stdout] 574 | .execute("test question", &make_summary(), &mock, ®istry, &ect) [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockDualClient` [INFO] [stdout] --> tests/test_deep_explorer.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | struct MockDualClient { [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 `&MockDualClient` to `&dyn ModelAdapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/test_deep_explorer.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | .execute("test question", &make_summary(), &mock, ®istry, &ect) [INFO] [stdout] | ^^^^^^^ ---- unexpected argument #5 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/agents/deep_explorer.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 574 - .execute("test question", &make_summary(), &mock, ®istry, &ect) [INFO] [stdout] 574 + .execute("test question", &make_summary(), &mock, ®istry) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `explore-ai-agent` (test "test_tool_result_refiner") due to 1 previous error [INFO] [stdout] error[E0277]: the trait bound `MockDualClient: ModelAdapter` is not satisfied [INFO] [stdout] --> tests/test_deep_explorer.rs:633:52 [INFO] [stdout] | [INFO] [stdout] 633 | .execute("test question", &make_summary(), &mock, ®istry, &ect) [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockDualClient` [INFO] [stdout] --> tests/test_deep_explorer.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | struct MockDualClient { [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 `&MockDualClient` to `&dyn ModelAdapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/test_deep_explorer.rs:633:10 [INFO] [stdout] | [INFO] [stdout] 633 | .execute("test question", &make_summary(), &mock, ®istry, &ect) [INFO] [stdout] | ^^^^^^^ ---- unexpected argument #5 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/agents/deep_explorer.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 633 - .execute("test question", &make_summary(), &mock, ®istry, &ect) [INFO] [stdout] 633 + .execute("test question", &make_summary(), &mock, ®istry) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MockDualClient: ModelAdapter` is not satisfied [INFO] [stdout] --> tests/test_deep_explorer.rs:673:58 [INFO] [stdout] | [INFO] [stdout] 673 | let _ = de.execute("test question", &make_summary(), &mock, ®istry, &ect).await; [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockDualClient` [INFO] [stdout] --> tests/test_deep_explorer.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | struct MockDualClient { [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 `&MockDualClient` to `&dyn ModelAdapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/test_deep_explorer.rs:673:16 [INFO] [stdout] | [INFO] [stdout] 673 | let _ = de.execute("test question", &make_summary(), &mock, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^ ---- unexpected argument #5 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/agents/deep_explorer.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 673 - let _ = de.execute("test question", &make_summary(), &mock, ®istry, &ect).await; [INFO] [stdout] 673 + let _ = de.execute("test question", &make_summary(), &mock, ®istry).await; [INFO] [stdout] | [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[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] error[E0277]: the trait bound `MockDualClient: ModelAdapter` is not satisfied [INFO] [stdout] --> tests/test_deep_explorer.rs:698:58 [INFO] [stdout] | [INFO] [stdout] 698 | let _ = de.execute("test question", &make_summary(), &mock, ®istry, &ect).await; [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockDualClient` [INFO] [stdout] --> tests/test_deep_explorer.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | struct MockDualClient { [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 `&MockDualClient` to `&dyn ModelAdapter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/test_deep_explorer.rs:698:16 [INFO] [stdout] | [INFO] [stdout] 698 | let _ = de.execute("test question", &make_summary(), &mock, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^ ---- unexpected argument #5 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/agents/deep_explorer.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 698 - let _ = de.execute("test question", &make_summary(), &mock, ®istry, &ect).await; [INFO] [stdout] 698 + let _ = de.execute("test question", &make_summary(), &mock, ®istry).await; [INFO] [stdout] | [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[E0277]: the trait bound `MockDualClient: ModelAdapter` is not satisfied [INFO] [stdout] --> tests/test_deep_explorer.rs:735:63 [INFO] [stdout] | [INFO] [stdout] 735 | let result = de.execute("test question", &make_summary(), &mock, ®istry, &ect).await; [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockDualClient` [INFO] [stdout] --> tests/test_deep_explorer.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | struct MockDualClient { [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 `&MockDualClient` to `&dyn ModelAdapter` [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: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] [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 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/test_deep_explorer.rs:735:21 [INFO] [stdout] | [INFO] [stdout] 735 | let result = de.execute("test question", &make_summary(), &mock, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^ ---- unexpected argument #5 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/agents/deep_explorer.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 735 - let result = de.execute("test question", &make_summary(), &mock, ®istry, &ect).await; [INFO] [stdout] 735 + let result = de.execute("test question", &make_summary(), &mock, ®istry).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MockDualClient: ModelAdapter` is not satisfied [INFO] [stdout] --> tests/test_deep_explorer.rs:761:58 [INFO] [stdout] | [INFO] [stdout] 761 | let _ = de.execute("test question", &make_summary(), &mock, ®istry, &ect).await; [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockDualClient` [INFO] [stdout] --> tests/test_deep_explorer.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | struct MockDualClient { [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 `&MockDualClient` to `&dyn ModelAdapter` [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: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[E0061]: this method takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/test_deep_explorer.rs:761:16 [INFO] [stdout] | [INFO] [stdout] 761 | let _ = de.execute("test question", &make_summary(), &mock, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^ ---- unexpected argument #5 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/agents/deep_explorer.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 761 - let _ = de.execute("test question", &make_summary(), &mock, ®istry, &ect).await; [INFO] [stdout] 761 + let _ = de.execute("test question", &make_summary(), &mock, ®istry).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: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[E0277]: the trait bound `MockDualClient: ModelAdapter` is not satisfied [INFO] [stdout] --> tests/test_deep_explorer.rs:786:58 [INFO] [stdout] | [INFO] [stdout] 786 | let _ = de.execute("test question", &make_summary(), &mock, ®istry, &ect).await; [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockDualClient` [INFO] [stdout] --> tests/test_deep_explorer.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | struct MockDualClient { [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 `&MockDualClient` 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] [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>` 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`, 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` [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`, 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` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &mock, false, None, /* Arc> */).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/test_deep_explorer.rs:786:16 [INFO] [stdout] | [INFO] [stdout] 786 | let _ = de.execute("test question", &make_summary(), &mock, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^ ---- unexpected argument #5 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/agents/deep_explorer.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 786 - let _ = de.execute("test question", &make_summary(), &mock, ®istry, &ect).await; [INFO] [stdout] 786 + let _ = de.execute("test question", &make_summary(), &mock, ®istry).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[E0277]: the trait bound `MockDualClient: ModelAdapter` is not satisfied [INFO] [stdout] --> tests/test_deep_explorer.rs:803:63 [INFO] [stdout] | [INFO] [stdout] 803 | let result = de.execute("test question", &make_summary(), &mock, ®istry, &ect).await; [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `ModelAdapter` is not implemented for `MockDualClient` [INFO] [stdout] --> tests/test_deep_explorer.rs:348:1 [INFO] [stdout] | [INFO] [stdout] 348 | struct MockDualClient { [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 `&MockDualClient` to `&dyn ModelAdapter` [INFO] [stdout] [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 4 arguments but 5 arguments were supplied [INFO] [stdout] --> tests/test_deep_explorer.rs:803:21 [INFO] [stdout] | [INFO] [stdout] 803 | let result = de.execute("test question", &make_summary(), &mock, ®istry, &ect).await; [INFO] [stdout] | ^^^^^^^ ---- unexpected argument #5 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/agents/deep_explorer.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 169 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 803 - let result = de.execute("test question", &make_summary(), &mock, ®istry, &ect).await; [INFO] [stdout] 803 + let result = de.execute("test question", &make_summary(), &mock, ®istry).await; [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>` 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`, 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` [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`, 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` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &mock, false, None, /* Arc> */).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[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>` 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`, 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` [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`, 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` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &mock, false, None, /* Arc> */).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] Some errors have detailed explanations: E0061, E0277, E0432, E0599, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [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>` 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`, 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` [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`, 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` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &mock, false, None, /* Arc> */).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] [stderr] error: could not compile `explore-ai-agent` (test "test_deep_explorer") due to 63 previous errors [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>` 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`, 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` [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`, 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` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &mock, false, None, /* Arc> */).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>` 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`, 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` [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`, 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` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &mock, false, None, /* Arc> */).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] 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>` 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`, 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` [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`, 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` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &mock, false, None, /* Arc> */).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>` 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`, 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` [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`, 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` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &mock, false, None, /* Arc> */).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>` 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`, 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` [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`, 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` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &mock, false, None, /* Arc> */).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>` 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`, 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` [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`, 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` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &mock, false, None, /* Arc> */).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>` 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`, 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` [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`, 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` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &mock, false, None, /* Arc> */).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>` 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`, 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` [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`, 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` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &mock, false, None, /* Arc> */).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>` 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`, 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` [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`, 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` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &mock, false, None, /* Arc> */).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>` 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`, 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` [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`, 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` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &mock, false, None, /* Arc> */).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>` 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`, 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` [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`, 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` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &mock, false, None, /* Arc> */).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>` 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`, 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` [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`, 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` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &mock, false, None, /* Arc> */).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`, 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` [INFO] [stdout] found enum `Option<&MockFastExplore>` [INFO] [stdout] note: expected `Arc>`, 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>` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &mock, false, None, /* Arc> */).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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `explore-ai-agent` (test "test_search_strategy") due to 2 previous errors [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`, 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` [INFO] [stdout] found enum `Option<&MockFastExplore>` [INFO] [stdout] note: expected `Arc>`, 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>` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &mock, false, None, /* Arc> */).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`, 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` [INFO] [stdout] found enum `Option<&MockFastExplore>` [INFO] [stdout] note: expected `Arc>`, 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>` [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 */, /* &dyn ToolDispatcher */, /* Arc */, &mock, false, None, /* Arc> */).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`, 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` [INFO] [stdout] found enum `Option<&MockFastExplore>` [INFO] [stdout] note: expected `Arc>`, 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>` [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 */, [INFO] [stdout] 606 + /* &dyn ToolDispatcher */, [INFO] [stdout] 607 + /* Arc */, [INFO] [stdout] 608 + &mock, [INFO] [stdout] 609 + true, [INFO] [stdout] 610 + None, [INFO] [stdout] 611 + /* Arc> */, [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`, 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` [INFO] [stdout] found enum `Option<&MockFastExplore>` [INFO] [stdout] note: expected `Arc>`, 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>` [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 */, [INFO] [stdout] 634 + /* &dyn ToolDispatcher */, [INFO] [stdout] 635 + /* Arc */, [INFO] [stdout] 636 + &mock, [INFO] [stdout] 637 + true, [INFO] [stdout] 638 + None, [INFO] [stdout] 639 + /* Arc> */, [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`, 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` [INFO] [stdout] found enum `Option<&MockFastExplore>` [INFO] [stdout] note: expected `Arc>`, 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>` [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 */, [INFO] [stdout] 660 + /* &dyn ToolDispatcher */, [INFO] [stdout] 661 + /* Arc */, [INFO] [stdout] 662 + &mock, [INFO] [stdout] 663 + false, [INFO] [stdout] 664 + None, [INFO] [stdout] 665 + /* Arc> */, [INFO] [stdout] 666 ~ ).await; [INFO] [stdout] | [INFO] [stdout] [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] [stdout] error[E0063]: missing field `id` in initializer of `ToolCallInfo` [INFO] [stdout] --> tests/test_exploration_refiner.rs:735:26 [INFO] [stdout] | [INFO] [stdout] 735 | tool_calls: vec![ToolCallInfo { [INFO] [stdout] | ^^^^^^^^^^^^ missing `id` [INFO] [stdout] [INFO] [stdout] [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_main_agent") due to 51 previous errors [INFO] [stderr] error: could not compile `explore-ai-agent` (test "test_exploration_context") due to 4 previous errors [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_refiner") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "878fa51af44873ea4127c2d884da48652812e32c5ca7bef7651e79a0782ddbaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "878fa51af44873ea4127c2d884da48652812e32c5ca7bef7651e79a0782ddbaf", kill_on_drop: false }` [INFO] [stdout] 878fa51af44873ea4127c2d884da48652812e32c5ca7bef7651e79a0782ddbaf