[INFO] cloning repository https://github.com/VakeDomen/RustAIAgent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VakeDomen/RustAIAgent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVakeDomen%2FRustAIAgent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVakeDomen%2FRustAIAgent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e2672f3f2bda17f930ef05daf3f3af54be03f27 [INFO] testing VakeDomen/RustAIAgent against master#e9385f9eea0221ef295a188d49d16f8f5189abf1 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVakeDomen%2FRustAIAgent" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/VakeDomen/RustAIAgent [INFO] finished tweaking git repo https://github.com/VakeDomen/RustAIAgent [INFO] tweaked toml for git repo https://github.com/VakeDomen/RustAIAgent written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VakeDomen/RustAIAgent on toolchain e9385f9eea0221ef295a188d49d16f8f5189abf1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/VakeDomen/RustAIAgent 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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rmcp-macros v0.2.1 [INFO] [stderr] Downloaded sse-stream v0.2.0 [INFO] [stderr] Downloaded hyper-util v0.1.12 [INFO] [stderr] Downloaded rmcp v0.2.1 [INFO] [stderr] Downloaded cc v1.2.24 [INFO] [stderr] Downloaded tower-http v0.6.4 [INFO] [stderr] Downloaded process-wrap v8.2.1 [INFO] [stderr] Downloaded reqwest v0.12.18 [INFO] [stderr] Downloaded nix v0.30.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3690051aae571832c89fddb6c9eafa9a56ecf78fff64ebf675adbf2d569f72c7 [INFO] running `Command { std: "docker" "start" "-a" "3690051aae571832c89fddb6c9eafa9a56ecf78fff64ebf675adbf2d569f72c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3690051aae571832c89fddb6c9eafa9a56ecf78fff64ebf675adbf2d569f72c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3690051aae571832c89fddb6c9eafa9a56ecf78fff64ebf675adbf2d569f72c7", kill_on_drop: false }` [INFO] [stdout] 3690051aae571832c89fddb6c9eafa9a56ecf78fff64ebf675adbf2d569f72c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a45246efe24df904807915ccb8d40b4e45bfddc8964958acd416d4728d444ade [INFO] running `Command { std: "docker" "start" "-a" "a45246efe24df904807915ccb8d40b4e45bfddc8964958acd416d4728d444ade", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling http-body-util v0.1.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 schemars v0.8.22 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [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 thread_local v1.1.8 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rmcp-macros v0.2.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [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 async-stream v0.3.6 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling process-wrap v8.2.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tower-http v0.6.4 [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:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | 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] 18 ~ fn notify(&self, content: NotificationContent) -> impl std::future::Future + Send {async { [INFO] [stdout] 19 | if self.get_outgoing_channel().is_none() { [INFO] [stdout] ... [INFO] [stdout] 33 | } [INFO] [stdout] 34 ~ } } [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:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | 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] 77 ~ fn notify_done(&self, success: Success, resp: Response) -> impl std::future::Future + Send {async { [INFO] [stdout] 78 | self.notify(NotificationContent::Done(success, resp)).await [INFO] [stdout] 79 ~ } } [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:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | 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] 80 ~ fn notify_prompt_request(&self, req: ChatRequest) -> impl std::future::Future + Send {async { [INFO] [stdout] 81 | self.notify(NotificationContent::PromptRequest(req)).await [INFO] [stdout] 82 ~ } } [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_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] 83 ~ fn notify_poompt_success(&self, resp: ChatResponse) -> impl std::future::Future + Send {async { [INFO] [stdout] 84 | self.notify(NotificationContent::PromptSuccessResult(resp)) [INFO] [stdout] 85 | .await [INFO] [stdout] 86 ~ } } [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:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | async fn notify_prompt_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] 87 ~ fn notify_prompt_error(&self, error_message: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 88 | self.notify(NotificationContent::PromptErrorResult(error_message)) [INFO] [stdout] 89 | .await [INFO] [stdout] 90 ~ } } [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:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | 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] 91 ~ fn notify_tool_request(&self, tool_call: ToolCall) -> impl std::future::Future + Send {async { [INFO] [stdout] 92 | self.notify(NotificationContent::ToolCallRequest(tool_call)) [INFO] [stdout] 93 | .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_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] 95 ~ fn notify_tool_success(&self, tool_result: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 96 | self.notify(NotificationContent::ToolCallSuccessResult(tool_result)) [INFO] [stdout] 97 | .await [INFO] [stdout] 98 ~ } } [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:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | 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] 99 ~ fn notify_tool_error(&self, error_message: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 100| self.notify(NotificationContent::ToolCallErrorResult(error_message)) [INFO] [stdout] 101| .await [INFO] [stdout] 102~ } } [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:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | 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] 103 ~ fn notify_token(&self, token: Token) -> impl std::future::Future + Send {async { [INFO] [stdout] 104 | self.notify(NotificationContent::Token(token)).await [INFO] [stdout] 105 ~ } } [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:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | 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] 106 ~ fn notify_mcp_tool_notification(&self, notification: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 107 | self.notify(NotificationContent::McpToolNotification(notification)) [INFO] [stdout] 108 | .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 23s [INFO] running `Command { std: "docker" "inspect" "a45246efe24df904807915ccb8d40b4e45bfddc8964958acd416d4728d444ade", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a45246efe24df904807915ccb8d40b4e45bfddc8964958acd416d4728d444ade", kill_on_drop: false }` [INFO] [stdout] a45246efe24df904807915ccb8d40b4e45bfddc8964958acd416d4728d444ade [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d575b3b04e1a58618314c92b464d895bed49de2503714180c44d04fb594cdcc [INFO] running `Command { std: "docker" "start" "-a" "5d575b3b04e1a58618314c92b464d895bed49de2503714180c44d04fb594cdcc", 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:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | 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] 18 ~ fn notify(&self, content: NotificationContent) -> impl std::future::Future + Send {async { [INFO] [stdout] 19 | if self.get_outgoing_channel().is_none() { [INFO] [stdout] ... [INFO] [stdout] 33 | } [INFO] [stdout] 34 ~ } } [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:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | 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] 77 ~ fn notify_done(&self, success: Success, resp: Response) -> impl std::future::Future + Send {async { [INFO] [stdout] 78 | self.notify(NotificationContent::Done(success, resp)).await [INFO] [stdout] 79 ~ } } [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:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | 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] 80 ~ fn notify_prompt_request(&self, req: ChatRequest) -> impl std::future::Future + Send {async { [INFO] [stdout] 81 | self.notify(NotificationContent::PromptRequest(req)).await [INFO] [stdout] 82 ~ } } [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_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] 83 ~ fn notify_poompt_success(&self, resp: ChatResponse) -> impl std::future::Future + Send {async { [INFO] [stdout] 84 | self.notify(NotificationContent::PromptSuccessResult(resp)) [INFO] [stdout] 85 | .await [INFO] [stdout] 86 ~ } } [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:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | async fn notify_prompt_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] 87 ~ fn notify_prompt_error(&self, error_message: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 88 | self.notify(NotificationContent::PromptErrorResult(error_message)) [INFO] [stdout] 89 | .await [INFO] [stdout] 90 ~ } } [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:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | 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] 91 ~ fn notify_tool_request(&self, tool_call: ToolCall) -> impl std::future::Future + Send {async { [INFO] [stdout] 92 | self.notify(NotificationContent::ToolCallRequest(tool_call)) [INFO] [stdout] 93 | .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_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] 95 ~ fn notify_tool_success(&self, tool_result: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 96 | self.notify(NotificationContent::ToolCallSuccessResult(tool_result)) [INFO] [stdout] 97 | .await [INFO] [stdout] 98 ~ } } [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:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | 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] 99 ~ fn notify_tool_error(&self, error_message: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 100| self.notify(NotificationContent::ToolCallErrorResult(error_message)) [INFO] [stdout] 101| .await [INFO] [stdout] 102~ } } [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:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | 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] 103 ~ fn notify_token(&self, token: Token) -> impl std::future::Future + Send {async { [INFO] [stdout] 104 | self.notify(NotificationContent::Token(token)).await [INFO] [stdout] 105 ~ } } [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:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | 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] 106 ~ fn notify_mcp_tool_notification(&self, notification: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 107 | self.notify(NotificationContent::McpToolNotification(notification)) [INFO] [stdout] 108 | .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:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | 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] 18 ~ fn notify(&self, content: NotificationContent) -> impl std::future::Future + Send {async { [INFO] [stdout] 19 | if self.get_outgoing_channel().is_none() { [INFO] [stdout] ... [INFO] [stdout] 33 | } [INFO] [stdout] 34 ~ } } [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:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | 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] 77 ~ fn notify_done(&self, success: Success, resp: Response) -> impl std::future::Future + Send {async { [INFO] [stdout] 78 | self.notify(NotificationContent::Done(success, resp)).await [INFO] [stdout] 79 ~ } } [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:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | 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] 80 ~ fn notify_prompt_request(&self, req: ChatRequest) -> impl std::future::Future + Send {async { [INFO] [stdout] 81 | self.notify(NotificationContent::PromptRequest(req)).await [INFO] [stdout] 82 ~ } } [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_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] 83 ~ fn notify_poompt_success(&self, resp: ChatResponse) -> impl std::future::Future + Send {async { [INFO] [stdout] 84 | self.notify(NotificationContent::PromptSuccessResult(resp)) [INFO] [stdout] 85 | .await [INFO] [stdout] 86 ~ } } [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:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | async fn notify_prompt_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] 87 ~ fn notify_prompt_error(&self, error_message: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 88 | self.notify(NotificationContent::PromptErrorResult(error_message)) [INFO] [stdout] 89 | .await [INFO] [stdout] 90 ~ } } [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:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | 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] 91 ~ fn notify_tool_request(&self, tool_call: ToolCall) -> impl std::future::Future + Send {async { [INFO] [stdout] 92 | self.notify(NotificationContent::ToolCallRequest(tool_call)) [INFO] [stdout] 93 | .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_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] 95 ~ fn notify_tool_success(&self, tool_result: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 96 | self.notify(NotificationContent::ToolCallSuccessResult(tool_result)) [INFO] [stdout] 97 | .await [INFO] [stdout] 98 ~ } } [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:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | 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] 99 ~ fn notify_tool_error(&self, error_message: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 100| self.notify(NotificationContent::ToolCallErrorResult(error_message)) [INFO] [stdout] 101| .await [INFO] [stdout] 102~ } } [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:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | 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] 103 ~ fn notify_token(&self, token: Token) -> impl std::future::Future + Send {async { [INFO] [stdout] 104 | self.notify(NotificationContent::Token(token)).await [INFO] [stdout] 105 ~ } } [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:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | 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] 106 ~ fn notify_mcp_tool_notification(&self, notification: String) -> impl std::future::Future + Send {async { [INFO] [stdout] 107 | self.notify(NotificationContent::McpToolNotification(notification)) [INFO] [stdout] 108 | .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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcUjTVw5/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libreagent_rs-d7f1be2b597d85d7,libtracing_subscriber-d9f33ced92f49f06,libtracing_serde-39c3f35cbf66a382,libsharded_slab-8a8a8c9e27e64aa6,liblazy_static-b3603208c0de2608,libmatchers-325c66ff3d6c0610,libregex_automata-c55e6e1ce4e1007c,libregex_syntax-e3521940133a580f,libregex-e1e92277ca53e021,libregex_automata-3b9472e36fe3497b,libregex_syntax-592a312476e09d89,libnu_ansi_term-c634e6ff7c6e5c03,liboverload-23726fa51fddfe0c,libthread_local-bd3a8c07edaebd9d,libtracing_log-acb9c025cc3283a2,libasync_stream-b42d4fb4cf63f781,libuuid-61dd909702ad8d1c,libgetrandom-84c7dfd22534d567,librmcp-8f4d2d82f65695a0,libsse_stream-5d580b1f44dfaff6,libreqwest-14d5bddd411b7219,libserde_urlencoded-db54bee15cf5d021,libhyper_rustls-1fe45d21597affc0,libwebpki_roots-be9bad252ce0bfe8,libhyper_tls-1ccf25887a89f5e4,libtokio_native_tls-eee2431723a975e4,libtokio_rustls-0f941bf94f5e1dfc,librustls-47c15874d76f679b,libsubtle-ca7024fc66e4388f,libwebpki-60a7e460de026447,libring-73c00fb92431dcfb,libgetrandom-32e120cc03760ef1,libuntrusted-3420b86308bec153,librustls_pki_types-a7867074414b404a,libzeroize-ead98f074a37f829,libmime-4b44681fdb2c65f7,libencoding_rs-68ad4a143c31cce1,libtower_http-61bb7ce9a6eee93d,libiri_string-a380f51e5b0b7b73,libtower-8e5bf71bcd66f70e,libsync_wrapper-5a27d2ea02cd7690,libtower_layer-d70c7e404336389b,libnative_tls-7bb5e6837fa4b4d9,libopenssl_probe-cbab9b905ab83f66,libopenssl-496149c30456d9b8,libforeign_types-0d5385f641bbbadd,libforeign_types_shared-1d09a6084921ca40,libopenssl_sys-a1c0fb1f4b807e66,libhyper_util-fed3550bab28a3e8,libipnet-9aae67a4e846df6d,libhyper-deea7aada7be3524,libwant-0f3c3ee377cad37f,libtry_lock-aabba5e3d97e6b57,libhttparse-47a3d40564b60e09,libh2-7c7daaf511a5f2e5,libatomic_waker-001109810bdecbaa,libhttp_body_util-f2ff7a97002ec3c2,libhttp_body-5d2c120e15cb3719,liblog-ba604b77dad33fe2,liburl-9477b99c78b931f8,libidna-da5549b16691a346,libutf8_iter-0d9be7b316c2b184,libidna_adapter-1aed53447b4a4484,libicu_properties-e049e4261bd91fe8,libicu_properties_data-9d163be0f8ec47fd,libicu_normalizer-05c435ac6b83caf2,libsmallvec-cc09618ba41502d9,libicu_normalizer_data-9919e82512efe734,libicu_collections-21c3fbff7a78d2a8,libpotential_utf-96a2b10032bc4644,libicu_provider-9638c1596eb3d74e,libicu_locale_core-ac53f4349f171dae,libtinystr-784cfed76c44177b,liblitemap-aaec3d88bc2b9505,libwriteable-1fc78dfe07ba1099,libzerovec-ef3fa120f40bc37a,libzerotrie-61e2272d3690fadb,libyoke-513cd17fd7c63d0f,libstable_deref_trait-e5f295e98f1b80b2,libzerofrom-d36d8cdd5965e85b,libform_urlencoded-a5edb5174711de82,libpercent_encoding-9bee39bbc5bd523a,libhttp-8a286151680a468c,libfnv-2d77ec4f6f971b24,libprocess_wrap-60eea6adfb7e2806,libindexmap-e047020b0e310b22,libequivalent-7e0e8cbe6c474a67,libhashbrown-9c7df0e3faa58caf,libnix-ac4cb02ef47a5e39,libbitflags-999d889d9694453e,libcfg_if-33ef6c02a07f9fec,libschemars-5fbe2b6c07fb64c8,libdyn_clone-b51c2b45a5906cc9,libtokio_stream-278477ca65c25e99,libtokio_util-50a2bfc881f9448e,libtower_service-0d7df29686b13872,libthiserror-4542da92cb4b4f06,libfutures-4241086317c634ed,libfutures_executor-85e2d25dc8a3bd40,libfutures_util-d04d969b88515021,libfutures_io-3e19596c076de665,libslab-b066ee2c679b47fd,libfutures_channel-f26d4826b597103e,libfutures_sink-be8442ee548d90f9,libfutures_task-19b3aba2be9e7ae8,libpin_utils-9a5791cba021167a,libfutures_core-fc6bb1738f00fc87,libbase64-2a03de3babadded3,libchrono-9477bc7935bf9665,libiana_time_zone-693b81a5c0b46492,libnum_traits-e621cc1bb1c4679c,libtracing-d6e34dd8ffac949a,libtracing_core-1a2ca7348b8c761e,libonce_cell-0ba6aecba7086d38,libtokio-38eb4857da3227a6,libsignal_hook_registry-51dcf58761736553,libsocket2-c00ac371f254d9de,libbytes-bfe11088fe358bd1,libmio-7609c10b461fdb1e,liblibc-82ceef6de72d31f7,libpin_project_lite-bedc6e0acd72ff2a,libserde_json-21e3d53ae5653b70,libmemchr-3ffe5f7a52883367,libitoa-6b76ec393d6a2c41,libryu-0ea4bafc9bef6d8b,libserde-71048969539cc2bd}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcUjTVw5/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/ring-ef3c867f554f3836/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/09_template_simple-d56719503c2f23b6" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reagent-rs` (example "09_template_simple") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5d575b3b04e1a58618314c92b464d895bed49de2503714180c44d04fb594cdcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d575b3b04e1a58618314c92b464d895bed49de2503714180c44d04fb594cdcc", kill_on_drop: false }` [INFO] [stdout] 5d575b3b04e1a58618314c92b464d895bed49de2503714180c44d04fb594cdcc