[INFO] fetching crate omni-llm-kit 0.1.1... [INFO] checking omni-llm-kit-0.1.1 against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] extracting crate omni-llm-kit 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate omni-llm-kit 0.1.1 [INFO] finished tweaking crates.io crate omni-llm-kit 0.1.1 [INFO] tweaked toml for crates.io crate omni-llm-kit 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate omni-llm-kit 0.1.1 on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate omni-llm-kit 0.1.1 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded partial-json-fixer v0.5.3 [INFO] [stderr] Downloaded arc-cow v0.1.0 [INFO] [stderr] Downloaded thiserror-impl v2.0.15 [INFO] [stderr] Downloaded thiserror v2.0.15 [INFO] [stderr] Downloaded tiktoken-rs v0.7.0 [INFO] [stderr] Downloaded global-registry v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13ca5e22ef4f1713c31c6630d268fa9eba934892e4a8472e6aaa0c0147845d3a [INFO] running `Command { std: "docker" "start" "-a" "13ca5e22ef4f1713c31c6630d268fa9eba934892e4a8472e6aaa0c0147845d3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13ca5e22ef4f1713c31c6630d268fa9eba934892e4a8472e6aaa0c0147845d3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13ca5e22ef4f1713c31c6630d268fa9eba934892e4a8472e6aaa0c0147845d3a", kill_on_drop: false }` [INFO] [stdout] 13ca5e22ef4f1713c31c6630d268fa9eba934892e4a8472e6aaa0c0147845d3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd26e94716a48fbeb5a8ba2f6a0639a5e973b216f53c69f789d982039d9d741a [INFO] running `Command { std: "docker" "start" "-a" "bd26e94716a48fbeb5a8ba2f6a0639a5e973b216f53c69f789d982039d9d741a", kill_on_drop: false }` [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking bitflags v2.9.2 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking global-registry v0.1.0 [INFO] [stderr] Checking partial-json-fixer v0.5.3 [INFO] [stderr] Checking ref-cast v1.0.24 [INFO] [stderr] Checking arc-cow v0.1.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling schemars_derive v1.0.4 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tiktoken-rs v0.7.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v1.18.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking schemars v1.0.4 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking rustls-platform-verifier v0.5.3 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Checking omni-llm-kit v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/common/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test-support` [INFO] [stdout] --> src/http_client/http_client.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "test-support")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test-support` [INFO] [stdout] --> src/http_client/http_client.rs:293:7 [INFO] [stdout] | [INFO] [stdout] 293 | #[cfg(feature = "test-support")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test-support` [INFO] [stdout] --> src/http_client/http_client.rs:301:7 [INFO] [stdout] | [INFO] [stdout] 301 | #[cfg(feature = "test-support")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test-support` [INFO] [stdout] --> src/http_client/http_client.rs:306:7 [INFO] [stdout] | [INFO] [stdout] 306 | #[cfg(feature = "test-support")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test-support` [INFO] [stdout] --> src/http_client/http_client.rs:343:7 [INFO] [stdout] | [INFO] [stdout] 343 | #[cfg(feature = "test-support")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test-support` [INFO] [stdout] --> src/http_client/http_client.rs:350:7 [INFO] [stdout] | [INFO] [stdout] 350 | #[cfg(feature = "test-support")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> src/model/types.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize, de::DeserializeOwned}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToolResultPart` [INFO] [stdout] --> src/models/anthropic_provider/anthropic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ToolResultPart, Usage, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context as _` and `anyhow` [INFO] [stdout] --> src/models/anthropic_provider/anthropic.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{Context as _, anyhow}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/models/anthropic_provider/anthropic.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum::IntoEnumIterator` [INFO] [stdout] --> src/models/anthropic_provider/anthropic.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use strum::IntoEnumIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/models/openai_provider/provider.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::anyhow` [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::anyhow; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_core::Stream` [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures_core::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_core::future::BoxFuture` [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::future::BoxFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum::EnumIter` [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use strum::EnumIter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future::BoxFuture` [INFO] [stdout] --> src/models/openai_provider/event_mapper.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{FutureExt, StreamExt, future::BoxFuture}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/models/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use openai_provider::*; [INFO] [stdout] | ------------------ but the name `AvailableModel` in the type namespace is also re-exported here [INFO] [stdout] 6 | pub use anthropic_provider::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `AvailableModel` in the type namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LazyLock` [INFO] [stdout] --> src/reqwest_client/reqwest_client.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{LazyLock, OnceLock}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Cow` [INFO] [stdout] --> src/reqwest_client/reqwest_client.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{any::type_name, borrow::Cow, mem, pin::Pin, task::Poll, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redirect` [INFO] [stdout] --> src/reqwest_client/reqwest_client.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | redirect, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `schemars` [INFO] [stdout] --> src/anthropic/anthropic.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `schemars` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `schemars` [INFO] [stdout] --> src/anthropic/anthropic.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `schemars` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `schemars` [INFO] [stdout] --> src/anthropic/anthropic.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `schemars` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `schemars` [INFO] [stdout] --> src/openai/openai.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `schemars` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LanguageModelRequest` [INFO] [stdout] --> src/tool/tool.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | LanguageModel, LanguageModelImage, LanguageModelRequest, LanguageModelToolSchemaFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/tool/tool.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/tool/tool.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/tool/tool.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/tool/tool.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/tool/tool.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/tool/tool.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::task::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut` and `Deref` [INFO] [stdout] --> src/tool/tool_registry.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use derive_more::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use models::*; [INFO] [stdout] | ^^^^^^^^^ the name `OPEN_AI_PROVIDER_ID` in the value namespace is first re-exported here [INFO] [stdout] 12 | pub use model::*; [INFO] [stdout] | -------- but the name `OPEN_AI_PROVIDER_ID` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use models::*; [INFO] [stdout] | ^^^^^^^^^ the name `OPEN_AI_PROVIDER_NAME` in the value namespace is first re-exported here [INFO] [stdout] 12 | pub use model::*; [INFO] [stdout] | -------- but the name `OPEN_AI_PROVIDER_NAME` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/common/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test-support` [INFO] [stdout] --> src/http_client/http_client.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "test-support")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test-support` [INFO] [stdout] --> src/http_client/http_client.rs:293:7 [INFO] [stdout] | [INFO] [stdout] 293 | #[cfg(feature = "test-support")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test-support` [INFO] [stdout] --> src/http_client/http_client.rs:301:7 [INFO] [stdout] | [INFO] [stdout] 301 | #[cfg(feature = "test-support")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test-support` [INFO] [stdout] --> src/http_client/http_client.rs:306:7 [INFO] [stdout] | [INFO] [stdout] 306 | #[cfg(feature = "test-support")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test-support` [INFO] [stdout] --> src/http_client/http_client.rs:343:7 [INFO] [stdout] | [INFO] [stdout] 343 | #[cfg(feature = "test-support")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test-support` [INFO] [stdout] --> src/http_client/http_client.rs:350:7 [INFO] [stdout] | [INFO] [stdout] 350 | #[cfg(feature = "test-support")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> src/model/types.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize, de::DeserializeOwned}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToolResultPart` [INFO] [stdout] --> src/models/anthropic_provider/anthropic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ToolResultPart, Usage, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context as _` and `anyhow` [INFO] [stdout] --> src/models/anthropic_provider/anthropic.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use anyhow::{Context as _, anyhow}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/models/anthropic_provider/anthropic.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum::IntoEnumIterator` [INFO] [stdout] --> src/models/anthropic_provider/anthropic.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use strum::IntoEnumIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/models/openai_provider/provider.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::anyhow` [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::anyhow; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_core::Stream` [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures_core::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_core::future::BoxFuture` [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_core::future::BoxFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum::EnumIter` [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use strum::EnumIter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future::BoxFuture` [INFO] [stdout] --> src/models/openai_provider/event_mapper.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{FutureExt, StreamExt, future::BoxFuture}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/models/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use openai_provider::*; [INFO] [stdout] | ------------------ but the name `AvailableModel` in the type namespace is also re-exported here [INFO] [stdout] 6 | pub use anthropic_provider::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `AvailableModel` in the type namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LazyLock` [INFO] [stdout] --> src/reqwest_client/reqwest_client.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{LazyLock, OnceLock}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Cow` [INFO] [stdout] --> src/reqwest_client/reqwest_client.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{any::type_name, borrow::Cow, mem, pin::Pin, task::Poll, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redirect` [INFO] [stdout] --> src/reqwest_client/reqwest_client.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | redirect, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `schemars` [INFO] [stdout] --> src/anthropic/anthropic.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `schemars` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `schemars` [INFO] [stdout] --> src/anthropic/anthropic.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `schemars` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `schemars` [INFO] [stdout] --> src/anthropic/anthropic.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `schemars` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `schemars` [INFO] [stdout] --> src/openai/openai.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `schemars` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LanguageModelRequest` [INFO] [stdout] --> src/tool/tool.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | LanguageModel, LanguageModelImage, LanguageModelRequest, LanguageModelToolSchemaFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/tool/tool.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/tool/tool.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/tool/tool.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/tool/tool.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/tool/tool.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/tool/tool.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::task::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut` and `Deref` [INFO] [stdout] --> src/tool/tool_registry.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use derive_more::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use models::*; [INFO] [stdout] | ^^^^^^^^^ the name `OPEN_AI_PROVIDER_ID` in the value namespace is first re-exported here [INFO] [stdout] 12 | pub use model::*; [INFO] [stdout] | -------- but the name `OPEN_AI_PROVIDER_ID` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use models::*; [INFO] [stdout] | ^^^^^^^^^ the name `OPEN_AI_PROVIDER_NAME` in the value namespace is first re-exported here [INFO] [stdout] 12 | pub use model::*; [INFO] [stdout] | -------- but the name `OPEN_AI_PROVIDER_NAME` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tool` [INFO] [stdout] --> src/tool/tool_registry.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Tool, ToolDyn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LanguageModel` [INFO] [stdout] --> src/tool/tool.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | LanguageModel, LanguageModelImage, LanguageModelRequest, LanguageModelToolSchemaFormat, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use futures_util::{FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/models/openai_provider/event_mapper.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{FutureExt, StreamExt, future::BoxFuture}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tool` [INFO] [stdout] --> src/tool/tool_registry.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Tool, ToolDyn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LanguageModel` [INFO] [stdout] --> src/tool/tool.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | LanguageModel, LanguageModelImage, LanguageModelRequest, LanguageModelToolSchemaFormat, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use futures_util::{FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/models/openai_provider/event_mapper.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{FutureExt, StreamExt, future::BoxFuture}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_obj` [INFO] [stdout] --> src/model/types.rs:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | if let Some(image_obj) = value.as_object() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_obj` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_obj` [INFO] [stdout] --> src/model/types.rs:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | if let Some(image_obj) = value.as_object() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_obj` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/models/anthropic_provider/anthropic.rs:220:43 [INFO] [stdout] | [INFO] [stdout] 220 | MessageContent::Image(image) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stop_reason` [INFO] [stdout] --> src/models/openai_provider/event_mapper.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | Some(stop_reason) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stop_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `redirect_policy` [INFO] [stdout] --> src/reqwest_client/reqwest_client.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | if let Some(redirect_policy) = parts.extensions.get::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_redirect_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/models/anthropic_provider/anthropic.rs:220:43 [INFO] [stdout] | [INFO] [stdout] 220 | MessageContent::Image(image) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stop_reason` [INFO] [stdout] --> src/models/openai_provider/event_mapper.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | Some(stop_reason) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stop_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `redirect_policy` [INFO] [stdout] --> src/reqwest_client/reqwest_client.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | if let Some(redirect_policy) = parts.extensions.get::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_redirect_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_true` is never used [INFO] [stdout] --> src/common/serde_utils.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | pub const fn default_true() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_inc` is never used [INFO] [stdout] --> src/common/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn post_inc + AddAssign + Copy>(value: &mut T) -> T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate_lines_to_byte_limit` is never used [INFO] [stdout] --> src/common/utils.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn truncate_lines_to_byte_limit(s: &str, max_bytes: usize) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate_to_byte_limit` is never used [INFO] [stdout] --> src/common/utils.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn truncate_to_byte_limit(s: &str, max_bytes: usize) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANTHROPIC_API_KEY_VAR` is never used [INFO] [stdout] --> src/models/anthropic_provider/anthropic.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | const ANTHROPIC_API_KEY_VAR: &str = "ANTHROPIC_API_KEY"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AvailableModel` is never constructed [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct AvailableModel { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANTHROPIC_API_URL` is never used [INFO] [stdout] --> src/anthropic/anthropic.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const ANTHROPIC_API_URL: &str = "https://api.anthropic.com"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `complete` is never used [INFO] [stdout] --> src/anthropic/anthropic.rs:362:14 [INFO] [stdout] | [INFO] [stdout] 362 | pub async fn complete( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `limit`, `remaining`, and `reset` are never read [INFO] [stdout] --> src/anthropic/anthropic.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 421 | pub struct RateLimit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 422 | pub limit: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 423 | pub remaining: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 424 | pub reset: DateTime, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `requests`, `tokens`, `input_tokens`, and `output_tokens` are never read [INFO] [stdout] --> src/anthropic/anthropic.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 452 | pub struct RateLimitInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 453 | pub retry_after: Option, [INFO] [stdout] 454 | pub requests: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 455 | pub tokens: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 456 | pub input_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 457 | pub output_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimitInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPEN_AI_API_URL` is never used [INFO] [stdout] --> src/openai/openai.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const OPEN_AI_API_URL: &str = "https://api.openai.com/v1"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OpenAiEmbeddingModel` is never used [INFO] [stdout] --> src/openai/openai.rs:465:10 [INFO] [stdout] | [INFO] [stdout] 465 | pub enum OpenAiEmbeddingModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAiEmbeddingRequest` is never constructed [INFO] [stdout] --> src/openai/openai.rs:473:8 [INFO] [stdout] | [INFO] [stdout] 473 | struct OpenAiEmbeddingRequest<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAiEmbeddingResponse` is never constructed [INFO] [stdout] --> src/openai/openai.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 479 | pub struct OpenAiEmbeddingResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAiEmbedding` is never constructed [INFO] [stdout] --> src/openai/openai.rs:484:12 [INFO] [stdout] | [INFO] [stdout] 484 | pub struct OpenAiEmbedding { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `embed` is never used [INFO] [stdout] --> src/openai/openai.rs:488:8 [INFO] [stdout] | [INFO] [stdout] 488 | pub fn embed<'a>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_true` is never used [INFO] [stdout] --> src/common/serde_utils.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | pub const fn default_true() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_inc` is never used [INFO] [stdout] --> src/common/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn post_inc + AddAssign + Copy>(value: &mut T) -> T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate_lines_to_byte_limit` is never used [INFO] [stdout] --> src/common/utils.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn truncate_lines_to_byte_limit(s: &str, max_bytes: usize) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate_to_byte_limit` is never used [INFO] [stdout] --> src/common/utils.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn truncate_to_byte_limit(s: &str, max_bytes: usize) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANTHROPIC_API_KEY_VAR` is never used [INFO] [stdout] --> src/models/anthropic_provider/anthropic.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | const ANTHROPIC_API_KEY_VAR: &str = "ANTHROPIC_API_KEY"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AvailableModel` is never constructed [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct AvailableModel { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANTHROPIC_API_URL` is never used [INFO] [stdout] --> src/anthropic/anthropic.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const ANTHROPIC_API_URL: &str = "https://api.anthropic.com"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `complete` is never used [INFO] [stdout] --> src/anthropic/anthropic.rs:362:14 [INFO] [stdout] | [INFO] [stdout] 362 | pub async fn complete( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `limit`, `remaining`, and `reset` are never read [INFO] [stdout] --> src/anthropic/anthropic.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 421 | pub struct RateLimit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 422 | pub limit: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 423 | pub remaining: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 424 | pub reset: DateTime, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `requests`, `tokens`, `input_tokens`, and `output_tokens` are never read [INFO] [stdout] --> src/anthropic/anthropic.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 452 | pub struct RateLimitInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 453 | pub retry_after: Option, [INFO] [stdout] 454 | pub requests: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 455 | pub tokens: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 456 | pub input_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 457 | pub output_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimitInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPEN_AI_API_URL` is never used [INFO] [stdout] --> src/openai/openai.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const OPEN_AI_API_URL: &str = "https://api.openai.com/v1"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OpenAiEmbeddingModel` is never used [INFO] [stdout] --> src/openai/openai.rs:465:10 [INFO] [stdout] | [INFO] [stdout] 465 | pub enum OpenAiEmbeddingModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAiEmbeddingRequest` is never constructed [INFO] [stdout] --> src/openai/openai.rs:473:8 [INFO] [stdout] | [INFO] [stdout] 473 | struct OpenAiEmbeddingRequest<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAiEmbeddingResponse` is never constructed [INFO] [stdout] --> src/openai/openai.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 479 | pub struct OpenAiEmbeddingResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAiEmbedding` is never constructed [INFO] [stdout] --> src/openai/openai.rs:484:12 [INFO] [stdout] | [INFO] [stdout] 484 | pub struct OpenAiEmbedding { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `embed` is never used [INFO] [stdout] --> src/openai/openai.rs:488:8 [INFO] [stdout] | [INFO] [stdout] 488 | pub fn embed<'a>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | global_registry::register_arc!(AnthropicSettings, anthropic_settings); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 70 | let _ = global_registry::register_arc!(AnthropicSettings, anthropic_settings);; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "bd26e94716a48fbeb5a8ba2f6a0639a5e973b216f53c69f789d982039d9d741a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd26e94716a48fbeb5a8ba2f6a0639a5e973b216f53c69f789d982039d9d741a", kill_on_drop: false }` [INFO] [stdout] bd26e94716a48fbeb5a8ba2f6a0639a5e973b216f53c69f789d982039d9d741a