[INFO] cloning repository https://github.com/LunaeSomnia/audio-player [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LunaeSomnia/audio-player" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLunaeSomnia%2Faudio-player", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLunaeSomnia%2Faudio-player'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 183ac43eae5355614ee7fac28b5591113e0e7a89 [INFO] checking LunaeSomnia/audio-player/183ac43eae5355614ee7fac28b5591113e0e7a89 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLunaeSomnia%2Faudio-player" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LunaeSomnia/audio-player on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LunaeSomnia/audio-player [INFO] finished tweaking git repo https://github.com/LunaeSomnia/audio-player [INFO] tweaked toml for git repo https://github.com/LunaeSomnia/audio-player written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LunaeSomnia/audio-player already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d6c4f4e1ecec96efebfccd053e9e9f65bfc2cc179aed7da61be8439e3966975 [INFO] running `Command { std: "docker" "start" "-a" "9d6c4f4e1ecec96efebfccd053e9e9f65bfc2cc179aed7da61be8439e3966975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d6c4f4e1ecec96efebfccd053e9e9f65bfc2cc179aed7da61be8439e3966975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d6c4f4e1ecec96efebfccd053e9e9f65bfc2cc179aed7da61be8439e3966975", kill_on_drop: false }` [INFO] [stdout] 9d6c4f4e1ecec96efebfccd053e9e9f65bfc2cc179aed7da61be8439e3966975 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bf6ae788cd666290073a5b539e0fdaa3f7d4885acb11f4a4743c20a1a1b8a1d [INFO] running `Command { std: "docker" "start" "-a" "0bf6ae788cd666290073a5b539e0fdaa3f7d4885acb11f4a4743c20a1a1b8a1d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.115 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Checking rb v0.4.0 [INFO] [stderr] Checking basedrop v0.1.2 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking alsa v0.6.0 [INFO] [stderr] Checking audio-player v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AudioTrackHandler` [INFO] [stdout] --> src/audio_player.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::audio_track::{AudioTrack, AudioTrackHandler}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AudioTrackHandler` [INFO] [stdout] --> src/audio_player.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::audio_track::{AudioTrack, AudioTrackHandler}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 36 | / loop { [INFO] [stdout] 37 | | if player.advance() { [INFO] [stdout] 38 | | curr += 1; [INFO] [stdout] 39 | | if curr == change_vol_1 { [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 52 | [INFO] [stdout] 53 | stream.stop().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 36 | / loop { [INFO] [stdout] 37 | | if player.advance() { [INFO] [stdout] 38 | | curr += 1; [INFO] [stdout] 39 | | if curr == change_vol_1 { [INFO] [stdout] ... | [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 52 | [INFO] [stdout] 53 | stream.stop().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/audio_file.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | IOError(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AudioFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 | IOError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/audio_file.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | IOError(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AudioFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 | IOError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioTrackHandler` is never constructed [INFO] [stdout] --> src/audio_track.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct AudioTrackHandler<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_volume` is never used [INFO] [stdout] --> src/audio_track.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl<'a> AudioTrackHandler<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 103 | pub fn set_volume(&mut self, new_volume: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioTrackHandler` is never constructed [INFO] [stdout] --> src/audio_track.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct AudioTrackHandler<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_volume` is never used [INFO] [stdout] --> src/audio_track.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl<'a> AudioTrackHandler<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 103 | pub fn set_volume(&mut self, new_volume: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/audio_player.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(output: Producer) -> Self { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | Self { [INFO] [stdout] 13 | tracks: Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/audio_player.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(output: Producer) -> Self { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | Self { [INFO] [stdout] 13 | tracks: Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/audio_stream.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 16 | let ring_buf: SpscRb = rb::SpscRb::new(BUFFER_SIZE); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let (pr, cn) = (ring_buf.producer(), ring_buf.consumer()); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | [INFO] [stdout] 19 | let dev = cpal::default_host().default_output_device().unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let conf = dev.default_output_config().unwrap(); [INFO] [stdout] 21 | let str = dev [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | / AudioStream { [INFO] [stdout] 36 | | ring_buffer: ring_buf, [INFO] [stdout] 37 | | cpal_stream: str, [INFO] [stdout] 38 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/audio_stream.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 16 | let ring_buf: SpscRb = rb::SpscRb::new(BUFFER_SIZE); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let (pr, cn) = (ring_buf.producer(), ring_buf.consumer()); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | [INFO] [stdout] 19 | let dev = cpal::default_host().default_output_device().unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let conf = dev.default_output_config().unwrap(); [INFO] [stdout] 21 | let str = dev [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | / AudioStream { [INFO] [stdout] 36 | | ring_buffer: ring_buf, [INFO] [stdout] 37 | | cpal_stream: str, [INFO] [stdout] 38 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `audio-player` (bin "audio-player") due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `audio-player` (bin "audio-player" test) due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0bf6ae788cd666290073a5b539e0fdaa3f7d4885acb11f4a4743c20a1a1b8a1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bf6ae788cd666290073a5b539e0fdaa3f7d4885acb11f4a4743c20a1a1b8a1d", kill_on_drop: false }` [INFO] [stdout] 0bf6ae788cd666290073a5b539e0fdaa3f7d4885acb11f4a4743c20a1a1b8a1d