[INFO] fetching crate stt-cli 0.2.1...
[INFO] checking stt-cli-0.2.1 against e5e97e3ef0ee95d34bea49cdac051ed1bbac01df for pr-158759-1
[INFO] extracting crate stt-cli 0.2.1 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate stt-cli 0.2.1
[INFO] finished tweaking crates.io crate stt-cli 0.2.1
[INFO] tweaked toml for crates.io crate stt-cli 0.2.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate stt-cli 0.2.1 on toolchain e5e97e3ef0ee95d34bea49cdac051ed1bbac01df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate stt-cli 0.2.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d7323dfd4e516e38616eeca799b9bf4a69825ae92b848f4473fb03a4e864df57
[INFO] running `Command { std: "docker" "start" "d7323dfd4e516e38616eeca799b9bf4a69825ae92b848f4473fb03a4e864df57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d7323dfd4e516e38616eeca799b9bf4a69825ae92b848f4473fb03a4e864df57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d7323dfd4e516e38616eeca799b9bf4a69825ae92b848f4473fb03a4e864df57" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d7323dfd4e516e38616eeca799b9bf4a69825ae92b848f4473fb03a4e864df57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d7323dfd4e516e38616eeca799b9bf4a69825ae92b848f4473fb03a4e864df57" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]    Compiling cc v1.2.19
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking litemap v0.7.3
[INFO] [stderr]     Checking linux-raw-sys v0.4.14
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling httparse v1.9.2
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]     Checking icu_locid_transform_data v1.5.0
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking icu_properties_data v1.5.0
[INFO] [stderr]    Compiling rustls v0.23.26
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]     Checking icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling wayland-client v0.31.8
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling wayland-sys v0.31.6
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking rustls-native-certs v0.8.1
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking rustls-pemfile v2.1.2
[INFO] [stderr]    Compiling rustfft v6.3.0
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]     Checking strength_reduce v0.2.4
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling wayland-backend v0.3.8
[INFO] [stderr]    Compiling quick-xml v0.37.4
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]    Compiling nix v0.28.0
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking fastrand v2.1.0
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking memmap2 v0.9.5
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling wayland-scanner v0.31.6
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]     Checking clap_lex v0.7.4
[INFO] [stderr]    Compiling cpal v0.15.3
[INFO] [stderr]     Checking time-core v0.1.4
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking unicode-width v0.2.0
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]     Checking x11rb-protocol v0.13.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking transpose v0.2.3
[INFO] [stderr]     Checking primal-check v0.3.4
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking clap_builder v4.5.37
[INFO] [stderr]     Checking xkbcommon v0.8.0
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking shell-words v1.1.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking dasp_sample v0.11.0
[INFO] [stderr]     Checking hound v3.5.1
[INFO] [stderr]     Checking colored v3.0.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking eventsource-stream v0.2.3
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking rustls-webpki v0.103.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling zerovec-derive v0.10.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling displaydoc v0.2.4
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling async-openai-macros v0.1.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.4
[INFO] [stderr]    Compiling yoke-derive v0.7.4
[INFO] [stderr]    Compiling bytemuck_derive v1.9.3
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]     Checking realfft v3.4.0
[INFO] [stderr]     Checking thiserror v2.0.12
[INFO] [stderr]     Checking rubato v0.16.2
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking bytemuck v1.22.0
[INFO] [stderr]     Checking zerofrom v0.1.4
[INFO] [stderr]     Checking clap v4.5.37
[INFO] [stderr]     Checking yoke v0.7.4
[INFO] [stderr]     Checking zerovec v0.10.2
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]     Checking tracing-appender v0.2.3
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking derive_builder v0.20.2
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking icu_properties v1.5.0
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking secrecy v0.10.3
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking alsa v0.9.1
[INFO] [stderr]     Checking keyboard-types v0.7.0
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking tokio v1.44.2
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]     Checking idna v1.0.0
[INFO] [stderr]     Checking url v2.5.1
[INFO] [stderr]     Checking global-hotkey v0.6.4
[INFO] [stderr]     Checking ctrlc v3.4.4
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking tempfile v3.10.1
[INFO] [stderr]     Checking x11rb v0.13.1
[INFO] [stderr]     Checking dialoguer v0.11.0
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking tokio-rustls v0.26.2
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking backoff v0.4.0
[INFO] [stderr]     Checking h2 v0.4.5
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking wayland-protocols v0.32.6
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking wayland-protocols-plasma v0.3.6
[INFO] [stderr]     Checking wayland-protocols-misc v0.3.6
[INFO] [stderr]     Checking wayland-protocols-wlr v0.3.6
[INFO] [stderr]     Checking hyper-util v0.1.11
[INFO] [stderr]     Checking hyper-rustls v0.27.5
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.15
[INFO] [stderr]     Checking enigo v0.3.0
[INFO] [stderr]     Checking reqwest-eventsource v0.6.0
[INFO] [stderr]     Checking groq-api-rust v0.2.51
[INFO] [stderr]     Checking async-openai v0.28.1
[INFO] [stderr]     Checking stt-cli v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `broadcast`
[INFO] [stdout]  --> src/app.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::sync::{broadcast, Mutex as TokioMutex, watch};
[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: `ExitPriority`
[INFO] [stdout]   --> src/app.rs:19:31
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::shutdown_handler::{ExitPriority, ShutdownManager};
[INFO] [stdout]    |                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Service` and `util::ServiceExt`
[INFO] [stdout]   --> src/app.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | use tower::{Service, util::ServiceExt};
[INFO] [stdout]    |             ^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, and `atomic::Ordering`
[INFO] [stdout]  --> src/audio/buffer.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 |     sync::{atomic::Ordering, Arc, Mutex},
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^  ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::error`
[INFO] [stdout]   --> src/audio/buffer.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tracing::error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PauseStreamError`, `PlayStreamError`, and `StreamError`
[INFO] [stdout]  --> src/audio/commands.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cpal::{PauseStreamError, PlayStreamError, StreamError};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::channel::oneshot`
[INFO] [stdout]  --> src/audio/commands.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use futures::channel::oneshot; // Used for acknowledging commands
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InputDevices` and `OutputDevices`
[INFO] [stdout]  --> src/audio/device.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Device, Host, InputDevices, OutputDevices, SupportedStreamConfig, SupportedStreamConfigRange,
[INFO] [stdout]   |                   ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]   --> src/audio/device_manager.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tracing::{debug, error, info, instrument, trace, warn};
[INFO] [stdout]    |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ordering`
[INFO] [stdout]  --> src/audio/stream_manager.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 |     atomic::{AtomicBool, Ordering},
[INFO] [stdout]   |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thiserror::Error`
[INFO] [stdout]  --> src/audio/stream_manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/audio/stream_manager.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{error, info};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AudioStreamError` and `AudioStreamManager`
[INFO] [stdout]   --> src/audio/mod.rs:17:26
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use stream_manager::{AudioStreamError, AudioStreamManager};
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Modifiers`
[INFO] [stdout]   --> src/hotkey_service.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 |     hotkey::{HotKey, Modifiers},
[INFO] [stdout]    |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `text_handler::StubTextInserter`
[INFO] [stdout]   --> src/platform/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use text_handler::StubTextInserter;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `text_handler::TextInserter`
[INFO] [stdout]   --> src/platform/mod.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use text_handler::TextInserter;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oneshot`
[INFO] [stdout]  --> src/shutdown_handler.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::sync::{broadcast, oneshot};
[INFO] [stdout]   |                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::task::JoinHandle`
[INFO] [stdout]  --> src/shutdown_handler.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::task::JoinHandle;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::config`
[INFO] [stdout]  --> src/transcription/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::config;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/transcription/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::Mutex`
[INFO] [stdout]   --> src/transcription/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::sync::Mutex;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `info`
[INFO] [stdout]   --> src/transcription/mod.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tracing::{error, info, instrument, trace, warn};
[INFO] [stdout]    |               ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::providers::TranscriptionProvider`
[INFO] [stdout]   --> src/transcription/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::providers::TranscriptionProvider;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> src/pipeline/layers/wav_conversion.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> src/pipeline/layers/silence_removal.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `broadcast`
[INFO] [stdout]  --> src/app.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::sync::{broadcast, Mutex as TokioMutex, watch};
[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: `ExitPriority`
[INFO] [stdout]   --> src/app.rs:19:31
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::shutdown_handler::{ExitPriority, ShutdownManager};
[INFO] [stdout]    |                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Service` and `util::ServiceExt`
[INFO] [stdout]   --> src/app.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | use tower::{Service, util::ServiceExt};
[INFO] [stdout]    |             ^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, and `atomic::Ordering`
[INFO] [stdout]  --> src/audio/buffer.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 |     sync::{atomic::Ordering, Arc, Mutex},
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^  ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::error`
[INFO] [stdout]   --> src/audio/buffer.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tracing::error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PauseStreamError`, `PlayStreamError`, and `StreamError`
[INFO] [stdout]  --> src/audio/commands.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cpal::{PauseStreamError, PlayStreamError, StreamError};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::channel::oneshot`
[INFO] [stdout]  --> src/audio/commands.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use futures::channel::oneshot; // Used for acknowledging commands
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InputDevices` and `OutputDevices`
[INFO] [stdout]  --> src/audio/device.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Device, Host, InputDevices, OutputDevices, SupportedStreamConfig, SupportedStreamConfigRange,
[INFO] [stdout]   |                   ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]   --> src/audio/device_manager.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tracing::{debug, error, info, instrument, trace, warn};
[INFO] [stdout]    |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ordering`
[INFO] [stdout]  --> src/audio/stream_manager.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 |     atomic::{AtomicBool, Ordering},
[INFO] [stdout]   |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thiserror::Error`
[INFO] [stdout]  --> src/audio/stream_manager.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/audio/stream_manager.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{error, info};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AudioStreamError` and `AudioStreamManager`
[INFO] [stdout]   --> src/audio/mod.rs:17:26
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use stream_manager::{AudioStreamError, AudioStreamManager};
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Modifiers`
[INFO] [stdout]   --> src/hotkey_service.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 |     hotkey::{HotKey, Modifiers},
[INFO] [stdout]    |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `text_handler::StubTextInserter`
[INFO] [stdout]   --> src/platform/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use text_handler::StubTextInserter;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `text_handler::TextInserter`
[INFO] [stdout]   --> src/platform/mod.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use text_handler::TextInserter;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oneshot`
[INFO] [stdout]  --> src/shutdown_handler.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::sync::{broadcast, oneshot};
[INFO] [stdout]   |                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::task::JoinHandle`
[INFO] [stdout]  --> src/shutdown_handler.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::task::JoinHandle;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/shutdown_handler.rs:272:9
[INFO] [stdout]     |
[INFO] [stdout] 272 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::config`
[INFO] [stdout]  --> src/transcription/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::config;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/transcription/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::Mutex`
[INFO] [stdout]   --> src/transcription/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::sync::Mutex;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `info`
[INFO] [stdout]   --> src/transcription/mod.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tracing::{error, info, instrument, trace, warn};
[INFO] [stdout]    |               ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::providers::TranscriptionProvider`
[INFO] [stdout]   --> src/transcription/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::providers::TranscriptionProvider;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/transcription/mod.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     use std::time::Duration;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> src/pipeline/layers/wav_conversion.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> src/pipeline/layers/silence_removal.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/hotkey_service.rs:270:45
[INFO] [stdout]     |
[INFO] [stdout] 259 | ...                   Ok(AudioResponse { result_data: ProcessedData::Transcription(text), .. }) => {
[INFO] [stdout]     |                       ------------------------------------------------------------------------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 270 | ...                   Ok(AudioResponse { result_data: other_data, .. }) => {
[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: unreachable pattern
[INFO] [stdout]    --> src/hotkey_service.rs:270:45
[INFO] [stdout]     |
[INFO] [stdout] 259 | ...                   Ok(AudioResponse { result_data: ProcessedData::Transcription(text), .. }) => {
[INFO] [stdout]     |                       ------------------------------------------------------------------------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 270 | ...                   Ok(AudioResponse { result_data: other_data, .. }) => {
[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: `host`
[INFO] [stdout]    --> src/audio/device.rs:120:28
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub fn select_audio_device(host: &Host) -> Result<Arc<AudioDevice>> {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `host`
[INFO] [stdout]    --> src/audio/device.rs:143:28
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub fn find_device_by_name(host: &Host, name: &str) -> Result<Arc<AudioDevice>> {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `host`
[INFO] [stdout]    --> src/audio/device.rs:120:28
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub fn select_audio_device(host: &Host) -> Result<Arc<AudioDevice>> {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `host`
[INFO] [stdout]    --> src/audio/device.rs:143:28
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub fn find_device_by_name(host: &Host, name: &str) -> Result<Arc<AudioDevice>> {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/audio/device_manager.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let config = cpal::StreamConfig {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/audio/device_manager.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let config = cpal::StreamConfig {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]    --> src/platform/text_handler.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         options: InsertOptions,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]    --> src/platform/text_handler.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         options: InsertOptions,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/pipeline/layers/silence_removal.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut chunk = req.0.clone();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wav_data`
[INFO] [stdout]    --> src/transcription/mod.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let wav_data = convert_samples_to_wav(&samples).unwrap();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wav_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `transcription_cancel` and `transcription_handle` are never read
[INFO] [stdout]   --> src/app.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct App {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 39 |     transcription_cancel: Option<watch::Sender<bool>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 40 |     /// Handle for the transcription task
[INFO] [stdout] 41 |     transcription_handle: Option<JoinHandle<()>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `convert_samples_to_wav` is never used
[INFO] [stdout]    --> src/app.rs:169:8
[INFO] [stdout]     |
[INFO] [stdout]  48 | impl App {
[INFO] [stdout]     | -------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 169 |     fn convert_samples_to_wav(samples: &[f32]) -> Result<Vec<u8>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BUFFER_SIZE` is never used
[INFO] [stdout]   --> src/audio/buffer.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const BUFFER_SIZE: u32 = 1024;
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHUNK_DURATION_MS` is never used
[INFO] [stdout]   --> src/audio/buffer.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const CHUNK_DURATION_MS: u64 = 5000;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHUNK_SIZE` is never used
[INFO] [stdout]   --> src/audio/buffer.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const CHUNK_SIZE: usize =
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `samples`, `recording_state`, and `required_samples` are never read
[INFO] [stdout]   --> src/audio/buffer.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct AudioBuffer {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 28 |     /// The actual audio samples
[INFO] [stdout] 29 |     samples: Vec<f32>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 30 |     /// Current recording state (active/inactive)
[INFO] [stdout] 31 |     recording_state: RecordingState,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 32 |     /// Number of samples needed for a complete chunk
[INFO] [stdout] 33 |     required_samples: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AudioBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHANNELS` is never used
[INFO] [stdout]   --> src/audio/constants.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const CHANNELS: u16 = 1;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BUFFER_SIZE` is never used
[INFO] [stdout]   --> src/audio/constants.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const BUFFER_SIZE: usize = (SAMPLE_RATE as u64 * CHUNK_DURATION_MS / 1000) as usize;
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEVICE_SCAN_INTERVAL` is never used
[INFO] [stdout]   --> src/audio/constants.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const DEVICE_SCAN_INTERVAL: u64 = 5;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PROVIDER_CHECK_INTERVAL` is never used
[INFO] [stdout]   --> src/audio/constants.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub const PROVIDER_CHECK_INTERVAL: u64 = 30;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHUNK_SIZE` is never used
[INFO] [stdout]   --> src/audio/constants.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub const CHUNK_SIZE: usize = SAMPLE_RATE as usize * (CHUNK_DURATION_MS as usize / 1000);
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cpal_device` is never read
[INFO] [stdout]   --> src/audio/device.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct AudioDevice {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 15 |     pub name: String,
[INFO] [stdout] 16 |     pub cpal_device: Device, // Store the actual cpal::Device
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AudioDevice` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `name`, `is_input`, `default_input`, `default_output`, and `list_output_devices` are never used
[INFO] [stdout]   --> src/audio/device.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl AudioDevice {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn name(&self) -> String {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn is_input(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn default_input() -> Result<Arc<Self>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn default_output() -> Result<Arc<Self>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub fn list_output_devices() -> Result<Vec<Arc<Self>>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_device_capabilities` is never used
[INFO] [stdout]    --> src/audio/device.rs:162:8
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub fn get_device_capabilities(device: &Device) -> Result<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `append_configs` is never used
[INFO] [stdout]    --> src/audio/device.rs:176:4
[INFO] [stdout]     |
[INFO] [stdout] 176 | fn append_configs(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_audio_devices` is never used
[INFO] [stdout]    --> src/audio/device.rs:214:8
[INFO] [stdout]     |
[INFO] [stdout] 214 | pub fn list_audio_devices() -> Result<Vec<Arc<AudioDevice>>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AudioDeviceManager` is never constructed
[INFO] [stdout]   --> src/audio/device_manager.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct AudioDeviceManager {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `device` and `device_config` are never read
[INFO] [stdout]   --> src/audio/stream.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct AudioStream {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 21 |     pub device: Arc<AudioDevice>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 22 |     pub device_config: cpal::SupportedStreamConfig,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AudioStream` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_disconnected` is never used
[INFO] [stdout]    --> src/audio/stream.rs:137:12
[INFO] [stdout]     |
[INFO] [stdout]  33 | impl AudioStream {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn is_disconnected(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AudioStreamError` is never used
[INFO] [stdout]   --> src/audio/stream_manager.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum AudioStreamError {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `buffer`, `recording_state`, and `provider` are never read
[INFO] [stdout]   --> src/audio/stream_manager.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct AudioStreamManager {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 30 |     stream: Option<AudioStream>,
[INFO] [stdout] 31 |     buffer: Arc<StdMutex<AudioBuffer>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 32 |     recording_state: RecordingState,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 33 |     device: Arc<AudioDevice>,
[INFO] [stdout] 34 |     provider: Arc<TokioMutex<Box<dyn TranscriptionProvider + Send + Sync>>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_active` and `is_active` are never used
[INFO] [stdout]   --> src/audio_state.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl RecordingState {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn set_active(&self, active: bool) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn is_active(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_debug_mode` is never used
[INFO] [stdout]    --> src/my_tracing.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub fn is_debug_mode() -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `auto_capitalize` and `auto_punctuate` are never read
[INFO] [stdout]   --> src/platform/text_handler.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct InsertOptions {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 14 |     pub auto_capitalize: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     pub auto_punctuate: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InsertOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StubTextInserter` is never constructed
[INFO] [stdout]   --> src/platform/text_handler.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct StubTextInserter;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `name` and `min_chunk_duration` are never used
[INFO] [stdout]   --> src/providers/mod.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait TranscriptionProvider {
[INFO] [stdout]    |           --------------------- methods in this trait
[INFO] [stdout] 14 |     fn name(&self) -> &'static str;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn min_chunk_duration(&self) -> std::time::Duration {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MockProvider` is never constructed
[INFO] [stdout]   --> src/providers/mod.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct MockProvider;
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/providers/mod.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl MockProvider {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 27 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_provider` is never used
[INFO] [stdout]   --> src/providers/mod.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub async fn create_provider(provider_name: &str) -> Box<dyn TranscriptionProvider + Send + Sync> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `First` and `Last` are never constructed
[INFO] [stdout]   --> src/shutdown_handler.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum ExitPriority {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 19 |     /// First actions to perform during shutdown
[INFO] [stdout] 20 |     First = 0,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     Last = 100,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExitPriority` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Failed` is never constructed
[INFO] [stdout]   --> src/shutdown_handler.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub enum ShutdownActionStatus {
[INFO] [stdout]    |          -------------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 35 |     Failed,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `with_timeout` and `force_shutdown` are never used
[INFO] [stdout]    --> src/shutdown_handler.rs:94:12
[INFO] [stdout]     |
[INFO] [stdout]  80 | impl ShutdownManager {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn with_timeout(mut self, duration: Duration) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 222 |     pub async fn force_shutdown(&self) -> ShutdownResult {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `min_chunk_duration` and `sample_rate` are never read
[INFO] [stdout]   --> src/pipeline/chunking.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct ChunkingManager {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 10 |     buffer: Vec<f32>,
[INFO] [stdout] 11 |     min_chunk_duration: Duration,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     sample_rate: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `take_remaining`, `buffered_samples`, `required_samples`, and `current_duration` are never used
[INFO] [stdout]   --> src/pipeline/chunking.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl ChunkingManager {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn take_remaining(&mut self) -> Vec<f32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn buffered_samples(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn required_samples(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn current_duration(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `is_speech` is never read
[INFO] [stdout]   --> src/pipeline/types.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct AudioChunk {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub is_speech: Option<bool>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AudioChunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `original_timestamp` is never read
[INFO] [stdout]   --> src/pipeline/types.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct AudioResponse {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub original_timestamp: std::time::SystemTime,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AudioResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnknownError` is never constructed
[INFO] [stdout]   --> src/pipeline/types.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub enum PipelineError {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 54 |     UnknownError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PipelineError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SilenceRemovalLayer` is never constructed
[INFO] [stdout]   --> src/pipeline/layers/silence_removal.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SilenceRemovalLayer {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/pipeline/layers/silence_removal.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl SilenceRemovalLayer {
[INFO] [stdout]    | ------------------------ associated function in this implementation
[INFO] [stdout] 19 |     pub fn new(threshold: f32, min_silence_duration_ms: u32, keep_short_pauses: bool, padding_ms: u32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SilenceRemovalService` is never constructed
[INFO] [stdout]   --> src/pipeline/layers/silence_removal.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct SilenceRemovalService<S> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_silence_removal` is never used
[INFO] [stdout]   --> src/pipeline/layers/silence_removal.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn process_silence_removal(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/pipeline/layers/silence_removal.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut chunk = req.0.clone();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `transcription_cancel` and `transcription_handle` are never read
[INFO] [stdout]   --> src/app.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct App {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 39 |     transcription_cancel: Option<watch::Sender<bool>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 40 |     /// Handle for the transcription task
[INFO] [stdout] 41 |     transcription_handle: Option<JoinHandle<()>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `convert_samples_to_wav` is never used
[INFO] [stdout]    --> src/app.rs:169:8
[INFO] [stdout]     |
[INFO] [stdout]  48 | impl App {
[INFO] [stdout]     | -------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 169 |     fn convert_samples_to_wav(samples: &[f32]) -> Result<Vec<u8>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BUFFER_SIZE` is never used
[INFO] [stdout]   --> src/audio/buffer.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const BUFFER_SIZE: u32 = 1024;
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHUNK_DURATION_MS` is never used
[INFO] [stdout]   --> src/audio/buffer.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const CHUNK_DURATION_MS: u64 = 5000;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHUNK_SIZE` is never used
[INFO] [stdout]   --> src/audio/buffer.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const CHUNK_SIZE: usize =
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `samples`, `recording_state`, and `required_samples` are never read
[INFO] [stdout]   --> src/audio/buffer.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct AudioBuffer {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 28 |     /// The actual audio samples
[INFO] [stdout] 29 |     samples: Vec<f32>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 30 |     /// Current recording state (active/inactive)
[INFO] [stdout] 31 |     recording_state: RecordingState,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 32 |     /// Number of samples needed for a complete chunk
[INFO] [stdout] 33 |     required_samples: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AudioBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHANNELS` is never used
[INFO] [stdout]   --> src/audio/constants.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const CHANNELS: u16 = 1;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BUFFER_SIZE` is never used
[INFO] [stdout]   --> src/audio/constants.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const BUFFER_SIZE: usize = (SAMPLE_RATE as u64 * CHUNK_DURATION_MS / 1000) as usize;
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEVICE_SCAN_INTERVAL` is never used
[INFO] [stdout]   --> src/audio/constants.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const DEVICE_SCAN_INTERVAL: u64 = 5;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PROVIDER_CHECK_INTERVAL` is never used
[INFO] [stdout]   --> src/audio/constants.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub const PROVIDER_CHECK_INTERVAL: u64 = 30;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHUNK_SIZE` is never used
[INFO] [stdout]   --> src/audio/constants.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub const CHUNK_SIZE: usize = SAMPLE_RATE as usize * (CHUNK_DURATION_MS as usize / 1000);
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cpal_device` is never read
[INFO] [stdout]   --> src/audio/device.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct AudioDevice {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 15 |     pub name: String,
[INFO] [stdout] 16 |     pub cpal_device: Device, // Store the actual cpal::Device
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AudioDevice` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `name`, `is_input`, `default_input`, `default_output`, and `list_output_devices` are never used
[INFO] [stdout]   --> src/audio/device.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl AudioDevice {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn name(&self) -> String {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn is_input(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn default_input() -> Result<Arc<Self>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn default_output() -> Result<Arc<Self>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub fn list_output_devices() -> Result<Vec<Arc<Self>>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_device_capabilities` is never used
[INFO] [stdout]    --> src/audio/device.rs:162:8
[INFO] [stdout]     |
[INFO] [stdout] 162 | pub fn get_device_capabilities(device: &Device) -> Result<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `append_configs` is never used
[INFO] [stdout]    --> src/audio/device.rs:176:4
[INFO] [stdout]     |
[INFO] [stdout] 176 | fn append_configs(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_audio_devices` is never used
[INFO] [stdout]    --> src/audio/device.rs:214:8
[INFO] [stdout]     |
[INFO] [stdout] 214 | pub fn list_audio_devices() -> Result<Vec<Arc<AudioDevice>>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AudioDeviceManager` is never constructed
[INFO] [stdout]   --> src/audio/device_manager.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct AudioDeviceManager {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `device` and `device_config` are never read
[INFO] [stdout]   --> src/audio/stream.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct AudioStream {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 21 |     pub device: Arc<AudioDevice>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 22 |     pub device_config: cpal::SupportedStreamConfig,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AudioStream` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_disconnected` is never used
[INFO] [stdout]    --> src/audio/stream.rs:137:12
[INFO] [stdout]     |
[INFO] [stdout]  33 | impl AudioStream {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn is_disconnected(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AudioStreamError` is never used
[INFO] [stdout]   --> src/audio/stream_manager.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum AudioStreamError {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `buffer`, `recording_state`, and `provider` are never read
[INFO] [stdout]   --> src/audio/stream_manager.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct AudioStreamManager {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 30 |     stream: Option<AudioStream>,
[INFO] [stdout] 31 |     buffer: Arc<StdMutex<AudioBuffer>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 32 |     recording_state: RecordingState,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 33 |     device: Arc<AudioDevice>,
[INFO] [stdout] 34 |     provider: Arc<TokioMutex<Box<dyn TranscriptionProvider + Send + Sync>>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_active` and `is_active` are never used
[INFO] [stdout]   --> src/audio_state.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl RecordingState {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn set_active(&self, active: bool) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn is_active(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_debug_mode` is never used
[INFO] [stdout]    --> src/my_tracing.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub fn is_debug_mode() -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `auto_capitalize` and `auto_punctuate` are never read
[INFO] [stdout]   --> src/platform/text_handler.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct InsertOptions {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 14 |     pub auto_capitalize: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     pub auto_punctuate: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InsertOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StubTextInserter` is never constructed
[INFO] [stdout]   --> src/platform/text_handler.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct StubTextInserter;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `name` and `min_chunk_duration` are never used
[INFO] [stdout]   --> src/providers/mod.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait TranscriptionProvider {
[INFO] [stdout]    |           --------------------- methods in this trait
[INFO] [stdout] 14 |     fn name(&self) -> &'static str;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn min_chunk_duration(&self) -> std::time::Duration {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MockProvider` is never constructed
[INFO] [stdout]   --> src/providers/mod.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct MockProvider;
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/providers/mod.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl MockProvider {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 27 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_provider` is never used
[INFO] [stdout]   --> src/providers/mod.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub async fn create_provider(provider_name: &str) -> Box<dyn TranscriptionProvider + Send + Sync> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `First` and `Last` are never constructed
[INFO] [stdout]   --> src/shutdown_handler.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum ExitPriority {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 19 |     /// First actions to perform during shutdown
[INFO] [stdout] 20 |     First = 0,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     Last = 100,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExitPriority` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Failed` is never constructed
[INFO] [stdout]   --> src/shutdown_handler.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub enum ShutdownActionStatus {
[INFO] [stdout]    |          -------------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 35 |     Failed,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `with_timeout` and `force_shutdown` are never used
[INFO] [stdout]    --> src/shutdown_handler.rs:94:12
[INFO] [stdout]     |
[INFO] [stdout]  80 | impl ShutdownManager {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn with_timeout(mut self, duration: Duration) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 222 |     pub async fn force_shutdown(&self) -> ShutdownResult {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `min_chunk_duration` and `sample_rate` are never read
[INFO] [stdout]   --> src/pipeline/chunking.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct ChunkingManager {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 10 |     buffer: Vec<f32>,
[INFO] [stdout] 11 |     min_chunk_duration: Duration,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     sample_rate: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `take_remaining`, `buffered_samples`, `required_samples`, and `current_duration` are never used
[INFO] [stdout]   --> src/pipeline/chunking.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl ChunkingManager {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn take_remaining(&mut self) -> Vec<f32> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn buffered_samples(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn required_samples(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn current_duration(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `is_speech` is never read
[INFO] [stdout]   --> src/pipeline/types.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct AudioChunk {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub is_speech: Option<bool>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AudioChunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `original_timestamp` is never read
[INFO] [stdout]   --> src/pipeline/types.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct AudioResponse {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub original_timestamp: std::time::SystemTime,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AudioResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnknownError` is never constructed
[INFO] [stdout]   --> src/pipeline/types.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub enum PipelineError {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 54 |     UnknownError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PipelineError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SilenceRemovalLayer` is never constructed
[INFO] [stdout]   --> src/pipeline/layers/silence_removal.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SilenceRemovalLayer {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/pipeline/layers/silence_removal.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl SilenceRemovalLayer {
[INFO] [stdout]    | ------------------------ associated function in this implementation
[INFO] [stdout] 19 |     pub fn new(threshold: f32, min_silence_duration_ms: u32, keep_short_pauses: bool, padding_ms: u32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SilenceRemovalService` is never constructed
[INFO] [stdout]   --> src/pipeline/layers/silence_removal.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct SilenceRemovalService<S> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_silence_removal` is never used
[INFO] [stdout]   --> src/pipeline/layers/silence_removal.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn process_silence_removal(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s
[INFO] running `Command { std: "docker" "inspect" "d7323dfd4e516e38616eeca799b9bf4a69825ae92b848f4473fb03a4e864df57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7323dfd4e516e38616eeca799b9bf4a69825ae92b848f4473fb03a4e864df57", kill_on_drop: false }`
[INFO] [stdout] d7323dfd4e516e38616eeca799b9bf4a69825ae92b848f4473fb03a4e864df57
