[INFO] fetching crate binserde 0.1.7... [INFO] checking binserde-0.1.7 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate binserde 0.1.7 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate binserde 0.1.7 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 binserde 0.1.7 [INFO] finished tweaking crates.io crate binserde 0.1.7 [INFO] tweaked toml for crates.io crate binserde 0.1.7 written to /workspace/builds/worker-4-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 16 packages to latest compatible versions [INFO] [stderr] Adding darling v0.10.2 (latest: v0.20.10) [INFO] [stderr] Adding darling_core v0.10.2 (latest: v0.20.10) [INFO] [stderr] Adding darling_macro v0.10.2 (latest: v0.20.10) [INFO] [stderr] Adding strsim v0.9.3 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b572e4ba8936073a759e5e05c4b747f55da484af9bf467738ea17985d3b101ea [INFO] running `Command { std: "docker" "start" "-a" "b572e4ba8936073a759e5e05c4b747f55da484af9bf467738ea17985d3b101ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b572e4ba8936073a759e5e05c4b747f55da484af9bf467738ea17985d3b101ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b572e4ba8936073a759e5e05c4b747f55da484af9bf467738ea17985d3b101ea", kill_on_drop: false }` [INFO] [stdout] b572e4ba8936073a759e5e05c4b747f55da484af9bf467738ea17985d3b101ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 699ebb1a15bf0739d5c56329e6fc6beb65a64d6b796381832994e8327cbfba41 [INFO] running `Command { std: "docker" "start" "-a" "699ebb1a15bf0739d5c56329e6fc6beb65a64d6b796381832994e8327cbfba41", kill_on_drop: false }` [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling binserde_derive v0.1.4 [INFO] [stderr] Checking binserde v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn serialize_iter(mut iter: I, mut serializer: S) -> Result<()> [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_str` is never used [INFO] [stdout] --> src/write_ext.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait WriteExt { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 10 | fn write_str(&mut self, s: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_str` is never used [INFO] [stdout] --> src/write_ext.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait ReadExt { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 40 | fn read_str(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^ [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/serdeimpl.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 207 | fn deserialize>(mut deserializer: D) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 219 | Ok(unsafe { std::mem::transmute_copy(&arr) }) [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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 331 | impl_tuple! { A B } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 332 | impl_tuple! { A B C } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 333 | impl_tuple! { A B C D } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 334 | impl_tuple! { A B C D E } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 335 | impl_tuple! { A B C D E F } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 336 | impl_tuple! { A B C D E F G } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 337 | impl_tuple! { A B C D E F G H } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 338 | impl_tuple! { A B C D E F G H I } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 339 | impl_tuple! { A B C D E F G H I J } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 340 | impl_tuple! { A B C D E F G H I J K } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_tuple! { A B C D E F G H I J K L } [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_tuple` (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/serdeimpl.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 385 | fn deserialize>(mut deserializer: D) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 386 | let variant = u8::deserialize(&mut deserializer)?; [INFO] [stdout] 387 | Ok(match variant { [INFO] [stdout] | ____________^ [INFO] [stdout] 388 | | 0 => None, [INFO] [stdout] 389 | | 1 => Some(T::deserialize(deserializer)?), [INFO] [stdout] 390 | | x @ _ => Err(Error::custom(format!("invalid enum variant index {}", x)))?, [INFO] [stdout] 391 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/serdeimpl.rs:421:12 [INFO] [stdout] | [INFO] [stdout] 419 | fn deserialize>(mut deserializer: D) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 420 | let variant = u8::deserialize(&mut deserializer)?; [INFO] [stdout] 421 | Ok(match variant { [INFO] [stdout] | ____________^ [INFO] [stdout] 422 | | 0 => Ok(T::deserialize(deserializer)?), [INFO] [stdout] 423 | | 1 => Err(R::deserialize(deserializer)?), [INFO] [stdout] 424 | | x @ _ => Err(Error::custom(format!("invalid enum variant index {}", x)))?, [INFO] [stdout] 425 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/serdeimpl.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 433 | fn serialize(&self, serializer: S) -> Result<(), Error> { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 434 | / self.try_borrow() [INFO] [stdout] 435 | | .map_err(|e| Error::custom(e))? [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/serdeimpl.rs:445:12 [INFO] [stdout] | [INFO] [stdout] 444 | fn deserialize>(deserializer: D) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 445 | Ok(RefCell::new(T::deserialize(deserializer)?)) [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/serdeimpl.rs:463:12 [INFO] [stdout] | [INFO] [stdout] 462 | fn deserialize>(deserializer: D) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 463 | Ok(Cell::new(T::deserialize(deserializer)?)) [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/serdeimpl.rs:483:12 [INFO] [stdout] | [INFO] [stdout] 482 | fn deserialize>(deserializer: D) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 483 | Ok(Cow::Owned(BinDeserialize::deserialize(deserializer)?)) [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/util.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(mut deserializer: D) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let len = usize::deserialize(&mut deserializer)?; [INFO] [stdout] 18 | Ok(VecLikeIter { [INFO] [stdout] | ____________^ [INFO] [stdout] 19 | | deserializer, [INFO] [stdout] 20 | | remaining: len, [INFO] [stdout] 21 | | marker: Default::default(), [INFO] [stdout] 22 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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 19 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `binserde` (lib test) due to 20 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn serialize_iter(mut iter: I, mut serializer: S) -> Result<()> [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_str` is never used [INFO] [stdout] --> src/write_ext.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait WriteExt { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 10 | fn write_str(&mut self, s: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_str` is never used [INFO] [stdout] --> src/write_ext.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait ReadExt { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 40 | fn read_str(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^ [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/serdeimpl.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 207 | fn deserialize>(mut deserializer: D) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 219 | Ok(unsafe { std::mem::transmute_copy(&arr) }) [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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 331 | impl_tuple! { A B } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 332 | impl_tuple! { A B C } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 333 | impl_tuple! { A B C D } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 334 | impl_tuple! { A B C D E } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 335 | impl_tuple! { A B C D E F } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 336 | impl_tuple! { A B C D E F G } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 337 | impl_tuple! { A B C D E F G H } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 338 | impl_tuple! { A B C D E F G H I } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 339 | impl_tuple! { A B C D E F G H I J } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 340 | impl_tuple! { A B C D E F G H I J K } [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_tuple` (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/serdeimpl.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 321 | mut deserializer: De [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | ) -> Result { [INFO] [stdout] 323 | Ok(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 324 | | $($tp::deserialize(&mut deserializer)?),+ [INFO] [stdout] 325 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 341 | impl_tuple! { A B C D E F G H I J K L } [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_tuple` (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/serdeimpl.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 385 | fn deserialize>(mut deserializer: D) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 386 | let variant = u8::deserialize(&mut deserializer)?; [INFO] [stdout] 387 | Ok(match variant { [INFO] [stdout] | ____________^ [INFO] [stdout] 388 | | 0 => None, [INFO] [stdout] 389 | | 1 => Some(T::deserialize(deserializer)?), [INFO] [stdout] 390 | | x @ _ => Err(Error::custom(format!("invalid enum variant index {}", x)))?, [INFO] [stdout] 391 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/serdeimpl.rs:421:12 [INFO] [stdout] | [INFO] [stdout] 419 | fn deserialize>(mut deserializer: D) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 420 | let variant = u8::deserialize(&mut deserializer)?; [INFO] [stdout] 421 | Ok(match variant { [INFO] [stdout] | ____________^ [INFO] [stdout] 422 | | 0 => Ok(T::deserialize(deserializer)?), [INFO] [stdout] 423 | | 1 => Err(R::deserialize(deserializer)?), [INFO] [stdout] 424 | | x @ _ => Err(Error::custom(format!("invalid enum variant index {}", x)))?, [INFO] [stdout] 425 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/serdeimpl.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 433 | fn serialize(&self, serializer: S) -> Result<(), Error> { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 434 | / self.try_borrow() [INFO] [stdout] 435 | | .map_err(|e| Error::custom(e))? [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/serdeimpl.rs:445:12 [INFO] [stdout] | [INFO] [stdout] 444 | fn deserialize>(deserializer: D) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 445 | Ok(RefCell::new(T::deserialize(deserializer)?)) [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/serdeimpl.rs:463:12 [INFO] [stdout] | [INFO] [stdout] 462 | fn deserialize>(deserializer: D) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 463 | Ok(Cell::new(T::deserialize(deserializer)?)) [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/serdeimpl.rs:483:12 [INFO] [stdout] | [INFO] [stdout] 482 | fn deserialize>(deserializer: D) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 483 | Ok(Cow::Owned(BinDeserialize::deserialize(deserializer)?)) [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/util.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(mut deserializer: D) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let len = usize::deserialize(&mut deserializer)?; [INFO] [stdout] 18 | Ok(VecLikeIter { [INFO] [stdout] | ____________^ [INFO] [stdout] 19 | | deserializer, [INFO] [stdout] 20 | | remaining: len, [INFO] [stdout] 21 | | marker: Default::default(), [INFO] [stdout] 22 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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 19 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `binserde` (lib) due to 20 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "699ebb1a15bf0739d5c56329e6fc6beb65a64d6b796381832994e8327cbfba41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "699ebb1a15bf0739d5c56329e6fc6beb65a64d6b796381832994e8327cbfba41", kill_on_drop: false }` [INFO] [stdout] 699ebb1a15bf0739d5c56329e6fc6beb65a64d6b796381832994e8327cbfba41