[INFO] cloning repository https://github.com/Kirikmelet/music_player [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kirikmelet/music_player" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKirikmelet%2Fmusic_player", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKirikmelet%2Fmusic_player'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 017f881e7ac2aa513ea5325cc155030f173f751c [INFO] checking Kirikmelet/music_player against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKirikmelet%2Fmusic_player" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kirikmelet/music_player on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kirikmelet/music_player [INFO] finished tweaking git repo https://github.com/Kirikmelet/music_player [INFO] tweaked toml for git repo https://github.com/Kirikmelet/music_player written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Kirikmelet/music_player 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ringbuf v0.3.3 [INFO] [stderr] Downloaded ffmpeg-next v6.1.1 [INFO] [stderr] Downloaded winnow v0.5.37 [INFO] [stderr] Downloaded ratatui v0.24.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6aee05105a99cb9d1da120f80d4fb6d2ca17d2337c621adf43342925b3741065 [INFO] running `Command { std: "docker" "start" "-a" "6aee05105a99cb9d1da120f80d4fb6d2ca17d2337c621adf43342925b3741065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6aee05105a99cb9d1da120f80d4fb6d2ca17d2337c621adf43342925b3741065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aee05105a99cb9d1da120f80d4fb6d2ca17d2337c621adf43342925b3741065", kill_on_drop: false }` [INFO] [stdout] 6aee05105a99cb9d1da120f80d4fb6d2ca17d2337c621adf43342925b3741065 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8c938f234ae3be263cc93f8ab52e64fd6beb4c0d824736a33dae971aad7c65f [INFO] running `Command { std: "docker" "start" "-a" "c8c938f234ae3be263cc93f8ab52e64fd6beb4c0d824736a33dae971aad7c65f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Compiling bindgen v0.64.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling ffmpeg-next v6.1.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking indexmap v2.2.2 [INFO] [stderr] Checking alsa v0.7.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking lru v0.12.2 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking winnow v0.5.37 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Compiling music_player v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking ringbuf v0.3.3 [INFO] [stderr] Checking crossterm v0.26.1 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Compiling ffmpeg-sys-next v6.1.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking ratatui v0.24.0 [INFO] [stdout] warning: unused import: `run::run` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use run::run; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context as FFmpegResamplingContext`, `delay`, `util::frame::Audio as FFmpegAudio2` [INFO] [stdout] --> src/audio/mod.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | software::resampling::{delay, Context as FFmpegResamplingContext}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | util::frame::Audio as FFmpegAudio2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ffmpeg_next` is imported redundantly [INFO] [stdout] --> src/audio/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | self, [INFO] [stdout] | ^^^^ the item `ffmpeg_next` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `f32::consts::PI`, `ops::Mul` [INFO] [stdout] --> src/audio/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | use std::{f32::consts::PI, mem::MaybeUninit, ops::Mul, path::Path, sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/audio/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sample as CpalSample`, `SupportedStreamConfig` [INFO] [stdout] --> src/audio/player.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | traits::*, Device, Host, Sample as CpalSample, SampleFormat as CpalSampleFormat, StreamConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | SupportedStreamConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sample::Buffer as FFMpegBuffer` [INFO] [stdout] --> src/audio/player.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | format::{sample::Buffer as FFMpegBuffer, Sample as FFMpegSample}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `run::run` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use run::run; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context as FFmpegResamplingContext`, `delay`, `util::frame::Audio as FFmpegAudio2` [INFO] [stdout] --> src/audio/mod.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | software::resampling::{delay, Context as FFmpegResamplingContext}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | util::frame::Audio as FFmpegAudio2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ffmpeg_next` is imported redundantly [INFO] [stdout] --> src/audio/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | self, [INFO] [stdout] | ^^^^ the item `ffmpeg_next` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `f32::consts::PI`, `ops::Mul` [INFO] [stdout] --> src/audio/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | use std::{f32::consts::PI, mem::MaybeUninit, ops::Mul, path::Path, sync::Arc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/audio/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sample as CpalSample`, `SupportedStreamConfig` [INFO] [stdout] --> src/audio/player.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | traits::*, Device, Host, Sample as CpalSample, SampleFormat as CpalSampleFormat, StreamConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | SupportedStreamConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sample::Buffer as FFMpegBuffer` [INFO] [stdout] --> src/audio/player.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | format::{sample::Buffer as FFMpegBuffer, Sample as FFMpegSample}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/audio/player.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | _ => write!(f, ""), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_format` [INFO] [stdout] --> src/audio/player.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | sample_format: FFMpegSample, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_format` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_context`, `index`, and `decoder` are never read [INFO] [stdout] --> src/audio/player.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct AudioContext { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 52 | input_context: Input, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 53 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | decoder: FFMpegAudio, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `device`, `config`, `sample_rate`, `channels`, and `data_buffer` are never read [INFO] [stdout] --> src/audio/player.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct AudioPlayer [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | host: Host, [INFO] [stdout] | ^^^^ [INFO] [stdout] 87 | device: Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 88 | config: StreamConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 89 | sample_format: CpalSampleFormat, [INFO] [stdout] 90 | sample_rate: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 91 | channels: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 92 | data_buffer: HeapRb, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `write_default`, and `read_config_file` are never used [INFO] [stdout] --> src/config.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl AppConfigHandler { [INFO] [stdout] | --------------------- associated functions in this implementation [INFO] [stdout] 43 | pub fn new>(path: P) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn write_default>(file_path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn read_config_file>(config_path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/db/audio_scanner.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AudioScanner { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 9 | config: AppConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `set_config` are never used [INFO] [stdout] --> src/db/audio_scanner.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl AudioScanner { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(config: AppConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set_config(&mut self, config: AppConfig) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Tick`, `Error`, `Render`, `Key`, and `Mouse` are never constructed [INFO] [stdout] --> src/event.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum AppEvent { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 14 | Tick, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | Render, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | // Input [INFO] [stdout] 18 | Key(KeyCode), [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | Mouse(MouseEvent), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/audio/player.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | _ => write!(f, ""), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventReader` is never constructed [INFO] [stdout] --> src/event.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct EventReader { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_format` [INFO] [stdout] --> src/audio/player.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | sample_format: FFMpegSample, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_format` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `read` are never used [INFO] [stdout] --> src/event.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl EventReader { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn read(&mut self) -> anyhow::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Msg` is never used [INFO] [stdout] --> src/page/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Msg: Send + Sync {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update` and `handle_events` are never used [INFO] [stdout] --> src/page/mod.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait StatefulPage: Page { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | async fn update(&mut self, msg: Self::Message) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | async fn handle_events(&mut self, event: AppEvent) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APP_QUALIFIER` is never used [INFO] [stdout] --> src/page/app.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const APP_QUALIFIER: &'static str = "org"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APP_ORGANIZATION` is never used [INFO] [stdout] --> src/page/app.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const APP_ORGANIZATION: &'static str = "kirikmelet"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APP_NAME` is never used [INFO] [stdout] --> src/page/app.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const APP_NAME: &'static str = "music_player"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `audio_scanner` and `directories` are never read [INFO] [stdout] --> src/page/app.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | audio_scanner: AudioScanner, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 30 | directories: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `init` are never used [INFO] [stdout] --> src/page/app.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl App { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 54 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/page/file_list.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl FileList { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/run.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn run() -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_context`, `index`, and `decoder` are never read [INFO] [stdout] --> src/audio/player.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct AudioContext { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 52 | input_context: Input, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 53 | index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | decoder: FFMpegAudio, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `device`, `config`, `sample_rate`, `channels`, and `data_buffer` are never read [INFO] [stdout] --> src/audio/player.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct AudioPlayer [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | host: Host, [INFO] [stdout] | ^^^^ [INFO] [stdout] 87 | device: Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 88 | config: StreamConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 89 | sample_format: CpalSampleFormat, [INFO] [stdout] 90 | sample_rate: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 91 | channels: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 92 | data_buffer: HeapRb, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `write_default`, and `read_config_file` are never used [INFO] [stdout] --> src/config.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl AppConfigHandler { [INFO] [stdout] | --------------------- associated functions in this implementation [INFO] [stdout] 43 | pub fn new>(path: P) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn write_default>(file_path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn read_config_file>(config_path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/db/audio_scanner.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AudioScanner { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 9 | config: AppConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `set_config` are never used [INFO] [stdout] --> src/db/audio_scanner.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl AudioScanner { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(config: AppConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set_config(&mut self, config: AppConfig) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Tick`, `Error`, `Render`, `Key`, and `Mouse` are never constructed [INFO] [stdout] --> src/event.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum AppEvent { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 14 | Tick, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | Render, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | // Input [INFO] [stdout] 18 | Key(KeyCode), [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | Mouse(MouseEvent), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppEvent` 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 `EventReader` is never constructed [INFO] [stdout] --> src/event.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct EventReader { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `read` are never used [INFO] [stdout] --> src/event.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl EventReader { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn read(&mut self) -> anyhow::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Msg` is never used [INFO] [stdout] --> src/page/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Msg: Send + Sync {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update` and `handle_events` are never used [INFO] [stdout] --> src/page/mod.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait StatefulPage: Page { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | async fn update(&mut self, msg: Self::Message) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | async fn handle_events(&mut self, event: AppEvent) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APP_QUALIFIER` is never used [INFO] [stdout] --> src/page/app.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const APP_QUALIFIER: &'static str = "org"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APP_ORGANIZATION` is never used [INFO] [stdout] --> src/page/app.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const APP_ORGANIZATION: &'static str = "kirikmelet"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APP_NAME` is never used [INFO] [stdout] --> src/page/app.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const APP_NAME: &'static str = "music_player"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `audio_scanner` and `directories` are never read [INFO] [stdout] --> src/page/app.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | audio_scanner: AudioScanner, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 30 | directories: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `init` are never used [INFO] [stdout] --> src/page/app.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl App { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 54 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/page/file_list.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl FileList { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/run.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn run() -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 35s [INFO] running `Command { std: "docker" "inspect" "c8c938f234ae3be263cc93f8ab52e64fd6beb4c0d824736a33dae971aad7c65f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8c938f234ae3be263cc93f8ab52e64fd6beb4c0d824736a33dae971aad7c65f", kill_on_drop: false }` [INFO] [stdout] c8c938f234ae3be263cc93f8ab52e64fd6beb4c0d824736a33dae971aad7c65f