[INFO] fetching crate wasmer-compiler-singlepass-unc 2.4.1... [INFO] checking wasmer-compiler-singlepass-unc-2.4.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate wasmer-compiler-singlepass-unc 2.4.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate wasmer-compiler-singlepass-unc 2.4.1 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 wasmer-compiler-singlepass-unc 2.4.1 [INFO] finished tweaking crates.io crate wasmer-compiler-singlepass-unc 2.4.1 [INFO] tweaked toml for crates.io crate wasmer-compiler-singlepass-unc 2.4.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 91 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding bytecheck v0.6.12 (latest: v0.7.0) [INFO] [stderr] Adding bytecheck_derive v0.6.12 (latest: v0.7.0) [INFO] [stderr] Adding dynasm v1.2.3 (latest: v2.0.0) [INFO] [stderr] Adding dynasmrt v1.2.3 (latest: v2.0.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hashbrown v0.11.2 (latest: v0.14.5) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding memmap2 v0.5.10 (latest: v0.9.4) [INFO] [stderr] Adding memoffset v0.6.5 (latest: v0.9.1) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding more-asserts v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding ptr_meta v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding ptr_meta_derive v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasmparser v0.78.2 (latest: v0.216.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [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] 4bed6825f58e217ffd12d617608d1ac4e2bfbcc99e9a8d335bc6f53e120de56d [INFO] running `Command { std: "docker" "start" "-a" "4bed6825f58e217ffd12d617608d1ac4e2bfbcc99e9a8d335bc6f53e120de56d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bed6825f58e217ffd12d617608d1ac4e2bfbcc99e9a8d335bc6f53e120de56d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bed6825f58e217ffd12d617608d1ac4e2bfbcc99e9a8d335bc6f53e120de56d", kill_on_drop: false }` [INFO] [stdout] 4bed6825f58e217ffd12d617608d1ac4e2bfbcc99e9a8d335bc6f53e120de56d [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] 8d7625320678ddbc1b4dc3301429fee496cb5800b8c35f587a81ef92284f6977 [INFO] running `Command { std: "docker" "start" "-a" "8d7625320678ddbc1b4dc3301429fee496cb5800b8c35f587a81ef92284f6977", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rkyv v0.7.45 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling wasmer-vm-unc v2.4.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking region v3.0.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking more-asserts v0.2.2 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking wasmparser v0.78.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling rkyv_derive v0.7.45 [INFO] [stderr] Compiling dynasm v1.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking backtrace v0.3.73 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling enumset_derive v0.10.0 [INFO] [stderr] Checking enumset v1.1.5 [INFO] [stderr] Checking wasmer-types-unc v2.4.1 [INFO] [stderr] Checking wasmer-compiler-unc v2.4.1 [INFO] [stderr] Checking dynasmrt v1.2.3 [INFO] [stderr] Checking wasmer-compiler-singlepass-unc v2.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codegen_x64.rs:5407:21 [INFO] [stdout] | [INFO] [stdout] 5407 | let mut frame = self.control_stack.last_mut().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codegen_x64.rs:5407:21 [INFO] [stdout] | [INFO] [stdout] 5407 | let mut frame = self.control_stack.last_mut().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/emitter_x64.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub(crate) trait Emitter { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 85 | fn emit_u64(&mut self, x: u64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn emit_nop(&mut self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn emit_cmovae_gpr_32(&mut self, src: GPR, dst: GPR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn emit_vcmpordss(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 178 | fn emit_vcmpordsd(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn emit_ud2(&mut self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 214 | fn emit_ret(&mut self); [INFO] [stdout] 215 | fn emit_call_label(&mut self, label: Self::Label); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn emit_bkpt(&mut self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | fn arch_emit_entry_trampoline(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/codegen_x64.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 213 | let right = self.pop().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 214 | let left = self.pop().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | Ok((left, right)) [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:76:18 [INFO] [stdout] | [INFO] [stdout] 75 | fn compiler(self: Box) -> Box { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | Box::new(SinglepassCompiler::new(*self)) [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/emitter_x64.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub(crate) trait Emitter { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 85 | fn emit_u64(&mut self, x: u64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn emit_nop(&mut self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn emit_cmovae_gpr_32(&mut self, src: GPR, dst: GPR); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn emit_vcmpordss(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 178 | fn emit_vcmpordsd(&mut self, src1: XMM, src2: XMMOrMemory, dst: XMM); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn emit_ud2(&mut self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 214 | fn emit_ret(&mut self); [INFO] [stdout] 215 | fn emit_call_label(&mut self, label: Self::Label); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn emit_bkpt(&mut self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | fn arch_emit_entry_trampoline(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/codegen_x64.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 213 | let right = self.pop().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 214 | let left = self.pop().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | Ok((left, right)) [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 `wasmer-compiler-singlepass-unc` (lib) due to 3 previous errors; 2 warnings emitted [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/config.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 75 | fn compiler(self: Box) -> Box { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | Box::new(SinglepassCompiler::new(*self)) [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmer-compiler-singlepass-unc` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8d7625320678ddbc1b4dc3301429fee496cb5800b8c35f587a81ef92284f6977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d7625320678ddbc1b4dc3301429fee496cb5800b8c35f587a81ef92284f6977", kill_on_drop: false }` [INFO] [stdout] 8d7625320678ddbc1b4dc3301429fee496cb5800b8c35f587a81ef92284f6977