[INFO] cloning repository https://github.com/jBernavaPrah/gemini-client-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jBernavaPrah/gemini-client-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjBernavaPrah%2Fgemini-client-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjBernavaPrah%2Fgemini-client-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba26a2c657570cfa8d1ef0a09a7e6602fb117c06 [INFO] testing jBernavaPrah/gemini-client-rs against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjBernavaPrah%2Fgemini-client-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jBernavaPrah/gemini-client-rs [INFO] finished tweaking git repo https://github.com/jBernavaPrah/gemini-client-rs [INFO] tweaked toml for git repo https://github.com/jBernavaPrah/gemini-client-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jBernavaPrah/gemini-client-rs on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jBernavaPrah/gemini-client-rs 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 817c5f375f8f34e833f373882c41b4ae8bf6cb1590d19427153e17b9099027ea [INFO] running `Command { std: "docker" "start" "-a" "817c5f375f8f34e833f373882c41b4ae8bf6cb1590d19427153e17b9099027ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "817c5f375f8f34e833f373882c41b4ae8bf6cb1590d19427153e17b9099027ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "817c5f375f8f34e833f373882c41b4ae8bf6cb1590d19427153e17b9099027ea", kill_on_drop: false }` [INFO] [stdout] 817c5f375f8f34e833f373882c41b4ae8bf6cb1590d19427153e17b9099027ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c86b729bb1fd54e66d699d35367dc0a573db6067f4487e857a3b4386f581538c [INFO] running `Command { std: "docker" "start" "-a" "c86b729bb1fd54e66d699d35367dc0a573db6067f4487e857a3b4386f581538c", kill_on_drop: false }` [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling aws-lc-rs v1.13.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling atomic_enum v0.2.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling aws-lc-sys v0.29.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio v1.46.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling derive-new v0.7.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling derive_setters v0.1.7 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling async-compression v0.4.25 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling enfync v0.1.6 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [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_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling tokio-tungstenite-wasm v0.5.0 [INFO] [stderr] Compiling ezsockets v0.7.0 [INFO] [stderr] Compiling gemini-client-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "c86b729bb1fd54e66d699d35367dc0a573db6067f4487e857a3b4386f581538c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c86b729bb1fd54e66d699d35367dc0a573db6067f4487e857a3b4386f581538c", kill_on_drop: false }` [INFO] [stdout] c86b729bb1fd54e66d699d35367dc0a573db6067f4487e857a3b4386f581538c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c5acbff0c2b0e35a045aec25882466e3c17f646296cd4de0c702239a8b655b2 [INFO] running `Command { std: "docker" "start" "-a" "7c5acbff0c2b0e35a045aec25882466e3c17f646296cd4de0c702239a8b655b2", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling cpal v0.16.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling audio-gate v0.1.4 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling tokio v1.46.0 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling rodio v0.20.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling enfync v0.1.6 [INFO] [stderr] Compiling async-compression v0.4.25 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling tokio-tungstenite-wasm v0.5.0 [INFO] [stderr] Compiling ezsockets v0.7.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling gemini-client-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> tests/stream_content.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use gemini::v1beta::{self, Content, Part, PartData, Role, request, rest::Client}; [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: `self` [INFO] [stdout] --> tests/generate_content.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | self, Content, Part, PartData, Role, request, [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: `ServerMessage` [INFO] [stdout] --> examples/live_audio_in_text_out.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ServerMessage, Setup, [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: `ServerMessage` [INFO] [stdout] --> examples/live_text_in_text_out.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | ResponseModality, Role, ServerMessage, Setup, [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: `FunctionCall`, `FunctionResponseScheduling`, and `ServerContent` [INFO] [stdout] --> examples/rest_stream_function_text_in_text_out.rs:6:70 [INFO] [stdout] | [INFO] [stdout] 6 | Client, ClientContent, ClientMessage, Content, FunctionBehavior, FunctionCall, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | FunctionDeclaration, FunctionResponse, FunctionResponseScheduling, FunctionResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | GenerationConfig, Part, PartData, ResponseModality, Role, ServerContent, ServerMessage, Setup, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Stream` is never used [INFO] [stdout] --> examples/common/utils.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type Stream = Pin + Send>>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> examples/common/utils.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputAudioConfig` is never constructed [INFO] [stdout] --> examples/common/utils.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct OutputAudioConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AudioFormat` is never used [INFO] [stdout] --> examples/common/utils.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum AudioFormat { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_header` is never used [INFO] [stdout] --> examples/common/utils.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl AudioFormat { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 40 | pub fn as_header(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sender_for_default_audio_output` is never used [INFO] [stdout] --> examples/common/utils.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn sender_for_default_audio_output(format: AudioFormat) -> std::sync::mpsc::Sender> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamMediaSource` is never constructed [INFO] [stdout] --> examples/common/utils.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct StreamMediaSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `read_inner` are never used [INFO] [stdout] --> examples/common/utils.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl StreamMediaSource { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 100 | pub fn new(inner: std::sync::mpsc::Receiver>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn read_inner(&mut self, len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `listen_from_default_input` is never used [INFO] [stdout] --> examples/common/utils.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | pub async fn listen_from_default_input(output: OutputAudioConfig) -> Result<(Stream>, Input), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_channels` is never used [INFO] [stdout] --> examples/common/utils.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn convert_channels(data: &[f32], in_ch: usize, out_ch: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resample_linear` is never used [INFO] [stdout] --> examples/common/utils.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn resample_linear(data: &[f32], in_rate: u32, out_rate: u32, channels: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_to_bytes` is never used [INFO] [stdout] --> examples/common/utils.rs:275:4 [INFO] [stdout] | [INFO] [stdout] 275 | fn sample_to_bytes(sample: f32, bits: u16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AudioFormat` is never used [INFO] [stdout] --> examples/common/utils.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum AudioFormat { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_header` is never used [INFO] [stdout] --> examples/common/utils.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl AudioFormat { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 40 | pub fn as_header(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sender_for_default_audio_output` is never used [INFO] [stdout] --> examples/common/utils.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn sender_for_default_audio_output(format: AudioFormat) -> std::sync::mpsc::Sender> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamMediaSource` is never constructed [INFO] [stdout] --> examples/common/utils.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct StreamMediaSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `read_inner` are never used [INFO] [stdout] --> examples/common/utils.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl StreamMediaSource { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 100 | pub fn new(inner: std::sync::mpsc::Receiver>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn read_inner(&mut self, len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stdin_stream` is never used [INFO] [stdout] --> examples/common/utils.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn stdin_stream() -> Pin + Send>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ALaw8Khz8BitMono` is never constructed [INFO] [stdout] --> examples/common/utils.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum AudioFormat { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | ALaw8Khz8BitMono, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AudioFormat` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stdin_stream` is never used [INFO] [stdout] --> examples/common/utils.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn stdin_stream() -> Pin + Send>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Stream` is never used [INFO] [stdout] --> examples/common/utils.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type Stream = Pin + Send>>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> examples/common/utils.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OutputAudioConfig` is never constructed [INFO] [stdout] --> examples/common/utils.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct OutputAudioConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AudioFormat` is never used [INFO] [stdout] --> examples/common/utils.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum AudioFormat { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_header` is never used [INFO] [stdout] --> examples/common/utils.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl AudioFormat { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 40 | pub fn as_header(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sender_for_default_audio_output` is never used [INFO] [stdout] --> examples/common/utils.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn sender_for_default_audio_output(format: AudioFormat) -> std::sync::mpsc::Sender> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamMediaSource` is never constructed [INFO] [stdout] --> examples/common/utils.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct StreamMediaSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `read_inner` are never used [INFO] [stdout] --> examples/common/utils.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl StreamMediaSource { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 100 | pub fn new(inner: std::sync::mpsc::Receiver>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn read_inner(&mut self, len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `listen_from_default_input` is never used [INFO] [stdout] --> examples/common/utils.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | pub async fn listen_from_default_input(output: OutputAudioConfig) -> Result<(Stream>, Input), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_channels` is never used [INFO] [stdout] --> examples/common/utils.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn convert_channels(data: &[f32], in_ch: usize, out_ch: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resample_linear` is never used [INFO] [stdout] --> examples/common/utils.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn resample_linear(data: &[f32], in_rate: u32, out_rate: u32, channels: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_to_bytes` is never used [INFO] [stdout] --> examples/common/utils.rs:275:4 [INFO] [stdout] | [INFO] [stdout] 275 | fn sample_to_bytes(sample: f32, bits: u16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gemini-client-rs` (test "stream_content"); 1 warning emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/bin/rustc --crate-name stream_content --edition=2024 tests/stream_content.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=9698f6012d788da1 -C extra-filename=-5cad8db20ff06aca --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-1026aca84816da2b.so --extern audio_gate=/opt/rustwide/target/debug/deps/libaudio_gate-bd88d78f4e42fe08.rlib --extern base64=/opt/rustwide/target/debug/deps/libbase64-2a03de3babadded3.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-bfe11088fe358bd1.rlib --extern chrono=/opt/rustwide/target/debug/deps/libchrono-e861d6424297ea46.rlib --extern cpal=/opt/rustwide/target/debug/deps/libcpal-bffc66de57a9903f.rlib --extern derive_new=/opt/rustwide/target/debug/deps/libderive_new-2617a2e3be49d511.so --extern derive_setters=/opt/rustwide/target/debug/deps/libderive_setters-e905959dc95ff72a.so --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-ed16f8757ac7f100.rlib --extern ezsockets=/opt/rustwide/target/debug/deps/libezsockets-c275962d9e7d45c4.rlib --extern gemini=/opt/rustwide/target/debug/deps/libgemini-21eead359c0ca98d.rlib --extern hound=/opt/rustwide/target/debug/deps/libhound-8cba2ee4533c72df.rlib --extern hyper=/opt/rustwide/target/debug/deps/libhyper-56a8754c87071381.rlib --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-90df0352a9cbd62f.rlib --extern rodio=/opt/rustwide/target/debug/deps/librodio-71a7dbb3f1194e90.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-048657cb08a899fa.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-055de53f88305d45.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-74a524924fd77012.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-8e16b0553eaf97c5.rlib --extern tokio_stream=/opt/rustwide/target/debug/deps/libtokio_stream-cb99a2cd6e1b7fcd.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-5b4fad722c2b14ee.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-b71450b5d20cf71c.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-79443b6abf3b0b6a.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-cc0265757dade7f5.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/aws-lc-sys-90e30c1b5fd08d85/out -L native=/usr/lib/x86_64-linux-gnu` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gemini-client-rs` (example "live_audio_in_text_out"); 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/bin/rustc --crate-name live_audio_in_text_out --edition=2024 examples/live_audio_in_text_out.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=b7e5c604359a8c13 -C extra-filename=-beb4200373ca9ad2 --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-1026aca84816da2b.so --extern audio_gate=/opt/rustwide/target/debug/deps/libaudio_gate-bd88d78f4e42fe08.rlib --extern base64=/opt/rustwide/target/debug/deps/libbase64-2a03de3babadded3.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-bfe11088fe358bd1.rlib --extern chrono=/opt/rustwide/target/debug/deps/libchrono-e861d6424297ea46.rlib --extern cpal=/opt/rustwide/target/debug/deps/libcpal-bffc66de57a9903f.rlib --extern derive_new=/opt/rustwide/target/debug/deps/libderive_new-2617a2e3be49d511.so --extern derive_setters=/opt/rustwide/target/debug/deps/libderive_setters-e905959dc95ff72a.so --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-ed16f8757ac7f100.rlib --extern ezsockets=/opt/rustwide/target/debug/deps/libezsockets-c275962d9e7d45c4.rlib --extern gemini=/opt/rustwide/target/debug/deps/libgemini-21eead359c0ca98d.rlib --extern hound=/opt/rustwide/target/debug/deps/libhound-8cba2ee4533c72df.rlib --extern hyper=/opt/rustwide/target/debug/deps/libhyper-56a8754c87071381.rlib --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-90df0352a9cbd62f.rlib --extern rodio=/opt/rustwide/target/debug/deps/librodio-71a7dbb3f1194e90.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-048657cb08a899fa.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-055de53f88305d45.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-74a524924fd77012.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-8e16b0553eaf97c5.rlib --extern tokio_stream=/opt/rustwide/target/debug/deps/libtokio_stream-cb99a2cd6e1b7fcd.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-5b4fad722c2b14ee.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-b71450b5d20cf71c.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-79443b6abf3b0b6a.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-cc0265757dade7f5.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/aws-lc-sys-90e30c1b5fd08d85/out -L native=/usr/lib/x86_64-linux-gnu` (signal: 9, SIGKILL: kill) [INFO] [stderr] error: could not compile `gemini-client-rs` (example "live_text_in_text_out"); 13 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/bin/rustc --crate-name live_text_in_text_out --edition=2024 examples/live_text_in_text_out.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=fa972e8f1c17b916 -C extra-filename=-d89c621fe3fa4b91 --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-1026aca84816da2b.so --extern audio_gate=/opt/rustwide/target/debug/deps/libaudio_gate-bd88d78f4e42fe08.rlib --extern base64=/opt/rustwide/target/debug/deps/libbase64-2a03de3babadded3.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-bfe11088fe358bd1.rlib --extern chrono=/opt/rustwide/target/debug/deps/libchrono-e861d6424297ea46.rlib --extern cpal=/opt/rustwide/target/debug/deps/libcpal-bffc66de57a9903f.rlib --extern derive_new=/opt/rustwide/target/debug/deps/libderive_new-2617a2e3be49d511.so --extern derive_setters=/opt/rustwide/target/debug/deps/libderive_setters-e905959dc95ff72a.so --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-ed16f8757ac7f100.rlib --extern ezsockets=/opt/rustwide/target/debug/deps/libezsockets-c275962d9e7d45c4.rlib --extern gemini=/opt/rustwide/target/debug/deps/libgemini-21eead359c0ca98d.rlib --extern hound=/opt/rustwide/target/debug/deps/libhound-8cba2ee4533c72df.rlib --extern hyper=/opt/rustwide/target/debug/deps/libhyper-56a8754c87071381.rlib --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-90df0352a9cbd62f.rlib --extern rodio=/opt/rustwide/target/debug/deps/librodio-71a7dbb3f1194e90.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-048657cb08a899fa.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-055de53f88305d45.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-74a524924fd77012.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-8e16b0553eaf97c5.rlib --extern tokio_stream=/opt/rustwide/target/debug/deps/libtokio_stream-cb99a2cd6e1b7fcd.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-5b4fad722c2b14ee.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-b71450b5d20cf71c.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-79443b6abf3b0b6a.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-cc0265757dade7f5.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/aws-lc-sys-90e30c1b5fd08d85/out -L native=/usr/lib/x86_64-linux-gnu` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "7c5acbff0c2b0e35a045aec25882466e3c17f646296cd4de0c702239a8b655b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c5acbff0c2b0e35a045aec25882466e3c17f646296cd4de0c702239a8b655b2", kill_on_drop: false }` [INFO] [stdout] 7c5acbff0c2b0e35a045aec25882466e3c17f646296cd4de0c702239a8b655b2