[INFO] fetching crate reagent-rs 0.2.5... [INFO] building reagent-rs-0.2.5 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate reagent-rs 0.2.5 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate reagent-rs 0.2.5 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sse-stream v0.2.0 [INFO] [stderr] Downloaded rmcp-macros v0.2.1 [INFO] [stderr] Downloaded hyper-rustls v0.27.6 [INFO] [stderr] Downloaded hyper-util v0.1.12 [INFO] [stderr] Downloaded tower-http v0.6.4 [INFO] [stderr] Downloaded rmcp v0.2.1 [INFO] [stderr] Downloaded reqwest v0.12.18 [INFO] [stderr] Downloaded webpki-roots v1.0.0 [INFO] [stderr] Downloaded process-wrap v8.2.1 [INFO] [stderr] Downloaded rustls v0.23.27 [INFO] [stderr] Downloaded windows v0.61.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b444d5628a56fb86cb9eb20fc2626c48857d6c022631b9772613cdb2888ff414 [INFO] running `Command { std: "docker" "start" "-a" "b444d5628a56fb86cb9eb20fc2626c48857d6c022631b9772613cdb2888ff414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b444d5628a56fb86cb9eb20fc2626c48857d6c022631b9772613cdb2888ff414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b444d5628a56fb86cb9eb20fc2626c48857d6c022631b9772613cdb2888ff414", kill_on_drop: false }` [INFO] [stdout] b444d5628a56fb86cb9eb20fc2626c48857d6c022631b9772613cdb2888ff414 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc6efe915a0369f86174ccd9a5def5a279820b8227c169a31b8ed8a4452b42fa [INFO] running `Command { std: "docker" "start" "-a" "fc6efe915a0369f86174ccd9a5def5a279820b8227c169a31b8ed8a4452b42fa", 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 smallvec v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [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 getrandom v0.3.3 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling rmcp-macros v0.2.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling sse-stream v0.2.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling process-wrap v8.2.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower-http v0.6.4 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.12 [INFO] [stderr] Compiling hyper-rustls v0.27.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [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 1m 20s [INFO] running `Command { std: "docker" "inspect" "fc6efe915a0369f86174ccd9a5def5a279820b8227c169a31b8ed8a4452b42fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc6efe915a0369f86174ccd9a5def5a279820b8227c169a31b8ed8a4452b42fa", kill_on_drop: false }` [INFO] [stdout] fc6efe915a0369f86174ccd9a5def5a279820b8227c169a31b8ed8a4452b42fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aeac9357ae178b1f61cf4390597784d0e2064e5e240a00e9c0d13fca9a218a19 [INFO] running `Command { std: "docker" "start" "-a" "aeac9357ae178b1f61cf4390597784d0e2064e5e240a00e9c0d13fca9a218a19", 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 23.76s [INFO] running `Command { std: "docker" "inspect" "aeac9357ae178b1f61cf4390597784d0e2064e5e240a00e9c0d13fca9a218a19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeac9357ae178b1f61cf4390597784d0e2064e5e240a00e9c0d13fca9a218a19", kill_on_drop: false }` [INFO] [stdout] aeac9357ae178b1f61cf4390597784d0e2064e5e240a00e9c0d13fca9a218a19