[INFO] fetching crate wasmtime-cranelift 25.0.1... [INFO] checking wasmtime-cranelift-25.0.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate wasmtime-cranelift 25.0.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate wasmtime-cranelift 25.0.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasmtime-cranelift 25.0.1 [INFO] finished tweaking crates.io crate wasmtime-cranelift 25.0.1 [INFO] tweaked toml for crates.io crate wasmtime-cranelift 25.0.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 81 packages to latest compatible versions [INFO] [stderr] Adding embedded-io v0.4.0 (available: v0.6.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (available: v0.31.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc393cec3a353a40c06e375a065ff47f7159973be23ba5abbb5f13d6c17a2088 [INFO] running `Command { std: "docker" "start" "-a" "cc393cec3a353a40c06e375a065ff47f7159973be23ba5abbb5f13d6c17a2088", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc393cec3a353a40c06e375a065ff47f7159973be23ba5abbb5f13d6c17a2088", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc393cec3a353a40c06e375a065ff47f7159973be23ba5abbb5f13d6c17a2088", kill_on_drop: false }` [INFO] [stdout] cc393cec3a353a40c06e375a065ff47f7159973be23ba5abbb5f13d6c17a2088 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9733fa742bc89849715ed9854365c8af5a9354b1eb766e1f02969c92eef418a [INFO] running `Command { std: "docker" "start" "-a" "e9733fa742bc89849715ed9854365c8af5a9354b1eb766e1f02969c92eef418a", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling cranelift-isle v0.112.1 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling cranelift-codegen-shared v0.112.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling wasmtime-versioned-export-macros v25.0.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.112.1 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking wasm-encoder v0.217.0 [INFO] [stderr] Checking cranelift-control v0.112.1 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Compiling cranelift-codegen v0.112.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking cranelift-bitset v0.112.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking postcard v1.0.10 [INFO] [stderr] Checking cranelift-entity v0.112.1 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking regalloc2 v0.10.2 [INFO] [stderr] Checking cranelift-bforest v0.112.1 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking wasmparser v0.217.0 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking wasmtime-types v25.0.1 [INFO] [stderr] Checking wasmprinter v0.217.0 [INFO] [stderr] Checking wasmtime-environ v25.0.1 [INFO] [stderr] Checking cranelift-frontend v0.112.1 [INFO] [stderr] Checking cranelift-native v0.112.1 [INFO] [stderr] Checking cranelift-wasm v0.112.1 [INFO] [stderr] Checking wasmtime-cranelift v25.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/debug/transform/line_program.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 41 | comp_name: Option, [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | if let Some(program) = unit.line_program.clone() { [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: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/debug/transform/line_program.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 41 | comp_name: Option, [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | if let Some(program) = unit.line_program.clone() { [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: this value of type `std::result::Result>, anyhow::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/debug/transform/mod.rs:131:11 [INFO] [stdout] | [INFO] [stdout] 117 | let mut validator = wasmparser::Validator::new(); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | match load_dwp(translation, buffer) { [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: this value of type `std::result::Result>, anyhow::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/debug/transform/mod.rs:131:11 [INFO] [stdout] | [INFO] [stdout] 117 | let mut validator = wasmparser::Validator::new(); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | match load_dwp(translation, buffer) { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmtime-cranelift` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmtime-cranelift` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "e9733fa742bc89849715ed9854365c8af5a9354b1eb766e1f02969c92eef418a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9733fa742bc89849715ed9854365c8af5a9354b1eb766e1f02969c92eef418a", kill_on_drop: false }` [INFO] [stdout] e9733fa742bc89849715ed9854365c8af5a9354b1eb766e1f02969c92eef418a