[INFO] cloning repository https://github.com/volment/voilip [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/volment/voilip" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolment%2Fvoilip", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolment%2Fvoilip'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8503bd36597fdf9fed5f2871c5ea7f0eee4598f [INFO] building volment/voilip against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolment%2Fvoilip" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/volment/voilip [INFO] finished tweaking git repo https://github.com/volment/voilip [INFO] tweaked toml for git repo https://github.com/volment/voilip written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/volment/voilip on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/volment/voilip 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chunked_transfer v1.5.0 [INFO] [stderr] Downloaded const_fn v0.4.11 [INFO] [stderr] Downloaded cookie v0.14.4 [INFO] [stderr] Downloaded objc2-io-surface v0.3.1 [INFO] [stderr] Downloaded wl-clipboard-rs v0.9.2 [INFO] [stderr] Downloaded objc2-core-graphics v0.3.1 [INFO] [stderr] Downloaded os_pipe v1.2.1 [INFO] [stderr] Downloaded whisper-rs-sys v0.8.0 [INFO] [stderr] Downloaded wayland-protocols-wlr v0.3.8 [INFO] [stderr] Downloaded wayland-client v0.31.10 [INFO] [stderr] Downloaded wayland-backend v0.3.10 [INFO] [stderr] Downloaded cookie_store v0.12.0 [INFO] [stderr] Downloaded core-graphics v0.21.0 [INFO] [stderr] Downloaded libloading v0.8.7 [INFO] [stderr] Downloaded clap_builder v4.5.38 [INFO] [stderr] Downloaded whisper-rs v0.10.0 [INFO] [stderr] Downloaded cocoa v0.22.0 [INFO] [stderr] Downloaded rdev v0.5.3 [INFO] [stderr] Downloaded arboard v3.5.0 [INFO] [stderr] Downloaded wayland-protocols v0.32.8 [INFO] [stderr] Downloaded clap v4.5.38 [INFO] [stderr] Downloaded publicsuffix v1.5.6 [INFO] [stderr] Downloaded ureq v1.5.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20896bcb52b701196314320967e73381d72bc75c8504110cc597b642bc35628b [INFO] running `Command { std: "docker" "start" "-a" "20896bcb52b701196314320967e73381d72bc75c8504110cc597b642bc35628b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20896bcb52b701196314320967e73381d72bc75c8504110cc597b642bc35628b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20896bcb52b701196314320967e73381d72bc75c8504110cc597b642bc35628b", kill_on_drop: false }` [INFO] [stdout] 20896bcb52b701196314320967e73381d72bc75c8504110cc597b642bc35628b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52543e60da3c26c2f9d1fca110f07062aac92604bea42463a9c9f127ec5e9aed [INFO] running `Command { std: "docker" "start" "-a" "52543e60da3c26c2f9d1fca110f07062aac92604bea42463a9c9f127ec5e9aed", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling dasp_frame v0.11.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling wayland-client v0.31.10 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling dasp_ring_buffer v0.11.0 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling wayland-backend v0.3.10 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling dasp_rms v0.11.0 [INFO] [stderr] Compiling dasp_peak v0.11.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling dasp_envelope v0.11.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling publicsuffix v1.5.6 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling dasp_interpolate v0.11.0 [INFO] [stderr] Compiling dasp_window v0.11.1 [INFO] [stderr] Compiling os_pipe v1.2.1 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling tree_magic_mini v3.1.6 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling dasp_signal v0.11.0 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling cookie_store v0.12.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling dasp_slice v0.11.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling chunked_transfer v1.5.0 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling ureq v1.5.5 [INFO] [stderr] Compiling rdev v0.5.3 [INFO] [stderr] Compiling wayland-protocols v0.32.8 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling dasp v0.11.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.8 [INFO] [stderr] Compiling wl-clipboard-rs v0.9.2 [INFO] [stderr] Compiling arboard v3.5.0 [INFO] [stderr] Compiling voilip v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/output.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: `tokio::time::sleep` [INFO] [stdout] --> src/output.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OutputMode` [INFO] [stdout] --> src/output.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::config::{Config, OutputMode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/config.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{info, warn, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/audio.rs:950:13 [INFO] [stdout] | [INFO] [stdout] 940 | "PLAY" | "PAUSE" | "PLAYPAUSE" => Key::Unknown(0xE022), // Play/Pause [INFO] [stdout] | ------------------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 950 | "PAUSE" => Key::Pause, [INFO] [stdout] | ^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifier` [INFO] [stdout] --> src/audio.rs:781:13 [INFO] [stdout] | [INFO] [stdout] 781 | let modifier = parts[0].trim().to_uppercase(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifier` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_AMPLITUDE` is never used [INFO] [stdout] --> src/audio.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const MAX_AMPLITUDE: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start_recording`, `stop_recording`, and `is_recording` are never used [INFO] [stdout] --> src/audio.rs:747:12 [INFO] [stdout] | [INFO] [stdout] 422 | impl AudioCapture { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 747 | pub fn start_recording(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 752 | pub fn stop_recording(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | pub fn is_recording(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_audio_data_from_wav` is never used [INFO] [stdout] --> src/transcriber.rs:336:4 [INFO] [stdout] | [INFO] [stdout] 336 | fn extract_audio_data_from_wav(wav_data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/output.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct OutputManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 18 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_voice_activity` is never used [INFO] [stdout] --> src/config.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn set_voice_activity(&mut self, threshold: f32, duration_ms: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_time` is never read [INFO] [stdout] --> src/utils.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 10 | running: Arc, [INFO] [stdout] 11 | start_time: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `running_clone` and `elapsed` are never used [INFO] [stdout] --> src/utils.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl AppState { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn running_clone(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn elapsed(&self) -> Duration { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_env_or` is never used [INFO] [stdout] --> src/utils.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_env_or(key: &str, default: T) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_text` is never used [INFO] [stdout] --> src/utils.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn format_text(text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/audio.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | if LAST_LOG_TIME.is_none() || now.duration_since(LAST_LOG_TIME.unwrap()).as_millis() > 500 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "52543e60da3c26c2f9d1fca110f07062aac92604bea42463a9c9f127ec5e9aed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52543e60da3c26c2f9d1fca110f07062aac92604bea42463a9c9f127ec5e9aed", kill_on_drop: false }` [INFO] [stdout] 52543e60da3c26c2f9d1fca110f07062aac92604bea42463a9c9f127ec5e9aed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 550114f69a204fa916710553969a4837d9afdff23963762a5357285c7f2711e3 [INFO] running `Command { std: "docker" "start" "-a" "550114f69a204fa916710553969a4837d9afdff23963762a5357285c7f2711e3", kill_on_drop: false }` [INFO] [stderr] Compiling voilip v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/output.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: `tokio::time::sleep` [INFO] [stdout] --> src/output.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OutputMode` [INFO] [stdout] --> src/output.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::config::{Config, OutputMode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/config.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{info, warn, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/audio.rs:950:13 [INFO] [stdout] | [INFO] [stdout] 940 | "PLAY" | "PAUSE" | "PLAYPAUSE" => Key::Unknown(0xE022), // Play/Pause [INFO] [stdout] | ------------------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 950 | "PAUSE" => Key::Pause, [INFO] [stdout] | ^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifier` [INFO] [stdout] --> src/audio.rs:781:13 [INFO] [stdout] | [INFO] [stdout] 781 | let modifier = parts[0].trim().to_uppercase(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifier` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_AMPLITUDE` is never used [INFO] [stdout] --> src/audio.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const MAX_AMPLITUDE: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start_recording`, `stop_recording`, and `is_recording` are never used [INFO] [stdout] --> src/audio.rs:747:12 [INFO] [stdout] | [INFO] [stdout] 422 | impl AudioCapture { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 747 | pub fn start_recording(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 752 | pub fn stop_recording(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | pub fn is_recording(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_audio_data_from_wav` is never used [INFO] [stdout] --> src/transcriber.rs:336:4 [INFO] [stdout] | [INFO] [stdout] 336 | fn extract_audio_data_from_wav(wav_data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/output.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct OutputManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 18 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_voice_activity` is never used [INFO] [stdout] --> src/config.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn set_voice_activity(&mut self, threshold: f32, duration_ms: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_time` is never read [INFO] [stdout] --> src/utils.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 10 | running: Arc, [INFO] [stdout] 11 | start_time: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `running_clone` and `elapsed` are never used [INFO] [stdout] --> src/utils.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl AppState { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn running_clone(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn elapsed(&self) -> Duration { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_env_or` is never used [INFO] [stdout] --> src/utils.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_env_or(key: &str, default: T) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_text` is never used [INFO] [stdout] --> src/utils.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn format_text(text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/audio.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | if LAST_LOG_TIME.is_none() || now.duration_since(LAST_LOG_TIME.unwrap()).as_millis() > 500 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.99s [INFO] running `Command { std: "docker" "inspect" "550114f69a204fa916710553969a4837d9afdff23963762a5357285c7f2711e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "550114f69a204fa916710553969a4837d9afdff23963762a5357285c7f2711e3", kill_on_drop: false }` [INFO] [stdout] 550114f69a204fa916710553969a4837d9afdff23963762a5357285c7f2711e3