[INFO] cloning repository https://github.com/mindtravel/rust_spectrum_analyse
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mindtravel/rust_spectrum_analyse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindtravel%2Frust_spectrum_analyse", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindtravel%2Frust_spectrum_analyse'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d2cf8c4f6a2b1c6743bece7392c351417ad4dd72
[INFO] checking mindtravel/rust_spectrum_analyse against master#540f43a224317d894a9a0710a8d67704f179a33c for pr-155193
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindtravel%2Frust_spectrum_analyse" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mindtravel/rust_spectrum_analyse
[INFO] finished tweaking git repo https://github.com/mindtravel/rust_spectrum_analyse
[INFO] tweaked toml for git repo https://github.com/mindtravel/rust_spectrum_analyse written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mindtravel/rust_spectrum_analyse on toolchain 540f43a224317d894a9a0710a8d67704f179a33c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+540f43a224317d894a9a0710a8d67704f179a33c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mindtravel/rust_spectrum_analyse 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" "+540f43a224317d894a9a0710a8d67704f179a33c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ringbuf v0.3.3
[INFO] [stderr]   Downloaded ecolor v0.22.0
[INFO] [stderr]   Downloaded emath v0.22.0
[INFO] [stderr]   Downloaded objc2-io-surface v0.3.0
[INFO] [stderr]   Downloaded egui-winit v0.22.0
[INFO] [stderr]   Downloaded egui_glow v0.22.0
[INFO] [stderr]   Downloaded objc2-core-graphics v0.3.0
[INFO] [stderr]   Downloaded eframe v0.22.0
[INFO] [stderr]   Downloaded egui v0.22.0
[INFO] [stderr]   Downloaded epaint v0.22.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+540f43a224317d894a9a0710a8d67704f179a33c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b6a1b79eb747b5b7bfd715d236178e26a89a7ef9851c544980b8370bdde942bd
[INFO] running `Command { std: "docker" "start" "-a" "b6a1b79eb747b5b7bfd715d236178e26a89a7ef9851c544980b8370bdde942bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b6a1b79eb747b5b7bfd715d236178e26a89a7ef9851c544980b8370bdde942bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6a1b79eb747b5b7bfd715d236178e26a89a7ef9851c544980b8370bdde942bd", kill_on_drop: false }`
[INFO] [stdout] b6a1b79eb747b5b7bfd715d236178e26a89a7ef9851c544980b8370bdde942bd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+540f43a224317d894a9a0710a8d67704f179a33c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c170e220139982c5609feeff5e7a94695a5b4865528dcc579ff85cb66035f68a
[INFO] running `Command { std: "docker" "start" "-a" "c170e220139982c5609feeff5e7a94695a5b4865528dcc579ff85cb66035f68a", kill_on_drop: false }`
[INFO] [stderr]    Compiling xml-rs v0.8.25
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]     Checking event-listener v5.4.0
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]     Checking flate2 v1.1.1
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]     Checking nix v0.25.1
[INFO] [stderr]     Checking waker-fn v1.2.0
[INFO] [stderr]     Checking fastrand v1.9.0
[INFO] [stderr]    Compiling rustix v0.37.28
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking async-channel v2.3.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking async-lock v2.8.0
[INFO] [stderr]     Checking futures-lite v1.13.0
[INFO] [stderr]     Checking memmap2 v0.5.10
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling async-fs v1.6.0
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]     Checking linux-raw-sys v0.3.8
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking blocking v1.6.1
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]     Checking x11-dl v2.21.0
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]     Checking accesskit v0.11.2
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking async-executor v1.13.1
[INFO] [stderr]     Checking async-broadcast v0.5.1
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]     Checking xdg-home v1.3.0
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking raw-window-handle v0.5.2
[INFO] [stderr]    Compiling glutin_glx_sys v0.4.0
[INFO] [stderr]    Compiling glutin_egl_sys v0.5.1
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]    Compiling wayland-sys v0.30.1
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]     Checking libloading v0.7.4
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]     Checking accesskit_consumer v0.15.2
[INFO] [stderr]    Compiling jack-sys v0.5.1
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]    Compiling glutin v0.30.10
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]     Checking x11rb-protocol v0.13.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling glutin-winit v0.3.0
[INFO] [stderr]     Checking alsa-sys v0.3.1
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling rustfft v6.2.0
[INFO] [stderr]    Compiling jack v0.11.4
[INFO] [stderr]     Checking glow v0.12.3
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking strength_reduce v0.2.4
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking transpose v0.2.3
[INFO] [stderr]     Checking alsa v0.9.1
[INFO] [stderr]     Checking primal-check v0.3.4
[INFO] [stderr]     Checking windows-core v0.52.0
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking crossbeam-channel v0.5.14
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]     Checking dasp_sample v0.11.0
[INFO] [stderr]     Checking crossbeam v0.8.4
[INFO] [stderr]     Checking windows v0.52.0
[INFO] [stderr]    Compiling zvariant_utils v1.0.1
[INFO] [stderr]     Checking myalgorithm v0.1.0 (/opt/rustwide/workdir/myalgorithm)
[INFO] [stderr]     Checking ringbuf v0.3.3
[INFO] [stderr]     Checking cpal v0.15.3
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling atspi-macros v0.2.0
[INFO] [stderr]     Checking wayland-cursor v0.29.5
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zvariant_derive v3.15.2
[INFO] [stderr]    Compiling zbus_macros v3.15.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling bytemuck_derive v1.9.3
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling enumflags2_derive v0.7.11
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling async-recursion v1.1.1
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking calloop v0.10.6
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking bytemuck v1.22.0
[INFO] [stderr]     Checking tiny-skia-path v0.8.4
[INFO] [stderr]     Checking ecolor v0.22.0
[INFO] [stderr]     Checking emath v0.22.0
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking epaint v0.22.0
[INFO] [stderr]     Checking x11rb v0.13.1
[INFO] [stderr]     Checking tiny-skia v0.8.4
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking egui v0.22.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking arboard v3.5.0
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking egui_glow v0.22.0
[INFO] [stderr]     Checking enumflags2 v0.7.11
[INFO] [stderr]     Checking zvariant v3.15.2
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking zbus_names v2.6.1
[INFO] [stderr]     Checking webbrowser v0.8.15
[INFO] [stderr]     Checking zbus v3.15.2
[INFO] [stderr]     Checking atspi v0.10.1
[INFO] [stderr]     Checking sctk-adwaita v0.5.4
[INFO] [stderr]     Checking smithay-clipboard v0.6.6
[INFO] [stderr]     Checking accesskit_unix v0.5.2
[INFO] [stderr]     Checking accesskit_winit v0.14.4
[INFO] [stderr]     Checking egui-winit v0.22.0
[INFO] [stderr]     Checking eframe v0.22.0
[INFO] [stderr]     Checking rust_spectrum_analyse v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `myalgorithm::SAMPLE_RATE`
[INFO] [stdout]  --> src/ui.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use myalgorithm::SAMPLE_RATE;
[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: `myalgorithm::MAX_FREQ`
[INFO] [stdout]  --> src/ui.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use myalgorithm::MAX_FREQ;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `myalgorithm::SAMPLE_RATE`
[INFO] [stdout]  --> src/ui.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use myalgorithm::SAMPLE_RATE;
[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: `myalgorithm::MAX_FREQ`
[INFO] [stdout]  --> src/ui.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use myalgorithm::MAX_FREQ;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `last_update` and `interpolation` are never read
[INFO] [stdout]   --> src/app.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct SpectrumApp {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     last_update: Instant,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 12 |     frame_buffer: Vec<f32>,    // 添加帧缓冲
[INFO] [stdout] 13 |     interpolation: f32,        // 添加插值因子
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `show_device_switcher` is never used
[INFO] [stdout]   --> src/app.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl SpectrumApp {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn show_device_switcher(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `host` is never read
[INFO] [stdout]  --> src/audio/device.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct AudioDeviceManager {
[INFO] [stdout]   |            ------------------ field in this struct
[INFO] [stdout] 5 |     host: Host,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_loopback_device` is never used
[INFO] [stdout]   --> src/audio/device.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl AudioDeviceManager {
[INFO] [stdout]    | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn find_loopback_device(&self) -> Option<Device> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Standard` is never constructed
[INFO] [stdout]   --> src/spectrum.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Resolution {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 11 |     Standard,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Resolution` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `low`, `high`, `y1`, and `y2` are never read
[INFO] [stdout]   --> src/spectrum.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct BandpassFilter {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 16 |     low: f32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 17 |     high: f32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 18 |     y1: f32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 19 |     y2: f32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `process` is never used
[INFO] [stdout]   --> src/spectrum.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl BandpassFilter {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn process(&mut self, x: f32, sample_rate: f32) -> f32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `filters`, `resolution`, and `sample_rate` are never read
[INFO] [stdout]   --> src/spectrum.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct SpectrumAnalyzer {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 46 |     filters: Vec<BandpassFilter>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 47 |     fft_planner: FftPlanner<f32>,
[INFO] [stdout] 48 |     resolution: Resolution,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 49 |     sample_rate: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `compute_band_levels` is never used
[INFO] [stdout]    --> src/spectrum.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout]  52 | impl SpectrumAnalyzer {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 123 |     fn compute_band_levels(&mut self, samples: &[f32]) -> Vec<f32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply_bandpass` is never used
[INFO] [stdout]    --> src/spectrum.rs:162:4
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn apply_bandpass(samples: &[f32], low: f32, high: f32, sample_rate: f32) -> Vec<f32> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_frequency_band_color` is never used
[INFO] [stdout]   --> src/ui.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn get_frequency_band_color(_freq: f32, intensity: f32) -> Color32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `last_update` and `interpolation` are never read
[INFO] [stdout]   --> src/app.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct SpectrumApp {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     last_update: Instant,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 12 |     frame_buffer: Vec<f32>,    // 添加帧缓冲
[INFO] [stdout] 13 |     interpolation: f32,        // 添加插值因子
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `show_device_switcher` is never used
[INFO] [stdout]   --> src/app.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl SpectrumApp {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn show_device_switcher(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `host` is never read
[INFO] [stdout]  --> src/audio/device.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct AudioDeviceManager {
[INFO] [stdout]   |            ------------------ field in this struct
[INFO] [stdout] 5 |     host: Host,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_loopback_device` is never used
[INFO] [stdout]   --> src/audio/device.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl AudioDeviceManager {
[INFO] [stdout]    | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn find_loopback_device(&self) -> Option<Device> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Standard` is never constructed
[INFO] [stdout]   --> src/spectrum.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Resolution {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 11 |     Standard,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Resolution` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `low`, `high`, `y1`, and `y2` are never read
[INFO] [stdout]   --> src/spectrum.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct BandpassFilter {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 16 |     low: f32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 17 |     high: f32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 18 |     y1: f32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 19 |     y2: f32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `process` is never used
[INFO] [stdout]   --> src/spectrum.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl BandpassFilter {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn process(&mut self, x: f32, sample_rate: f32) -> f32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `filters`, `resolution`, and `sample_rate` are never read
[INFO] [stdout]   --> src/spectrum.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct SpectrumAnalyzer {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 46 |     filters: Vec<BandpassFilter>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 47 |     fft_planner: FftPlanner<f32>,
[INFO] [stdout] 48 |     resolution: Resolution,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 49 |     sample_rate: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `compute_band_levels` is never used
[INFO] [stdout]    --> src/spectrum.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout]  52 | impl SpectrumAnalyzer {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 123 |     fn compute_band_levels(&mut self, samples: &[f32]) -> Vec<f32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply_bandpass` is never used
[INFO] [stdout]    --> src/spectrum.rs:162:4
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn apply_bandpass(samples: &[f32], low: f32, high: f32, sample_rate: f32) -> Vec<f32> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_frequency_band_color` is never used
[INFO] [stdout]   --> src/ui.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn get_frequency_band_color(_freq: f32, intensity: f32) -> Color32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s
[INFO] running `Command { std: "docker" "inspect" "c170e220139982c5609feeff5e7a94695a5b4865528dcc579ff85cb66035f68a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c170e220139982c5609feeff5e7a94695a5b4865528dcc579ff85cb66035f68a", kill_on_drop: false }`
[INFO] [stdout] c170e220139982c5609feeff5e7a94695a5b4865528dcc579ff85cb66035f68a
