[INFO] fetching crate espionox 0.1.42... [INFO] checking espionox-0.1.42 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate espionox 0.1.42 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate espionox 0.1.42 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate espionox 0.1.42 [INFO] tweaked toml for crates.io crate espionox 0.1.42 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate espionox 0.1.42 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate espionox 0.1.42 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac1b367aa89c1d27d8d71b6d373e46faabbd81303d7a090d38d51f7c52f61e08 [INFO] running `Command { std: "docker" "start" "-a" "ac1b367aa89c1d27d8d71b6d373e46faabbd81303d7a090d38d51f7c52f61e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac1b367aa89c1d27d8d71b6d373e46faabbd81303d7a090d38d51f7c52f61e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac1b367aa89c1d27d8d71b6d373e46faabbd81303d7a090d38d51f7c52f61e08", kill_on_drop: false }` [INFO] [stdout] ac1b367aa89c1d27d8d71b6d373e46faabbd81303d7a090d38d51f7c52f61e08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 887677c89779eb9e67f0730e6f0962be5cec10c0b82ea1e1521c3ff1737a2c51 [INFO] running `Command { std: "docker" "start" "-a" "887677c89779eb9e67f0730e6f0962be5cec10c0b82ea1e1521c3ff1737a2c51", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking once_cell v1.20.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling cc v1.1.23 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.11.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tracing-bunyan-formatter v0.3.9 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking reqwest-streams v0.3.0 [INFO] [stderr] Checking espionox v0.1.42 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `cmp::Ordering`, `option::IterMut`, and `vec::IntoIter` [INFO] [stdout] --> src/agents/memory/message_stack.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::Ordering, option::IterMut, vec::IntoIter}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageStack` and `Message` [INFO] [stdout] --> src/agents/memory/message_stack.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | use super::{Message, MessageStack}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LexerError` [INFO] [stdout] --> src/language_models/completions/functions/lexer.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::errors::{LexerError, LexerResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/language_models/completions/functions/parser.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{HashMap, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/language_models/completions/functions/parser.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `lexer::*` and `parser::*` [INFO] [stdout] --> src/language_models/completions/functions/tests/mod.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{lexer::*, parser::*, tokens::*, *}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cases::*` [INFO] [stdout] --> src/language_models/completions/functions/tests/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cases::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/language_models/completions/openai/builder.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/language_models/completions/openai/builder.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/language_models/completions/openai/builder.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FunctionParam`, `ParamType`, `get_subscriber`, `init_subscriber`, and `openai::builder::OpenAiCompletionModel` [INFO] [stdout] --> src/language_models/completions/openai/builder.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | functions::{FunctionParam, ParamType}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 176 | openai::builder::OpenAiCompletionModel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 177 | }, [INFO] [stdout] 178 | telemetry::{get_subscriber, init_subscriber}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/language_models/completions/openai/requests.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/language_models/completions/openai/requests.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_log::log::info` [INFO] [stdout] --> src/language_models/completions/streaming/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing_log::log::info; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp::Ordering`, `option::IterMut`, and `vec::IntoIter` [INFO] [stdout] --> src/agents/memory/message_stack.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::Ordering, option::IterMut, vec::IntoIter}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LexerError` [INFO] [stdout] --> src/language_models/completions/functions/lexer.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::errors::{LexerError, LexerResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/language_models/completions/functions/parser.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{HashMap, VecDeque}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/language_models/completions/functions/parser.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/language_models/completions/openai/builder.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_subscriber` and `init_subscriber` [INFO] [stdout] --> src/language_models/completions/openai/builder.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | telemetry::{get_subscriber, init_subscriber}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/language_models/completions/openai/requests.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_log::log::info` [INFO] [stdout] --> src/language_models/completions/streaming/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing_log::log::info; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `anthropic::streaming::Message` is more private than the item `AnthropicStreamResponse::MessageStart::message` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | MessageStart { message: Message }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ field `AnthropicStreamResponse::MessageStart::message` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `anthropic::streaming::Message` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | struct Message { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ContentBlock` is more private than the item `AnthropicStreamResponse::ContentBlockStart::content_block` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | content_block: ContentBlock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `AnthropicStreamResponse::ContentBlockStart::content_block` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ContentBlock` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | struct ContentBlock { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Delta` is more private than the item `AnthropicStreamResponse::ContentBlockDelta::delta` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | ContentBlockDelta { index: usize, delta: Delta }, [INFO] [stdout] | ^^^^^^^^^^^^ field `AnthropicStreamResponse::ContentBlockDelta::delta` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Delta` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | enum Delta { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MessageDelta` is more private than the item `AnthropicStreamResponse::MessageDelta::delta` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | MessageDelta { delta: MessageDelta, usage: Usage }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `AnthropicStreamResponse::MessageDelta::delta` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MessageDelta` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | struct MessageDelta { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Usage` is more private than the item `AnthropicStreamResponse::MessageDelta::usage` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | MessageDelta { delta: MessageDelta, usage: Usage }, [INFO] [stdout] | ^^^^^^^^^^^^ field `AnthropicStreamResponse::MessageDelta::usage` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Usage` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | struct Usage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `StreamChoice` is more private than the item `OpenAiStreamResponse::choices` [INFO] [stdout] --> src/language_models/completions/openai/streaming.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub choices: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `OpenAiStreamResponse::choices` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `StreamChoice` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/language_models/completions/openai/streaming.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct StreamChoice { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `usage` is never read [INFO] [stdout] --> src/language_models/completions/anthropic/requests.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct AnthropicSuccess { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 112 | content: Vec, [INFO] [stdout] 113 | usage: AnthropicUsage, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicSuccess` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/language_models/completions/anthropic/requests.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct AnthropicError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 118 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_tokens` and `output_tokens` are never read [INFO] [stdout] --> src/language_models/completions/anthropic/requests.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct AnthropicUsage { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 129 | input_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 130 | output_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicUsage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 30 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 31 | #[serde(rename = "type")] [INFO] [stdout] 32 | msg_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | content: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | stop_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | stop_sequence: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 38 | usage: Usage, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_type` and `text` are never read [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct ContentBlock { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 43 | #[serde(rename = "type")] [INFO] [stdout] 44 | block_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 45 | text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContentBlock` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stop_reason` and `stop_sequence` are never read [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | struct MessageDelta { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 65 | stop_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 66 | stop_sequence: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageDelta` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_tokens` and `output_tokens` are never read [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct Usage { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 71 | input_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 72 | output_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FunctionResult` is never used [INFO] [stdout] --> src/language_models/completions/functions/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type FunctionResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TRACING` is never used [INFO] [stdout] --> src/language_models/completions/functions/tests/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | static TRACING: Lazy<()> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestCase` is never constructed [INFO] [stdout] --> src/language_models/completions/functions/tests/cases.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TestCase { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_test_cases` is never used [INFO] [stdout] --> src/language_models/completions/functions/tests/cases.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn all_test_cases() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `weather_func_test_case` is never used [INFO] [stdout] --> src/language_models/completions/functions/tests/cases.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn weather_func_test_case() -> TestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enough_context_func_test_case` is never used [INFO] [stdout] --> src/language_models/completions/functions/tests/cases.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn enough_context_func_test_case() -> TestCase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/language_models/completions/openai/streaming.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | struct StreamDelta { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 18 | pub role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamDelta` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/language_models/completions/inference.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | fn process_response<'r>(&'r self, response: Response) -> ProcessResponseReturn; [INFO] [stdout] | ^^ the lifetime is named here --------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 53 | fn process_response<'r>(&'r self, response: Response) -> ProcessResponseReturn<'r>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/language_models/embeddings/inference.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | fn process_response<'r>(&'r self, response: Response) -> ProcessEmbeddingResponseReturn; [INFO] [stdout] | ^^ the lifetime is named here ------------------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 14 | fn process_response<'r>(&'r self, response: Response) -> ProcessEmbeddingResponseReturn<'r>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/language_models/embeddings/openai.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | &'r self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 51 | response: reqwest::Response, [INFO] [stdout] 52 | ) -> super::inference::ProcessEmbeddingResponseReturn { [INFO] [stdout] | ------------------------------------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 52 | ) -> super::inference::ProcessEmbeddingResponseReturn<'r> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `anthropic::streaming::Message` is more private than the item `AnthropicStreamResponse::MessageStart::message` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | MessageStart { message: Message }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ field `AnthropicStreamResponse::MessageStart::message` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `anthropic::streaming::Message` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | struct Message { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ContentBlock` is more private than the item `AnthropicStreamResponse::ContentBlockStart::content_block` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | content_block: ContentBlock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `AnthropicStreamResponse::ContentBlockStart::content_block` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ContentBlock` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | struct ContentBlock { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Delta` is more private than the item `AnthropicStreamResponse::ContentBlockDelta::delta` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | ContentBlockDelta { index: usize, delta: Delta }, [INFO] [stdout] | ^^^^^^^^^^^^ field `AnthropicStreamResponse::ContentBlockDelta::delta` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Delta` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | enum Delta { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MessageDelta` is more private than the item `AnthropicStreamResponse::MessageDelta::delta` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | MessageDelta { delta: MessageDelta, usage: Usage }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field `AnthropicStreamResponse::MessageDelta::delta` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `MessageDelta` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | struct MessageDelta { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Usage` is more private than the item `AnthropicStreamResponse::MessageDelta::usage` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | MessageDelta { delta: MessageDelta, usage: Usage }, [INFO] [stdout] | ^^^^^^^^^^^^ field `AnthropicStreamResponse::MessageDelta::usage` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Usage` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | struct Usage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `StreamChoice` is more private than the item `OpenAiStreamResponse::choices` [INFO] [stdout] --> src/language_models/completions/openai/streaming.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub choices: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `OpenAiStreamResponse::choices` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `StreamChoice` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/language_models/completions/openai/streaming.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct StreamChoice { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `usage` is never read [INFO] [stdout] --> src/language_models/completions/anthropic/requests.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct AnthropicSuccess { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 112 | content: Vec, [INFO] [stdout] 113 | usage: AnthropicUsage, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicSuccess` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/language_models/completions/anthropic/requests.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct AnthropicError { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 118 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_tokens` and `output_tokens` are never read [INFO] [stdout] --> src/language_models/completions/anthropic/requests.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct AnthropicUsage { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 129 | input_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 130 | output_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicUsage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 30 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 31 | #[serde(rename = "type")] [INFO] [stdout] 32 | msg_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | content: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | stop_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | stop_sequence: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 38 | usage: Usage, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_type` and `text` are never read [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct ContentBlock { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 43 | #[serde(rename = "type")] [INFO] [stdout] 44 | block_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 45 | text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContentBlock` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stop_reason` and `stop_sequence` are never read [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | struct MessageDelta { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 65 | stop_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 66 | stop_sequence: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageDelta` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_tokens` and `output_tokens` are never read [INFO] [stdout] --> src/language_models/completions/anthropic/streaming.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct Usage { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 71 | input_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 72 | output_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FunctionResult` is never used [INFO] [stdout] --> src/language_models/completions/functions/errors.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type FunctionResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/language_models/completions/openai/streaming.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | struct StreamDelta { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 18 | pub role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamDelta` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/language_models/completions/inference.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | fn process_response<'r>(&'r self, response: Response) -> ProcessResponseReturn; [INFO] [stdout] | ^^ the lifetime is named here --------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 53 | fn process_response<'r>(&'r self, response: Response) -> ProcessResponseReturn<'r>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/language_models/embeddings/inference.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | fn process_response<'r>(&'r self, response: Response) -> ProcessEmbeddingResponseReturn; [INFO] [stdout] | ^^ the lifetime is named here ------------------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 14 | fn process_response<'r>(&'r self, response: Response) -> ProcessEmbeddingResponseReturn<'r>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/language_models/embeddings/openai.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | &'r self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 51 | response: reqwest::Response, [INFO] [stdout] 52 | ) -> super::inference::ProcessEmbeddingResponseReturn { [INFO] [stdout] | ------------------------------------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'r` [INFO] [stdout] | [INFO] [stdout] 52 | ) -> super::inference::ProcessEmbeddingResponseReturn<'r> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> tests/api/agent.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> tests/api/agent.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> tests/api/functions.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_to_compile` [INFO] [stdout] --> tests/api/functions.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let str_to_compile = r#"get_current_weather(location!: string, unit: 'celcius' | 'farenheight') [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_to_compile` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/api/functions.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let expected_result = json!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_to_compile` [INFO] [stdout] --> tests/api/functions.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let str_to_compile = r#"get_n_day_weather_forecast(location!: string, format!: 'celcius' | 'farenheight', num_days!: integer) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_to_compile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_result` [INFO] [stdout] --> tests/api/functions.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let expected_result = json!({ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.85s [INFO] running `Command { std: "docker" "inspect" "887677c89779eb9e67f0730e6f0962be5cec10c0b82ea1e1521c3ff1737a2c51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "887677c89779eb9e67f0730e6f0962be5cec10c0b82ea1e1521c3ff1737a2c51", kill_on_drop: false }` [INFO] [stdout] 887677c89779eb9e67f0730e6f0962be5cec10c0b82ea1e1521c3ff1737a2c51