[INFO] cloning repository https://github.com/ckaznable/oto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ckaznable/oto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fckaznable%2Foto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fckaznable%2Foto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85e3688a69febe2b5ef338b032597ff530e439d5 [INFO] checking ckaznable/oto/85e3688a69febe2b5ef338b032597ff530e439d5 against master#90b65889799733f21ebdf59d96411aa531c5900a for pr-148477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fckaznable%2Foto" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ckaznable/oto [INFO] finished tweaking git repo https://github.com/ckaznable/oto [INFO] tweaked toml for git repo https://github.com/ckaznable/oto written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ckaznable/oto on toolchain 90b65889799733f21ebdf59d96411aa531c5900a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+90b65889799733f21ebdf59d96411aa531c5900a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ckaznable/oto 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" "+90b65889799733f21ebdf59d96411aa531c5900a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded symphonia-utils-xiph v0.5.4 [INFO] [stderr] Downloaded symphonia-metadata v0.5.4 [INFO] [stderr] Downloaded symphonia-format-riff v0.5.4 [INFO] [stderr] Downloaded symphonia v0.5.4 [INFO] [stderr] Downloaded symphonia-format-mkv v0.5.4 [INFO] [stderr] Downloaded symphonia-codec-vorbis v0.5.4 [INFO] [stderr] Downloaded extended v0.1.0 [INFO] [stderr] Downloaded symphonia-codec-pcm v0.5.4 [INFO] [stderr] Downloaded symphonia-codec-adpcm v0.5.4 [INFO] [stderr] Downloaded symphonia-codec-alac v0.5.4 [INFO] [stderr] Downloaded symphonia-format-ogg v0.5.4 [INFO] [stderr] Downloaded symphonia-bundle-flac v0.5.4 [INFO] [stderr] Downloaded ringbuf v0.4.8 [INFO] [stderr] Downloaded symphonia-codec-aac v0.5.4 [INFO] [stderr] Downloaded alsa v0.10.0 [INFO] [stderr] Downloaded id3 v1.16.3 [INFO] [stderr] Downloaded symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Downloaded symphonia-core v0.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+90b65889799733f21ebdf59d96411aa531c5900a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f13530d2f2c6482fcbf0d6771955760df749c4ed87e257a671653a201d29c7ce [INFO] running `Command { std: "docker" "start" "-a" "f13530d2f2c6482fcbf0d6771955760df749c4ed87e257a671653a201d29c7ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f13530d2f2c6482fcbf0d6771955760df749c4ed87e257a671653a201d29c7ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f13530d2f2c6482fcbf0d6771955760df749c4ed87e257a671653a201d29c7ce", kill_on_drop: false }` [INFO] [stdout] f13530d2f2c6482fcbf0d6771955760df749c4ed87e257a671653a201d29c7ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+90b65889799733f21ebdf59d96411aa531c5900a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff1d1f8d497538f35618d8bed0f6a589b2b395568ce9b2b62645933863bf4f1c [INFO] running `Command { std: "docker" "start" "-a" "ff1d1f8d497538f35618d8bed0f6a589b2b395568ce9b2b62645933863bf4f1c", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking symphonia-core v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Checking symphonia-metadata v0.5.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking symphonia-utils-xiph v0.5.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking extended v0.1.0 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Checking clap_builder v4.5.48 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking symphonia-format-riff v0.5.4 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking symphonia-bundle-flac v0.5.4 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking symphonia-codec-vorbis v0.5.4 [INFO] [stderr] Checking symphonia-format-mkv v0.5.4 [INFO] [stderr] Checking symphonia-format-ogg v0.5.4 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Checking symphonia-codec-adpcm v0.5.4 [INFO] [stderr] Checking symphonia-codec-alac v0.5.4 [INFO] [stderr] Checking symphonia-codec-pcm v0.5.4 [INFO] [stderr] Checking symphonia-codec-aac v0.5.4 [INFO] [stderr] Checking id3 v1.16.3 [INFO] [stderr] Checking clap v4.5.48 [INFO] [stderr] Checking alsa v0.10.0 [INFO] [stderr] Checking directories v6.0.0 [INFO] [stderr] Checking symphonia v0.5.4 [INFO] [stderr] Checking ringbuf v0.4.8 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking oto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `command` [INFO] [stdout] --> src/cli.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::{command, Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/store.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 46 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 47 | [INFO] [stdout] 48 | self.trasition += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `media` [INFO] [stdout] --> src/store.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn add_media(&mut self, media: Media, album: Album) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_media` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `album` [INFO] [stdout] --> src/store.rs:41:53 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn add_media(&mut self, media: Media, album: Album) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_album` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/store.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | self.tx.take().unwrap().commit().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `command` [INFO] [stdout] --> src/cli.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::{command, Parser, Subcommand}; [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 variable: `tx` [INFO] [stdout] --> src/main.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | let (tx, rx) = channel(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/main.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | cli::Commands::PlayList { command } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `command: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_media_path` is never used [INFO] [stdout] --> src/main.rs:188:4 [INFO] [stdout] | [INFO] [stdout] 188 | fn all_media_path(p: PathBuf) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_media_file` is never used [INFO] [stdout] --> src/main.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn is_media_file(e: &DirEntry) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `metadata`, `dsd_chunk_size`, `fmt_chunk_size`, `data_chunk_size`, `reader`, and `size` are never read [INFO] [stdout] --> src/decoder.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 234 | pub struct DsdReader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 235 | spec: MediaSpec, [INFO] [stdout] 236 | metadata: id3::Tag, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 237 | dsd_chunk_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 238 | fmt_chunk_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 239 | data_chunk_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 240 | reader: std::fs::File, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 241 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Play`, `Resume`, and `Pause` are never constructed [INFO] [stdout] --> src/event.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum PlayerCommand { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 5 | Play(MediaSpec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | Resume, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | Pause, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerCommand` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_ALBUM_NAME` is never used [INFO] [stdout] --> src/media.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const DEFAULT_ALBUM_NAME: &str = "Unknown Album"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_ALBUM_ID` is never used [INFO] [stdout] --> src/media.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const DEFAULT_ALBUM_ID: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Media` is never constructed [INFO] [stdout] --> src/media.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Media { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Album` is never constructed [INFO] [stdout] --> src/media.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Album { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlbumInDb` is never constructed [INFO] [stdout] --> src/media.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct AlbumInDb { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PROJ_DIRS` is never used [INFO] [stdout] --> src/shared.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub static PROJ_DIRS: LazyLock = LazyLock::new(|| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRASITION_COMMIT_LIMIT` is never used [INFO] [stdout] --> src/store.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const TRASITION_COMMIT_LIMIT: u8 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Store` is never constructed [INFO] [stdout] --> src/store.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Store { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, `commit`, `add_media`, `get_album`, and `insert_album` are never used [INFO] [stdout] --> src/store.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl Store { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 15 | pub async fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | async fn init(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub async fn commit(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn add_media(&mut self, media: Media, album: Album) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub async fn get_album(&mut self, album: Album) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn insert_album(&mut self, album: Album) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/store.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 46 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 47 | [INFO] [stdout] 48 | self.trasition += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `media` [INFO] [stdout] --> src/store.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn add_media(&mut self, media: Media, album: Album) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_media` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `album` [INFO] [stdout] --> src/store.rs:41:53 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn add_media(&mut self, media: Media, album: Album) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_album` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/store.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | self.tx.take().unwrap().commit().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/main.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | let (tx, rx) = channel(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/main.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | cli::Commands::PlayList { command } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `command: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_media_path` is never used [INFO] [stdout] --> src/main.rs:188:4 [INFO] [stdout] | [INFO] [stdout] 188 | fn all_media_path(p: PathBuf) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_media_file` is never used [INFO] [stdout] --> src/main.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn is_media_file(e: &DirEntry) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `metadata`, `dsd_chunk_size`, `fmt_chunk_size`, `data_chunk_size`, `reader`, and `size` are never read [INFO] [stdout] --> src/decoder.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 234 | pub struct DsdReader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 235 | spec: MediaSpec, [INFO] [stdout] 236 | metadata: id3::Tag, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 237 | dsd_chunk_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 238 | fmt_chunk_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 239 | data_chunk_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 240 | reader: std::fs::File, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 241 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Play`, `Resume`, and `Pause` are never constructed [INFO] [stdout] --> src/event.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum PlayerCommand { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 5 | Play(MediaSpec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | Resume, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | Pause, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerCommand` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_ALBUM_NAME` is never used [INFO] [stdout] --> src/media.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const DEFAULT_ALBUM_NAME: &str = "Unknown Album"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_ALBUM_ID` is never used [INFO] [stdout] --> src/media.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const DEFAULT_ALBUM_ID: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Media` is never constructed [INFO] [stdout] --> src/media.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Media { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Album` is never constructed [INFO] [stdout] --> src/media.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Album { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlbumInDb` is never constructed [INFO] [stdout] --> src/media.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct AlbumInDb { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PROJ_DIRS` is never used [INFO] [stdout] --> src/shared.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub static PROJ_DIRS: LazyLock = LazyLock::new(|| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRASITION_COMMIT_LIMIT` is never used [INFO] [stdout] --> src/store.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const TRASITION_COMMIT_LIMIT: u8 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Store` is never constructed [INFO] [stdout] --> src/store.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Store { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, `commit`, `add_media`, `get_album`, and `insert_album` are never used [INFO] [stdout] --> src/store.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl Store { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 15 | pub async fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | async fn init(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub async fn commit(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn add_media(&mut self, media: Media, album: Album) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub async fn get_album(&mut self, album: Album) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn insert_album(&mut self, album: Album) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 56s [INFO] running `Command { std: "docker" "inspect" "ff1d1f8d497538f35618d8bed0f6a589b2b395568ce9b2b62645933863bf4f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff1d1f8d497538f35618d8bed0f6a589b2b395568ce9b2b62645933863bf4f1c", kill_on_drop: false }` [INFO] [stdout] ff1d1f8d497538f35618d8bed0f6a589b2b395568ce9b2b62645933863bf4f1c