[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] building ThomasFrans/music-queue against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomasFrans%2Fmusic-queue" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThomasFrans/music-queue on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 958bc1e32046302f3f0b2d4b9dea24dff313b150b3c834b9a205dcd31cec99be [INFO] running `Command { std: "docker" "start" "-a" "958bc1e32046302f3f0b2d4b9dea24dff313b150b3c834b9a205dcd31cec99be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "958bc1e32046302f3f0b2d4b9dea24dff313b150b3c834b9a205dcd31cec99be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "958bc1e32046302f3f0b2d4b9dea24dff313b150b3c834b9a205dcd31cec99be", kill_on_drop: false }` [INFO] [stdout] 958bc1e32046302f3f0b2d4b9dea24dff313b150b3c834b9a205dcd31cec99be [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 895462be8b759ac0695a7ab08a2eed7d9e5bc16f86c71efd00bc5d7bef14e464 [INFO] running `Command { std: "docker" "start" "-a" "895462be8b759ac0695a7ab08a2eed7d9e5bc16f86c71efd00bc5d7bef14e464", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [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)]` 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 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | index: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | queue: Vec>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 68 | /// If `queue` is shuffled, this contains the playback order. [INFO] [stdout] 69 | order: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | short_term_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | short_term_queue: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | /// If `short_term_queue` is shuffled, this contains the playback order. [INFO] [stdout] 86 | short_term_order: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | /// The history of all the items that were played with this `Queue`. [INFO] [stdout] 88 | history: Vec>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 89 | /// The repeat mode of the `Queue`. [INFO] [stdout] 90 | repeat_status: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.16s [INFO] running `Command { std: "docker" "inspect" "895462be8b759ac0695a7ab08a2eed7d9e5bc16f86c71efd00bc5d7bef14e464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "895462be8b759ac0695a7ab08a2eed7d9e5bc16f86c71efd00bc5d7bef14e464", kill_on_drop: false }` [INFO] [stdout] 895462be8b759ac0695a7ab08a2eed7d9e5bc16f86c71efd00bc5d7bef14e464 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d26bcb14477958b4a2e2cdf99b2dfb24d8fb52896d74b693f6ea5e8dbf63cee9 [INFO] running `Command { std: "docker" "start" "-a" "d26bcb14477958b4a2e2cdf99b2dfb24d8fb52896d74b693f6ea5e8dbf63cee9", kill_on_drop: false }` [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)]` 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 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | index: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | queue: Vec>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 68 | /// If `queue` is shuffled, this contains the playback order. [INFO] [stdout] 69 | order: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | short_term_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | short_term_queue: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | /// If `short_term_queue` is shuffled, this contains the playback order. [INFO] [stdout] 86 | short_term_order: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | /// The history of all the items that were played with this `Queue`. [INFO] [stdout] 88 | history: Vec>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 89 | /// The repeat mode of the `Queue`. [INFO] [stdout] 90 | repeat_status: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [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)]` 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 { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | index: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | queue: Vec>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 68 | /// If `queue` is shuffled, this contains the playback order. [INFO] [stdout] 69 | order: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | short_term_index: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | short_term_queue: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | /// If `short_term_queue` is shuffled, this contains the playback order. [INFO] [stdout] 86 | short_term_order: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | /// The history of all the items that were played with this `Queue`. [INFO] [stdout] 88 | history: Vec>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 89 | /// The repeat mode of the `Queue`. [INFO] [stdout] 90 | repeat_status: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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.21s [INFO] running `Command { std: "docker" "inspect" "d26bcb14477958b4a2e2cdf99b2dfb24d8fb52896d74b693f6ea5e8dbf63cee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d26bcb14477958b4a2e2cdf99b2dfb24d8fb52896d74b693f6ea5e8dbf63cee9", kill_on_drop: false }` [INFO] [stdout] d26bcb14477958b4a2e2cdf99b2dfb24d8fb52896d74b693f6ea5e8dbf63cee9