[INFO] fetching crate gull 6.0.2... [INFO] checking gull-6.0.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate gull 6.0.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate gull 6.0.2 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 gull 6.0.2 [INFO] finished tweaking crates.io crate gull 6.0.2 [INFO] tweaked toml for crates.io crate gull 6.0.2 written to /workspace/builds/worker-6-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 72 packages to latest compatible versions [INFO] [stderr] Adding block-buffer v0.9.0 (latest: v0.10.4) [INFO] [stderr] Adding colored v1.9.4 (latest: v2.1.0) [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding darling v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_core v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_macro v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding derive_builder v0.11.2 (latest: v0.20.1) [INFO] [stderr] Adding derive_builder_core v0.11.2 (latest: v0.20.1) [INFO] [stderr] Adding derive_builder_macro v0.11.2 (latest: v0.20.1) [INFO] [stderr] Adding digest v0.9.0 (latest: v0.10.7) [INFO] [stderr] Adding docblock v0.0.1 (latest: v0.0.2) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding half v1.8.3 (latest: v2.4.1) [INFO] [stderr] Adding k9 v0.11.6 (latest: v0.12.0) [INFO] [stderr] Adding serde_cbor v0.9.0 (latest: v0.11.2) [INFO] [stderr] Adding sha2 v0.9.9 (latest: v0.10.8) [INFO] [stderr] Adding strsim v0.10.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3fa04b73bddc5c570bd0e042cdb64eac568c64e6ffc78f5aa2ddcc29721372f7 [INFO] running `Command { std: "docker" "start" "-a" "3fa04b73bddc5c570bd0e042cdb64eac568c64e6ffc78f5aa2ddcc29721372f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fa04b73bddc5c570bd0e042cdb64eac568c64e6ffc78f5aa2ddcc29721372f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fa04b73bddc5c570bd0e042cdb64eac568c64e6ffc78f5aa2ddcc29721372f7", kill_on_drop: false }` [INFO] [stdout] 3fa04b73bddc5c570bd0e042cdb64eac568c64e6ffc78f5aa2ddcc29721372f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 703c5c020e154d17aee61618b38a1d21580a8bf5bbb10034813c1325eeef22de [INFO] running `Command { std: "docker" "start" "-a" "703c5c020e154d17aee61618b38a1d21580a8bf5bbb10034813c1325eeef22de", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking convert_case v0.4.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking k9 v0.11.6 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Checking derive_builder v0.11.2 [INFO] [stderr] Checking gull v6.0.2 (/opt/rustwide/workdir) [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/definitions/builders.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn build(self) -> TReference { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | self.d.add(TypeDeclaration { [INFO] [stdout] | ____________________^ [INFO] [stdout] 61 | | name: self.name, [INFO] [stdout] 62 | | docs: self.docs, [INFO] [stdout] 63 | | value: unwrap_opt!(self, value), [INFO] [stdout] 64 | | config: self.config, [INFO] [stdout] 65 | | generic_params: self.generic_params, [INFO] [stdout] 66 | | }) [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/definitions/builders.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | ( $builder:ident, $optional_field:ident ) => {{ [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 8 | | let unwrapped = $builder.$optional_field.clone().expect(&format!( [INFO] [stdout] 9 | | " [INFO] [stdout] 10 | | ``````````````````````````````````````````````` [INFO] [stdout] ... | [INFO] [stdout] 19 | | unwrapped [INFO] [stdout] 20 | | }}; [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn build(self) -> StructField { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | field_type: unwrap_opt!(self, field_type), [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `unwrap_opt` (in Nightly builds, run with -Z macro-backtrace for more info) [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/definitions/builders.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | ( $builder:ident, $optional_field:ident ) => {{ [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 8 | | let unwrapped = $builder.$optional_field.clone().expect(&format!( [INFO] [stdout] 9 | | " [INFO] [stdout] 10 | | ``````````````````````````````````````````````` [INFO] [stdout] ... | [INFO] [stdout] 19 | | unwrapped [INFO] [stdout] 20 | | }}; [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn build(self) -> EnumVariant { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | variant_type: unwrap_opt!(self, variant_type), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `unwrap_opt` (in Nightly builds, run with -Z macro-backtrace for more info) [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/definitions/builders.rs:302:22 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn build_vec>(t: T) -> TVec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 302 | TVec::TPrimitive(t.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/definitions/builders.rs:307:14 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn build_map, V: Into>(k: K, v: V) -> TMap { [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] 306 | TMap { [INFO] [stdout] 307 | key: k.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/definitions/builders.rs:308:16 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn build_map, V: Into>(k: K, v: V) -> TMap { [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] 308 | value: TMapValue::TPrimitive(v.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/definitions/builders.rs:314:22 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn build_set>(t: T) -> TSet { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 314 | TSet::TPrimitive(t.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: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gull` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "703c5c020e154d17aee61618b38a1d21580a8bf5bbb10034813c1325eeef22de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "703c5c020e154d17aee61618b38a1d21580a8bf5bbb10034813c1325eeef22de", kill_on_drop: false }` [INFO] [stdout] 703c5c020e154d17aee61618b38a1d21580a8bf5bbb10034813c1325eeef22de