[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] 7ef557cac124562733dbeb43b82a5893581779dd [INFO] checking VakeDomen/RustAIAgent against master#377656d3dd3f9c23a9c8713e163f4365a5261a84 for pr-146470-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVakeDomen%2FRustAIAgent" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VakeDomen/RustAIAgent on toolchain 377656d3dd3f9c23a9c8713e163f4365a5261a84 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "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" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sse-stream v0.2.0 [INFO] [stderr] Downloaded rmcp-macros v0.2.1 [INFO] [stderr] Downloaded tonic-prost v0.14.2 [INFO] [stderr] Downloaded opentelemetry-http v0.31.0 [INFO] [stderr] Downloaded prost-derive v0.14.1 [INFO] [stderr] Downloaded prost v0.14.1 [INFO] [stderr] Downloaded quinn-udp v0.5.12 [INFO] [stderr] Downloaded opentelemetry-langfuse v0.6.0 [INFO] [stderr] Downloaded opentelemetry-proto v0.31.0 [INFO] [stderr] Downloaded rustls-webpki v0.103.3 [INFO] [stderr] Downloaded opentelemetry-semantic-conventions v0.31.0 [INFO] [stderr] Downloaded tonic v0.14.2 [INFO] [stderr] Downloaded rmcp v0.2.1 [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 h2 v0.4.10 [INFO] [stderr] Downloaded opentelemetry_sdk v0.31.0 [INFO] [stderr] Downloaded cc v1.2.24 [INFO] [stderr] Downloaded webpki-roots v1.0.0 [INFO] [stderr] Downloaded tracing-opentelemetry v0.32.0 [INFO] [stderr] Downloaded opentelemetry v0.31.0 [INFO] [stderr] Downloaded opentelemetry-otlp v0.31.0 [INFO] [stderr] Downloaded hyper-rustls v0.27.6 [INFO] [stderr] Downloaded windows v0.61.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09efa6fad5832e47cdc6eb06276c033a78bc8ce808e02bf5b273816b4d4e9547 [INFO] running `Command { std: "docker" "start" "-a" "09efa6fad5832e47cdc6eb06276c033a78bc8ce808e02bf5b273816b4d4e9547", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09efa6fad5832e47cdc6eb06276c033a78bc8ce808e02bf5b273816b4d4e9547", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09efa6fad5832e47cdc6eb06276c033a78bc8ce808e02bf5b273816b4d4e9547", kill_on_drop: false }` [INFO] [stdout] 09efa6fad5832e47cdc6eb06276c033a78bc8ce808e02bf5b273816b4d4e9547 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 300a733eb785dbc180bde77f988a97f95585ac52315d022288c88d8ed9ecb175 [INFO] running `Command { std: "docker" "start" "-a" "300a733eb785dbc180bde77f988a97f95585ac52315d022288c88d8ed9ecb175", kill_on_drop: false }` [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking webpki-roots v1.0.0 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking opentelemetry v0.31.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking time-core v0.1.6 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking opentelemetry-semantic-conventions v0.31.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking prost v0.14.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking sse-stream v0.2.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking process-wrap v8.2.1 [INFO] [stderr] Checking tonic v0.14.2 [INFO] [stderr] Checking opentelemetry_sdk v0.31.0 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking tower-http v0.6.4 [INFO] [stderr] Compiling rmcp-macros v0.2.1 [INFO] [stderr] Checking tonic-prost v0.14.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking opentelemetry-proto v0.31.0 [INFO] [stderr] Checking tracing-opentelemetry v0.32.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.12 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking hyper-rustls v0.27.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.18 [INFO] [stderr] Checking opentelemetry-http v0.31.0 [INFO] [stderr] Checking rmcp v0.2.1 [INFO] [stderr] Checking opentelemetry-otlp v0.31.0 [INFO] [stderr] Checking opentelemetry-langfuse v0.6.0 [INFO] [stderr] Checking reagent-rs v0.2.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/services/llm/providers/ollama.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{error, info_span, instrument, trace, Instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/services/llm/providers/ollama.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{error, info_span, instrument, trace, Instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `provider`, and `object` are never read [INFO] [stdout] --> src/services/llm/providers/openrouter.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 405 | struct OrChatResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 406 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 407 | provider: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 408 | model: String, [INFO] [stdout] 409 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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_prompt_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_prompt_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: fields `windy`, `temperature`, and `description` are never read [INFO] [stdout] --> examples/02_structured_output.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct MyWeatherOuput { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 7 | windy: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | temperature: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyWeatherOuput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `provider`, and `object` are never read [INFO] [stdout] --> src/services/llm/providers/openrouter.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 405 | struct OrChatResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 406 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 407 | provider: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 408 | model: String, [INFO] [stdout] 409 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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_prompt_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_prompt_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: fields `windy`, `temperature`, and `description` are never read [INFO] [stdout] --> examples/14_switching_providers.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct MyWeatherOuput { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 9 | windy: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | temperature: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyWeatherOuput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.49s [INFO] running `Command { std: "docker" "inspect" "300a733eb785dbc180bde77f988a97f95585ac52315d022288c88d8ed9ecb175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "300a733eb785dbc180bde77f988a97f95585ac52315d022288c88d8ed9ecb175", kill_on_drop: false }` [INFO] [stdout] 300a733eb785dbc180bde77f988a97f95585ac52315d022288c88d8ed9ecb175