[INFO] fetching crate wasmer-engine-staticlib 2.3.0... [INFO] checking wasmer-engine-staticlib-2.3.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate wasmer-engine-staticlib 2.3.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate wasmer-engine-staticlib 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-staticlib 2.3.0 [INFO] finished tweaking crates.io crate wasmer-engine-staticlib 2.3.0 [INFO] tweaked toml for crates.io crate wasmer-engine-staticlib 2.3.0 written to /workspace/builds/worker-4-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 116 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 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] e7078d6bf1de11dddb41238ca8345dae877c495eb6e8126c8620203dc629b9f4 [INFO] running `Command { std: "docker" "start" "-a" "e7078d6bf1de11dddb41238ca8345dae877c495eb6e8126c8620203dc629b9f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7078d6bf1de11dddb41238ca8345dae877c495eb6e8126c8620203dc629b9f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7078d6bf1de11dddb41238ca8345dae877c495eb6e8126c8620203dc629b9f4", kill_on_drop: false }` [INFO] [stdout] e7078d6bf1de11dddb41238ca8345dae877c495eb6e8126c8620203dc629b9f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0160c46f1703d1f61ecd4c99c9df629e44a3d4a4ea56c9a301b732dc3e0e6041 [INFO] running `Command { std: "docker" "start" "-a" "0160c46f1703d1f61ecd4c99c9df629e44a3d4a4ea56c9a301b732dc3e0e6041", kill_on_drop: false }` [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling rkyv v0.7.45 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Compiling rkyv_derive v0.7.45 [INFO] [stderr] Compiling loupe-derive v0.1.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking enum-iterator v0.7.0 [INFO] [stderr] Checking more-asserts v0.2.2 [INFO] [stderr] Checking wasmparser v0.83.0 [INFO] [stderr] Compiling corosensei v0.1.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking region v3.0.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling enumset_derive v0.10.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking enumset v1.1.5 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking loupe v0.1.3 [INFO] [stderr] Checking object v0.28.4 [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-staticlib v2.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | #![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:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | #![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:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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] 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:292:12 [INFO] [stdout] | [INFO] [stdout] 273 | metadata: ModuleMetadata, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 293 | | metadata, [INFO] [stdout] 294 | | module_bytes, [INFO] [stdout] 295 | | finished_functions: finished_functions.into_boxed_slice(), [INFO] [stdout] ... | [INFO] [stdout] 304 | | is_compiled: true, [INFO] [stdout] 305 | | }) [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:413:12 [INFO] [stdout] | [INFO] [stdout] 327 | let metadata: ModuleMetadata = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | let engine_inner = engine.inner(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 341 | let signature_registry = engine_inner.signatures(); [INFO] [stdout] 342 | let func_data_registry = engine_inner.func_data().clone(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 413 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 414 | | metadata, [INFO] [stdout] 415 | | module_bytes: bytes.to_owned(), [INFO] [stdout] 416 | | finished_functions: finished_functions.into_boxed_slice(), [INFO] [stdout] ... | [INFO] [stdout] 425 | | is_compiled: false, [INFO] [stdout] 426 | | }) [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: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmer-engine-staticlib` (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/artifact.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 273 | metadata: ModuleMetadata, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 293 | | metadata, [INFO] [stdout] 294 | | module_bytes, [INFO] [stdout] 295 | | finished_functions: finished_functions.into_boxed_slice(), [INFO] [stdout] ... | [INFO] [stdout] 304 | | is_compiled: true, [INFO] [stdout] 305 | | }) [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:413:12 [INFO] [stdout] | [INFO] [stdout] 327 | let metadata: ModuleMetadata = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | let engine_inner = engine.inner(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 341 | let signature_registry = engine_inner.signatures(); [INFO] [stdout] 342 | let func_data_registry = engine_inner.func_data().clone(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 413 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 414 | | metadata, [INFO] [stdout] 415 | | module_bytes: bytes.to_owned(), [INFO] [stdout] 416 | | finished_functions: finished_functions.into_boxed_slice(), [INFO] [stdout] ... | [INFO] [stdout] 425 | | is_compiled: false, [INFO] [stdout] 426 | | }) [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: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmer-engine-staticlib` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0160c46f1703d1f61ecd4c99c9df629e44a3d4a4ea56c9a301b732dc3e0e6041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0160c46f1703d1f61ecd4c99c9df629e44a3d4a4ea56c9a301b732dc3e0e6041", kill_on_drop: false }` [INFO] [stdout] 0160c46f1703d1f61ecd4c99c9df629e44a3d4a4ea56c9a301b732dc3e0e6041