[INFO] fetching crate lightbeam 0.30.0... [INFO] checking lightbeam-0.30.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate lightbeam 0.30.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate lightbeam 0.30.0 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 lightbeam 0.30.0 [INFO] finished tweaking crates.io crate lightbeam 0.30.0 [INFO] tweaked toml for crates.io crate lightbeam 0.30.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate lightbeam 0.30.0 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] 4490e115c5db44e22f4065874e3edf9899f685d00cac66603e6bb6f6dfc3517f [INFO] running `Command { std: "docker" "start" "-a" "4490e115c5db44e22f4065874e3edf9899f685d00cac66603e6bb6f6dfc3517f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4490e115c5db44e22f4065874e3edf9899f685d00cac66603e6bb6f6dfc3517f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4490e115c5db44e22f4065874e3edf9899f685d00cac66603e6bb6f6dfc3517f", kill_on_drop: false }` [INFO] [stdout] 4490e115c5db44e22f4065874e3edf9899f685d00cac66603e6bb6f6dfc3517f [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] 6126243b9ddcc42519e8414b4716a98f8336f1037b509baeacdce958fdaccdeb [INFO] running `Command { std: "docker" "start" "-a" "6126243b9ddcc42519e8414b4716a98f8336f1037b509baeacdce958fdaccdeb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.77.0 [INFO] [stderr] Compiling cranelift-entity v0.77.0 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling target-lexicon v0.12.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling cranelift-codegen-meta v0.77.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking memmap2 v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking regalloc v0.0.31 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking cranelift-bforest v0.77.0 [INFO] [stderr] Compiling capstone-sys v0.13.0 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Checking leb128 v0.2.4 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking wast v38.0.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking wasmparser v0.80.1 [INFO] [stderr] Checking more-asserts v0.2.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking wat v1.0.40 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling cranelift-codegen v0.77.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling dynasm v1.1.0 [INFO] [stderr] Compiling iter-enum v1.0.1 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking dynasmrt v1.1.0 [INFO] [stderr] Checking capstone v0.9.0 [INFO] [stderr] Checking lightbeam v0.30.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `reg` and `imm` are never read [INFO] [stdout] --> src/backend.rs:680:5 [INFO] [stdout] | [INFO] [stdout] 679 | struct RelocateAddress { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 680 | reg: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 681 | imm: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RelocateAddress` 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] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `dst_reg`, and `address` are never read [INFO] [stdout] --> src/backend.rs:686:5 [INFO] [stdout] | [INFO] [stdout] 685 | struct RelocateAccess { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 686 | position: AssemblyOffset, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 687 | dst_reg: GPR, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 688 | address: RelocateAddress, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RelocateAccess` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RetLabel` is never constructed [INFO] [stdout] --> src/backend.rs:6113:16 [INFO] [stdout] | [INFO] [stdout] 6113 | struct RetLabel; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnimplementedRelocSink` is never constructed [INFO] [stdout] --> src/translate_sections.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | struct UnimplementedRelocSink; [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/backend.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 111 | types: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | / types [INFO] [stdout] 122 | | .into_iter() [INFO] [stdout] 123 | | .map(move |ty| { [INFO] [stdout] 124 | | match ty { [INFO] [stdout] ... | [INFO] [stdout] 133 | | }) [INFO] [stdout] 134 | | }) [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/backend.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 142 | types: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | / arg_locs(WithInt { [INFO] [stdout] 185 | | caller_vmctx_ty: Some(I32), [INFO] [stdout] 186 | | iter: types.into_iter(), [INFO] [stdout] 187 | | }) [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/backend.rs:616:28 [INFO] [stdout] | [INFO] [stdout] 609 | let mut assembler = Assembler::new().unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 616 | op_offset_map: Default::default(), [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/backend.rs:668:12 [INFO] [stdout] | [INFO] [stdout] 658 | pub fn into_translated_code_section(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 659 | let exec_buf = self [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 668 | Ok(TranslatedCodeSection { [INFO] [stdout] | ____________^ [INFO] [stdout] 669 | | exec_buf, [INFO] [stdout] 670 | | func_starts, [INFO] [stdout] 671 | | op_offset_map: self.op_offset_map, [INFO] [stdout] 672 | | // TODO [INFO] [stdout] 673 | | relocatable_accesses: vec![], [INFO] [stdout] 674 | | }) [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/microwasm.rs:1105:20 [INFO] [stdout] | [INFO] [stdout] 1099 | fn new(input: I0, output: I1) -> Self [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] ... [INFO] [stdout] 1105 | input: SmallVec::from_iter(input), [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/microwasm.rs:1106:21 [INFO] [stdout] | [INFO] [stdout] 1099 | fn new(input: I0, output: I1) -> Self [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] ... [INFO] [stdout] 1106 | output: SmallVec::from_iter(output), [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/microwasm.rs:1560:12 [INFO] [stdout] | [INFO] [stdout] 1559 | let (params, returns) = self.type_or_func_type_to_sig(ty)?; [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] 1560 | Ok(self.stack[0..self.stack.len() - params.len()] [INFO] [stdout] | ____________^ [INFO] [stdout] 1561 | | .iter() [INFO] [stdout] 1562 | | .copied() [INFO] [stdout] 1563 | | .chain(returns)) [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/microwasm.rs:1759:12 [INFO] [stdout] | [INFO] [stdout] 1754 | let op_sig = self.op_sig(&op)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1759 | Ok(Some(match op { [INFO] [stdout] | ____________^ [INFO] [stdout] 1760 | | WasmOperator::Unreachable => { [INFO] [stdout] 1761 | | self.unreachable = true; [INFO] [stdout] 1762 | | one(Operator::Unreachable) [INFO] [stdout] ... | [INFO] [stdout] 2368 | | _other => return Err(Error::Microwasm("Opcode unimplemented".into())), [INFO] [stdout] 2369 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/microwasm.rs:1613:13 [INFO] [stdout] | [INFO] [stdout] 1612 | fn vec(vals: ArrayVec<[OperatorFromWasm; 5]>) -> Output { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1613 | vals.into_iter().into() [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/module.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 160 | args: Args, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | Args::into_func(start_buf), [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/module.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 181 | args: Args, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | Ok(unsafe { self.execute_func_unchecked(func_idx, args) }) [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 11 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lightbeam` (lib) due to 12 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `reg` and `imm` are never read [INFO] [stdout] --> src/backend.rs:680:5 [INFO] [stdout] | [INFO] [stdout] 679 | struct RelocateAddress { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 680 | reg: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 681 | imm: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RelocateAddress` 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] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `dst_reg`, and `address` are never read [INFO] [stdout] --> src/backend.rs:686:5 [INFO] [stdout] | [INFO] [stdout] 685 | struct RelocateAccess { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 686 | position: AssemblyOffset, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 687 | dst_reg: GPR, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 688 | address: RelocateAddress, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RelocateAccess` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RetLabel` is never constructed [INFO] [stdout] --> src/backend.rs:6113:16 [INFO] [stdout] | [INFO] [stdout] 6113 | struct RetLabel; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnimplementedRelocSink` is never constructed [INFO] [stdout] --> src/translate_sections.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | struct UnimplementedRelocSink; [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/backend.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 111 | types: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | / types [INFO] [stdout] 122 | | .into_iter() [INFO] [stdout] 123 | | .map(move |ty| { [INFO] [stdout] 124 | | match ty { [INFO] [stdout] ... | [INFO] [stdout] 133 | | }) [INFO] [stdout] 134 | | }) [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/backend.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 142 | types: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | / arg_locs(WithInt { [INFO] [stdout] 185 | | caller_vmctx_ty: Some(I32), [INFO] [stdout] 186 | | iter: types.into_iter(), [INFO] [stdout] 187 | | }) [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/backend.rs:616:28 [INFO] [stdout] | [INFO] [stdout] 609 | let mut assembler = Assembler::new().unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 616 | op_offset_map: Default::default(), [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/backend.rs:668:12 [INFO] [stdout] | [INFO] [stdout] 658 | pub fn into_translated_code_section(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 659 | let exec_buf = self [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 668 | Ok(TranslatedCodeSection { [INFO] [stdout] | ____________^ [INFO] [stdout] 669 | | exec_buf, [INFO] [stdout] 670 | | func_starts, [INFO] [stdout] 671 | | op_offset_map: self.op_offset_map, [INFO] [stdout] 672 | | // TODO [INFO] [stdout] 673 | | relocatable_accesses: vec![], [INFO] [stdout] 674 | | }) [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/microwasm.rs:1105:20 [INFO] [stdout] | [INFO] [stdout] 1099 | fn new(input: I0, output: I1) -> Self [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] ... [INFO] [stdout] 1105 | input: SmallVec::from_iter(input), [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/microwasm.rs:1106:21 [INFO] [stdout] | [INFO] [stdout] 1099 | fn new(input: I0, output: I1) -> Self [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] ... [INFO] [stdout] 1106 | output: SmallVec::from_iter(output), [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/microwasm.rs:1560:12 [INFO] [stdout] | [INFO] [stdout] 1559 | let (params, returns) = self.type_or_func_type_to_sig(ty)?; [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] 1560 | Ok(self.stack[0..self.stack.len() - params.len()] [INFO] [stdout] | ____________^ [INFO] [stdout] 1561 | | .iter() [INFO] [stdout] 1562 | | .copied() [INFO] [stdout] 1563 | | .chain(returns)) [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/microwasm.rs:1759:12 [INFO] [stdout] | [INFO] [stdout] 1754 | let op_sig = self.op_sig(&op)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1759 | Ok(Some(match op { [INFO] [stdout] | ____________^ [INFO] [stdout] 1760 | | WasmOperator::Unreachable => { [INFO] [stdout] 1761 | | self.unreachable = true; [INFO] [stdout] 1762 | | one(Operator::Unreachable) [INFO] [stdout] ... | [INFO] [stdout] 2368 | | _other => return Err(Error::Microwasm("Opcode unimplemented".into())), [INFO] [stdout] 2369 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/microwasm.rs:1613:13 [INFO] [stdout] | [INFO] [stdout] 1612 | fn vec(vals: ArrayVec<[OperatorFromWasm; 5]>) -> Output { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1613 | vals.into_iter().into() [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/module.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 160 | args: Args, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | Args::into_func(start_buf), [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/module.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 181 | args: Args, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | Ok(unsafe { self.execute_func_unchecked(func_idx, args) }) [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/benches.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | b.iter(|| test::black_box(translate(&wasm).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/benches.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | b.iter(|| translate(&wasm).unwrap().execute_func::<_, u32>(0, (20,))); [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 13 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lightbeam` (lib test) due to 14 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6126243b9ddcc42519e8414b4716a98f8336f1037b509baeacdce958fdaccdeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6126243b9ddcc42519e8414b4716a98f8336f1037b509baeacdce958fdaccdeb", kill_on_drop: false }` [INFO] [stdout] 6126243b9ddcc42519e8414b4716a98f8336f1037b509baeacdce958fdaccdeb