[INFO] fetching crate reagent-rs 0.2.5... [INFO] testing reagent-rs-0.2.5 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate reagent-rs 0.2.5 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate reagent-rs 0.2.5 [INFO] finished tweaking crates.io crate reagent-rs 0.2.5 [INFO] tweaked toml for crates.io crate reagent-rs 0.2.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate reagent-rs 0.2.5 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate reagent-rs 0.2.5 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebfd41f0de94c5e97e85eb02997b6919d2126c53925c4bdabdab41230bfa1872 [INFO] running `Command { std: "docker" "start" "-a" "ebfd41f0de94c5e97e85eb02997b6919d2126c53925c4bdabdab41230bfa1872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebfd41f0de94c5e97e85eb02997b6919d2126c53925c4bdabdab41230bfa1872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebfd41f0de94c5e97e85eb02997b6919d2126c53925c4bdabdab41230bfa1872", kill_on_drop: false }` [INFO] [stdout] ebfd41f0de94c5e97e85eb02997b6919d2126c53925c4bdabdab41230bfa1872 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a73364c2bb0cc76627186e69744a2a40cd7b286b51d03b1f091ac2b875fbb98 [INFO] running `Command { std: "docker" "start" "-a" "4a73364c2bb0cc76627186e69744a2a40cd7b286b51d03b1f091ac2b875fbb98", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling rmcp-macros v0.2.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling process-wrap v8.2.1 [INFO] [stderr] Compiling tower-http v0.6.4 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling sse-stream v0.2.0 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.12 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.6 [INFO] [stderr] Compiling reqwest v0.12.18 [INFO] [stderr] Compiling rmcp v0.2.1 [INFO] [stderr] Compiling reagent-rs v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `embeddings` is never used [INFO] [stdout] --> src/services/llm/client.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 53 | impl ModelClient { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub async fn embeddings(&self, req: EmbeddingsRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmbeddingsRequest` is never constructed [INFO] [stdout] --> src/services/llm/models/embedding.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EmbeddingsRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmbeddingsResponse` is never constructed [INFO] [stdout] --> src/services/llm/models/embedding.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct EmbeddingsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embeddings` is never used [INFO] [stdout] --> src/services/llm/providers/ollama.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 21 | impl OllamaClient { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub async fn embeddings(&self, request: EmbeddingsRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embeddings` is never used [INFO] [stdout] --> src/services/llm/providers/openai.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl OpenAiClient { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn embeddings(&self, _req: EmbeddingsRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embeddings` is never used [INFO] [stdout] --> src/services/llm/providers/mistral.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl MistralClient { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn embeddings(&self, _req: EmbeddingsRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embeddings` is never used [INFO] [stdout] --> src/services/llm/providers/anthropic.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl AnthropicClient { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn embeddings(&self, _req: EmbeddingsRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embeddings` is never used [INFO] [stdout] --> src/services/llm/providers/openrouter.rs:240:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl OpenRouterClient { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 240 | pub async fn embeddings(&self, _req: EmbeddingsRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `provider`, and `object` are never read [INFO] [stdout] --> src/services/llm/providers/openrouter.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 377 | struct OrChatResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 378 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 379 | provider: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 380 | model: String, [INFO] [stdout] 381 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn notify(&self, content: NotificationContent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 17 ~ fn notify(&self, content: NotificationContent) -> impl std::future::Future + Send {async { [INFO] [stdout] 18 | if self.get_outgoing_channel().is_none() { [INFO] [stdout] ... [INFO] [stdout] 34 | } [INFO] [stdout] 35 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | async fn notify_done(&self, success: Success, resp: Response) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 83 ~ fn notify_done(&self, success: Success, resp: Response) -> impl std::future::Future + Send {async { [INFO] [stdout] 84 | self.notify(NotificationContent::Done(success, resp)).await [INFO] [stdout] 85 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | async fn notify_prompt_request(&self, req: ChatRequest) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 86 ~ fn notify_prompt_request(&self, req: ChatRequest) -> impl std::future::Future + Send {async { [INFO] [stdout] 87 | self.notify(NotificationContent::PromptRequest(req)).await [INFO] [stdout] 88 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | async fn notify_poompt_success(&self, resp: ChatResponse) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 89 ~ fn notify_poompt_success(&self, resp: ChatResponse) -> impl std::future::Future + Send {async { [INFO] [stdout] 90 | self.notify(NotificationContent::PromptSuccessResult(resp)).await [INFO] [stdout] 91 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | async fn notify_poompt_error(&self, error_message: String) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 92 ~ fn notify_poompt_error(&self, error_message: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 93 | self.notify(NotificationContent::PromptErrorResult(error_message)).await [INFO] [stdout] 94 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | async fn notify_tool_request(&self, tool_call: ToolCall) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 95 ~ fn notify_tool_request(&self, tool_call: ToolCall) -> impl std::future::Future + Send {async { [INFO] [stdout] 96 | self.notify(NotificationContent::ToolCallRequest(tool_call)).await [INFO] [stdout] 97 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | async fn notify_tool_success(&self, tool_result: String) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 98 ~ fn notify_tool_success(&self, tool_result: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 99 | self.notify(NotificationContent::ToolCallSuccessResult(tool_result)).await [INFO] [stdout] 100~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | async fn notify_tool_error(&self, error_message: String) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 101 ~ fn notify_tool_error(&self, error_message: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 102 | self.notify(NotificationContent::ToolCallErrorResult(error_message)).await [INFO] [stdout] 103 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | async fn notify_token(&self, token: Token) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 104 ~ fn notify_token(&self, token: Token) -> impl std::future::Future + Send {async { [INFO] [stdout] 105 | self.notify(NotificationContent::Token(token)).await [INFO] [stdout] 106 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | async fn notify_mcp_tool_notification(&self, notification: String) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 107 ~ fn notify_mcp_tool_notification(&self, notification: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 108 | self.notify(NotificationContent::McpToolNotification(notification)).await [INFO] [stdout] 109 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | async fn notify_custom(&self, custom_val: Value) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 110 ~ fn notify_custom(&self, custom_val: Value) -> impl std::future::Future + Send {async { [INFO] [stdout] 111 | self.notify(NotificationContent::Custom(custom_val)).await [INFO] [stdout] 112 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 01s [INFO] running `Command { std: "docker" "inspect" "4a73364c2bb0cc76627186e69744a2a40cd7b286b51d03b1f091ac2b875fbb98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a73364c2bb0cc76627186e69744a2a40cd7b286b51d03b1f091ac2b875fbb98", kill_on_drop: false }` [INFO] [stdout] 4a73364c2bb0cc76627186e69744a2a40cd7b286b51d03b1f091ac2b875fbb98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3d6c657262c1fe3b45102c8971eff0d5c0b272619466d0da51b8e31243333c4 [INFO] running `Command { std: "docker" "start" "-a" "d3d6c657262c1fe3b45102c8971eff0d5c0b272619466d0da51b8e31243333c4", kill_on_drop: false }` [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling rmcp v0.2.1 [INFO] [stderr] Compiling reagent-rs v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `embeddings` is never used [INFO] [stdout] --> src/services/llm/client.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 53 | impl ModelClient { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub async fn embeddings(&self, req: EmbeddingsRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmbeddingsRequest` is never constructed [INFO] [stdout] --> src/services/llm/models/embedding.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EmbeddingsRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmbeddingsResponse` is never constructed [INFO] [stdout] --> src/services/llm/models/embedding.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct EmbeddingsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embeddings` is never used [INFO] [stdout] --> src/services/llm/providers/ollama.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 21 | impl OllamaClient { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub async fn embeddings(&self, request: EmbeddingsRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embeddings` is never used [INFO] [stdout] --> src/services/llm/providers/openai.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl OpenAiClient { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn embeddings(&self, _req: EmbeddingsRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embeddings` is never used [INFO] [stdout] --> src/services/llm/providers/mistral.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl MistralClient { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn embeddings(&self, _req: EmbeddingsRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embeddings` is never used [INFO] [stdout] --> src/services/llm/providers/anthropic.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl AnthropicClient { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn embeddings(&self, _req: EmbeddingsRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embeddings` is never used [INFO] [stdout] --> src/services/llm/providers/openrouter.rs:240:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl OpenRouterClient { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 240 | pub async fn embeddings(&self, _req: EmbeddingsRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `provider`, and `object` are never read [INFO] [stdout] --> src/services/llm/providers/openrouter.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 377 | struct OrChatResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 378 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 379 | provider: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 380 | model: String, [INFO] [stdout] 381 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn notify(&self, content: NotificationContent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 17 ~ fn notify(&self, content: NotificationContent) -> impl std::future::Future + Send {async { [INFO] [stdout] 18 | if self.get_outgoing_channel().is_none() { [INFO] [stdout] ... [INFO] [stdout] 34 | } [INFO] [stdout] 35 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | async fn notify_done(&self, success: Success, resp: Response) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 83 ~ fn notify_done(&self, success: Success, resp: Response) -> impl std::future::Future + Send {async { [INFO] [stdout] 84 | self.notify(NotificationContent::Done(success, resp)).await [INFO] [stdout] 85 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | async fn notify_prompt_request(&self, req: ChatRequest) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 86 ~ fn notify_prompt_request(&self, req: ChatRequest) -> impl std::future::Future + Send {async { [INFO] [stdout] 87 | self.notify(NotificationContent::PromptRequest(req)).await [INFO] [stdout] 88 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | async fn notify_poompt_success(&self, resp: ChatResponse) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 89 ~ fn notify_poompt_success(&self, resp: ChatResponse) -> impl std::future::Future + Send {async { [INFO] [stdout] 90 | self.notify(NotificationContent::PromptSuccessResult(resp)).await [INFO] [stdout] 91 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | async fn notify_poompt_error(&self, error_message: String) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 92 ~ fn notify_poompt_error(&self, error_message: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 93 | self.notify(NotificationContent::PromptErrorResult(error_message)).await [INFO] [stdout] 94 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | async fn notify_tool_request(&self, tool_call: ToolCall) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 95 ~ fn notify_tool_request(&self, tool_call: ToolCall) -> impl std::future::Future + Send {async { [INFO] [stdout] 96 | self.notify(NotificationContent::ToolCallRequest(tool_call)).await [INFO] [stdout] 97 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | async fn notify_tool_success(&self, tool_result: String) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 98 ~ fn notify_tool_success(&self, tool_result: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 99 | self.notify(NotificationContent::ToolCallSuccessResult(tool_result)).await [INFO] [stdout] 100~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | async fn notify_tool_error(&self, error_message: String) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 101 ~ fn notify_tool_error(&self, error_message: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 102 | self.notify(NotificationContent::ToolCallErrorResult(error_message)).await [INFO] [stdout] 103 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | async fn notify_token(&self, token: Token) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 104 ~ fn notify_token(&self, token: Token) -> impl std::future::Future + Send {async { [INFO] [stdout] 105 | self.notify(NotificationContent::Token(token)).await [INFO] [stdout] 106 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | async fn notify_mcp_tool_notification(&self, notification: String) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 107 ~ fn notify_mcp_tool_notification(&self, notification: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 108 | self.notify(NotificationContent::McpToolNotification(notification)).await [INFO] [stdout] 109 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | async fn notify_custom(&self, custom_val: Value) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 110 ~ fn notify_custom(&self, custom_val: Value) -> impl std::future::Future + Send {async { [INFO] [stdout] 111 | self.notify(NotificationContent::Custom(custom_val)).await [INFO] [stdout] 112 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embeddings` is never used [INFO] [stdout] --> src/services/llm/client.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 53 | impl ModelClient { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub async fn embeddings(&self, req: EmbeddingsRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmbeddingsRequest` is never constructed [INFO] [stdout] --> src/services/llm/models/embedding.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EmbeddingsRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmbeddingsResponse` is never constructed [INFO] [stdout] --> src/services/llm/models/embedding.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct EmbeddingsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embeddings` is never used [INFO] [stdout] --> src/services/llm/providers/ollama.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 21 | impl OllamaClient { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub async fn embeddings(&self, request: EmbeddingsRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embeddings` is never used [INFO] [stdout] --> src/services/llm/providers/openai.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl OpenAiClient { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn embeddings(&self, _req: EmbeddingsRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embeddings` is never used [INFO] [stdout] --> src/services/llm/providers/mistral.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl MistralClient { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn embeddings(&self, _req: EmbeddingsRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embeddings` is never used [INFO] [stdout] --> src/services/llm/providers/anthropic.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl AnthropicClient { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn embeddings(&self, _req: EmbeddingsRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `embeddings` is never used [INFO] [stdout] --> src/services/llm/providers/openrouter.rs:240:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl OpenRouterClient { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 240 | pub async fn embeddings(&self, _req: EmbeddingsRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `provider`, and `object` are never read [INFO] [stdout] --> src/services/llm/providers/openrouter.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 377 | struct OrChatResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 378 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 379 | provider: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 380 | model: String, [INFO] [stdout] 381 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn notify(&self, content: NotificationContent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 17 ~ fn notify(&self, content: NotificationContent) -> impl std::future::Future + Send {async { [INFO] [stdout] 18 | if self.get_outgoing_channel().is_none() { [INFO] [stdout] ... [INFO] [stdout] 34 | } [INFO] [stdout] 35 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | async fn notify_done(&self, success: Success, resp: Response) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 83 ~ fn notify_done(&self, success: Success, resp: Response) -> impl std::future::Future + Send {async { [INFO] [stdout] 84 | self.notify(NotificationContent::Done(success, resp)).await [INFO] [stdout] 85 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | async fn notify_prompt_request(&self, req: ChatRequest) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 86 ~ fn notify_prompt_request(&self, req: ChatRequest) -> impl std::future::Future + Send {async { [INFO] [stdout] 87 | self.notify(NotificationContent::PromptRequest(req)).await [INFO] [stdout] 88 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | async fn notify_poompt_success(&self, resp: ChatResponse) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 89 ~ fn notify_poompt_success(&self, resp: ChatResponse) -> impl std::future::Future + Send {async { [INFO] [stdout] 90 | self.notify(NotificationContent::PromptSuccessResult(resp)).await [INFO] [stdout] 91 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | async fn notify_poompt_error(&self, error_message: String) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 92 ~ fn notify_poompt_error(&self, error_message: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 93 | self.notify(NotificationContent::PromptErrorResult(error_message)).await [INFO] [stdout] 94 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | async fn notify_tool_request(&self, tool_call: ToolCall) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 95 ~ fn notify_tool_request(&self, tool_call: ToolCall) -> impl std::future::Future + Send {async { [INFO] [stdout] 96 | self.notify(NotificationContent::ToolCallRequest(tool_call)).await [INFO] [stdout] 97 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | async fn notify_tool_success(&self, tool_result: String) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 98 ~ fn notify_tool_success(&self, tool_result: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 99 | self.notify(NotificationContent::ToolCallSuccessResult(tool_result)).await [INFO] [stdout] 100~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | async fn notify_tool_error(&self, error_message: String) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 101 ~ fn notify_tool_error(&self, error_message: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 102 | self.notify(NotificationContent::ToolCallErrorResult(error_message)).await [INFO] [stdout] 103 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | async fn notify_token(&self, token: Token) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 104 ~ fn notify_token(&self, token: Token) -> impl std::future::Future + Send {async { [INFO] [stdout] 105 | self.notify(NotificationContent::Token(token)).await [INFO] [stdout] 106 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | async fn notify_mcp_tool_notification(&self, notification: String) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 107 ~ fn notify_mcp_tool_notification(&self, notification: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 108 | self.notify(NotificationContent::McpToolNotification(notification)).await [INFO] [stdout] 109 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/notifications/handler.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | async fn notify_custom(&self, custom_val: Value) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 110 ~ fn notify_custom(&self, custom_val: Value) -> impl std::future::Future + Send {async { [INFO] [stdout] 111 | self.notify(NotificationContent::Custom(custom_val)).await [INFO] [stdout] 112 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 40.41s [INFO] running `Command { std: "docker" "inspect" "d3d6c657262c1fe3b45102c8971eff0d5c0b272619466d0da51b8e31243333c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3d6c657262c1fe3b45102c8971eff0d5c0b272619466d0da51b8e31243333c4", kill_on_drop: false }` [INFO] [stdout] d3d6c657262c1fe3b45102c8971eff0d5c0b272619466d0da51b8e31243333c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d7d9240fd94b0405781f83c4b83ead556174683a1c3439e5091f3d4780d1c2b6 [INFO] running `Command { std: "docker" "start" "-a" "d7d9240fd94b0405781f83c4b83ead556174683a1c3439e5091f3d4780d1c2b6", kill_on_drop: false }` [INFO] [stderr] warning: method `embeddings` is never used [INFO] [stderr] --> src/services/llm/client.rs:81:18 [INFO] [stderr] | [INFO] [stderr] 53 | impl ModelClient { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 81 | pub async fn embeddings(&self, req: EmbeddingsRequest) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `EmbeddingsRequest` is never constructed [INFO] [stderr] --> src/services/llm/models/embedding.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct EmbeddingsRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `EmbeddingsResponse` is never constructed [INFO] [stderr] --> src/services/llm/models/embedding.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct EmbeddingsResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `embeddings` is never used [INFO] [stderr] --> src/services/llm/providers/ollama.rs:139:18 [INFO] [stderr] | [INFO] [stderr] 21 | impl OllamaClient { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 139 | pub async fn embeddings(&self, request: EmbeddingsRequest) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `embeddings` is never used [INFO] [stderr] --> src/services/llm/providers/openai.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 16 | impl OpenAiClient { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 32 | pub async fn embeddings(&self, _req: EmbeddingsRequest) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `embeddings` is never used [INFO] [stderr] --> src/services/llm/providers/mistral.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 16 | impl MistralClient { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 32 | pub async fn embeddings(&self, _req: EmbeddingsRequest) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `embeddings` is never used [INFO] [stderr] --> src/services/llm/providers/anthropic.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 16 | impl AnthropicClient { [INFO] [stderr] | -------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 32 | pub async fn embeddings(&self, _req: EmbeddingsRequest) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `embeddings` is never used [INFO] [stderr] --> src/services/llm/providers/openrouter.rs:240:18 [INFO] [stderr] | [INFO] [stderr] 19 | impl OpenRouterClient { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 240 | pub async fn embeddings(&self, _req: EmbeddingsRequest) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `provider`, and `object` are never read [INFO] [stderr] --> src/services/llm/providers/openrouter.rs:378:5 [INFO] [stderr] | [INFO] [stderr] 377 | struct OrChatResponse { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 378 | id: String, [INFO] [stderr] | ^^ [INFO] [stderr] 379 | provider: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 380 | model: String, [INFO] [stderr] 381 | object: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | async fn notify(&self, content: NotificationContent) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 17 ~ fn notify(&self, content: NotificationContent) -> impl std::future::Future + Send {async { [INFO] [stderr] 18 | if self.get_outgoing_channel().is_none() { [INFO] [stderr] ... [INFO] [stderr] 34 | } [INFO] [stderr] 35 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:83:5 [INFO] [stderr] | [INFO] [stderr] 83 | async fn notify_done(&self, success: Success, resp: Response) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 83 ~ fn notify_done(&self, success: Success, resp: Response) -> impl std::future::Future + Send {async { [INFO] [stderr] 84 | self.notify(NotificationContent::Done(success, resp)).await [INFO] [stderr] 85 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | async fn notify_prompt_request(&self, req: ChatRequest) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 86 ~ fn notify_prompt_request(&self, req: ChatRequest) -> impl std::future::Future + Send {async { [INFO] [stderr] 87 | self.notify(NotificationContent::PromptRequest(req)).await [INFO] [stderr] 88 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:89:5 [INFO] [stderr] | [INFO] [stderr] 89 | async fn notify_poompt_success(&self, resp: ChatResponse) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 89 ~ fn notify_poompt_success(&self, resp: ChatResponse) -> impl std::future::Future + Send {async { [INFO] [stderr] 90 | self.notify(NotificationContent::PromptSuccessResult(resp)).await [INFO] [stderr] 91 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | async fn notify_poompt_error(&self, error_message: String) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 92 ~ fn notify_poompt_error(&self, error_message: String) -> impl std::future::Future + Send {async { [INFO] [stderr] 93 | self.notify(NotificationContent::PromptErrorResult(error_message)).await [INFO] [stderr] 94 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | async fn notify_tool_request(&self, tool_call: ToolCall) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 95 ~ fn notify_tool_request(&self, tool_call: ToolCall) -> impl std::future::Future + Send {async { [INFO] [stderr] 96 | self.notify(NotificationContent::ToolCallRequest(tool_call)).await [INFO] [stderr] 97 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | async fn notify_tool_success(&self, tool_result: String) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 98 ~ fn notify_tool_success(&self, tool_result: String) -> impl std::future::Future + Send {async { [INFO] [stderr] 99 | self.notify(NotificationContent::ToolCallSuccessResult(tool_result)).await [INFO] [stderr] 100~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:101:5 [INFO] [stderr] | [INFO] [stderr] 101 | async fn notify_tool_error(&self, error_message: String) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 101 ~ fn notify_tool_error(&self, error_message: String) -> impl std::future::Future + Send {async { [INFO] [stderr] 102 | self.notify(NotificationContent::ToolCallErrorResult(error_message)).await [INFO] [stderr] 103 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | async fn notify_token(&self, token: Token) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 104 ~ fn notify_token(&self, token: Token) -> impl std::future::Future + Send {async { [INFO] [stderr] 105 | self.notify(NotificationContent::Token(token)).await [INFO] [stderr] 106 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | async fn notify_mcp_tool_notification(&self, notification: String) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 107 ~ fn notify_mcp_tool_notification(&self, notification: String) -> impl std::future::Future + Send {async { [INFO] [stderr] 108 | self.notify(NotificationContent::McpToolNotification(notification)).await [INFO] [stderr] 109 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | async fn notify_custom(&self, custom_val: Value) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 110 ~ fn notify_custom(&self, custom_val: Value) -> impl std::future::Future + Send {async { [INFO] [stderr] 111 | self.notify(NotificationContent::Custom(custom_val)).await [INFO] [stderr] 112 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `reagent-rs` (lib) generated 20 warnings [INFO] [stderr] warning: `reagent-rs` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/reagent_rs-ce93c872a01a4123) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test agent::models::agent_builder::tests::defaults_fail_without_model ... ok [INFO] [stdout] test agent::models::agent_builder::tests::invalid_json_schema_errors ... ok [INFO] [stdout] test templates::tests::test_template_compile_without_user_data ... ok [INFO] [stdout] test templates::tests::test_template_compile ... ok [INFO] [stdout] test tools::tool_builder::tests::tool_builder_missing_name_fails ... ok [INFO] [stdout] test tools::tool_builder::tests::tool_builder_valid_tool ... ok [INFO] [stdout] test tools::tool_builder::tests::tool_builder_missing_executor_fails ... ok [INFO] [stdout] test tools::tool_builder::tests::tool_builder_missing_description_fails ... ok [INFO] [stdout] test agent::models::agent_builder::tests::build_minimal_succeeds ... ok [INFO] [stderr] Doc-tests reagent_rs [INFO] [stdout] test agent::models::agent_builder::tests::build_with_notification_channel ... ok [INFO] [stdout] test agent::models::agent_builder::tests::add_tools ... ok [INFO] [stdout] test agent::models::agent_builder::tests::custom_flow_invocation ... ok [INFO] [stdout] test agent::models::agent_builder::tests::custom_system_prompt_and_response_format ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.58s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - (line 6) ... ok [INFO] [stdout] test src/lib.rs - (line 2) ... ok [INFO] [stdout] test src/templates/data_source.rs - templates::data_source::TemplateDataSource (line 9) ... ok [INFO] [stdout] test src/templates/template.rs - templates::template::Template::new (line 26) ... ok [INFO] [stdout] test src/agent/models/agent_builder.rs - agent::models::agent_builder::AgentBuilder (line 29) ... ok [INFO] [stdout] test src/tools/tool_builder.rs - tools::tool_builder::ToolBuilder (line 41) ... ok [INFO] [stdout] test src/lib.rs - (line 51) ... ok [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: ModelClient(Api("error sending request")) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d7d9240fd94b0405781f83c4b83ead556174683a1c3439e5091f3d4780d1c2b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7d9240fd94b0405781f83c4b83ead556174683a1c3439e5091f3d4780d1c2b6", kill_on_drop: false }` [INFO] [stdout] d7d9240fd94b0405781f83c4b83ead556174683a1c3439e5091f3d4780d1c2b6