[INFO] fetching crate omni-llm-kit 0.1.1... [INFO] testing omni-llm-kit-0.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate omni-llm-kit 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate omni-llm-kit 0.1.1 [INFO] finished tweaking crates.io crate omni-llm-kit 0.1.1 [INFO] tweaked toml for crates.io crate omni-llm-kit 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate omni-llm-kit 0.1.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31589c926abcb270b229b5d1dd3fc1aa1832ba9f4736b1d96c15966bee8a656f [INFO] running `Command { std: "docker" "start" "-a" "31589c926abcb270b229b5d1dd3fc1aa1832ba9f4736b1d96c15966bee8a656f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31589c926abcb270b229b5d1dd3fc1aa1832ba9f4736b1d96c15966bee8a656f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31589c926abcb270b229b5d1dd3fc1aa1832ba9f4736b1d96c15966bee8a656f", kill_on_drop: false }` [INFO] [stdout] 31589c926abcb270b229b5d1dd3fc1aa1832ba9f4736b1d96c15966bee8a656f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b16514dfac56c16be8bec7ab025f457a385cd0418068c24162616f8c6db2461d [INFO] running `Command { std: "docker" "start" "-a" "b16514dfac56c16be8bec7ab025f457a385cd0418068c24162616f8c6db2461d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling global-registry v0.1.0 [INFO] [stderr] Compiling arc-cow v0.1.0 [INFO] [stderr] Compiling partial-json-fixer v0.5.3 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling chrono v0.4.41 [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 aws-lc-sys v0.30.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling fancy-regex v0.13.0 [INFO] [stderr] Compiling regex v1.11.1 [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 derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling tiktoken-rs v0.7.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [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 strum v0.27.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling schemars v1.0.4 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling hyper-tls v0.6.0 [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: struct `AvailableModel` is never constructed [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct AvailableModel { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANTHROPIC_API_URL` is never used [INFO] [stdout] --> src/anthropic/anthropic.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const ANTHROPIC_API_URL: &str = "https://api.anthropic.com"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `complete` is never used [INFO] [stdout] --> src/anthropic/anthropic.rs:362:14 [INFO] [stdout] | [INFO] [stdout] 362 | pub async fn complete( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `limit`, `remaining`, and `reset` are never read [INFO] [stdout] --> src/anthropic/anthropic.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 421 | pub struct RateLimit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 422 | pub limit: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 423 | pub remaining: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 424 | pub reset: DateTime, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `requests`, `tokens`, `input_tokens`, and `output_tokens` are never read [INFO] [stdout] --> src/anthropic/anthropic.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 452 | pub struct RateLimitInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 453 | pub retry_after: Option, [INFO] [stdout] 454 | pub requests: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 455 | pub tokens: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 456 | pub input_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 457 | pub output_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimitInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPEN_AI_API_URL` is never used [INFO] [stdout] --> src/openai/openai.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const OPEN_AI_API_URL: &str = "https://api.openai.com/v1"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OpenAiEmbeddingModel` is never used [INFO] [stdout] --> src/openai/openai.rs:465:10 [INFO] [stdout] | [INFO] [stdout] 465 | pub enum OpenAiEmbeddingModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAiEmbeddingRequest` is never constructed [INFO] [stdout] --> src/openai/openai.rs:473:8 [INFO] [stdout] | [INFO] [stdout] 473 | struct OpenAiEmbeddingRequest<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAiEmbeddingResponse` is never constructed [INFO] [stdout] --> src/openai/openai.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 479 | pub struct OpenAiEmbeddingResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAiEmbedding` is never constructed [INFO] [stdout] --> src/openai/openai.rs:484:12 [INFO] [stdout] | [INFO] [stdout] 484 | pub struct OpenAiEmbedding { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `embed` is never used [INFO] [stdout] --> src/openai/openai.rs:488:8 [INFO] [stdout] | [INFO] [stdout] 488 | pub fn embed<'a>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 40s [INFO] running `Command { std: "docker" "inspect" "b16514dfac56c16be8bec7ab025f457a385cd0418068c24162616f8c6db2461d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b16514dfac56c16be8bec7ab025f457a385cd0418068c24162616f8c6db2461d", kill_on_drop: false }` [INFO] [stdout] b16514dfac56c16be8bec7ab025f457a385cd0418068c24162616f8c6db2461d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de135eac071dffad8fdf3eddd285d23f8f122724592a4f3eb60ac0807b6fc7b3 [INFO] running `Command { std: "docker" "start" "-a" "de135eac071dffad8fdf3eddd285d23f8f122724592a4f3eb60ac0807b6fc7b3", 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] [stderr] Compiling omni-llm-kit v0.1.1 (/opt/rustwide/workdir) [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: struct `AvailableModel` is never constructed [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct AvailableModel { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANTHROPIC_API_URL` is never used [INFO] [stdout] --> src/anthropic/anthropic.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const ANTHROPIC_API_URL: &str = "https://api.anthropic.com"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `complete` is never used [INFO] [stdout] --> src/anthropic/anthropic.rs:362:14 [INFO] [stdout] | [INFO] [stdout] 362 | pub async fn complete( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `limit`, `remaining`, and `reset` are never read [INFO] [stdout] --> src/anthropic/anthropic.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 421 | pub struct RateLimit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 422 | pub limit: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 423 | pub remaining: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 424 | pub reset: DateTime, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `requests`, `tokens`, `input_tokens`, and `output_tokens` are never read [INFO] [stdout] --> src/anthropic/anthropic.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 452 | pub struct RateLimitInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 453 | pub retry_after: Option, [INFO] [stdout] 454 | pub requests: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 455 | pub tokens: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 456 | pub input_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 457 | pub output_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimitInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPEN_AI_API_URL` is never used [INFO] [stdout] --> src/openai/openai.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const OPEN_AI_API_URL: &str = "https://api.openai.com/v1"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OpenAiEmbeddingModel` is never used [INFO] [stdout] --> src/openai/openai.rs:465:10 [INFO] [stdout] | [INFO] [stdout] 465 | pub enum OpenAiEmbeddingModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAiEmbeddingRequest` is never constructed [INFO] [stdout] --> src/openai/openai.rs:473:8 [INFO] [stdout] | [INFO] [stdout] 473 | struct OpenAiEmbeddingRequest<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAiEmbeddingResponse` is never constructed [INFO] [stdout] --> src/openai/openai.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 479 | pub struct OpenAiEmbeddingResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAiEmbedding` is never constructed [INFO] [stdout] --> src/openai/openai.rs:484:12 [INFO] [stdout] | [INFO] [stdout] 484 | pub struct OpenAiEmbedding { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `embed` is never used [INFO] [stdout] --> src/openai/openai.rs:488:8 [INFO] [stdout] | [INFO] [stdout] 488 | pub fn embed<'a>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused 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: struct `AvailableModel` is never constructed [INFO] [stdout] --> src/models/openai_provider/openai_model.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct AvailableModel { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANTHROPIC_API_URL` is never used [INFO] [stdout] --> src/anthropic/anthropic.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const ANTHROPIC_API_URL: &str = "https://api.anthropic.com"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `complete` is never used [INFO] [stdout] --> src/anthropic/anthropic.rs:362:14 [INFO] [stdout] | [INFO] [stdout] 362 | pub async fn complete( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `limit`, `remaining`, and `reset` are never read [INFO] [stdout] --> src/anthropic/anthropic.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 421 | pub struct RateLimit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 422 | pub limit: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 423 | pub remaining: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 424 | pub reset: DateTime, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `requests`, `tokens`, `input_tokens`, and `output_tokens` are never read [INFO] [stdout] --> src/anthropic/anthropic.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 452 | pub struct RateLimitInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 453 | pub retry_after: Option, [INFO] [stdout] 454 | pub requests: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 455 | pub tokens: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 456 | pub input_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 457 | pub output_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimitInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPEN_AI_API_URL` is never used [INFO] [stdout] --> src/openai/openai.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const OPEN_AI_API_URL: &str = "https://api.openai.com/v1"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OpenAiEmbeddingModel` is never used [INFO] [stdout] --> src/openai/openai.rs:465:10 [INFO] [stdout] | [INFO] [stdout] 465 | pub enum OpenAiEmbeddingModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAiEmbeddingRequest` is never constructed [INFO] [stdout] --> src/openai/openai.rs:473:8 [INFO] [stdout] | [INFO] [stdout] 473 | struct OpenAiEmbeddingRequest<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAiEmbeddingResponse` is never constructed [INFO] [stdout] --> src/openai/openai.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 479 | pub struct OpenAiEmbeddingResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenAiEmbedding` is never constructed [INFO] [stdout] --> src/openai/openai.rs:484:12 [INFO] [stdout] | [INFO] [stdout] 484 | pub struct OpenAiEmbedding { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `embed` is never used [INFO] [stdout] --> src/openai/openai.rs:488:8 [INFO] [stdout] | [INFO] [stdout] 488 | pub fn embed<'a>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | global_registry::register_arc!(AnthropicSettings, anthropic_settings); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` 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 8.94s [INFO] running `Command { std: "docker" "inspect" "de135eac071dffad8fdf3eddd285d23f8f122724592a4f3eb60ac0807b6fc7b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de135eac071dffad8fdf3eddd285d23f8f122724592a4f3eb60ac0807b6fc7b3", kill_on_drop: false }` [INFO] [stdout] de135eac071dffad8fdf3eddd285d23f8f122724592a4f3eb60ac0807b6fc7b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0ad428e49a27564e25bd10ec12beb1fa142ea8d7a528b24a43b4667160bd8ff6 [INFO] running `Command { std: "docker" "start" "-a" "0ad428e49a27564e25bd10ec12beb1fa142ea8d7a528b24a43b4667160bd8ff6", 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: struct `AvailableModel` is never constructed [INFO] [stderr] --> src/models/openai_provider/openai_model.rs:246:12 [INFO] [stderr] | [INFO] [stderr] 246 | pub struct AvailableModel { [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: enum `OpenAiEmbeddingModel` is never used [INFO] [stderr] --> src/openai/openai.rs:465:10 [INFO] [stderr] | [INFO] [stderr] 465 | pub enum OpenAiEmbeddingModel { [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: struct `OpenAiEmbeddingResponse` is never constructed [INFO] [stderr] --> src/openai/openai.rs:479:12 [INFO] [stderr] | [INFO] [stderr] 479 | pub struct OpenAiEmbeddingResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OpenAiEmbedding` is never constructed [INFO] [stderr] --> src/openai/openai.rs:484:12 [INFO] [stderr] | [INFO] [stderr] 484 | pub struct OpenAiEmbedding { [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 63 warnings (run `cargo fix --lib -p omni-llm-kit` to apply 26 suggestions) [INFO] [stderr] warning: `omni-llm-kit` (lib test) generated 64 warnings (63 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/omni_llm_kit-97b52e12e76166e0) [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' (26) panicked at src/lib.rs:64:63: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: NotPresent [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59c9466d0522 - std::backtrace_rs::backtrace::libunwind::trace::hc4a5f428cfb78751 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59c9466d0522 - std::backtrace_rs::backtrace::trace_unsynchronized::h20e1095684b4c296 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59c9466d0522 - std::sys::backtrace::_print_fmt::h461f2e3a8f6b29e2 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x59c9466d0522 - ::fmt::h4ee3a75aa71a2c45 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x59c9466f4c8f - core::fmt::rt::Argument::fmt::h6f1564705cd089af [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x59c9466f4c8f - core::fmt::write::h21ca93b65a7c281a [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x59c9466bc003 - std::io::default_write_fmt::h6f3360f4711e9130 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x59c9466bc003 - std::io::Write::write_fmt::hf4539125c0e0bc30 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x59c9466d0b72 - std::sys::backtrace::BacktraceLock::print::h58d5d73f9e953cf1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x59c9466ba0ac - std::panicking::default_hook::{{closure}}::h1457fbe47c9457d1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x59c9466b9f1e - std::panicking::default_hook::hccb5e73b206c0830 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x59c945ff0c4e - as core::ops::function::Fn>::call::h04940a86aa899793 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x59c945ff0c4e - test::test_main_with_exit_callback::{{closure}}::hca6cc295403b83e8 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59c9466bae83 - as core::ops::function::Fn>::call::h9d85285925beb538 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x59c9466bae83 - std::panicking::panic_with_hook::h3190ecc6229cdd29 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x59c9466d097a - std::panicking::panic_handler::{{closure}}::ha1f1b769bc2bb40c [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x59c9466d08d9 - std::sys::backtrace::__rust_end_short_backtrace::h5f9cf66f19c2a172 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x59c9466baadd - __rustc[a93bd50104b99ad4]::rust_begin_unwind [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x59c9466fe710 - core::panicking::panic_fmt::hc70c3c83f13c1375 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x59c9466fffd6 - core::result::unwrap_failed::ha809bf80017a514a [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x59c945f3ea45 - core::result::Result::unwrap::h439e3f3d16cbe983 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x59c945f3ea45 - omni_llm_kit::tests::test_anthropic_language_model::{{closure}}::h3a1cf0dede0f21e4 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:64:63 [INFO] [stdout] 22: 0x59c945fc14f2 - as core::future::future::Future>::poll::hda9603cc0a7d85b8 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/future/future.rs:133:9 [INFO] [stdout] 23: 0x59c945fc146d - as core::future::future::Future>::poll::h1358e9ba255f4ad8 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/future/future.rs:133:9 [INFO] [stdout] 24: 0x59c945f7c37d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::hdd99d631635065dc [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: 0x59c945f7acfb - tokio::task::coop::with_budget::h8826e85ac00c66b8 [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: 0x59c945f7acfb - tokio::task::coop::budget::h609ad46312109626 [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: 0x59c945f7acfb - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::ha4d84c6516d63a7b [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: 0x59c945f7af20 - tokio::runtime::scheduler::current_thread::Context::enter::h9f11fcb26b00bdd1 [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: 0x59c945f7d66d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h06d685774c5a99c3 [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: 0x59c945f7d394 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::hdfc102cf161bd8c7 [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: 0x59c945fa1d1b - tokio::runtime::context::scoped::Scoped::set::h7d1940724b869f85 [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: 0x59c945f440d9 - tokio::runtime::context::set_scheduler::{{closure}}::h9114aaf82384ac5b [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: 0x59c945f701c2 - std::thread::local::LocalKey::try_with::h98d80fca038fb94b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 34: 0x59c945f6fdce - std::thread::local::LocalKey::with::h1f1d7bcd083fbbfb [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 35: 0x59c945f4402d - tokio::runtime::context::set_scheduler::h1d30286d808becda [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: 0x59c945f7cac0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h1d5e684e7fc1b674 [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: 0x59c945f7dea3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h95fb16ffaa1c4afd [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: 0x59c945f7c230 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hb15adc5dc75bdbaf [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: 0x59c945f55dc0 - tokio::runtime::context::runtime::enter_runtime::h132433bb99ba034e [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: 0x59c945f7ee81 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hde35939643a37c5c [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: 0x59c945fb7f74 - tokio::runtime::runtime::Runtime::block_on_inner::hf22ad8d6e97d51f9 [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: 0x59c945fb7e01 - tokio::runtime::runtime::Runtime::block_on::h7e835defa0311993 [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: 0x59c945f3e7c3 - omni_llm_kit::tests::test_anthropic_language_model::hb65c1e360113c215 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:94:50 [INFO] [stdout] 44: 0x59c945f3fbb7 - omni_llm_kit::tests::test_anthropic_language_model::{{closure}}::h1b713bdbcf40cb85 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:61:45 [INFO] [stdout] 45: 0x59c945f68546 - core::ops::function::FnOnce::call_once::h475c9c20a3af705c [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 46: 0x59c945ff1ccb - core::ops::function::FnOnce::call_once::h70d190c46966003b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 47: 0x59c945ff1ccb - test::__rust_begin_short_backtrace::hb077ccaabb17d2ec [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:663:18 [INFO] [stdout] 48: 0x59c945fef935 - test::run_test_in_process::{{closure}}::hd73eeb633a1507bd [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:686:74 [INFO] [stdout] 49: 0x59c945fef935 - as core::ops::function::FnOnce<()>>::call_once::h033c82756fc9d192 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 50: 0x59c945fef935 - std::panicking::catch_unwind::do_call::h734b44e243d34585 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 51: 0x59c945fef935 - std::panicking::catch_unwind::h5e85417122517fb1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 52: 0x59c945fef935 - std::panic::catch_unwind::h0900e58a82a7d188 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 53: 0x59c945fef935 - test::run_test_in_process::h27721efd62ae77d0 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:686:27 [INFO] [stdout] 54: 0x59c945fef935 - test::run_test::{{closure}}::h8b1264838cc597aa [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:607:43 [INFO] [stdout] 55: 0x59c946016844 - test::run_test::{{closure}}::h6ecb96835e2eae4f [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:637:41 [INFO] [stdout] 56: 0x59c946016844 - std::sys::backtrace::__rust_begin_short_backtrace::h098f38ee82a820a7 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 57: 0x59c945ffd45a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h042592f748f5e369 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 58: 0x59c945ffd45a - as core::ops::function::FnOnce<()>>::call_once::h134fe7f3a2d9ec8d [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 59: 0x59c945ffd45a - std::panicking::catch_unwind::do_call::heb87d604f60aee16 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 60: 0x59c945ffd45a - std::panicking::catch_unwind::h2203a0f553b89fd7 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 61: 0x59c945ffd45a - std::panic::catch_unwind::h4d383e0b0e25d838 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 62: 0x59c945ffd45a - std::thread::Builder::spawn_unchecked_::{{closure}}::h76cbdd4635cfd58b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 63: 0x59c945ffd45a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he72e066680f5e267 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 64: 0x59c9466a4faf - as core::ops::function::FnOnce>::call_once::h1b9c6fea2cbefc68 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 65: 0x59c9466a4faf - std::sys::pal::unix::thread::Thread::new::thread_start::h92caa992bc760789 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 66: 0x7e861a52eaa4 - [INFO] [stdout] 67: 0x7e861a5bba34 - clone [INFO] [stdout] 68: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::test_openai_language_model stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_openai_language_model' (27) panicked at src/models/openai_provider/openai_model.rs:43:51: [INFO] [stdout] OpenAiSettings not found: TypeNotFound [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59c9466d0522 - std::backtrace_rs::backtrace::libunwind::trace::hc4a5f428cfb78751 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59c9466d0522 - std::backtrace_rs::backtrace::trace_unsynchronized::h20e1095684b4c296 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59c9466d0522 - std::sys::backtrace::_print_fmt::h461f2e3a8f6b29e2 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x59c9466d0522 - ::fmt::h4ee3a75aa71a2c45 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x59c9466f4c8f - core::fmt::rt::Argument::fmt::h6f1564705cd089af [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x59c9466f4c8f - core::fmt::write::h21ca93b65a7c281a [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x59c9466bc003 - std::io::default_write_fmt::h6f3360f4711e9130 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x59c9466bc003 - std::io::Write::write_fmt::hf4539125c0e0bc30 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x59c9466d0b72 - std::sys::backtrace::BacktraceLock::print::h58d5d73f9e953cf1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x59c9466ba0ac - std::panicking::default_hook::{{closure}}::h1457fbe47c9457d1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x59c9466b9f1e - std::panicking::default_hook::hccb5e73b206c0830 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x59c945ff0c4e - as core::ops::function::Fn>::call::h04940a86aa899793 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x59c945ff0c4e - test::test_main_with_exit_callback::{{closure}}::hca6cc295403b83e8 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59c9466bae83 - as core::ops::function::Fn>::call::h9d85285925beb538 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x59c9466bae83 - std::panicking::panic_with_hook::h3190ecc6229cdd29 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x59c9466d097a - std::panicking::panic_handler::{{closure}}::ha1f1b769bc2bb40c [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x59c9466d08d9 - std::sys::backtrace::__rust_end_short_backtrace::h5f9cf66f19c2a172 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x59c9466baadd - __rustc[a93bd50104b99ad4]::rust_begin_unwind [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x59c9466fe710 - core::panicking::panic_fmt::hc70c3c83f13c1375 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x59c9466fffd6 - core::result::unwrap_failed::ha809bf80017a514a [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x59c945f9add1 - core::result::Result::expect::ha78397a6cdec3645 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/result.rs:1175:23 [INFO] [stdout] 21: 0x59c945f82aea - omni_llm_kit::models::openai_provider::openai_model::OpenAiLanguageModel::stream_completion::{{closure}}::hab53696c2e71a743 [INFO] [stdout] at /opt/rustwide/workdir/src/models/openai_provider/openai_model.rs:43:51 [INFO] [stdout] 22: 0x59c945f8364e - ::stream_completion::{{closure}}::ha1e2be51a3a1bc14 [INFO] [stdout] at /opt/rustwide/workdir/src/models/openai_provider/openai_model.rs:95:58 [INFO] [stdout] 23: 0x59c945fc118f - as core::future::future::Future>::poll::h0b1745019ada608b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/future/future.rs:133:9 [INFO] [stdout] 24: 0x59c945f3e042 - omni_llm_kit::tests::test_openai_language_model::{{closure}}::h1de23d5d1e14cbb2 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:47:55 [INFO] [stdout] 25: 0x59c945fc14f2 - as core::future::future::Future>::poll::hda9603cc0a7d85b8 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/future/future.rs:133:9 [INFO] [stdout] 26: 0x59c945fc146d - as core::future::future::Future>::poll::h1358e9ba255f4ad8 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/future/future.rs:133:9 [INFO] [stdout] 27: 0x59c945f7c37d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::hdd99d631635065dc [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: 0x59c945f7acfb - tokio::task::coop::with_budget::h8826e85ac00c66b8 [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: 0x59c945f7acfb - tokio::task::coop::budget::h609ad46312109626 [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: 0x59c945f7acfb - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::ha4d84c6516d63a7b [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: 0x59c945f7af20 - tokio::runtime::scheduler::current_thread::Context::enter::h9f11fcb26b00bdd1 [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: 0x59c945f7d66d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h06d685774c5a99c3 [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: 0x59c945f7d394 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::hdfc102cf161bd8c7 [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: 0x59c945fa1d1b - tokio::runtime::context::scoped::Scoped::set::h7d1940724b869f85 [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: 0x59c945f440d9 - tokio::runtime::context::set_scheduler::{{closure}}::h9114aaf82384ac5b [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: 0x59c945f701c2 - std::thread::local::LocalKey::try_with::h98d80fca038fb94b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 37: 0x59c945f6fdce - std::thread::local::LocalKey::with::h1f1d7bcd083fbbfb [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 38: 0x59c945f4402d - tokio::runtime::context::set_scheduler::h1d30286d808becda [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: 0x59c945f7cac0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h1d5e684e7fc1b674 [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: 0x59c945f7dea3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h95fb16ffaa1c4afd [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: 0x59c945f7c230 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hb15adc5dc75bdbaf [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: 0x59c945f55dc0 - tokio::runtime::context::runtime::enter_runtime::h132433bb99ba034e [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: 0x59c945f7ee81 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hde35939643a37c5c [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: 0x59c945fb7f74 - tokio::runtime::runtime::Runtime::block_on_inner::hf22ad8d6e97d51f9 [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: 0x59c945fb7e01 - tokio::runtime::runtime::Runtime::block_on::h7e835defa0311993 [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: 0x59c945f3d7a3 - omni_llm_kit::tests::test_openai_language_model::hb89c09660b6a8794 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:48:50 [INFO] [stdout] 47: 0x59c945f3fbe7 - omni_llm_kit::tests::test_openai_language_model::{{closure}}::h18c17efbae1bc121 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:26:42 [INFO] [stdout] 48: 0x59c945f6f7f6 - core::ops::function::FnOnce::call_once::hc64f7f29bd83ed06 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 49: 0x59c945ff1ccb - core::ops::function::FnOnce::call_once::h70d190c46966003b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 50: 0x59c945ff1ccb - test::__rust_begin_short_backtrace::hb077ccaabb17d2ec [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:663:18 [INFO] [stdout] 51: 0x59c945fef935 - test::run_test_in_process::{{closure}}::hd73eeb633a1507bd [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:686:74 [INFO] [stdout] 52: 0x59c945fef935 - as core::ops::function::FnOnce<()>>::call_once::h033c82756fc9d192 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 53: 0x59c945fef935 - std::panicking::catch_unwind::do_call::h734b44e243d34585 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 54: 0x59c945fef935 - std::panicking::catch_unwind::h5e85417122517fb1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 55: 0x59c945fef935 - std::panic::catch_unwind::h0900e58a82a7d188 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 56: 0x59c945fef935 - test::run_test_in_process::h27721efd62ae77d0 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:686:27 [INFO] [stdout] 57: 0x59c945fef935 - test::run_test::{{closure}}::h8b1264838cc597aa [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:607:43 [INFO] [stdout] 58: 0x59c946016844 - test::run_test::{{closure}}::h6ecb96835e2eae4f [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:637:41 [INFO] [stdout] 59: 0x59c946016844 - std::sys::backtrace::__rust_begin_short_backtrace::h098f38ee82a820a7 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 60: 0x59c945ffd45a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h042592f748f5e369 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 61: 0x59c945ffd45a - as core::ops::function::FnOnce<()>>::call_once::h134fe7f3a2d9ec8d [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 62: 0x59c945ffd45a - std::panicking::catch_unwind::do_call::heb87d604f60aee16 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 63: 0x59c945ffd45a - std::panicking::catch_unwind::h2203a0f553b89fd7 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 64: 0x59c945ffd45a - std::panic::catch_unwind::h4d383e0b0e25d838 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 65: 0x59c945ffd45a - std::thread::Builder::spawn_unchecked_::{{closure}}::h76cbdd4635cfd58b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 66: 0x59c945ffd45a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he72e066680f5e267 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 67: 0x59c9466a4faf - as core::ops::function::FnOnce>::call_once::h1b9c6fea2cbefc68 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 68: 0x59c9466a4faf - std::sys::pal::unix::thread::Thread::new::thread_start::h92caa992bc760789 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 69: 0x7e861a52eaa4 - [INFO] [stdout] 70: 0x7e861a5bba34 - clone [INFO] [stdout] 71: 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.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "0ad428e49a27564e25bd10ec12beb1fa142ea8d7a528b24a43b4667160bd8ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ad428e49a27564e25bd10ec12beb1fa142ea8d7a528b24a43b4667160bd8ff6", kill_on_drop: false }` [INFO] [stdout] 0ad428e49a27564e25bd10ec12beb1fa142ea8d7a528b24a43b4667160bd8ff6