[INFO] fetching crate reagent-rs 0.2.7... [INFO] testing reagent-rs-0.2.7 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] extracting crate reagent-rs 0.2.7 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate reagent-rs 0.2.7 [INFO] finished tweaking crates.io crate reagent-rs 0.2.7 [INFO] tweaked toml for crates.io crate reagent-rs 0.2.7 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate reagent-rs 0.2.7 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate reagent-rs 0.2.7 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32c77502c16f2d61816478c37a68120d6ae5cc7dcae9b6ea4faa26614409f5f2 [INFO] running `Command { std: "docker" "start" "-a" "32c77502c16f2d61816478c37a68120d6ae5cc7dcae9b6ea4faa26614409f5f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32c77502c16f2d61816478c37a68120d6ae5cc7dcae9b6ea4faa26614409f5f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32c77502c16f2d61816478c37a68120d6ae5cc7dcae9b6ea4faa26614409f5f2", kill_on_drop: false }` [INFO] [stdout] 32c77502c16f2d61816478c37a68120d6ae5cc7dcae9b6ea4faa26614409f5f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 3d3b7a641a017d3bf868290b02baa31056a2d2cc32c14c1d2d589613a3f43558 [INFO] running `Command { std: "docker" "start" "-a" "3d3b7a641a017d3bf868290b02baa31056a2d2cc32c14c1d2d589613a3f43558", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.31.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.9 [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 ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling opentelemetry v0.31.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling rmcp-macros v0.2.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling sse-stream v0.2.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling process-wrap v8.2.1 [INFO] [stderr] Compiling tower-http v0.6.4 [INFO] [stderr] Compiling opentelemetry_sdk v0.31.0 [INFO] [stderr] Compiling tonic v0.14.2 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling tonic-prost v0.14.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling opentelemetry-proto v0.31.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tracing-opentelemetry v0.32.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 opentelemetry-http v0.31.0 [INFO] [stderr] Compiling rmcp v0.2.1 [INFO] [stderr] Compiling opentelemetry-otlp v0.31.0 [INFO] [stderr] Compiling opentelemetry-langfuse v0.6.0 [INFO] [stderr] Compiling reagent-rs v0.2.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Span` and `instrument` [INFO] [stdout] --> src/agent/models/agent.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{instrument, span, Instrument, Level, Span}; [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/mcp/mcp_tool_builder.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{info, instrument, trace}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_error_telemetry` is never used [INFO] [stdout] --> src/services/llm/providers/ollama.rs:254:4 [INFO] [stdout] | [INFO] [stdout] 254 | fn extract_error_telemetry(gen_span: &Span, error_message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "3d3b7a641a017d3bf868290b02baa31056a2d2cc32c14c1d2d589613a3f43558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d3b7a641a017d3bf868290b02baa31056a2d2cc32c14c1d2d589613a3f43558", kill_on_drop: false }` [INFO] [stdout] 3d3b7a641a017d3bf868290b02baa31056a2d2cc32c14c1d2d589613a3f43558 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 8c6a02e1b7d8a08b9c58b12e40c9a7025d84fdaba46f526e23e8778dd9b9b26b [INFO] running `Command { std: "docker" "start" "-a" "8c6a02e1b7d8a08b9c58b12e40c9a7025d84fdaba46f526e23e8778dd9b9b26b", 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.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Span` and `instrument` [INFO] [stdout] --> src/agent/models/agent.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{instrument, span, Instrument, Level, Span}; [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/mcp/mcp_tool_builder.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{info, instrument, trace}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Span` and `instrument` [INFO] [stdout] --> src/agent/models/agent.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{instrument, span, Instrument, Level, Span}; [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/mcp/mcp_tool_builder.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{info, instrument, trace}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_error_telemetry` is never used [INFO] [stdout] --> src/services/llm/providers/ollama.rs:254:4 [INFO] [stdout] | [INFO] [stdout] 254 | fn extract_error_telemetry(gen_span: &Span, error_message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] [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: function `extract_error_telemetry` is never used [INFO] [stdout] --> src/services/llm/providers/ollama.rs:254:4 [INFO] [stdout] | [INFO] [stdout] 254 | fn extract_error_telemetry(gen_span: &Span, error_message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 31.06s [INFO] running `Command { std: "docker" "inspect" "8c6a02e1b7d8a08b9c58b12e40c9a7025d84fdaba46f526e23e8778dd9b9b26b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c6a02e1b7d8a08b9c58b12e40c9a7025d84fdaba46f526e23e8778dd9b9b26b", kill_on_drop: false }` [INFO] [stdout] 8c6a02e1b7d8a08b9c58b12e40c9a7025d84fdaba46f526e23e8778dd9b9b26b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 3733eb019409d295d1a32704b1d1fc6ef9134dcfbdc69cd4db9b9b440f5636c9 [INFO] running `Command { std: "docker" "start" "-a" "3733eb019409d295d1a32704b1d1fc6ef9134dcfbdc69cd4db9b9b440f5636c9", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Span` and `instrument` [INFO] [stderr] --> src/agent/models/agent.rs:15:15 [INFO] [stderr] | [INFO] [stderr] 15 | use tracing::{instrument, span, Instrument, Level, Span}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `instrument` [INFO] [stderr] --> src/services/mcp/mcp_tool_builder.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | use tracing::{info, instrument, trace}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_error_telemetry` is never used [INFO] [stderr] --> src/services/llm/providers/ollama.rs:254:4 [INFO] [stderr] | [INFO] [stderr] 254 | fn extract_error_telemetry(gen_span: &Span, error_message: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `provider`, and `object` are never read [INFO] [stderr] --> src/services/llm/providers/openrouter.rs:406:5 [INFO] [stderr] | [INFO] [stderr] 405 | struct OrChatResponse { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 406 | id: String, [INFO] [stderr] | ^^ [INFO] [stderr] 407 | provider: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 408 | model: String, [INFO] [stderr] 409 | object: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | async fn notify(&self, content: NotificationContent) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 18 ~ fn notify(&self, content: NotificationContent) -> impl std::future::Future + Send {async { [INFO] [stderr] 19 | if self.get_outgoing_channel().is_none() { [INFO] [stderr] ... [INFO] [stderr] 33 | } [INFO] [stderr] 34 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | async fn notify_done(&self, success: Success, resp: Response) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 77 ~ fn notify_done(&self, success: Success, resp: Response) -> impl std::future::Future + Send {async { [INFO] [stderr] 78 | self.notify(NotificationContent::Done(success, resp)).await [INFO] [stderr] 79 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | async fn notify_prompt_request(&self, req: ChatRequest) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 80 ~ fn notify_prompt_request(&self, req: ChatRequest) -> impl std::future::Future + Send {async { [INFO] [stderr] 81 | self.notify(NotificationContent::PromptRequest(req)).await [INFO] [stderr] 82 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:83:5 [INFO] [stderr] | [INFO] [stderr] 83 | async fn notify_prompt_success(&self, resp: ChatResponse) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 83 ~ fn notify_prompt_success(&self, resp: ChatResponse) -> impl std::future::Future + Send {async { [INFO] [stderr] 84 | self.notify(NotificationContent::PromptSuccessResult(resp)) [INFO] [stderr] 85 | .await [INFO] [stderr] 86 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 87 | async fn notify_prompt_error(&self, error_message: String) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 87 ~ fn notify_prompt_error(&self, error_message: String) -> impl std::future::Future + Send {async { [INFO] [stderr] 88 | self.notify(NotificationContent::PromptErrorResult(error_message)) [INFO] [stderr] 89 | .await [INFO] [stderr] 90 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | async fn notify_tool_request(&self, tool_call: ToolCall) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 91 ~ fn notify_tool_request(&self, tool_call: ToolCall) -> impl std::future::Future + Send {async { [INFO] [stderr] 92 | self.notify(NotificationContent::ToolCallRequest(tool_call)) [INFO] [stderr] 93 | .await [INFO] [stderr] 94 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | async fn notify_tool_success(&self, tool_result: String) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 95 ~ fn notify_tool_success(&self, tool_result: String) -> impl std::future::Future + Send {async { [INFO] [stderr] 96 | self.notify(NotificationContent::ToolCallSuccessResult(tool_result)) [INFO] [stderr] 97 | .await [INFO] [stderr] 98 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:99:5 [INFO] [stderr] | [INFO] [stderr] 99 | async fn notify_tool_error(&self, error_message: String) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 99 ~ fn notify_tool_error(&self, error_message: String) -> impl std::future::Future + Send {async { [INFO] [stderr] 100 | self.notify(NotificationContent::ToolCallErrorResult(error_message)) [INFO] [stderr] 101 | .await [INFO] [stderr] 102 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 103 | async fn notify_token(&self, token: Token) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 103 ~ fn notify_token(&self, token: Token) -> impl std::future::Future + Send {async { [INFO] [stderr] 104 | self.notify(NotificationContent::Token(token)).await [INFO] [stderr] 105 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | async fn notify_mcp_tool_notification(&self, notification: String) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 106 ~ fn notify_mcp_tool_notification(&self, notification: String) -> impl std::future::Future + Send {async { [INFO] [stderr] 107 | self.notify(NotificationContent::McpToolNotification(notification)) [INFO] [stderr] 108 | .await [INFO] [stderr] 109 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/notifications/handler.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | async fn notify_custom(&self, custom_val: Value) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 110 ~ fn notify_custom(&self, custom_val: Value) -> impl std::future::Future + Send {async { [INFO] [stderr] 111 | self.notify(NotificationContent::Custom(custom_val)).await [INFO] [stderr] 112 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `reagent-rs` (lib) generated 15 warnings (run `cargo fix --lib -p reagent-rs` to apply 2 suggestions) [INFO] [stderr] warning: `reagent-rs` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/reagent-rs/6d913fbe482bed04/deps/reagent_rs-6d913fbe482bed04) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test agent::models::agent_builder::tests::defaults_fail_without_model ... ok [INFO] [stdout] test templates::tests::test_template_compile ... ok [INFO] [stdout] test templates::tests::test_template_compile_without_user_data ... ok [INFO] [stdout] test tools::tool_builder::tests::tool_builder_missing_description_fails ... ok [INFO] [stdout] test tools::tool_builder::tests::tool_builder_missing_executor_fails ... ok [INFO] [stdout] test tools::tool_builder::tests::tool_builder_missing_name_fails ... ok [INFO] [stdout] test tools::tool_builder::tests::tool_builder_valid_tool ... ok [INFO] [stdout] test agent::models::agent_builder::tests::build_with_notification_channel ... ok [INFO] [stdout] test agent::models::agent_builder::tests::add_tools ... ok [INFO] [stdout] test agent::models::agent_builder::tests::invalid_json_schema_errors ... ok [INFO] [stdout] test agent::models::agent_builder::tests::custom_system_prompt_and_response_format ... ok [INFO] [stdout] test agent::models::agent_builder::tests::build_minimal_succeeds ... ok [INFO] [stdout] test agent::models::agent_builder::tests::custom_flow_invocation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s [INFO] [stdout] [INFO] [stderr] Doc-tests reagent_rs [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/templates/data_source.rs - templates::data_source::TemplateDataSource (line 9) ... ok [INFO] [stdout] test src/lib.rs - (line 2) ... ok [INFO] [stdout] test src/lib.rs - (line 6) ... ok [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/tools/tool_builder.rs - tools::tool_builder::ToolBuilder (line 41) ... ok [INFO] [stdout] test src/templates/template.rs - templates::template::Template::new (line 29) ... ok [INFO] [stdout] test src/lib.rs - (line 51) ... ok [INFO] [stdout] test src/agent/models/agent_builder.rs - agent::models::agent_builder::AgentBuilder (line 27) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `reagent_rs::init_default_tracing` [INFO] [stdout] --> src/lib.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | use reagent_rs::{init_default_tracing, AgentBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `init_default_tracing` in the root [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyWeatherOuput: Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | .invoke_flow_structured_output("What is the current weather in Koper?") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Serialize` is not implemented for `MyWeatherOuput` [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | struct MyWeatherOuput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `MyWeatherOuput` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 299 others [INFO] [stdout] note: required by a bound in `Agent::invoke_flow_structured_output` [INFO] [stdout] --> src/agent/models/agent.rs:228:31 [INFO] [stdout] | [INFO] [stdout] 225 | pub async fn invoke_flow_structured_output(&mut self, prompt: T) -> Result [INFO] [stdout] | ----------------------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 228 | O: DeserializeOwned + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Agent::invoke_flow_structured_output` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.83s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3733eb019409d295d1a32704b1d1fc6ef9134dcfbdc69cd4db9b9b440f5636c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3733eb019409d295d1a32704b1d1fc6ef9134dcfbdc69cd4db9b9b440f5636c9", kill_on_drop: false }` [INFO] [stdout] 3733eb019409d295d1a32704b1d1fc6ef9134dcfbdc69cd4db9b9b440f5636c9