[INFO] fetching crate wasmer-engine-dylib 2.3.0... [INFO] checking wasmer-engine-dylib-2.3.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate wasmer-engine-dylib 2.3.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate wasmer-engine-dylib 2.3.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 wasmer-engine-dylib 2.3.0 [INFO] finished tweaking crates.io crate wasmer-engine-dylib 2.3.0 [INFO] tweaked toml for crates.io crate wasmer-engine-dylib 2.3.0 written to /workspace/builds/worker-3-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 119 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 enum-iterator v0.7.0 (latest: v2.1.0) [INFO] [stderr] Adding enum-iterator-derive v0.7.0 (latest: v1.4.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 libloading v0.7.4 (latest: v0.8.5) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [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 object v0.28.4 (latest: v0.36.4) [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 wasmer-compiler v2.3.0 (latest: v4.3.6) [INFO] [stderr] Adding wasmer-object v2.3.0 (latest: v4.3.6) [INFO] [stderr] Adding wasmer-types v2.3.0 (latest: v4.3.6) [INFO] [stderr] Adding wasmer-vm v2.3.0 (latest: v4.3.6) [INFO] [stderr] Adding wasmparser v0.83.0 (latest: v0.216.0) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.3) [INFO] [stderr] Adding windows-sys v0.33.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding windows_aarch64_msvc v0.33.0 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.33.0 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.33.0 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.33.0 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.33.0 (latest: v0.52.6) [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] bcd19eda8be3256bc6a7b20c35dee0550274c536d5aaeb6a30cdb27a903bbd45 [INFO] running `Command { std: "docker" "start" "-a" "bcd19eda8be3256bc6a7b20c35dee0550274c536d5aaeb6a30cdb27a903bbd45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcd19eda8be3256bc6a7b20c35dee0550274c536d5aaeb6a30cdb27a903bbd45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcd19eda8be3256bc6a7b20c35dee0550274c536d5aaeb6a30cdb27a903bbd45", kill_on_drop: false }` [INFO] [stdout] bcd19eda8be3256bc6a7b20c35dee0550274c536d5aaeb6a30cdb27a903bbd45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e0f124af664c5725ecaa8b4d6d224b0340ba4a5595519f07ffd9c5cd87a026b7 [INFO] running `Command { std: "docker" "start" "-a" "e0f124af664c5725ecaa8b4d6d224b0340ba4a5595519f07ffd9c5cd87a026b7", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rkyv v0.7.45 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking more-asserts v0.2.2 [INFO] [stderr] Checking wasmparser v0.83.0 [INFO] [stderr] Compiling corosensei v0.1.4 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Compiling rkyv_derive v0.7.45 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling loupe-derive v0.1.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking region v3.0.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking enum-iterator v0.7.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling enumset_derive v0.10.0 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking enumset v1.1.5 [INFO] [stderr] Checking loupe v0.1.3 [INFO] [stderr] Checking object v0.28.4 [INFO] [stderr] Checking backtrace v0.3.73 [INFO] [stderr] Checking wasmer-types v2.3.0 [INFO] [stderr] Checking wasmer-compiler v2.3.0 [INFO] [stderr] Checking wasmer-artifact v2.3.0 [INFO] [stderr] Checking wasmer-object v2.3.0 [INFO] [stderr] Checking wasmer-vm v2.3.0 [INFO] [stderr] Checking wasmer-engine v2.3.0 [INFO] [stderr] Checking wasmer-engine-dylib v2.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::new_without_default))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `compiler` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `compiler` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `emit_trampolines` [INFO] [stdout] --> src/artifact.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::trampoline::{emit_trampolines, fill_trampoline_table, WASMER_TRAMPOLINES_SYMBOL}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinaryFormat` and `write::CoffExportStyle` [INFO] [stdout] --> src/artifact.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use object::{write::CoffExportStyle, BinaryFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/artifact.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Architecture` [INFO] [stdout] --> src/artifact.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Architecture, CompileError, CompiledFunctionFrameInfo, CpuFeature, Features, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::new_without_default))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `compiler` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `compiler` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `emit_trampolines` [INFO] [stdout] --> src/artifact.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::trampoline::{emit_trampolines, fill_trampoline_table, WASMER_TRAMPOLINES_SYMBOL}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinaryFormat` and `write::CoffExportStyle` [INFO] [stdout] --> src/artifact.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use object::{write::CoffExportStyle, BinaryFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/artifact.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Architecture` [INFO] [stdout] --> src/artifact.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Architecture, CompileError, CompiledFunctionFrameInfo, CpuFeature, Features, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Clang11`, `Clang10`, `Clang`, and `Gcc` are never constructed [INFO] [stdout] --> src/engine.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub(crate) enum Linker { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 189 | None, [INFO] [stdout] 190 | Clang11, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 191 | Clang10, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 192 | Clang, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 193 | Gcc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Linker` has a derived impl for the trait `Clone`, 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: method `executable` is never used [INFO] [stdout] --> src/engine.rs:219:19 [INFO] [stdout] | [INFO] [stdout] 196 | impl Linker { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub(crate) fn executable(self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_cross_compiling` and `linker` are never used [INFO] [stdout] --> src/engine.rs:318:19 [INFO] [stdout] | [INFO] [stdout] 267 | impl DylibEngineInner { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 318 | pub(crate) fn is_cross_compiling(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub(crate) fn linker(&self) -> Linker { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AARCH64_TRAMPOLINE` is never used [INFO] [stdout] --> src/trampoline.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const AARCH64_TRAMPOLINE: [u8; 12] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `X86_64_TRAMPOLINE` is never used [INFO] [stdout] --> src/trampoline.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const X86_64_TRAMPOLINE: [u8; 6] = [0xff, 0x25, 0x00, 0x00, 0x00, 0x00]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_trampoline` is never used [INFO] [stdout] --> src/trampoline.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn emit_trampoline( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_trampolines` is never used [INFO] [stdout] --> src/trampoline.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn emit_trampolines(obj: &mut Object, target: &Target) { [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/artifact.rs:471:12 [INFO] [stdout] | [INFO] [stdout] 462 | metadata: ModuleMetadata, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 471 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 472 | | dylib_path, [INFO] [stdout] 473 | | is_temporary: false, [INFO] [stdout] 474 | | metadata, [INFO] [stdout] ... | [INFO] [stdout] 482 | | frame_info_registration: Mutex::new(None), [INFO] [stdout] 483 | | }) [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/artifact.rs:570:12 [INFO] [stdout] | [INFO] [stdout] 489 | metadata: ModuleMetadata, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 490 | dylib_path: PathBuf, [INFO] [stdout] 491 | lib: Library, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 570 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 571 | | dylib_path, [INFO] [stdout] 572 | | is_temporary: false, [INFO] [stdout] 573 | | metadata, [INFO] [stdout] ... | [INFO] [stdout] 581 | | frame_info_registration: Mutex::new(None), [INFO] [stdout] 582 | | }) [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/artifact.rs:672:9 [INFO] [stdout] | [INFO] [stdout] 650 | let lib = Library::new(&path).map_err(|e| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 668 | let metadata = ModuleMetadata::deserialize(metadata_slice)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 669 | [INFO] [stdout] 670 | let mut engine_inner = engine.inner_mut(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 671 | [INFO] [stdout] 672 | Self::from_parts(&mut engine_inner, metadata, shared_path, lib) [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] | 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] | 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] = 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/serialize.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut deserializer = SharedDeserializeMap::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | RkyvDeserialize::deserialize(archived, &mut deserializer) [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; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmer-engine-dylib` (lib) due to 5 previous errors; 13 warnings emitted [INFO] [stdout] warning: variants `Clang11`, `Clang10`, `Clang`, and `Gcc` are never constructed [INFO] [stdout] --> src/engine.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub(crate) enum Linker { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 189 | None, [INFO] [stdout] 190 | Clang11, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 191 | Clang10, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 192 | Clang, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 193 | Gcc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Linker` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `executable` is never used [INFO] [stdout] --> src/engine.rs:219:19 [INFO] [stdout] | [INFO] [stdout] 196 | impl Linker { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub(crate) fn executable(self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_cross_compiling` and `linker` are never used [INFO] [stdout] --> src/engine.rs:318:19 [INFO] [stdout] | [INFO] [stdout] 267 | impl DylibEngineInner { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 318 | pub(crate) fn is_cross_compiling(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub(crate) fn linker(&self) -> Linker { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AARCH64_TRAMPOLINE` is never used [INFO] [stdout] --> src/trampoline.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const AARCH64_TRAMPOLINE: [u8; 12] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `X86_64_TRAMPOLINE` is never used [INFO] [stdout] --> src/trampoline.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const X86_64_TRAMPOLINE: [u8; 6] = [0xff, 0x25, 0x00, 0x00, 0x00, 0x00]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_trampoline` is never used [INFO] [stdout] --> src/trampoline.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn emit_trampoline( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_trampolines` is never used [INFO] [stdout] --> src/trampoline.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn emit_trampolines(obj: &mut Object, target: &Target) { [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/artifact.rs:471:12 [INFO] [stdout] | [INFO] [stdout] 462 | metadata: ModuleMetadata, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 471 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 472 | | dylib_path, [INFO] [stdout] 473 | | is_temporary: false, [INFO] [stdout] 474 | | metadata, [INFO] [stdout] ... | [INFO] [stdout] 482 | | frame_info_registration: Mutex::new(None), [INFO] [stdout] 483 | | }) [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/artifact.rs:570:12 [INFO] [stdout] | [INFO] [stdout] 489 | metadata: ModuleMetadata, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 490 | dylib_path: PathBuf, [INFO] [stdout] 491 | lib: Library, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 570 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 571 | | dylib_path, [INFO] [stdout] 572 | | is_temporary: false, [INFO] [stdout] 573 | | metadata, [INFO] [stdout] ... | [INFO] [stdout] 581 | | frame_info_registration: Mutex::new(None), [INFO] [stdout] 582 | | }) [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/artifact.rs:672:9 [INFO] [stdout] | [INFO] [stdout] 650 | let lib = Library::new(&path).map_err(|e| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 668 | let metadata = ModuleMetadata::deserialize(metadata_slice)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 669 | [INFO] [stdout] 670 | let mut engine_inner = engine.inner_mut(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 671 | [INFO] [stdout] 672 | Self::from_parts(&mut engine_inner, metadata, shared_path, lib) [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] | 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] | 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] = 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/serialize.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut deserializer = SharedDeserializeMap::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | RkyvDeserialize::deserialize(archived, &mut deserializer) [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; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmer-engine-dylib` (lib test) due to 5 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e0f124af664c5725ecaa8b4d6d224b0340ba4a5595519f07ffd9c5cd87a026b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0f124af664c5725ecaa8b4d6d224b0340ba4a5595519f07ffd9c5cd87a026b7", kill_on_drop: false }` [INFO] [stdout] e0f124af664c5725ecaa8b4d6d224b0340ba4a5595519f07ffd9c5cd87a026b7