[INFO] fetching crate read-from 0.5.2... [INFO] checking read-from-0.5.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate read-from 0.5.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate read-from 0.5.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 read-from 0.5.2 [INFO] finished tweaking crates.io crate read-from 0.5.2 [INFO] tweaked toml for crates.io crate read-from 0.5.2 written to /workspace/builds/worker-0-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] 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5841dcf42989c0d3f6e87da73c936cd941991177c0a8d50f3e46e470f21f2b82 [INFO] running `Command { std: "docker" "start" "-a" "5841dcf42989c0d3f6e87da73c936cd941991177c0a8d50f3e46e470f21f2b82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5841dcf42989c0d3f6e87da73c936cd941991177c0a8d50f3e46e470f21f2b82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5841dcf42989c0d3f6e87da73c936cd941991177c0a8d50f3e46e470f21f2b82", kill_on_drop: false }` [INFO] [stdout] 5841dcf42989c0d3f6e87da73c936cd941991177c0a8d50f3e46e470f21f2b82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 28994dc840a3a5899a1bb3c01fead42a1b78d63a376a3a83b74a8afd49312e2c [INFO] running `Command { std: "docker" "start" "-a" "28994dc840a3a5899a1bb3c01fead42a1b78d63a376a3a83b74a8afd49312e2c", kill_on_drop: false }` [INFO] [stderr] Checking read-from v0.5.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/lib.rs:139:3 [INFO] [stdout] | [INFO] [stdout] 138 | fn write_to(&self, mut out: W) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | out.write_all(&[*self]).and(Ok(1)) [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/lib.rs:139:31 [INFO] [stdout] | [INFO] [stdout] 138 | fn write_to(&self, mut out: W) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | out.write_all(&[*self]).and(Ok(1)) [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/lib.rs:148:3 [INFO] [stdout] | [INFO] [stdout] 147 | fn write_to(&self, mut out: W) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | out.write_all(&[*self as u8]).and(Ok(1)) [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/lib.rs:148:37 [INFO] [stdout] | [INFO] [stdout] 147 | fn write_to(&self, mut out: W) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | out.write_all(&[*self as u8]).and(Ok(1)) [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/lib.rs:160:6 [INFO] [stdout] | [INFO] [stdout] 158 | fn read_from(mut inp: R) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | let mut buf = [0; $len]; [INFO] [stdout] 160 | inp.read_exact(&mut buf).and(Ok(buf)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | / impl_for_array!( [INFO] [stdout] 176 | | 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [INFO] [stdout] 177 | | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 [INFO] [stdout] 178 | | 64 128 256 512 1024 2048 4096 8192 [INFO] [stdout] 179 | | 50 100 250 500 1000 2500 5000 10000 [INFO] [stdout] 180 | | ); [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_for_array` (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:160:35 [INFO] [stdout] | [INFO] [stdout] 158 | fn read_from(mut inp: R) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | let mut buf = [0; $len]; [INFO] [stdout] 160 | inp.read_exact(&mut buf).and(Ok(buf)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | / impl_for_array!( [INFO] [stdout] 176 | | 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [INFO] [stdout] 177 | | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 [INFO] [stdout] 178 | | 64 128 256 512 1024 2048 4096 8192 [INFO] [stdout] 179 | | 50 100 250 500 1000 2500 5000 10000 [INFO] [stdout] 180 | | ); [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_for_array` (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:168:6 [INFO] [stdout] | [INFO] [stdout] 167 | fn write_to(&self, mut out: W) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | out.write_all(self).and(Ok($len)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | / impl_for_array!( [INFO] [stdout] 176 | | 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [INFO] [stdout] 177 | | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 [INFO] [stdout] 178 | | 64 128 256 512 1024 2048 4096 8192 [INFO] [stdout] 179 | | 50 100 250 500 1000 2500 5000 10000 [INFO] [stdout] 180 | | ); [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_for_array` (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:168:30 [INFO] [stdout] | [INFO] [stdout] 167 | fn write_to(&self, mut out: W) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | out.write_all(self).and(Ok($len)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | / impl_for_array!( [INFO] [stdout] 176 | | 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [INFO] [stdout] 177 | | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 [INFO] [stdout] 178 | | 64 128 256 512 1024 2048 4096 8192 [INFO] [stdout] 179 | | 50 100 250 500 1000 2500 5000 10000 [INFO] [stdout] 180 | | ); [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_for_array` (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:264:6 [INFO] [stdout] | [INFO] [stdout] 261 | fn write_to(&self, mut out: W) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | out.write_all(&self.0.$to_bytes()).and(Ok(size_of::<$ty>())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | / impl_endian_traits!( [INFO] [stdout] 278 | | u8 u16 u32 u64 u128 usize [INFO] [stdout] 279 | | i8 i16 i32 i64 i128 isize [INFO] [stdout] 280 | | f32 f64 [INFO] [stdout] 281 | | ); [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_endian_traits` (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:264:45 [INFO] [stdout] | [INFO] [stdout] 261 | fn write_to(&self, mut out: W) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | out.write_all(&self.0.$to_bytes()).and(Ok(size_of::<$ty>())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | / impl_endian_traits!( [INFO] [stdout] 278 | | u8 u16 u32 u64 u128 usize [INFO] [stdout] 279 | | i8 i16 i32 i64 i128 isize [INFO] [stdout] 280 | | f32 f64 [INFO] [stdout] 281 | | ); [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_endian_traits` (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:264:6 [INFO] [stdout] | [INFO] [stdout] 261 | fn write_to(&self, mut out: W) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | out.write_all(&self.0.$to_bytes()).and(Ok(size_of::<$ty>())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | / impl_endian_traits!( [INFO] [stdout] 278 | | u8 u16 u32 u64 u128 usize [INFO] [stdout] 279 | | i8 i16 i32 i64 i128 isize [INFO] [stdout] 280 | | f32 f64 [INFO] [stdout] 281 | | ); [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_endian_traits` (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:264:45 [INFO] [stdout] | [INFO] [stdout] 261 | fn write_to(&self, mut out: W) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | out.write_all(&self.0.$to_bytes()).and(Ok(size_of::<$ty>())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | / impl_endian_traits!( [INFO] [stdout] 278 | | u8 u16 u32 u64 u128 usize [INFO] [stdout] 279 | | i8 i16 i32 i64 i128 isize [INFO] [stdout] 280 | | f32 f64 [INFO] [stdout] 281 | | ); [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_endian_traits` (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:264:6 [INFO] [stdout] | [INFO] [stdout] 261 | fn write_to(&self, mut out: W) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | out.write_all(&self.0.$to_bytes()).and(Ok(size_of::<$ty>())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | / impl_endian_traits!( [INFO] [stdout] 278 | | u8 u16 u32 u64 u128 usize [INFO] [stdout] 279 | | i8 i16 i32 i64 i128 isize [INFO] [stdout] 280 | | f32 f64 [INFO] [stdout] 281 | | ); [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_endian_traits` (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:264:45 [INFO] [stdout] | [INFO] [stdout] 261 | fn write_to(&self, mut out: W) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | out.write_all(&self.0.$to_bytes()).and(Ok(size_of::<$ty>())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | / impl_endian_traits!( [INFO] [stdout] 278 | | u8 u16 u32 u64 u128 usize [INFO] [stdout] 279 | | i8 i16 i32 i64 i128 isize [INFO] [stdout] 280 | | f32 f64 [INFO] [stdout] 281 | | ); [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_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `read-from` (lib test) due to 15 previous errors [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/lib.rs:139:3 [INFO] [stdout] | [INFO] [stdout] 138 | fn write_to(&self, mut out: W) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | out.write_all(&[*self]).and(Ok(1)) [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/lib.rs:139:31 [INFO] [stdout] | [INFO] [stdout] 138 | fn write_to(&self, mut out: W) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | out.write_all(&[*self]).and(Ok(1)) [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/lib.rs:148:3 [INFO] [stdout] | [INFO] [stdout] 147 | fn write_to(&self, mut out: W) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | out.write_all(&[*self as u8]).and(Ok(1)) [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/lib.rs:148:37 [INFO] [stdout] | [INFO] [stdout] 147 | fn write_to(&self, mut out: W) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | out.write_all(&[*self as u8]).and(Ok(1)) [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/lib.rs:160:6 [INFO] [stdout] | [INFO] [stdout] 158 | fn read_from(mut inp: R) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | let mut buf = [0; $len]; [INFO] [stdout] 160 | inp.read_exact(&mut buf).and(Ok(buf)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | / impl_for_array!( [INFO] [stdout] 176 | | 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [INFO] [stdout] 177 | | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 [INFO] [stdout] 178 | | 64 128 256 512 1024 2048 4096 8192 [INFO] [stdout] 179 | | 50 100 250 500 1000 2500 5000 10000 [INFO] [stdout] 180 | | ); [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_for_array` (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:160:35 [INFO] [stdout] | [INFO] [stdout] 158 | fn read_from(mut inp: R) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | let mut buf = [0; $len]; [INFO] [stdout] 160 | inp.read_exact(&mut buf).and(Ok(buf)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | / impl_for_array!( [INFO] [stdout] 176 | | 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [INFO] [stdout] 177 | | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 [INFO] [stdout] 178 | | 64 128 256 512 1024 2048 4096 8192 [INFO] [stdout] 179 | | 50 100 250 500 1000 2500 5000 10000 [INFO] [stdout] 180 | | ); [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_for_array` (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:168:6 [INFO] [stdout] | [INFO] [stdout] 167 | fn write_to(&self, mut out: W) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | out.write_all(self).and(Ok($len)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | / impl_for_array!( [INFO] [stdout] 176 | | 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [INFO] [stdout] 177 | | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 [INFO] [stdout] 178 | | 64 128 256 512 1024 2048 4096 8192 [INFO] [stdout] 179 | | 50 100 250 500 1000 2500 5000 10000 [INFO] [stdout] 180 | | ); [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_for_array` (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:168:30 [INFO] [stdout] | [INFO] [stdout] 167 | fn write_to(&self, mut out: W) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | out.write_all(self).and(Ok($len)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | / impl_for_array!( [INFO] [stdout] 176 | | 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [INFO] [stdout] 177 | | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 [INFO] [stdout] 178 | | 64 128 256 512 1024 2048 4096 8192 [INFO] [stdout] 179 | | 50 100 250 500 1000 2500 5000 10000 [INFO] [stdout] 180 | | ); [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_for_array` (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:264:6 [INFO] [stdout] | [INFO] [stdout] 261 | fn write_to(&self, mut out: W) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | out.write_all(&self.0.$to_bytes()).and(Ok(size_of::<$ty>())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | / impl_endian_traits!( [INFO] [stdout] 278 | | u8 u16 u32 u64 u128 usize [INFO] [stdout] 279 | | i8 i16 i32 i64 i128 isize [INFO] [stdout] 280 | | f32 f64 [INFO] [stdout] 281 | | ); [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_endian_traits` (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:264:45 [INFO] [stdout] | [INFO] [stdout] 261 | fn write_to(&self, mut out: W) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | out.write_all(&self.0.$to_bytes()).and(Ok(size_of::<$ty>())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | / impl_endian_traits!( [INFO] [stdout] 278 | | u8 u16 u32 u64 u128 usize [INFO] [stdout] 279 | | i8 i16 i32 i64 i128 isize [INFO] [stdout] 280 | | f32 f64 [INFO] [stdout] 281 | | ); [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_endian_traits` (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:264:6 [INFO] [stdout] | [INFO] [stdout] 261 | fn write_to(&self, mut out: W) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | out.write_all(&self.0.$to_bytes()).and(Ok(size_of::<$ty>())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | / impl_endian_traits!( [INFO] [stdout] 278 | | u8 u16 u32 u64 u128 usize [INFO] [stdout] 279 | | i8 i16 i32 i64 i128 isize [INFO] [stdout] 280 | | f32 f64 [INFO] [stdout] 281 | | ); [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_endian_traits` (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:264:45 [INFO] [stdout] | [INFO] [stdout] 261 | fn write_to(&self, mut out: W) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | out.write_all(&self.0.$to_bytes()).and(Ok(size_of::<$ty>())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | / impl_endian_traits!( [INFO] [stdout] 278 | | u8 u16 u32 u64 u128 usize [INFO] [stdout] 279 | | i8 i16 i32 i64 i128 isize [INFO] [stdout] 280 | | f32 f64 [INFO] [stdout] 281 | | ); [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_endian_traits` (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:264:6 [INFO] [stdout] | [INFO] [stdout] 261 | fn write_to(&self, mut out: W) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | out.write_all(&self.0.$to_bytes()).and(Ok(size_of::<$ty>())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | / impl_endian_traits!( [INFO] [stdout] 278 | | u8 u16 u32 u64 u128 usize [INFO] [stdout] 279 | | i8 i16 i32 i64 i128 isize [INFO] [stdout] 280 | | f32 f64 [INFO] [stdout] 281 | | ); [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_endian_traits` (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:264:45 [INFO] [stdout] | [INFO] [stdout] 261 | fn write_to(&self, mut out: W) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | out.write_all(&self.0.$to_bytes()).and(Ok(size_of::<$ty>())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | / impl_endian_traits!( [INFO] [stdout] 278 | | u8 u16 u32 u64 u128 usize [INFO] [stdout] 279 | | i8 i16 i32 i64 i128 isize [INFO] [stdout] 280 | | f32 f64 [INFO] [stdout] 281 | | ); [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_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `read-from` (lib) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "28994dc840a3a5899a1bb3c01fead42a1b78d63a376a3a83b74a8afd49312e2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28994dc840a3a5899a1bb3c01fead42a1b78d63a376a3a83b74a8afd49312e2c", kill_on_drop: false }` [INFO] [stdout] 28994dc840a3a5899a1bb3c01fead42a1b78d63a376a3a83b74a8afd49312e2c