[INFO] cloning repository https://github.com/Noah2610/fsmus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Noah2610/fsmus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoah2610%2Ffsmus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoah2610%2Ffsmus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95a309d65f5d84c664cced12c5f6a02a1a166f2e [INFO] checking Noah2610/fsmus/95a309d65f5d84c664cced12c5f6a02a1a166f2e 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%2FNoah2610%2Ffsmus" "/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/Noah2610/fsmus 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/Noah2610/fsmus [INFO] finished tweaking git repo https://github.com/Noah2610/fsmus [INFO] tweaked toml for git repo https://github.com/Noah2610/fsmus written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Noah2610/fsmus 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] 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] b3dc168ccbed2f84df7f4a04c41edcf69d50a3654a928a9eaceb90ac6776fb58 [INFO] running `Command { std: "docker" "start" "-a" "b3dc168ccbed2f84df7f4a04c41edcf69d50a3654a928a9eaceb90ac6776fb58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3dc168ccbed2f84df7f4a04c41edcf69d50a3654a928a9eaceb90ac6776fb58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3dc168ccbed2f84df7f4a04c41edcf69d50a3654a928a9eaceb90ac6776fb58", kill_on_drop: false }` [INFO] [stdout] b3dc168ccbed2f84df7f4a04c41edcf69d50a3654a928a9eaceb90ac6776fb58 [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] a166b1b08b62624e0e8201e778aac5cc66ade766025485f61a75d1f04476d9be [INFO] running `Command { std: "docker" "start" "-a" "a166b1b08b62624e0e8201e778aac5cc66ade766025485f61a75d1f04476d9be", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling cpal v0.13.1 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking lewton v0.10.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking directories v3.0.1 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking alsa v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking minimp3 v0.5.1 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking rodio v0.13.0 [INFO] [stderr] Checking ron v0.6.4 [INFO] [stderr] Checking fsmus v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/app/mod.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/app/mod.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_ms` [INFO] [stdout] --> src/app/music_player/mod.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn seek(&mut self, time_ms: u64) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_ms` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/app/mod.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn start(args: Args) -> Result<(), String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `music_dir` and `state` are never read [INFO] [stdout] --> src/app/music_player/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MusicPlayer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | stream: (OutputStream, OutputStreamHandle), [INFO] [stdout] 10 | music_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | state: PlaybackState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Playing` and `Paused` are never constructed [INFO] [stdout] --> src/app/music_player/mod.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub enum PlaybackState { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 134 | Stopped, [INFO] [stdout] 135 | Playing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 136 | Paused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlaybackState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/app/music_player/mod.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 24 | let stream = rodio::OutputStream::try_default().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | playing_audio: None, [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/config.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Deserialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/remote/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_ms` [INFO] [stdout] --> src/app/music_player/mod.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn seek(&mut self, time_ms: u64) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_ms` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fsmus` (bin "fsmus") due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/app/mod.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn start(args: Args) -> Result<(), String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `music_dir` and `state` are never read [INFO] [stdout] --> src/app/music_player/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MusicPlayer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | stream: (OutputStream, OutputStreamHandle), [INFO] [stdout] 10 | music_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | state: PlaybackState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Playing` and `Paused` are never constructed [INFO] [stdout] --> src/app/music_player/mod.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub enum PlaybackState { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 134 | Stopped, [INFO] [stdout] 135 | Playing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 136 | Paused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlaybackState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/app/music_player/mod.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 24 | let stream = rodio::OutputStream::try_default().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | playing_audio: None, [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/config.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Deserialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/remote/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fsmus` (bin "fsmus" test) due to 4 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a166b1b08b62624e0e8201e778aac5cc66ade766025485f61a75d1f04476d9be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a166b1b08b62624e0e8201e778aac5cc66ade766025485f61a75d1f04476d9be", kill_on_drop: false }` [INFO] [stdout] a166b1b08b62624e0e8201e778aac5cc66ade766025485f61a75d1f04476d9be