[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] building jBernavaPrah/gemini-client-rs against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjBernavaPrah%2Fgemini-client-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jBernavaPrah/gemini-client-rs on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-tungstenite-wasm v0.5.0 [INFO] [stderr] Downloaded ezsockets v0.7.0 [INFO] [stderr] Downloaded enfync v0.1.6 [INFO] [stderr] Downloaded wasmtimer v0.2.1 [INFO] [stderr] Downloaded atomic_enum v0.2.0 [INFO] [stderr] Downloaded audio-gate v0.1.4 [INFO] [stderr] Downloaded coreaudio-rs v0.13.0 [INFO] [stderr] Downloaded derive-new v0.7.0 [INFO] [stderr] Downloaded objc2-core-audio-types v0.3.1 [INFO] [stderr] Downloaded derive_setters v0.1.7 [INFO] [stderr] Downloaded hyper-util v0.1.14 [INFO] [stderr] Downloaded objc2-audio-toolbox v0.3.1 [INFO] [stderr] Downloaded async-compression v0.4.25 [INFO] [stderr] Downloaded aws-lc-rs v1.13.1 [INFO] [stderr] Downloaded objc2-core-audio v0.3.1 [INFO] [stderr] Downloaded cpal v0.16.0 [INFO] [stderr] Downloaded tokio v1.46.0 [INFO] [stderr] Downloaded aws-lc-sys v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0018ae52b97526566c072a22c1017d3b41f6f5e251edf01b32fa7ff6ed7eb51c [INFO] running `Command { std: "docker" "start" "-a" "0018ae52b97526566c072a22c1017d3b41f6f5e251edf01b32fa7ff6ed7eb51c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0018ae52b97526566c072a22c1017d3b41f6f5e251edf01b32fa7ff6ed7eb51c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0018ae52b97526566c072a22c1017d3b41f6f5e251edf01b32fa7ff6ed7eb51c", kill_on_drop: false }` [INFO] [stdout] 0018ae52b97526566c072a22c1017d3b41f6f5e251edf01b32fa7ff6ed7eb51c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c49e74041a6940c0be46c3c320c4412423b9c54589a5c9c7bb45f0c1d65eb8bd [INFO] running `Command { std: "docker" "start" "-a" "c49e74041a6940c0be46c3c320c4412423b9c54589a5c9c7bb45f0c1d65eb8bd", kill_on_drop: false }` [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling aws-lc-rs v1.13.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling atomic_enum v0.2.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling cmake v0.1.54 [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 derive-new v0.7.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_setters v0.1.7 [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 serde v1.0.219 [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 idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling async-compression v0.4.25 [INFO] [stderr] Compiling enfync v0.1.6 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [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 22s [INFO] running `Command { std: "docker" "inspect" "c49e74041a6940c0be46c3c320c4412423b9c54589a5c9c7bb45f0c1d65eb8bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c49e74041a6940c0be46c3c320c4412423b9c54589a5c9c7bb45f0c1d65eb8bd", kill_on_drop: false }` [INFO] [stdout] c49e74041a6940c0be46c3c320c4412423b9c54589a5c9c7bb45f0c1d65eb8bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3d932b435e362bca63ff5296381af77920b8491ea741680d5e806071c153a31 [INFO] running `Command { std: "docker" "start" "-a" "e3d932b435e362bca63ff5296381af77920b8491ea741680d5e806071c153a31", kill_on_drop: false }` [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling cpal v0.16.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling audio-gate v0.1.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling tokio v1.46.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling rodio v0.20.1 [INFO] [stderr] Compiling tungstenite v0.26.2 [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 h2 v0.4.11 [INFO] [stderr] Compiling tokio-tungstenite-wasm v0.5.0 [INFO] [stderr] Compiling tower-http v0.6.6 [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: `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: 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: `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: 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] [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: 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 52.32s [INFO] running `Command { std: "docker" "inspect" "e3d932b435e362bca63ff5296381af77920b8491ea741680d5e806071c153a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3d932b435e362bca63ff5296381af77920b8491ea741680d5e806071c153a31", kill_on_drop: false }` [INFO] [stdout] e3d932b435e362bca63ff5296381af77920b8491ea741680d5e806071c153a31