[INFO] cloning repository https://github.com/ducks/rustmus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ducks/rustmus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducks%2Frustmus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducks%2Frustmus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd8352e339eb8b396cf31f1a5898b3707f810782 [INFO] testing ducks/rustmus against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducks%2Frustmus" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ducks/rustmus [INFO] finished tweaking git repo https://github.com/ducks/rustmus [INFO] tweaked toml for git repo https://github.com/ducks/rustmus written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ducks/rustmus on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ducks/rustmus 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded id3 v0.6.6 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75a0adcdb60517f49e3b7d3abc4c3c886a7c7cee3cb17b9eb9791235025bc4b3 [INFO] running `Command { std: "docker" "start" "-a" "75a0adcdb60517f49e3b7d3abc4c3c886a7c7cee3cb17b9eb9791235025bc4b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75a0adcdb60517f49e3b7d3abc4c3c886a7c7cee3cb17b9eb9791235025bc4b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75a0adcdb60517f49e3b7d3abc4c3c886a7c7cee3cb17b9eb9791235025bc4b3", kill_on_drop: false }` [INFO] [stdout] 75a0adcdb60517f49e3b7d3abc4c3c886a7c7cee3cb17b9eb9791235025bc4b3 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f106a47eafaaffae31c7358fb9440e9c17e36def0c09eb617b6d76041dfbf259 [INFO] running `Command { std: "docker" "start" "-a" "f106a47eafaaffae31c7358fb9440e9c17e36def0c09eb617b6d76041dfbf259", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling extended v0.1.0 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling symphonia-codec-adpcm v0.5.4 [INFO] [stderr] Compiling symphonia-codec-alac v0.5.4 [INFO] [stderr] Compiling symphonia-codec-pcm v0.5.4 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling symphonia-codec-aac v0.5.4 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling symphonia-utils-xiph v0.5.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling symphonia-format-mkv v0.5.4 [INFO] [stderr] Compiling symphonia-codec-vorbis v0.5.4 [INFO] [stderr] Compiling symphonia-format-ogg v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-flac v0.5.4 [INFO] [stderr] Compiling symphonia-format-isomp4 v0.5.4 [INFO] [stderr] Compiling symphonia-format-riff v0.5.4 [INFO] [stderr] Compiling symphonia-format-caf v0.5.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling id3 v0.6.6 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling shelltrax v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MetadataRevision`, `StandardTagKey`, and `probe::ProbeResult` [INFO] [stdout] --> src/library.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | meta::{MetadataOptions, MetadataRevision, StandardTagKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | probe::Hint, [INFO] [stdout] 15 | probe::ProbeResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `symphonia::symphonia_core::sample::i24::into_i32`: Superseded by `inner`. [INFO] [stdout] --> src/player/mod.rs:209:54 [INFO] [stdout] | [INFO] [stdout] 209 | ... let sample_f32 = val.into_i32() as f32 / (1 << 23) as f32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `album` [INFO] [stdout] --> src/library.rs:162:35 [INFO] [stdout] | [INFO] [stdout] 162 | for (album_index, album) in artist.albums.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_album` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer_clone` [INFO] [stdout] --> src/player/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let buffer_clone = Arc::clone(&buffer); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ui.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | _ => println!("ok"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/ui.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | AppScreen::Library => screens::library::draw(frame, app, layout[0]), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 24 | AppScreen::Browser => screens::browser::draw(frame, app, layout[0]), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 25 | _ => println!("ok"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | let mut lib = app.library_mut(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_play_queue` is never used [INFO] [stdout] --> src/app.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn set_play_queue(&mut self, tracks: Vec, start_index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `selected_path` is never used [INFO] [stdout] --> src/browser.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl BrowserState { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn selected_path(&self) -> Option<&PathBuf> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `album_index` is never read [INFO] [stdout] --> src/library.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct LibraryState { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | pub album_index: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `selected_artist` and `selected_album` are never used [INFO] [stdout] --> src/library.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl LibraryState { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn selected_artist(&self) -> Option<&ArtistNode> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn selected_album(&self) -> Option<&AlbumNode> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pause` and `resume` are never used [INFO] [stdout] --> src/player/mod.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn pause(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn resume(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_decoder` is never used [INFO] [stdout] --> src/player/decoder.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn open_decoder( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioOutput` is never constructed [INFO] [stdout] --> src/player/output.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AudioOutput { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, and `push_samples` are never used [INFO] [stdout] --> src/player/output.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl AudioOutput { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(sample_rate: u32, channels: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn start(&mut self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn push_samples(&mut self, samples: &[f32]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `highlight_style` is never used [INFO] [stdout] --> src/ui.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn highlight_style(screen: AppScreen) -> Style { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/library.rs:283:29 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn right_pane_items(&self) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 283 | pub fn right_pane_items(&self) -> (Vec>, Vec) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.75s [INFO] running `Command { std: "docker" "inspect" "f106a47eafaaffae31c7358fb9440e9c17e36def0c09eb617b6d76041dfbf259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f106a47eafaaffae31c7358fb9440e9c17e36def0c09eb617b6d76041dfbf259", kill_on_drop: false }` [INFO] [stdout] f106a47eafaaffae31c7358fb9440e9c17e36def0c09eb617b6d76041dfbf259 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbef533f09aed37915ee550b1f77d2c2efd234b2b16895193c12b19939f37d21 [INFO] running `Command { std: "docker" "start" "-a" "bbef533f09aed37915ee550b1f77d2c2efd234b2b16895193c12b19939f37d21", kill_on_drop: false }` [INFO] [stderr] Compiling shelltrax v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MetadataRevision`, `StandardTagKey`, and `probe::ProbeResult` [INFO] [stdout] --> src/library.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | meta::{MetadataOptions, MetadataRevision, StandardTagKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | probe::Hint, [INFO] [stdout] 15 | probe::ProbeResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `symphonia::symphonia_core::sample::i24::into_i32`: Superseded by `inner`. [INFO] [stdout] --> src/player/mod.rs:209:54 [INFO] [stdout] | [INFO] [stdout] 209 | ... let sample_f32 = val.into_i32() as f32 / (1 << 23) as f32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `album` [INFO] [stdout] --> src/library.rs:162:35 [INFO] [stdout] | [INFO] [stdout] 162 | for (album_index, album) in artist.albums.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_album` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer_clone` [INFO] [stdout] --> src/player/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let buffer_clone = Arc::clone(&buffer); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ui.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | _ => println!("ok"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/ui.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | AppScreen::Library => screens::library::draw(frame, app, layout[0]), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 24 | AppScreen::Browser => screens::browser::draw(frame, app, layout[0]), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 25 | _ => println!("ok"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | let mut lib = app.library_mut(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_play_queue` is never used [INFO] [stdout] --> src/app.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn set_play_queue(&mut self, tracks: Vec, start_index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `selected_path` is never used [INFO] [stdout] --> src/browser.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl BrowserState { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn selected_path(&self) -> Option<&PathBuf> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `album_index` is never read [INFO] [stdout] --> src/library.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct LibraryState { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | pub album_index: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `selected_artist` and `selected_album` are never used [INFO] [stdout] --> src/library.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl LibraryState { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn selected_artist(&self) -> Option<&ArtistNode> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn selected_album(&self) -> Option<&AlbumNode> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pause` and `resume` are never used [INFO] [stdout] --> src/player/mod.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn pause(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn resume(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_decoder` is never used [INFO] [stdout] --> src/player/decoder.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn open_decoder( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioOutput` is never constructed [INFO] [stdout] --> src/player/output.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AudioOutput { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, and `push_samples` are never used [INFO] [stdout] --> src/player/output.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl AudioOutput { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(sample_rate: u32, channels: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn start(&mut self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn push_samples(&mut self, samples: &[f32]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `highlight_style` is never used [INFO] [stdout] --> src/ui.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn highlight_style(screen: AppScreen) -> Style { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/library.rs:283:29 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn right_pane_items(&self) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 283 | pub fn right_pane_items(&self) -> (Vec>, Vec) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "bbef533f09aed37915ee550b1f77d2c2efd234b2b16895193c12b19939f37d21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbef533f09aed37915ee550b1f77d2c2efd234b2b16895193c12b19939f37d21", kill_on_drop: false }` [INFO] [stdout] bbef533f09aed37915ee550b1f77d2c2efd234b2b16895193c12b19939f37d21 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8edc4d8e973e517ccd1757f7a4ecb2d2f7402e0e29e09fc0dd1e52e5c7c731cf [INFO] running `Command { std: "docker" "start" "-a" "8edc4d8e973e517ccd1757f7a4ecb2d2f7402e0e29e09fc0dd1e52e5c7c731cf", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `MetadataRevision`, `StandardTagKey`, and `probe::ProbeResult` [INFO] [stderr] --> src/library.rs:13:29 [INFO] [stderr] | [INFO] [stderr] 13 | meta::{MetadataOptions, MetadataRevision, StandardTagKey}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] 14 | probe::Hint, [INFO] [stderr] 15 | probe::ProbeResult, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `symphonia::symphonia_core::sample::i24::into_i32`: Superseded by `inner`. [INFO] [stderr] --> src/player/mod.rs:209:54 [INFO] [stderr] | [INFO] [stderr] 209 | ... let sample_f32 = val.into_i32() as f32 / (1 << 23) as f32; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `album` [INFO] [stderr] --> src/library.rs:162:35 [INFO] [stderr] | [INFO] [stderr] 162 | for (album_index, album) in artist.albums.iter().enumerate() { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_album` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `buffer_clone` [INFO] [stderr] --> src/player/mod.rs:105:13 [INFO] [stderr] | [INFO] [stderr] 105 | let buffer_clone = Arc::clone(&buffer); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer_clone` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/ui.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | _ => println!("ok"), [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/ui.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 23 | AppScreen::Library => screens::library::draw(frame, app, layout[0]), [INFO] [stderr] | ------------------ matches some of the same values [INFO] [stderr] 24 | AppScreen::Browser => screens::browser::draw(frame, app, layout[0]), [INFO] [stderr] | ------------------ matches some of the same values [INFO] [stderr] 25 | _ => println!("ok"), [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:141:29 [INFO] [stderr] | [INFO] [stderr] 141 | let mut lib = app.library_mut(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `set_play_queue` is never used [INFO] [stderr] --> src/app.rs:120:12 [INFO] [stderr] | [INFO] [stderr] 42 | impl App { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 120 | pub fn set_play_queue(&mut self, tracks: Vec, start_index: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `selected_path` is never used [INFO] [stderr] --> src/browser.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl BrowserState { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn selected_path(&self) -> Option<&PathBuf> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `album_index` is never read [INFO] [stderr] --> src/library.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 43 | pub struct LibraryState { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 47 | pub album_index: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `selected_artist` and `selected_album` are never used [INFO] [stderr] --> src/library.rs:139:12 [INFO] [stderr] | [INFO] [stderr] 54 | impl LibraryState { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 139 | pub fn selected_artist(&self) -> Option<&ArtistNode> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 147 | pub fn selected_album(&self) -> Option<&AlbumNode> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `pause` and `resume` are never used [INFO] [stderr] --> src/player/mod.rs:271:12 [INFO] [stderr] | [INFO] [stderr] 45 | impl Player { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 271 | pub fn pause(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 275 | pub fn resume(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `open_decoder` is never used [INFO] [stderr] --> src/player/decoder.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn open_decoder( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AudioOutput` is never constructed [INFO] [stderr] --> src/player/output.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct AudioOutput { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `start`, and `push_samples` are never used [INFO] [stderr] --> src/player/output.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl AudioOutput { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 13 | pub fn new(sample_rate: u32, channels: u16) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn start(&mut self) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | pub fn push_samples(&mut self, samples: &[f32]) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `highlight_style` is never used [INFO] [stderr] --> src/ui.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn highlight_style(screen: AppScreen) -> Style { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/library.rs:283:29 [INFO] [stderr] | [INFO] [stderr] 283 | pub fn right_pane_items(&self) -> (Vec, Vec) { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 283 | pub fn right_pane_items(&self) -> (Vec>, Vec) { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `shelltrax` (bin "shelltrax" test) generated 16 warnings (run `cargo fix --bin "shelltrax" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/shelltrax-05d9c20e473d7d95) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8edc4d8e973e517ccd1757f7a4ecb2d2f7402e0e29e09fc0dd1e52e5c7c731cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8edc4d8e973e517ccd1757f7a4ecb2d2f7402e0e29e09fc0dd1e52e5c7c731cf", kill_on_drop: false }` [INFO] [stdout] 8edc4d8e973e517ccd1757f7a4ecb2d2f7402e0e29e09fc0dd1e52e5c7c731cf