[INFO] fetching crate omni-llm-kit 0.1.1... [INFO] testing omni-llm-kit-0.1.1 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759 [INFO] extracting crate omni-llm-kit 0.1.1 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate omni-llm-kit 0.1.1 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded global-registry v0.1.0 [INFO] [stderr] Downloaded arc-cow v0.1.0 [INFO] [stderr] Downloaded partial-json-fixer v0.5.3 [INFO] [stderr] Downloaded tiktoken-rs v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c38a57a5a5b8ab27cb986ecac8bf47aefe7d939b0aab351b8b1ec095518c436 [INFO] running `Command { std: "docker" "start" "-a" "8c38a57a5a5b8ab27cb986ecac8bf47aefe7d939b0aab351b8b1ec095518c436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c38a57a5a5b8ab27cb986ecac8bf47aefe7d939b0aab351b8b1ec095518c436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c38a57a5a5b8ab27cb986ecac8bf47aefe7d939b0aab351b8b1ec095518c436", kill_on_drop: false }` [INFO] [stdout] 8c38a57a5a5b8ab27cb986ecac8bf47aefe7d939b0aab351b8b1ec095518c436 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a07d73bcf0ab45de9f9b288cb7a1582ba66542218db1e09fae5c526924c4678e [INFO] running `Command { std: "docker" "start" "-a" "a07d73bcf0ab45de9f9b288cb7a1582ba66542218db1e09fae5c526924c4678e", kill_on_drop: false }` [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling global-registry v0.1.0 [INFO] [stderr] Compiling partial-json-fixer v0.5.3 [INFO] [stderr] Compiling arc-cow v0.1.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling fancy-regex v0.13.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling tiktoken-rs v0.7.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling schemars_derive v1.0.4 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling schemars v1.0.4 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling rustls-platform-verifier v0.5.3 [INFO] [stderr] Compiling 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)]` 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 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)]` 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: 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)]` 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: 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: 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: field `data` is never read [INFO] [stdout] --> src/openai/openai.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 479 | pub struct OpenAiEmbeddingResponse { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 480 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `embedding` is never read [INFO] [stdout] --> src/openai/openai.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 484 | pub struct OpenAiEmbedding { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 485 | pub embedding: Vec, [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 57s [INFO] running `Command { std: "docker" "inspect" "a07d73bcf0ab45de9f9b288cb7a1582ba66542218db1e09fae5c526924c4678e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a07d73bcf0ab45de9f9b288cb7a1582ba66542218db1e09fae5c526924c4678e", kill_on_drop: false }` [INFO] [stdout] a07d73bcf0ab45de9f9b288cb7a1582ba66542218db1e09fae5c526924c4678e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f6d937fb480185cc1c11f20b0e4177b5d4cefa42610dae9298beec2c91ffa72 [INFO] running `Command { std: "docker" "start" "-a" "4f6d937fb480185cc1c11f20b0e4177b5d4cefa42610dae9298beec2c91ffa72", kill_on_drop: false }` [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)]` 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 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)]` 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: 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)]` 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: 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: 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] [stderr] Compiling omni-llm-kit v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/openai/openai.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 479 | pub struct OpenAiEmbeddingResponse { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 480 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `embedding` is never read [INFO] [stdout] --> src/openai/openai.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 484 | pub struct OpenAiEmbedding { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 485 | pub embedding: Vec, [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 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)]` 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 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)]` 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: 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)]` 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: 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: 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: field `data` is never read [INFO] [stdout] --> src/openai/openai.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 479 | pub struct OpenAiEmbeddingResponse { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 480 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `embedding` is never read [INFO] [stdout] --> src/openai/openai.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 484 | pub struct OpenAiEmbedding { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 485 | pub embedding: Vec, [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)]` 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 `test` profile [unoptimized + debuginfo] target(s) in 5.78s [INFO] running `Command { std: "docker" "inspect" "4f6d937fb480185cc1c11f20b0e4177b5d4cefa42610dae9298beec2c91ffa72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f6d937fb480185cc1c11f20b0e4177b5d4cefa42610dae9298beec2c91ffa72", kill_on_drop: false }` [INFO] [stdout] 4f6d937fb480185cc1c11f20b0e4177b5d4cefa42610dae9298beec2c91ffa72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 30edcf562c2ce8aceea28f10d8d4e24fd3e60fe49addf8a96e615f9786ed5e1f [INFO] running `Command { std: "docker" "start" "-a" "30edcf562c2ce8aceea28f10d8d4e24fd3e60fe49addf8a96e615f9786ed5e1f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `utils::*` [INFO] [stderr] --> src/common/mod.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub use utils::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `test-support` [INFO] [stderr] --> src/http_client/http_client.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 8 | #[cfg(feature = "test-support")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `test-support` [INFO] [stderr] --> src/http_client/http_client.rs:293:7 [INFO] [stderr] | [INFO] [stderr] 293 | #[cfg(feature = "test-support")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `test-support` [INFO] [stderr] --> src/http_client/http_client.rs:301:7 [INFO] [stderr] | [INFO] [stderr] 301 | #[cfg(feature = "test-support")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `test-support` [INFO] [stderr] --> src/http_client/http_client.rs:306:7 [INFO] [stderr] | [INFO] [stderr] 306 | #[cfg(feature = "test-support")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `test-support` [INFO] [stderr] --> src/http_client/http_client.rs:343:7 [INFO] [stderr] | [INFO] [stderr] 343 | #[cfg(feature = "test-support")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `test-support` [INFO] [stderr] --> src/http_client/http_client.rs:350:7 [INFO] [stderr] | [INFO] [stderr] 350 | #[cfg(feature = "test-support")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `test-support` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `de::DeserializeOwned` [INFO] [stderr] --> src/model/types.rs:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | use serde::{Deserialize, Serialize, de::DeserializeOwned}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ToolResultPart` [INFO] [stderr] --> src/models/anthropic_provider/anthropic.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | ToolResultPart, Usage, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Context as _` and `anyhow` [INFO] [stderr] --> src/models/anthropic_provider/anthropic.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | use anyhow::{Context as _, anyhow}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BTreeMap` [INFO] [stderr] --> src/models/anthropic_provider/anthropic.rs:8:24 [INFO] [stderr] | [INFO] [stderr] 8 | use std::collections::{BTreeMap, HashMap}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `strum::IntoEnumIterator` [INFO] [stderr] --> src/models/anthropic_provider/anthropic.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use strum::IntoEnumIterator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Mutex` [INFO] [stderr] --> src/models/openai_provider/provider.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | use std::sync::{Arc, Mutex}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `anyhow::anyhow` [INFO] [stderr] --> src/models/openai_provider/openai_model.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use anyhow::anyhow; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures_core::Stream` [INFO] [stderr] --> src/models/openai_provider/openai_model.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use futures_core::Stream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures_core::future::BoxFuture` [INFO] [stderr] --> src/models/openai_provider/openai_model.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use futures_core::future::BoxFuture; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/models/openai_provider/openai_model.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::pin::Pin` [INFO] [stderr] --> src/models/openai_provider/openai_model.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::pin::Pin; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `log::info` [INFO] [stderr] --> src/models/openai_provider/openai_model.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use log::info; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `strum::EnumIter` [INFO] [stderr] --> src/models/openai_provider/openai_model.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use strum::EnumIter; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `future::BoxFuture` [INFO] [stderr] --> src/models/openai_provider/event_mapper.rs:6:37 [INFO] [stderr] | [INFO] [stderr] 6 | use futures::{FutureExt, StreamExt, future::BoxFuture}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> src/models/mod.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use openai_provider::*; [INFO] [stderr] | ------------------ but the name `AvailableModel` in the type namespace is also re-exported here [INFO] [stderr] 6 | pub use anthropic_provider::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ the name `AvailableModel` in the type namespace is first re-exported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `LazyLock` [INFO] [stderr] --> src/reqwest_client/reqwest_client.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use std::sync::{LazyLock, OnceLock}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `borrow::Cow` [INFO] [stderr] --> src/reqwest_client/reqwest_client.rs:3:27 [INFO] [stderr] | [INFO] [stderr] 3 | use std::{any::type_name, borrow::Cow, mem, pin::Pin, task::Poll, time::Duration}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `redirect` [INFO] [stderr] --> src/reqwest_client/reqwest_client.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | redirect, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `schemars` [INFO] [stderr] --> src/anthropic/anthropic.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `schemars` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `schemars` [INFO] [stderr] --> src/anthropic/anthropic.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `schemars` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `schemars` [INFO] [stderr] --> src/anthropic/anthropic.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `schemars` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `schemars` [INFO] [stderr] --> src/openai/openai.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | #[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `schemars` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `LanguageModelRequest` [INFO] [stderr] --> src/tool/tool.rs:3:40 [INFO] [stderr] | [INFO] [stderr] 3 | LanguageModel, LanguageModelImage, LanguageModelRequest, LanguageModelToolSchemaFormat, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_trait::async_trait` [INFO] [stderr] --> src/tool/tool.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use async_trait::async_trait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt` [INFO] [stderr] --> src/tool/tool.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::fmt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Formatter` [INFO] [stderr] --> src/tool/tool.rs:7:23 [INFO] [stderr] | [INFO] [stderr] 7 | use std::fmt::{Debug, Formatter}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::Deref` [INFO] [stderr] --> src/tool/tool.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/tool/tool.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::task::JoinHandle` [INFO] [stderr] --> src/tool/tool.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use tokio::task::JoinHandle; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DerefMut` and `Deref` [INFO] [stderr] --> src/tool/tool_registry.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | use derive_more::{Deref, DerefMut}; [INFO] [stderr] | ^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> src/lib.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub use models::*; [INFO] [stderr] | ^^^^^^^^^ the name `OPEN_AI_PROVIDER_ID` in the value namespace is first re-exported here [INFO] [stderr] 12 | pub use model::*; [INFO] [stderr] | -------- but the name `OPEN_AI_PROVIDER_ID` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> src/lib.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub use models::*; [INFO] [stderr] | ^^^^^^^^^ the name `OPEN_AI_PROVIDER_NAME` in the value namespace is first re-exported here [INFO] [stderr] 12 | pub use model::*; [INFO] [stderr] | -------- but the name `OPEN_AI_PROVIDER_NAME` in the value namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: unused import: `Tool` [INFO] [stderr] --> src/tool/tool_registry.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{Tool, ToolDyn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `LanguageModel` [INFO] [stderr] --> src/tool/tool.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | LanguageModel, LanguageModelImage, LanguageModelRequest, LanguageModelToolSchemaFormat, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FutureExt` [INFO] [stderr] --> src/models/openai_provider/openai_model.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | use futures_util::{FutureExt, StreamExt}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FutureExt` [INFO] [stderr] --> src/models/openai_provider/event_mapper.rs:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | use futures::{FutureExt, StreamExt, future::BoxFuture}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `image_obj` [INFO] [stderr] --> src/model/types.rs:157:33 [INFO] [stderr] | [INFO] [stderr] 157 | if let Some(image_obj) = value.as_object() { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_obj` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `image` [INFO] [stderr] --> src/models/anthropic_provider/anthropic.rs:220:43 [INFO] [stderr] | [INFO] [stderr] 220 | MessageContent::Image(image) => { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stop_reason` [INFO] [stderr] --> src/models/openai_provider/event_mapper.rs:104:18 [INFO] [stderr] | [INFO] [stderr] 104 | Some(stop_reason) => { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stop_reason` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `redirect_policy` [INFO] [stderr] --> src/reqwest_client/reqwest_client.rs:220:21 [INFO] [stderr] | [INFO] [stderr] 220 | if let Some(redirect_policy) = parts.extensions.get::() { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_redirect_policy` [INFO] [stderr] [INFO] [stderr] warning: function `default_true` is never used [INFO] [stderr] --> src/common/serde_utils.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | pub const fn default_true() -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `post_inc` is never used [INFO] [stderr] --> src/common/utils.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn post_inc + AddAssign + Copy>(value: &mut T) -> T { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `truncate_lines_to_byte_limit` is never used [INFO] [stderr] --> src/common/utils.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn truncate_lines_to_byte_limit(s: &str, max_bytes: usize) -> &str { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `truncate_to_byte_limit` is never used [INFO] [stderr] --> src/common/utils.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn truncate_to_byte_limit(s: &str, max_bytes: usize) -> &str { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ANTHROPIC_API_KEY_VAR` is never used [INFO] [stderr] --> src/models/anthropic_provider/anthropic.rs:91:7 [INFO] [stderr] | [INFO] [stderr] 91 | const ANTHROPIC_API_KEY_VAR: &str = "ANTHROPIC_API_KEY"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ANTHROPIC_API_URL` is never used [INFO] [stderr] --> src/anthropic/anthropic.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | pub const ANTHROPIC_API_URL: &str = "https://api.anthropic.com"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `complete` is never used [INFO] [stderr] --> src/anthropic/anthropic.rs:362:14 [INFO] [stderr] | [INFO] [stderr] 362 | pub async fn complete( [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `limit`, `remaining`, and `reset` are never read [INFO] [stderr] --> src/anthropic/anthropic.rs:422:9 [INFO] [stderr] | [INFO] [stderr] 421 | pub struct RateLimit { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 422 | pub limit: usize, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 423 | pub remaining: usize, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 424 | pub reset: DateTime, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RateLimit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `requests`, `tokens`, `input_tokens`, and `output_tokens` are never read [INFO] [stderr] --> src/anthropic/anthropic.rs:454:9 [INFO] [stderr] | [INFO] [stderr] 452 | pub struct RateLimitInfo { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 453 | pub retry_after: Option, [INFO] [stderr] 454 | pub requests: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 455 | pub tokens: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 456 | pub input_tokens: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 457 | pub output_tokens: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RateLimitInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: constant `OPEN_AI_API_URL` is never used [INFO] [stderr] --> src/openai/openai.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | pub const OPEN_AI_API_URL: &str = "https://api.openai.com/v1"; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OpenAiEmbeddingRequest` is never constructed [INFO] [stderr] --> src/openai/openai.rs:473:8 [INFO] [stderr] | [INFO] [stderr] 473 | struct OpenAiEmbeddingRequest<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `data` is never read [INFO] [stderr] --> src/openai/openai.rs:480:9 [INFO] [stderr] | [INFO] [stderr] 479 | pub struct OpenAiEmbeddingResponse { [INFO] [stderr] | ----------------------- field in this struct [INFO] [stderr] 480 | pub data: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `embedding` is never read [INFO] [stderr] --> src/openai/openai.rs:485:9 [INFO] [stderr] | [INFO] [stderr] 484 | pub struct OpenAiEmbedding { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 485 | pub embedding: Vec, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `embed` is never used [INFO] [stderr] --> src/openai/openai.rs:488:8 [INFO] [stderr] | [INFO] [stderr] 488 | pub fn embed<'a>( [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/lib.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | global_registry::register_arc!(AnthropicSettings, anthropic_settings); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 70 | let _ = global_registry::register_arc!(AnthropicSettings, anthropic_settings);; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: `omni-llm-kit` (lib) generated 61 warnings (run `cargo fix --lib -p omni-llm-kit` to apply 26 suggestions) [INFO] [stderr] warning: `omni-llm-kit` (lib test) generated 62 warnings (61 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/omni_llm_kit-e70c0d5cc8dacd11) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test anthropic::anthropic::test_match_window_exceeded ... ok [INFO] [stdout] test tests::test_anthropic_language_model ... FAILED [INFO] [stdout] test tests::test_openai_language_model ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_anthropic_language_model stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_anthropic_language_model' panicked at src/lib.rs:64:63: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: NotPresent [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ac8184f7992 - std::backtrace_rs::backtrace::libunwind::trace::hd39b1f53d3cf9745 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ac8184f7992 - std::backtrace_rs::backtrace::trace_unsynchronized::he91d9a75d4e3972b [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ac8184f7992 - std::sys::backtrace::_print_fmt::hca46938f8c6e22cf [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ac8184f7992 - ::fmt::ha499add612cccf8e [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ac8185208d3 - core::fmt::rt::Argument::fmt::hd21145b75a833b7a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5ac8185208d3 - core::fmt::write::hb10c956f5235c8a4 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x5ac8184f3a73 - std::io::default_write_fmt::hdb7615052be2ba4d [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ac8184f3a73 - std::io::Write::write_fmt::he1bcd251ec6e4153 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5ac8184f77e2 - std::sys::backtrace::BacktraceLock::print::hb47c770ef659fd10 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5ac8184f8f0c - std::panicking::default_hook::{{closure}}::hdda8afb9d457a22c [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5ac8184f8d62 - std::panicking::default_hook::h7c46b44874fe5c9a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5ac818245934 - as core::ops::function::Fn>::call::h178a5fcedee41e2f [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5ac818245934 - test::test_main_with_exit_callback::{{closure}}::h951a41e0149d6d5d [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5ac8184f99eb - as core::ops::function::Fn>::call::h13602080f5b63276 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5ac8184f99eb - std::panicking::rust_panic_with_hook::ha6cb99ed099eb1c5 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5ac8184f96ba - std::panicking::begin_panic_handler::{{closure}}::he11808bc797ee921 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5ac8184f7e99 - std::sys::backtrace::__rust_end_short_backtrace::h9418807cb7346258 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x5ac8184f934d - __rustc[18fb429eef004894]::rust_begin_unwind [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5ac81851e8f0 - core::panicking::panic_fmt::hd890aeb12c3a3fc3 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5ac81851ecf6 - core::result::unwrap_failed::h31c9775ec1a50121 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/result.rs:1761:5 [INFO] [stdout] 20: 0x5ac8181d0328 - core::result::Result::unwrap::hfda0e37a4f38a8ce [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x5ac8181d0328 - omni_llm_kit::tests::test_anthropic_language_model::{{closure}}::h5b7d290bc52203b3 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:64:63 [INFO] [stdout] 22: 0x5ac8181cdf85 - as core::future::future::Future>::poll::hb71a77aa3d92b8e4 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/future/future.rs:133:9 [INFO] [stdout] 23: 0x5ac8181cdf85 - as core::future::future::Future>::poll::h00b2977141a4e63e [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/future/future.rs:133:9 [INFO] [stdout] 24: 0x5ac8181cdf85 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h95b47f962d25720f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:742:70 [INFO] [stdout] 25: 0x5ac8181cdf85 - tokio::task::coop::with_budget::h3fa45560b1022ea4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:167:5 [INFO] [stdout] 26: 0x5ac8181cdf85 - tokio::task::coop::budget::ha2d05029c0a19a73 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:133:5 [INFO] [stdout] 27: 0x5ac8181cdf85 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h8e91fa74ec979a1b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:742:25 [INFO] [stdout] 28: 0x5ac8181cdf85 - tokio::runtime::scheduler::current_thread::Context::enter::h0cdeb8ab4413e370 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:432:19 [INFO] [stdout] 29: 0x5ac8181e6865 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::ha9cda3cc185d447e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:741:44 [INFO] [stdout] 30: 0x5ac8181e6865 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h7d454c02254b43c6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:829:68 [INFO] [stdout] 31: 0x5ac8181e6865 - tokio::runtime::context::scoped::Scoped::set::h146a730ad65fd693 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 32: 0x5ac8181cda3b - tokio::runtime::context::set_scheduler::{{closure}}::h319b5898b17342d2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:38 [INFO] [stdout] 33: 0x5ac8181cda3b - std::thread::local::LocalKey::try_with::h40b4607e81ec8f12 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 34: 0x5ac8181cda3b - std::thread::local::LocalKey::with::h24cd53beffc42e5f [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 35: 0x5ac8181cda3b - tokio::runtime::context::set_scheduler::hf6a3eee6055599bd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:17 [INFO] [stdout] 36: 0x5ac8181cda3b - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h564367c24271f7b3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:829:27 [INFO] [stdout] 37: 0x5ac8181cda3b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::hb70022b4ecd9c7b4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:729:24 [INFO] [stdout] 38: 0x5ac8181cda3b - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hd5c484f19e09073f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:200:33 [INFO] [stdout] 39: 0x5ac8181cda3b - tokio::runtime::context::runtime::enter_runtime::h6fdd7b6bceb23e82 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 40: 0x5ac8181cda3b - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h499fa5c1b5e3644e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:188:9 [INFO] [stdout] 41: 0x5ac8181cda3b - tokio::runtime::runtime::Runtime::block_on_inner::h674f1c545e59720d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/runtime.rs:356:52 [INFO] [stdout] 42: 0x5ac8181cda3b - tokio::runtime::runtime::Runtime::block_on::h8ef778d85341a87c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/runtime.rs:330:18 [INFO] [stdout] 43: 0x5ac8181cfb6b - omni_llm_kit::tests::test_anthropic_language_model::hc48d6a56f44086fa [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:94:50 [INFO] [stdout] 44: 0x5ac8181eeaa9 - omni_llm_kit::tests::test_anthropic_language_model::{{closure}}::h6e24d7a0bf35f54b [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:61:45 [INFO] [stdout] 45: 0x5ac8181eeaa9 - core::ops::function::FnOnce::call_once::h277a3ceac549329e [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x5ac81824b0bb - core::ops::function::FnOnce::call_once::h2869fb5b0a2b0bdc [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 47: 0x5ac81824b0bb - test::__rust_begin_short_backtrace::h7dd7142bd62fa711 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:648:18 [INFO] [stdout] 48: 0x5ac81824a2ae - test::run_test_in_process::{{closure}}::h43a753f038d36b3f [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:74 [INFO] [stdout] 49: 0x5ac81824a2ae - as core::ops::function::FnOnce<()>>::call_once::h0ca95dd3e12d1e16 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 50: 0x5ac81824a2ae - std::panicking::catch_unwind::do_call::he308587d70ac34ba [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40 [INFO] [stdout] 51: 0x5ac81824a2ae - std::panicking::catch_unwind::h30dcba31973e8fb0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19 [INFO] [stdout] 52: 0x5ac81824a2ae - std::panic::catch_unwind::hfb68364e5621fbee [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14 [INFO] [stdout] 53: 0x5ac81824a2ae - test::run_test_in_process::hcdcc2977903b998a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:27 [INFO] [stdout] 54: 0x5ac81824a2ae - test::run_test::{{closure}}::h544a6550958c5d14 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:592:43 [INFO] [stdout] 55: 0x5ac81820de24 - test::run_test::{{closure}}::hb172e48ebe2b92c7 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:622:41 [INFO] [stdout] 56: 0x5ac81820de24 - std::sys::backtrace::__rust_begin_short_backtrace::h7e79d8706638bea0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 57: 0x5ac8182117fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc4a275f1e71b8ab0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 58: 0x5ac8182117fa - as core::ops::function::FnOnce<()>>::call_once::h01ed0d242df78cfd [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 59: 0x5ac8182117fa - std::panicking::catch_unwind::do_call::h052f373fb905fee0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40 [INFO] [stdout] 60: 0x5ac8182117fa - std::panicking::catch_unwind::hb425d20c8ffb09c8 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19 [INFO] [stdout] 61: 0x5ac8182117fa - std::panic::catch_unwind::ha0d5dfbf18fdeda5 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14 [INFO] [stdout] 62: 0x5ac8182117fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hbe79182bd37949c7 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 63: 0x5ac8182117fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc096c4a06972fde5 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 64: 0x5ac8184fcdb7 - as core::ops::function::FnOnce>::call_once::h47377e27fb938a26 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 65: 0x5ac8184fcdb7 - as core::ops::function::FnOnce>::call_once::h72f1fe5d095abf57 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 66: 0x5ac8184fcdb7 - std::sys::pal::unix::thread::Thread::new::thread_start::h0a4d8e1b9c0d38cf [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 67: 0x7546c0c24aa4 - [INFO] [stdout] 68: 0x7546c0cb1a34 - clone [INFO] [stdout] 69: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::test_openai_language_model stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_openai_language_model' panicked at src/models/openai_provider/openai_model.rs:43:51: [INFO] [stdout] OpenAiSettings not found: TypeNotFound [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ac8184f7992 - std::backtrace_rs::backtrace::libunwind::trace::hd39b1f53d3cf9745 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ac8184f7992 - std::backtrace_rs::backtrace::trace_unsynchronized::he91d9a75d4e3972b [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ac8184f7992 - std::sys::backtrace::_print_fmt::hca46938f8c6e22cf [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ac8184f7992 - ::fmt::ha499add612cccf8e [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ac8185208d3 - core::fmt::rt::Argument::fmt::hd21145b75a833b7a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5ac8185208d3 - core::fmt::write::hb10c956f5235c8a4 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x5ac8184f3a73 - std::io::default_write_fmt::hdb7615052be2ba4d [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ac8184f3a73 - std::io::Write::write_fmt::he1bcd251ec6e4153 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5ac8184f77e2 - std::sys::backtrace::BacktraceLock::print::hb47c770ef659fd10 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5ac8184f8f0c - std::panicking::default_hook::{{closure}}::hdda8afb9d457a22c [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5ac8184f8d62 - std::panicking::default_hook::h7c46b44874fe5c9a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5ac818245934 - as core::ops::function::Fn>::call::h178a5fcedee41e2f [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5ac818245934 - test::test_main_with_exit_callback::{{closure}}::h951a41e0149d6d5d [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5ac8184f99eb - as core::ops::function::Fn>::call::h13602080f5b63276 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5ac8184f99eb - std::panicking::rust_panic_with_hook::ha6cb99ed099eb1c5 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5ac8184f96ba - std::panicking::begin_panic_handler::{{closure}}::he11808bc797ee921 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5ac8184f7e99 - std::sys::backtrace::__rust_end_short_backtrace::h9418807cb7346258 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x5ac8184f934d - __rustc[18fb429eef004894]::rust_begin_unwind [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5ac81851e8f0 - core::panicking::panic_fmt::hd890aeb12c3a3fc3 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5ac81851ecf6 - core::result::unwrap_failed::h31c9775ec1a50121 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/result.rs:1761:5 [INFO] [stdout] 20: 0x5ac818205dc9 - core::result::Result::expect::h1bd0ad2779fc7026 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/result.rs:1119:23 [INFO] [stdout] 21: 0x5ac818205dc9 - omni_llm_kit::models::openai_provider::openai_model::OpenAiLanguageModel::stream_completion::{{closure}}::h3aa2ba2f33de2010 [INFO] [stdout] at /opt/rustwide/workdir/src/models/openai_provider/openai_model.rs:43:51 [INFO] [stdout] 22: 0x5ac818205dc9 - ::stream_completion::{{closure}}::h142db2240f7cc98b [INFO] [stdout] at /opt/rustwide/workdir/src/models/openai_provider/openai_model.rs:95:58 [INFO] [stdout] 23: 0x5ac8181cf345 - as core::future::future::Future>::poll::h1aea9ef2dea91d77 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/future/future.rs:133:9 [INFO] [stdout] 24: 0x5ac8181cf345 - omni_llm_kit::tests::test_openai_language_model::{{closure}}::h49ce646c3721ba06 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:47:55 [INFO] [stdout] 25: 0x5ac8181cdf85 - as core::future::future::Future>::poll::hb71a77aa3d92b8e4 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/future/future.rs:133:9 [INFO] [stdout] 26: 0x5ac8181cdf85 - as core::future::future::Future>::poll::h00b2977141a4e63e [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/future/future.rs:133:9 [INFO] [stdout] 27: 0x5ac8181cdf85 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h95b47f962d25720f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:742:70 [INFO] [stdout] 28: 0x5ac8181cdf85 - tokio::task::coop::with_budget::h3fa45560b1022ea4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:167:5 [INFO] [stdout] 29: 0x5ac8181cdf85 - tokio::task::coop::budget::ha2d05029c0a19a73 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:133:5 [INFO] [stdout] 30: 0x5ac8181cdf85 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h8e91fa74ec979a1b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:742:25 [INFO] [stdout] 31: 0x5ac8181cdf85 - tokio::runtime::scheduler::current_thread::Context::enter::h0cdeb8ab4413e370 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:432:19 [INFO] [stdout] 32: 0x5ac8181e6865 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::ha9cda3cc185d447e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:741:44 [INFO] [stdout] 33: 0x5ac8181e6865 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h7d454c02254b43c6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:829:68 [INFO] [stdout] 34: 0x5ac8181e6865 - tokio::runtime::context::scoped::Scoped::set::h146a730ad65fd693 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 35: 0x5ac8181cda3b - tokio::runtime::context::set_scheduler::{{closure}}::h319b5898b17342d2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:38 [INFO] [stdout] 36: 0x5ac8181cda3b - std::thread::local::LocalKey::try_with::h40b4607e81ec8f12 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 37: 0x5ac8181cda3b - std::thread::local::LocalKey::with::h24cd53beffc42e5f [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 38: 0x5ac8181cda3b - tokio::runtime::context::set_scheduler::hf6a3eee6055599bd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:17 [INFO] [stdout] 39: 0x5ac8181cda3b - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h564367c24271f7b3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:829:27 [INFO] [stdout] 40: 0x5ac8181cda3b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::hb70022b4ecd9c7b4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:729:24 [INFO] [stdout] 41: 0x5ac8181cda3b - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hd5c484f19e09073f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:200:33 [INFO] [stdout] 42: 0x5ac8181cda3b - tokio::runtime::context::runtime::enter_runtime::h6fdd7b6bceb23e82 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 43: 0x5ac8181cda3b - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h499fa5c1b5e3644e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:188:9 [INFO] [stdout] 44: 0x5ac8181cda3b - tokio::runtime::runtime::Runtime::block_on_inner::h674f1c545e59720d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/runtime.rs:356:52 [INFO] [stdout] 45: 0x5ac8181cda3b - tokio::runtime::runtime::Runtime::block_on::h8ef778d85341a87c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/runtime.rs:330:18 [INFO] [stdout] 46: 0x5ac8181cee1b - omni_llm_kit::tests::test_openai_language_model::hb97ea409a40fed41 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:48:50 [INFO] [stdout] 47: 0x5ac8181eea89 - omni_llm_kit::tests::test_openai_language_model::{{closure}}::he89caa124a71085a [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:26:42 [INFO] [stdout] 48: 0x5ac8181eea89 - core::ops::function::FnOnce::call_once::h1ef55c6c78a3e22c [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 49: 0x5ac81824b0bb - core::ops::function::FnOnce::call_once::h2869fb5b0a2b0bdc [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 50: 0x5ac81824b0bb - test::__rust_begin_short_backtrace::h7dd7142bd62fa711 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:648:18 [INFO] [stdout] 51: 0x5ac81824a2ae - test::run_test_in_process::{{closure}}::h43a753f038d36b3f [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:74 [INFO] [stdout] 52: 0x5ac81824a2ae - as core::ops::function::FnOnce<()>>::call_once::h0ca95dd3e12d1e16 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 53: 0x5ac81824a2ae - std::panicking::catch_unwind::do_call::he308587d70ac34ba [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40 [INFO] [stdout] 54: 0x5ac81824a2ae - std::panicking::catch_unwind::h30dcba31973e8fb0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19 [INFO] [stdout] 55: 0x5ac81824a2ae - std::panic::catch_unwind::hfb68364e5621fbee [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14 [INFO] [stdout] 56: 0x5ac81824a2ae - test::run_test_in_process::hcdcc2977903b998a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:27 [INFO] [stdout] 57: 0x5ac81824a2ae - test::run_test::{{closure}}::h544a6550958c5d14 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:592:43 [INFO] [stdout] 58: 0x5ac81820de24 - test::run_test::{{closure}}::hb172e48ebe2b92c7 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:622:41 [INFO] [stdout] 59: 0x5ac81820de24 - std::sys::backtrace::__rust_begin_short_backtrace::h7e79d8706638bea0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 60: 0x5ac8182117fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc4a275f1e71b8ab0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 61: 0x5ac8182117fa - as core::ops::function::FnOnce<()>>::call_once::h01ed0d242df78cfd [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 62: 0x5ac8182117fa - std::panicking::catch_unwind::do_call::h052f373fb905fee0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40 [INFO] [stdout] 63: 0x5ac8182117fa - std::panicking::catch_unwind::hb425d20c8ffb09c8 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19 [INFO] [stdout] 64: 0x5ac8182117fa - std::panic::catch_unwind::ha0d5dfbf18fdeda5 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14 [INFO] [stdout] 65: 0x5ac8182117fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hbe79182bd37949c7 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 66: 0x5ac8182117fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc096c4a06972fde5 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 67: 0x5ac8184fcdb7 - as core::ops::function::FnOnce>::call_once::h47377e27fb938a26 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 68: 0x5ac8184fcdb7 - as core::ops::function::FnOnce>::call_once::h72f1fe5d095abf57 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 69: 0x5ac8184fcdb7 - std::sys::pal::unix::thread::Thread::new::thread_start::h0a4d8e1b9c0d38cf [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 70: 0x7546c0c24aa4 - [INFO] [stdout] 71: 0x7546c0cb1a34 - clone [INFO] [stdout] 72: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_anthropic_language_model [INFO] [stdout] tests::test_openai_language_model [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "30edcf562c2ce8aceea28f10d8d4e24fd3e60fe49addf8a96e615f9786ed5e1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30edcf562c2ce8aceea28f10d8d4e24fd3e60fe49addf8a96e615f9786ed5e1f", kill_on_drop: false }` [INFO] [stdout] 30edcf562c2ce8aceea28f10d8d4e24fd3e60fe49addf8a96e615f9786ed5e1f