[INFO] cloning repository https://github.com/ThomasFrans/music-queue
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThomasFrans/music-queue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasFrans%2Fmusic-queue", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasFrans%2Fmusic-queue'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 30fb5489769b63e90c19e44e05d55c26fe512e78
[INFO] testing ThomasFrans/music-queue against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasFrans%2Fmusic-queue" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ThomasFrans/music-queue
[INFO] finished tweaking git repo https://github.com/ThomasFrans/music-queue
[INFO] tweaked toml for git repo https://github.com/ThomasFrans/music-queue written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ThomasFrans/music-queue on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ThomasFrans/music-queue 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v0.2.137
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6918ccd09d9f4175f12c0931872af67a63cc2a92e4cd176befad2574414d7e04
[INFO] running `Command { std: "docker" "start" "-a" "6918ccd09d9f4175f12c0931872af67a63cc2a92e4cd176befad2574414d7e04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6918ccd09d9f4175f12c0931872af67a63cc2a92e4cd176befad2574414d7e04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6918ccd09d9f4175f12c0931872af67a63cc2a92e4cd176befad2574414d7e04", kill_on_drop: false }`
[INFO] [stdout] 6918ccd09d9f4175f12c0931872af67a63cc2a92e4cd176befad2574414d7e04
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 11d7e13370c1978501e93309ce08518b9f0674984b17a9e9fd4b1ceadeebc21b
[INFO] running `Command { std: "docker" "start" "-a" "11d7e13370c1978501e93309ce08518b9f0674984b17a9e9fd4b1ceadeebc21b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling music_queue v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/queue.rs:260:21
[INFO] [stdout]     |
[INFO] [stdout] 260 |         if let Some(index) = self.current_item {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/queue.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct Queue<I, C: QueueableCollection> {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 64 |     index: Option<usize>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     queue: Vec<Rc<QueueItem<I, C>>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 68 |     /// If `queue` is shuffled, this contains the playback order.
[INFO] [stdout] 69 |     order: Option<Vec<usize>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     short_term_index: Option<usize>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     short_term_queue: Vec<Rc<QueueItem<I, C>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 85 |     /// If `short_term_queue` is shuffled, this contains the playback order.
[INFO] [stdout] 86 |     short_term_order: Option<Vec<usize>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 87 |     /// The history of all the items that were played with this `Queue`.
[INFO] [stdout] 88 |     history: Vec<Rc<QueueItem<I, C>>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 89 |     /// The repeat mode of the `Queue`.
[INFO] [stdout] 90 |     repeat_status: Option<RepeatMode>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.15s
[INFO] running `Command { std: "docker" "inspect" "11d7e13370c1978501e93309ce08518b9f0674984b17a9e9fd4b1ceadeebc21b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11d7e13370c1978501e93309ce08518b9f0674984b17a9e9fd4b1ceadeebc21b", kill_on_drop: false }`
[INFO] [stdout] 11d7e13370c1978501e93309ce08518b9f0674984b17a9e9fd4b1ceadeebc21b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b089d14b48d7235fc3d47c586773d922f821b2989777a8c8e8821533bb75ddbf
[INFO] running `Command { std: "docker" "start" "-a" "b089d14b48d7235fc3d47c586773d922f821b2989777a8c8e8821533bb75ddbf", kill_on_drop: false }`
[INFO] [stderr]    Compiling music_queue v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/queue.rs:260:21
[INFO] [stdout]     |
[INFO] [stdout] 260 |         if let Some(index) = self.current_item {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/queue.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct Queue<I, C: QueueableCollection> {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 64 |     index: Option<usize>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     queue: Vec<Rc<QueueItem<I, C>>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 68 |     /// If `queue` is shuffled, this contains the playback order.
[INFO] [stdout] 69 |     order: Option<Vec<usize>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     short_term_index: Option<usize>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     short_term_queue: Vec<Rc<QueueItem<I, C>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 85 |     /// If `short_term_queue` is shuffled, this contains the playback order.
[INFO] [stdout] 86 |     short_term_order: Option<Vec<usize>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 87 |     /// The history of all the items that were played with this `Queue`.
[INFO] [stdout] 88 |     history: Vec<Rc<QueueItem<I, C>>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 89 |     /// The repeat mode of the `Queue`.
[INFO] [stdout] 90 |     repeat_status: Option<RepeatMode>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/queue.rs:260:21
[INFO] [stdout]     |
[INFO] [stdout] 260 |         if let Some(index) = self.current_item {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/queue.rs:474:32
[INFO] [stdout]     |
[INFO] [stdout] 474 |         fn get_at_index(&self, index: usize) -> &Self::Item {
[INFO] [stdout]     |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/queue.rs:478:36
[INFO] [stdout]     |
[INFO] [stdout] 478 |         fn get_at_index_raw(&self, index: usize) -> &Self::Item {
[INFO] [stdout]     |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/queue.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct Queue<I, C: QueueableCollection> {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 64 |     index: Option<usize>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     queue: Vec<Rc<QueueItem<I, C>>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 68 |     /// If `queue` is shuffled, this contains the playback order.
[INFO] [stdout] 69 |     order: Option<Vec<usize>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     short_term_index: Option<usize>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     short_term_queue: Vec<Rc<QueueItem<I, C>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 85 |     /// If `short_term_queue` is shuffled, this contains the playback order.
[INFO] [stdout] 86 |     short_term_order: Option<Vec<usize>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 87 |     /// The history of all the items that were played with this `Queue`.
[INFO] [stdout] 88 |     history: Vec<Rc<QueueItem<I, C>>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 89 |     /// The repeat mode of the `Queue`.
[INFO] [stdout] 90 |     repeat_status: Option<RepeatMode>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Album` and `Playlist` are never constructed
[INFO] [stdout]    --> src/queue.rs:467:9
[INFO] [stdout]     |
[INFO] [stdout] 466 |     pub enum CollectionItem {
[INFO] [stdout]     |              -------------- variants in this enum
[INFO] [stdout] 467 |         Album(Album),
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 468 |         Playlist(Playlist),
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CollectionItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s
[INFO] running `Command { std: "docker" "inspect" "b089d14b48d7235fc3d47c586773d922f821b2989777a8c8e8821533bb75ddbf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b089d14b48d7235fc3d47c586773d922f821b2989777a8c8e8821533bb75ddbf", kill_on_drop: false }`
[INFO] [stdout] b089d14b48d7235fc3d47c586773d922f821b2989777a8c8e8821533bb75ddbf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 42ad0fcc2e2d98cb2327767de902d2e549178d6cadc7826a830142075ec5624b
[INFO] running `Command { std: "docker" "start" "-a" "42ad0fcc2e2d98cb2327767de902d2e549178d6cadc7826a830142075ec5624b", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `index`
[INFO] [stderr]    --> src/queue.rs:260:21
[INFO] [stderr]     |
[INFO] [stderr] 260 |         if let Some(index) = self.current_item {
[INFO] [stderr]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: multiple fields are never read
[INFO] [stderr]   --> src/queue.rs:64:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | pub struct Queue<I, C: QueueableCollection> {
[INFO] [stderr]    |            ----- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 64 |     index: Option<usize>,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 67 |     queue: Vec<Rc<QueueItem<I, C>>>,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 68 |     /// If `queue` is shuffled, this contains the playback order.
[INFO] [stderr] 69 |     order: Option<Vec<usize>>,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 80 |     short_term_index: Option<usize>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 84 |     short_term_queue: Vec<Rc<QueueItem<I, C>>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 85 |     /// If `short_term_queue` is shuffled, this contains the playback order.
[INFO] [stderr] 86 |     short_term_order: Option<Vec<usize>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 87 |     /// The history of all the items that were played with this `Queue`.
[INFO] [stderr] 88 |     history: Vec<Rc<QueueItem<I, C>>>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 89 |     /// The repeat mode of the `Queue`.
[INFO] [stderr] 90 |     repeat_status: Option<RepeatMode>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `index`
[INFO] [stderr]    --> src/queue.rs:474:32
[INFO] [stderr]     |
[INFO] [stderr] 474 |         fn get_at_index(&self, index: usize) -> &Self::Item {
[INFO] [stderr]     |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `index`
[INFO] [stderr]    --> src/queue.rs:478:36
[INFO] [stderr]     |
[INFO] [stderr] 478 |         fn get_at_index_raw(&self, index: usize) -> &Self::Item {
[INFO] [stderr]     |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Album` and `Playlist` are never constructed
[INFO] [stderr]    --> src/queue.rs:467:9
[INFO] [stderr]     |
[INFO] [stderr] 466 |     pub enum CollectionItem {
[INFO] [stderr]     |              -------------- variants in this enum
[INFO] [stderr] 467 |         Album(Album),
[INFO] [stderr]     |         ^^^^^
[INFO] [stderr] 468 |         Playlist(Playlist),
[INFO] [stderr]     |         ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `CollectionItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `music_queue` (lib) generated 2 warnings (run `cargo fix --lib -p music_queue` to apply 1 suggestion)
[INFO] [stderr] warning: `music_queue` (lib test) generated 5 warnings (2 duplicates) (run `cargo fix --lib -p music_queue --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/music_queue-982a186f92f9f263)
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test queue::tests::get_current_item_single_items_simple ... ok
[INFO] [stdout] test queue::tests::get_items_shuffled_playing_start ... ok
[INFO] [stdout] test queue::tests::queue ... ok
[INFO] [stdout] test queue::tests::queue_single_items_simple ... ok
[INFO] [stdout] test queue::tests::queue_single_items_shuffled ... ok
[INFO] [stdout] test queue::tests::shuffle_unshuffle_single_items ... ok
[INFO] [stdout] test queue::tests::unshuffle_strat_keep_raw_index ... ok
[INFO] [stdout] test queue::tests::unshuffle_single_items ... ok
[INFO] [stdout] test queue::tests::unshuffle_strat_keep_raw_index2 ... ok
[INFO] [stdout] test queue::tests::unshuffle_strat_keep_raw_index3 ... ok
[INFO] [stdout] test queue::tests::get_items_single_items_simple ... ok
[INFO] [stdout] test queue::tests::queue_next_single_items_simple ... FAILED
[INFO] [stdout] test queue::tests::get_items_shuffled_playing_middle ... ok
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- queue::tests::queue_next_single_items_simple stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'queue::tests::queue_next_single_items_simple' (30) panicked at src/queue.rs:948:9:
[INFO] [stdout] assertion failed: matches!(queue.get_current_item(),
[INFO] [stdout]     Ok(QueueItem::Single(SingleItem::Track(Track {id: 3}))))
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x636184b4a8d2 - std[3b51380354919863]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x636184b4a8d2 - std[3b51380354919863]::backtrace_rs::backtrace::trace_unsynchronized::<std[3b51380354919863]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x636184b4a8d2 - std[3b51380354919863]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x636184b4a8d2 - <<std[3b51380354919863]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[27de1724e4349be2]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x636184b5f79a - <core[27de1724e4349be2]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x636184b5f79a - core[27de1724e4349be2]::fmt::write
[INFO] [stdout]    6:     0x636184b4f6d6 - std[3b51380354919863]::io::default_write_fmt::<alloc[a57f19327c0ad893]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x636184b4f6d6 - <alloc[a57f19327c0ad893]::vec::Vec<u8> as std[3b51380354919863]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x636184b2906f - <std[3b51380354919863]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x636184b2906f - std[3b51380354919863]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x636184b42bb9 - std[3b51380354919863]::panicking::default_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x636184aa6c6e - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x636184aa6c6e - test[182b2e79ecd7bbd9]::test_main_with_exit_callback::<test[182b2e79ecd7bbd9]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x636184b42d72 - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x636184b42d72 - std[3b51380354919863]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x636184b2915a - std[3b51380354919863]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x636184b1e3a9 - std[3b51380354919863]::sys::backtrace::__rust_end_short_backtrace::<std[3b51380354919863]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x636184b29f7d - __rustc[d79c0ace40940972]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x636184b5fe6c - core[27de1724e4349be2]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x636184b5fe32 - core[27de1724e4349be2]::panicking::panic
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x636184a8d9aa - music_queue[a2486b38741bbca4]::queue::tests::queue_next_single_items_simple
[INFO] [stdout]                                at /opt/rustwide/workdir/src/queue.rs:948:9
[INFO] [stdout]   21:     0x636184a8a107 - music_queue[a2486b38741bbca4]::queue::tests::queue_next_single_items_simple::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/queue.rs:934:40
[INFO] [stdout]   22:     0x636184a9ad16 - <music_queue[a2486b38741bbca4]::queue::tests::queue_next_single_items_simple::{closure#0} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x636184a9b01b - <fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x636184a9b01b - test[182b2e79ecd7bbd9]::__rust_begin_short_backtrace::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:663:18
[INFO] [stdout]   25:     0x636184aa787a - test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:74
[INFO] [stdout]   26:     0x636184aa787a - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   27:     0x636184aa787a - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   28:     0x636184aa787a - std[3b51380354919863]::panicking::catch_unwind::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   29:     0x636184aa787a - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x636184aa787a - test[182b2e79ecd7bbd9]::run_test_in_process
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:27
[INFO] [stdout]   31:     0x636184aa787a - test[182b2e79ecd7bbd9]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:607:43
[INFO] [stdout]   32:     0x636184aa2e24 - test[182b2e79ecd7bbd9]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:637:41
[INFO] [stdout]   33:     0x636184aa2e24 - std[3b51380354919863]::sys::backtrace::__rust_begin_short_backtrace::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   34:     0x636184aaa372 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   35:     0x636184aaa372 - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   36:     0x636184aaa372 - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   37:     0x636184aaa372 - std[3b51380354919863]::panicking::catch_unwind::<(), core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   38:     0x636184aaa372 - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   39:     0x636184aaa372 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   40:     0x636184aaa372 - <std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x636184b4a17f - <alloc[a57f19327c0ad893]::boxed::Box<dyn core[27de1724e4349be2]::ops::function::FnOnce<(), Output = ()> + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   42:     0x636184b4a17f - <std[3b51380354919863]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   43:     0x7fc53e7dfaa4 - <unknown>
[INFO] [stdout]   44:     0x7fc53e86ca64 - clone
[INFO] [stdout]   45:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     queue::tests::queue_next_single_items_simple
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 12 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "42ad0fcc2e2d98cb2327767de902d2e549178d6cadc7826a830142075ec5624b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42ad0fcc2e2d98cb2327767de902d2e549178d6cadc7826a830142075ec5624b", kill_on_drop: false }`
[INFO] [stdout] 42ad0fcc2e2d98cb2327767de902d2e549178d6cadc7826a830142075ec5624b
