[INFO] fetching crate dotnetdll 0.0.4... [INFO] checking dotnetdll-0.0.4 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate dotnetdll 0.0.4 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate dotnetdll 0.0.4 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate dotnetdll 0.0.4 [INFO] finished tweaking crates.io crate dotnetdll 0.0.4 [INFO] tweaked toml for crates.io crate dotnetdll 0.0.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 68 packages to latest compatible versions [INFO] [stderr] Adding bitfield v0.14.0 (available: v0.17.0) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding object v0.32.2 (available: v0.36.4) [INFO] [stderr] Adding radium v0.7.0 (available: v1.1.0) [INFO] [stderr] Adding ruzstd v0.5.0 (available: v0.7.2) [INFO] [stderr] Adding scroll v0.11.0 (available: v0.12.0) [INFO] [stderr] Adding scroll_derive v0.11.1 (available: v0.12.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding wyz v0.5.1 (available: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3c4e1990fd1e1c5a1d0b4041564a4fe155edbc5bed269c3a1125797bcce7711 [INFO] running `Command { std: "docker" "start" "-a" "a3c4e1990fd1e1c5a1d0b4041564a4fe155edbc5bed269c3a1125797bcce7711", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3c4e1990fd1e1c5a1d0b4041564a4fe155edbc5bed269c3a1125797bcce7711", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3c4e1990fd1e1c5a1d0b4041564a4fe155edbc5bed269c3a1125797bcce7711", kill_on_drop: false }` [INFO] [stdout] a3c4e1990fd1e1c5a1d0b4041564a4fe155edbc5bed269c3a1125797bcce7711 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d985913b863a8497a416568ad4b6eb318912d6a424e91502c1e1cd09a9f39c9 [INFO] running `Command { std: "docker" "start" "-a" "4d985913b863a8497a416568ad4b6eb318912d6a424e91502c1e1cd09a9f39c9", kill_on_drop: false }` [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking bitfield v0.14.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling dotnetdll-macros v0.0.1 [INFO] [stderr] Compiling scroll_derive v0.11.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking scroll v0.11.0 [INFO] [stderr] Checking scroll-buffer v0.3.1 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ruzstd v0.5.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking dotnetdll v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `std::result::Result, DLLError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resolution/read.rs:1297:55 [INFO] [stdout] | [INFO] [stdout] 1261 | let field_sig: FieldSig = match sig_blob.pread(0) { [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] ... [INFO] [stdout] 1297 | custom_modifiers: filter_map_try!(field_sig [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 1298 | | .custom_modifiers [INFO] [stdout] 1299 | | .into_iter() [INFO] [stdout] 1300 | | .map(|c| convert::read::custom_modifier(c, &ctx)) [INFO] [stdout] 1301 | | .collect::>()), [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 `resolved::body::ExceptionKind` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resolution/read.rs:1906:41 [INFO] [stdout] | [INFO] [stdout] 1876 | / ... instr_offsets [INFO] [stdout] 1877 | | ... .iter() [INFO] [stdout] 1878 | | ... .position(|&i| i == $byte as usize) [INFO] [stdout] 1879 | | ... .ok_or_else(|| { [INFO] [stdout] ... | [INFO] [stdout] 1883 | | ... )) [INFO] [stdout] 1884 | | ... })? [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] | |_____________________________________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] 1906 | | ... kind, [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, DLLError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resolution/read.rs:1297:55 [INFO] [stdout] | [INFO] [stdout] 1261 | let field_sig: FieldSig = match sig_blob.pread(0) { [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] ... [INFO] [stdout] 1297 | custom_modifiers: filter_map_try!(field_sig [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 1298 | | .custom_modifiers [INFO] [stdout] 1299 | | .into_iter() [INFO] [stdout] 1300 | | .map(|c| convert::read::custom_modifier(c, &ctx)) [INFO] [stdout] 1301 | | .collect::>()), [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 `resolved::body::ExceptionKind` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/resolution/read.rs:1906:41 [INFO] [stdout] | [INFO] [stdout] 1876 | / ... instr_offsets [INFO] [stdout] 1877 | | ... .iter() [INFO] [stdout] 1878 | | ... .position(|&i| i == $byte as usize) [INFO] [stdout] 1879 | | ... .ok_or_else(|| { [INFO] [stdout] ... | [INFO] [stdout] 1883 | | ... )) [INFO] [stdout] 1884 | | ... })? [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] | |_____________________________________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] 1906 | | ... kind, [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 `dotnetdll` (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 `dotnetdll` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "4d985913b863a8497a416568ad4b6eb318912d6a424e91502c1e1cd09a9f39c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d985913b863a8497a416568ad4b6eb318912d6a424e91502c1e1cd09a9f39c9", kill_on_drop: false }` [INFO] [stdout] 4d985913b863a8497a416568ad4b6eb318912d6a424e91502c1e1cd09a9f39c9