[INFO] fetching crate timer_core 0.7.6... [INFO] checking timer_core-0.7.6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate timer_core 0.7.6 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate timer_core 0.7.6 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 crates.io crate timer_core 0.7.6 [INFO] finished tweaking crates.io crate timer_core 0.7.6 [INFO] tweaked toml for crates.io crate timer_core 0.7.6 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate timer_core 0.7.6 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4f30d17ca8ec9b17ee25e06c99a7b59c78e035ef3fb0744ae16712a98d10e1e3 [INFO] running `Command { std: "docker" "start" "-a" "4f30d17ca8ec9b17ee25e06c99a7b59c78e035ef3fb0744ae16712a98d10e1e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f30d17ca8ec9b17ee25e06c99a7b59c78e035ef3fb0744ae16712a98d10e1e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f30d17ca8ec9b17ee25e06c99a7b59c78e035ef3fb0744ae16712a98d10e1e3", kill_on_drop: false }` [INFO] [stdout] 4f30d17ca8ec9b17ee25e06c99a7b59c78e035ef3fb0744ae16712a98d10e1e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] dafd533442da4fa3a61e7693903b96c77d88da32d727c9f4e3a3790113ac7ff2 [INFO] running `Command { std: "docker" "start" "-a" "dafd533442da4fa3a61e7693903b96c77d88da32d727c9f4e3a3790113ac7ff2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking symphonia-core v0.5.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking symphonia-metadata v0.5.4 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking alsa v0.9.0 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking symphonia v0.5.4 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling tailcall-impl v1.0.1 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking rodio v0.19.0 [INFO] [stderr] Checking tailcall v1.0.1 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking timer_core v0.7.6 (/opt/rustwide/workdir) [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/beep.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | .find_map(|d| OpenOptions::new().append(true).open(d).ok()) [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/sound/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | let (stream, stream_handle) = OutputStream::try_default()?; [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] 16 | let contents = include_bytes!("beep.ogg"); [INFO] [stdout] 17 | Ok(Sound { [INFO] [stdout] | ____________^ [INFO] [stdout] 18 | | _stream: stream, [INFO] [stdout] 19 | | stream_handle, [INFO] [stdout] 20 | | cursor: Cursor::new(contents), [INFO] [stdout] 21 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/timer.rs:130:60 [INFO] [stdout] | [INFO] [stdout] 130 | let handler_with_timeout = spawn_thread(|| play_sound().unwrap()); [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/utils.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn join(self, timeout: Duration) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | self.signal.recv_timeout(timeout)?; [INFO] [stdout] 15 | Ok(self.handle.join().unwrap()) [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 4 previous errors [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/beep.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | .find_map(|d| OpenOptions::new().append(true).open(d).ok()) [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] [stderr] error: could not compile `timer_core` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/sound/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | let (stream, stream_handle) = OutputStream::try_default()?; [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] 16 | let contents = include_bytes!("beep.ogg"); [INFO] [stdout] 17 | Ok(Sound { [INFO] [stdout] | ____________^ [INFO] [stdout] 18 | | _stream: stream, [INFO] [stdout] 19 | | stream_handle, [INFO] [stdout] 20 | | cursor: Cursor::new(contents), [INFO] [stdout] 21 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/timer.rs:130:60 [INFO] [stdout] | [INFO] [stdout] 130 | let handler_with_timeout = spawn_thread(|| play_sound().unwrap()); [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/utils.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn join(self, timeout: Duration) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | self.signal.recv_timeout(timeout)?; [INFO] [stdout] 15 | Ok(self.handle.join().unwrap()) [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `timer_core` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "dafd533442da4fa3a61e7693903b96c77d88da32d727c9f4e3a3790113ac7ff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dafd533442da4fa3a61e7693903b96c77d88da32d727c9f4e3a3790113ac7ff2", kill_on_drop: false }` [INFO] [stdout] dafd533442da4fa3a61e7693903b96c77d88da32d727c9f4e3a3790113ac7ff2