[INFO] fetching crate pair_macro 0.1.4... [INFO] checking pair_macro-0.1.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate pair_macro 0.1.4 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate pair_macro 0.1.4 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 pair_macro 0.1.4 [INFO] finished tweaking crates.io crate pair_macro 0.1.4 [INFO] tweaked toml for crates.io crate pair_macro 0.1.4 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] 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 14 packages to latest compatible versions [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] [stderr] Blocking waiting for file lock on package cache [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] f011ba22fcbfa766b8f06f594d300a43ed038471da7a6240c26188d22e867acd [INFO] running `Command { std: "docker" "start" "-a" "f011ba22fcbfa766b8f06f594d300a43ed038471da7a6240c26188d22e867acd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f011ba22fcbfa766b8f06f594d300a43ed038471da7a6240c26188d22e867acd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f011ba22fcbfa766b8f06f594d300a43ed038471da7a6240c26188d22e867acd", kill_on_drop: false }` [INFO] [stdout] f011ba22fcbfa766b8f06f594d300a43ed038471da7a6240c26188d22e867acd [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] fb591f978de9586bc7f66857b5935d72febe739de898248f51495720533e523a [INFO] running `Command { std: "docker" "start" "-a" "fb591f978de9586bc7f66857b5935d72febe739de898248f51495720533e523a", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking pair_macro v0.1.4 (/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/lib.rs:209:33 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn from_cloned(value: T) -> $name [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 209 | Self {$($field: value.clone()),*} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 734 | / create_pair!( [INFO] [stdout] 735 | | /// Represents a pair consisting of 2 values. [INFO] [stdout] 736 | | struct Pair; [INFO] [stdout] 737 | | x, [INFO] [stdout] 738 | | y [INFO] [stdout] 739 | | ); [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: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `impl_common_methods` which comes from the expansion of the macro `create_pair` (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/lib.rs:252:34 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn map(self, mut f: F) -> $name [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] 252 | $name {$($field: f(self.$field)),*} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 734 | / create_pair!( [INFO] [stdout] 735 | | /// Represents a pair consisting of 2 values. [INFO] [stdout] 736 | | struct Pair; [INFO] [stdout] 737 | | x, [INFO] [stdout] 738 | | y [INFO] [stdout] 739 | | ); [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 `impl_common_methods` which comes from the expansion of the macro `create_pair` (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/lib.rs:291:34 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn map_entrywise(self, rhs: $name, mut f: F) -> $name [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 291 | $name {$($field: f(self.$field, rhs.$field)),*} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 734 | / create_pair!( [INFO] [stdout] 735 | | /// Represents a pair consisting of 2 values. [INFO] [stdout] 736 | | struct Pair; [INFO] [stdout] 737 | | x, [INFO] [stdout] 738 | | y [INFO] [stdout] 739 | | ); [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 `impl_common_methods` which comes from the expansion of the macro `create_pair` (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/lib.rs:337:17 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn fold(self, init: U, f: F) -> U [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 337 | self.into_iter().fold(init, f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 734 | / create_pair!( [INFO] [stdout] 735 | | /// Represents a pair consisting of 2 values. [INFO] [stdout] 736 | | struct Pair; [INFO] [stdout] 737 | | x, [INFO] [stdout] 738 | | y [INFO] [stdout] 739 | | ); [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 `impl_common_methods` which comes from the expansion of the macro `create_pair` (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/lib.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn into_iter(self) -> impl Iterator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 385 | core::iter::empty() $(.chain(core::iter::once(self.$field)))* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 734 | / create_pair!( [INFO] [stdout] 735 | | /// Represents a pair consisting of 2 values. [INFO] [stdout] 736 | | struct Pair; [INFO] [stdout] 737 | | x, [INFO] [stdout] 738 | | y [INFO] [stdout] 739 | | ); [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 `impl_common_methods` which comes from the expansion of the macro `create_pair` (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/lib.rs:385:46 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn into_iter(self) -> impl Iterator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 385 | core::iter::empty() $(.chain(core::iter::once(self.$field)))* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 734 | / create_pair!( [INFO] [stdout] 735 | | /// Represents a pair consisting of 2 values. [INFO] [stdout] 736 | | struct Pair; [INFO] [stdout] 737 | | x, [INFO] [stdout] 738 | | y [INFO] [stdout] 739 | | ); [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 `impl_common_methods` which comes from the expansion of the macro `create_pair` (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/lib.rs:515:22 [INFO] [stdout] | [INFO] [stdout] 514 | pub fn into_option(self) -> Option<$name> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 515 | Some($name {$($field: self.$field?),*}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 734 | / create_pair!( [INFO] [stdout] 735 | | /// Represents a pair consisting of 2 values. [INFO] [stdout] 736 | | struct Pair; [INFO] [stdout] 737 | | x, [INFO] [stdout] 738 | | y [INFO] [stdout] 739 | | ); [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 `impl_common_methods` which comes from the expansion of the macro `create_pair` (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/lib.rs:539:20 [INFO] [stdout] | [INFO] [stdout] 538 | pub fn into_result(self) -> Result<$name, E> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 539 | Ok($name {$($field: self.$field?),*}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 734 | / create_pair!( [INFO] [stdout] 735 | | /// Represents a pair consisting of 2 values. [INFO] [stdout] 736 | | struct Pair; [INFO] [stdout] 737 | | x, [INFO] [stdout] 738 | | y [INFO] [stdout] 739 | | ); [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 `impl_common_methods` which comes from the expansion of the macro `create_pair` (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/lib.rs:209:33 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn from_cloned(value: T) -> $name [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 209 | Self {$($field: value.clone()),*} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 740 | / create_pair!( [INFO] [stdout] 741 | | /// Represents a pair consisting of 3 values. [INFO] [stdout] 742 | | struct Triplet; [INFO] [stdout] 743 | | x, [INFO] [stdout] 744 | | y, [INFO] [stdout] 745 | | z [INFO] [stdout] 746 | | ); [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 `impl_common_methods` which comes from the expansion of the macro `create_pair` (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/lib.rs:252:34 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn map(self, mut f: F) -> $name [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] 252 | $name {$($field: f(self.$field)),*} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 740 | / create_pair!( [INFO] [stdout] 741 | | /// Represents a pair consisting of 3 values. [INFO] [stdout] 742 | | struct Triplet; [INFO] [stdout] 743 | | x, [INFO] [stdout] 744 | | y, [INFO] [stdout] 745 | | z [INFO] [stdout] 746 | | ); [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 `impl_common_methods` which comes from the expansion of the macro `create_pair` (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/lib.rs:291:34 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn map_entrywise(self, rhs: $name, mut f: F) -> $name [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 291 | $name {$($field: f(self.$field, rhs.$field)),*} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 740 | / create_pair!( [INFO] [stdout] 741 | | /// Represents a pair consisting of 3 values. [INFO] [stdout] 742 | | struct Triplet; [INFO] [stdout] 743 | | x, [INFO] [stdout] 744 | | y, [INFO] [stdout] 745 | | z [INFO] [stdout] 746 | | ); [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 `impl_common_methods` which comes from the expansion of the macro `create_pair` (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/lib.rs:337:17 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn fold(self, init: U, f: F) -> U [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 337 | self.into_iter().fold(init, f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 740 | / create_pair!( [INFO] [stdout] 741 | | /// Represents a pair consisting of 3 values. [INFO] [stdout] 742 | | struct Triplet; [INFO] [stdout] 743 | | x, [INFO] [stdout] 744 | | y, [INFO] [stdout] 745 | | z [INFO] [stdout] 746 | | ); [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 `impl_common_methods` which comes from the expansion of the macro `create_pair` (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/lib.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn into_iter(self) -> impl Iterator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 385 | core::iter::empty() $(.chain(core::iter::once(self.$field)))* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 740 | / create_pair!( [INFO] [stdout] 741 | | /// Represents a pair consisting of 3 values. [INFO] [stdout] 742 | | struct Triplet; [INFO] [stdout] 743 | | x, [INFO] [stdout] 744 | | y, [INFO] [stdout] 745 | | z [INFO] [stdout] 746 | | ); [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 `impl_common_methods` which comes from the expansion of the macro `create_pair` (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/lib.rs:385:46 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn into_iter(self) -> impl Iterator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 385 | core::iter::empty() $(.chain(core::iter::once(self.$field)))* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 740 | / create_pair!( [INFO] [stdout] 741 | | /// Represents a pair consisting of 3 values. [INFO] [stdout] 742 | | struct Triplet; [INFO] [stdout] 743 | | x, [INFO] [stdout] 744 | | y, [INFO] [stdout] 745 | | z [INFO] [stdout] 746 | | ); [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 `impl_common_methods` which comes from the expansion of the macro `create_pair` (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/lib.rs:515:54 [INFO] [stdout] | [INFO] [stdout] 514 | pub fn into_option(self) -> Option<$name> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 515 | Some($name {$($field: self.$field?),*}) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 740 | / create_pair!( [INFO] [stdout] 741 | | /// Represents a pair consisting of 3 values. [INFO] [stdout] 742 | | struct Triplet; [INFO] [stdout] 743 | | x, [INFO] [stdout] 744 | | y, [INFO] [stdout] 745 | | z [INFO] [stdout] 746 | | ); [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 `impl_common_methods` which comes from the expansion of the macro `create_pair` (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/lib.rs:539:52 [INFO] [stdout] | [INFO] [stdout] 538 | pub fn into_result(self) -> Result<$name, E> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 539 | Ok($name {$($field: self.$field?),*}) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 740 | / create_pair!( [INFO] [stdout] 741 | | /// Represents a pair consisting of 3 values. [INFO] [stdout] 742 | | struct Triplet; [INFO] [stdout] 743 | | x, [INFO] [stdout] 744 | | y, [INFO] [stdout] 745 | | z [INFO] [stdout] 746 | | ); [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 `impl_common_methods` which comes from the expansion of the macro `create_pair` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pair_macro` (lib) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "fb591f978de9586bc7f66857b5935d72febe739de898248f51495720533e523a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb591f978de9586bc7f66857b5935d72febe739de898248f51495720533e523a", kill_on_drop: false }` [INFO] [stdout] fb591f978de9586bc7f66857b5935d72febe739de898248f51495720533e523a