[INFO] fetching crate ai-lib 0.3.4... [INFO] testing ai-lib-0.3.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate ai-lib 0.3.4 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate ai-lib 0.3.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ai-lib 0.3.4 [INFO] tweaked toml for crates.io crate ai-lib 0.3.4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ai-lib 0.3.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ai-lib 0.3.4 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a15e172a1d944fea191f6e25ad3d97770ef1561e53b46818ebc3b9bdb294cee4 [INFO] running `Command { std: "docker" "start" "-a" "a15e172a1d944fea191f6e25ad3d97770ef1561e53b46818ebc3b9bdb294cee4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a15e172a1d944fea191f6e25ad3d97770ef1561e53b46818ebc3b9bdb294cee4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a15e172a1d944fea191f6e25ad3d97770ef1561e53b46818ebc3b9bdb294cee4", kill_on_drop: false }` [INFO] [stdout] a15e172a1d944fea191f6e25ad3d97770ef1561e53b46818ebc3b9bdb294cee4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1aa0a75268b6e37f6a11ab631b0bc256adfe6495a44e0c17fba30204fb743dac [INFO] running `Command { std: "docker" "start" "-a" "1aa0a75268b6e37f6a11ab631b0bc256adfe6495a44e0c17fba30204fb743dac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling serde_core v1.0.221 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling serde v1.0.221 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.144 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling async-signal v0.2.12 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-process v2.4.0 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.221 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.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 async-object-pool v0.1.5 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling chrono v0.4.42 [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 idna v1.1.0 [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 hyper v0.14.32 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling url v2.5.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling basic-cookies v0.1.5 [INFO] [stderr] Compiling httpmock v0.7.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling ai-lib v0.3.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `health_check` is never used [INFO] [stdout] --> src/provider/utils.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | pub async fn health_check(base_url: &str) -> Result<(), AiLibError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "1aa0a75268b6e37f6a11ab631b0bc256adfe6495a44e0c17fba30204fb743dac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aa0a75268b6e37f6a11ab631b0bc256adfe6495a44e0c17fba30204fb743dac", kill_on_drop: false }` [INFO] [stdout] 1aa0a75268b6e37f6a11ab631b0bc256adfe6495a44e0c17fba30204fb743dac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 427ae8db50b609e38e39bcd14d476dcfd4f6367d9f6c13b3f4fe541882bee2f0 [INFO] running `Command { std: "docker" "start" "-a" "427ae8db50b609e38e39bcd14d476dcfd4f6367d9f6c13b3f4fe541882bee2f0", kill_on_drop: false }` [INFO] [stderr] Compiling md5 v0.8.0 [INFO] [stdout] warning: function `health_check` is never used [INFO] [stdout] --> src/provider/utils.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | pub async fn health_check(base_url: &str) -> Result<(), AiLibError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ai-lib v0.3.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ai_lib::types::AiLibError` [INFO] [stdout] --> examples/jsonl_streaming.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ai_lib::types::AiLibError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ai_lib::types::common::Content` [INFO] [stdout] --> examples/deepseek_features.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ai_lib::types::common::Content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AiClient`, `ChatCompletionRequest`, `Message`, `Provider`, and `Role` [INFO] [stdout] --> examples/deepseek_features.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use ai_lib::{AiClient, ChatCompletionRequest, Message, Provider, Role}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/model_management.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ai_lib::types::common::Content` [INFO] [stdout] --> examples/builder_pattern.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ai_lib::types::common::Content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChatCompletionRequest`, `Message`, and `Role` [INFO] [stdout] --> examples/builder_pattern.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use ai_lib::{AiClient, AiClientBuilder, ChatCompletionRequest, Message, Provider, Role}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> examples/builder_pattern.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let client = AiClientBuilder::new(Provider::Groq) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> examples/builder_pattern.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let client = AiClientBuilder::new(Provider::Groq) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> examples/builder_pattern.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let client = AiClientBuilder::new(Provider::Groq) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> examples/builder_pattern.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let client = AiClient::builder(Provider::Groq) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> examples/builder_pattern.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let client = AiClientBuilder::new(Provider::Groq).build()?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> examples/builder_pattern.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let client = AiClientBuilder::new(Provider::Groq) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `groq_client` [INFO] [stdout] --> examples/builder_pattern.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let groq_client = AiClientBuilder::new(Provider::Groq) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_groq_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deepseek_client` [INFO] [stdout] --> examples/builder_pattern.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let deepseek_client = AiClientBuilder::new(Provider::DeepSeek) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deepseek_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ollama_client` [INFO] [stdout] --> examples/builder_pattern.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let ollama_client = AiClientBuilder::new(Provider::Ollama) [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ollama_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> examples/multimodal_usage.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let client = AiClient::new(Provider::OpenAI)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mixed_messages` [INFO] [stdout] --> examples/multimodal_usage.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mixed_messages = vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mixed_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Content` [INFO] [stdout] --> examples/upload_and_use_image.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use ai_lib::{AiClient, ChatCompletionRequest, Content, Message, Provider, Role}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ai_lib::api::ChatApi` [INFO] [stdout] --> examples/function_call_exec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ai_lib::api::ChatApi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChatCompletionRequest`, `FunctionCallPolicy`, `Message`, `Role`, and `Tool` [INFO] [stdout] --> examples/function_call_exec.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use ai_lib::types::{ChatCompletionRequest, FunctionCallPolicy, Message, Role, Tool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ai_lib::AiClient` [INFO] [stdout] --> examples/function_call_exec.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ai_lib::AiClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ai_lib::Provider` [INFO] [stdout] --> examples/function_call_exec.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ai_lib::Provider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> examples/function_call_exec.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transport` [INFO] [stdout] --> examples/custom_transport_config.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let transport = HttpTransport::new_with_config(cfg)?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transport` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AiClientBuilder`, `ChatCompletionRequest`, `Message`, `Provider`, and `Role` [INFO] [stdout] --> examples/interceptors_minimal.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use ai_lib::{AiClientBuilder, Provider, ChatCompletionRequest, Message, Role}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ai_lib::types::common::Content` [INFO] [stdout] --> examples/interceptors_minimal.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ai_lib::types::common::Content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AiClientBuilder`, `ChatCompletionRequest`, `Message`, `Provider`, and `Role` [INFO] [stdout] --> examples/interceptors_default.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use ai_lib::{AiClientBuilder, Provider, ChatCompletionRequest, Message, Role}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ai_lib::types::common::Content` [INFO] [stdout] --> examples/interceptors_default.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ai_lib::types::common::Content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> examples/quickstart.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let client = AiClient::new(Provider::Groq)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> examples/quickstart.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let client = AiClientBuilder::new(Provider::Groq) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> examples/quickstart.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let request = ChatCompletionRequest::new( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `advanced_client` [INFO] [stdout] --> examples/quickstart.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let advanced_client = AiClientBuilder::new(Provider::Groq) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_advanced_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deepseek_client` [INFO] [stdout] --> examples/quickstart.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let deepseek_client = AiClient::new(Provider::DeepSeek)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deepseek_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ollama_client` [INFO] [stdout] --> examples/quickstart.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let ollama_client = AiClient::new(Provider::Ollama)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ollama_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcUYCEIV/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libai_lib-4c0cb1ea7ebcd6e9,libchrono-3c49a4d28f0f6cf4,libiana_time_zone-693b81a5c0b46492,libnum_traits-6a9f211205bd6663,libbackoff-e9a279d9a063cc7e,librand-07b75eec6006a3c0,librand_chacha-907ac1c8f206d991,libppv_lite86-d40de8daa0db893c,libzerocopy-70610920d7f7fd24,librand_core-8393cbea1c051568,libgetrandom-ab7f6ffa3005bc7b,libinstant-12245c94b13f8c81,libthiserror-a5b43eced34587fb,libtokio_stream-34ffdb9e30c8a1b2,libreqwest-991706aa9a8742b9,libserde_urlencoded-7672afad134ce162,librustls_pki_types-a7867074414b404a,libzeroize-ead98f074a37f829,libhyper_tls-c39039de2e7f87e4,libtokio_native_tls-8c05cb5765d90676,libencoding_rs-9c17f8ff91866c9c,libserde_json-e5f0cc013447d75b,libryu-0ea4bafc9bef6d8b,libserde-b107079414188a1d,libserde_core-6cfc2f9c4138864f,libmime_guess-6dd1a3724ba1599d,libunicase-5017e9507498ef51,libmime-4b44681fdb2c65f7,libtower_http-ac373d980e669697,libiri_string-a380f51e5b0b7b73,libtower-f4cbb180b64095c6,libtower_layer-d70c7e404336389b,libnative_tls-639522c5b5b8fb90,libopenssl_probe-cbab9b905ab83f66,libopenssl-926a929e05dce479,libbitflags-419c313095c33b26,libforeign_types-0d5385f641bbbadd,libforeign_types_shared-1d09a6084921ca40,libopenssl_sys-e42fbe8e6a08c2d1,libhyper_util-f0df852567cafa7f,libbase64-2a03de3babadded3,libipnet-9aae67a4e846df6d,libtower_service-0d7df29686b13872,libhyper-3bd451e2044e26b2,libwant-0f3c3ee377cad37f,libtry_lock-aabba5e3d97e6b57,libhttparse-47a3d40564b60e09,libh2-0417f0a7f6b07d7f,libtracing-092f07663e482c15,libtracing_core-181ee1ed942b4689,libonce_cell-0ba6aecba7086d38,libindexmap-91526e4d98e04eb5,libequivalent-7e0e8cbe6c474a67,libhashbrown-76659aeb83761b81,libatomic_waker-001109810bdecbaa,libtokio_util-1874b306cca12dd3,libhttp_body_util-f2ff7a97002ec3c2,libhttp_body-5d2c120e15cb3719,liblog-da6c27dba80439e1,libvalue_bag-e56b1fc7f9ce58e4,liburl-65bb3bf6c9025c4b,libidna-c4cf676bd70bfb5f,libutf8_iter-0d9be7b316c2b184,libidna_adapter-2d0783ee8054f4d2,libicu_properties-635d96855b89b547,libicu_properties_data-9d163be0f8ec47fd,libicu_normalizer-798011ddeaa130e8,libicu_normalizer_data-9919e82512efe734,libicu_collections-bde2d300bbfe4654,libpotential_utf-e7c48ea0ed28a3e3,libicu_provider-884ef7e9d6f6f10f,libicu_locale_core-e03e00ad00e26af9,libtinystr-04d030e3c48af34a,liblitemap-aaec3d88bc2b9505,libwriteable-1fc78dfe07ba1099,libzerovec-09142923d89cce25,libzerotrie-09c44a64980d6641,libyoke-49604e133db49b77,libstable_deref_trait-e5f295e98f1b80b2,libzerofrom-c56a9377ba823600,libform_urlencoded-332d45145277cfac,libpercent_encoding-c53c37e60dd2727e,libhttp-8a286151680a468c,libitoa-6b76ec393d6a2c41,libfnv-2d77ec4f6f971b24,libsync_wrapper-5a27d2ea02cd7690,libtokio-6f9ce5c648524167,libsignal_hook_registry-dc432a6cbbcb6361,libsocket2-3ed8ac1c6dcd3fb1,libbytes-bfe11088fe358bd1,libmio-42cc619f1990aa9e,libparking_lot-716158612cdfffaf,libparking_lot_core-498dcdccb8044700,liblibc-a58beeab2e1413cc,libcfg_if-666d36e5ee0df220,libsmallvec-5854932b8c8b4991,liblock_api-0826b5028eacedf5,libscopeguard-d52bd00767847e44,libfutures-bb5f9e289d2a6a7f,libfutures_executor-2d148eba3cc7123e,libfutures_util-8268ae4759d18f13,libmemchr-6f5829dadd40eda8,libfutures_io-972ebb79349338ae,libslab-8c0cbfb396425d81,libfutures_channel-f26d4826b597103e,libpin_project_lite-bedc6e0acd72ff2a,libfutures_sink-be8442ee548d90f9,libfutures_task-19b3aba2be9e7ae8,libpin_utils-9a5791cba021167a,libfutures_core-fc6bb1738f00fc87}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcUYCEIV/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/test_streaming-cabb008ab0ec778f" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ai-lib` (example "test_streaming") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `health_check` is never used [INFO] [stdout] --> src/provider/utils.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | pub async fn health_check(base_url: &str) -> Result<(), AiLibError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "427ae8db50b609e38e39bcd14d476dcfd4f6367d9f6c13b3f4fe541882bee2f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "427ae8db50b609e38e39bcd14d476dcfd4f6367d9f6c13b3f4fe541882bee2f0", kill_on_drop: false }` [INFO] [stdout] 427ae8db50b609e38e39bcd14d476dcfd4f6367d9f6c13b3f4fe541882bee2f0