[INFO] fetching crate serde_with 3.9.0... [INFO] checking serde_with-3.9.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate serde_with 3.9.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate serde_with 3.9.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate serde_with 3.9.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate serde_with 3.9.0 [INFO] tweaked toml for crates.io crate serde_with 3.9.0 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 142 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding jsonschema v0.18.3 (available: v0.20.0) [INFO] [stderr] Adding pulldown-cmark v0.9.6 (available: v0.12.1) [INFO] [stderr] Adding toml v0.7.8 (available: v0.8.19) [INFO] [stderr] Adding toml_edit v0.19.15 (available: v0.22.22) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding winnow v0.5.40 (available: v0.6.20) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aaa0cd200f51399264a524dcfa91183fd5413fe90573bb764b9728f17d60a8aa [INFO] running `Command { std: "docker" "start" "-a" "aaa0cd200f51399264a524dcfa91183fd5413fe90573bb764b9728f17d60a8aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aaa0cd200f51399264a524dcfa91183fd5413fe90573bb764b9728f17d60a8aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaa0cd200f51399264a524dcfa91183fd5413fe90573bb764b9728f17d60a8aa", kill_on_drop: false }` [INFO] [stdout] aaa0cd200f51399264a524dcfa91183fd5413fe90573bb764b9728f17d60a8aa [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9d40204595c229347b7899d7ca29cdf2350704809b3c53b3579804f63fe20de [INFO] running `Command { std: "docker" "start" "-a" "b9d40204595c229347b7899d7ca29cdf2350704809b3c53b3579804f63fe20de", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking fraction v0.15.3 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking iso8601 v0.6.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking num-cmp v0.1.0 [INFO] [stderr] Checking expect-test v1.5.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde-xml-rs v0.6.0 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking serde_with v3.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/content/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-W unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking jsonschema v0.18.3 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking version-sync v0.9.5 [INFO] [stdout] error: this value of type `core::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/content/de.rs:1019:15 [INFO] [stdout] | [INFO] [stdout] 1015 | fn next_element_seed(&mut self, seed: T) -> Result, Self::Error> [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1019 | match self.iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `core::option::Option<(content::de::Content<'_>, content::de::Content<'_>)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/content/de.rs:1066:15 [INFO] [stdout] | [INFO] [stdout] 1062 | fn next_key_seed(&mut self, seed: T) -> Result, Self::Error> [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1066 | match self.iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `core::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/content/de.rs:1080:15 [INFO] [stdout] | [INFO] [stdout] 1076 | fn next_value_seed(&mut self, seed: T) -> Result [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1080 | match self.value.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::collections::hash_map::Entry<'_, K, V>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/duplicate_key_impls/first_value_wins.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 25 | fn insert(&mut self, key: K, value: V) { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | match self.entry(key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `alloc::collections::btree_map::Entry<'_, K, V>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/duplicate_key_impls/first_value_wins.rs:135:15 [INFO] [stdout] | [INFO] [stdout] 132 | fn insert(&mut self, key: K, value: V) { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | match self.entry(key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `core::option::Option<>::Value>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/enum_map.rs:836:15 [INFO] [stdout] | [INFO] [stdout] 832 | fn variant_seed(mut self, seed: T) -> Result<(T::Value, Self::Variant), Self::Error> [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 836 | match self.delegate.next_key_seed(seed)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `core::result::Result, BorrowError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ser/impls.rs:267:15 [INFO] [stdout] | [INFO] [stdout] 263 | fn serialize_as(source: &RefCell, serializer: S) -> Result [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 267 | match source.try_borrow() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `core::result::Result, PoisonError>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ser/impls.rs:283:15 [INFO] [stdout] | [INFO] [stdout] 279 | fn serialize_as(source: &Mutex, serializer: S) -> Result [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 283 | match source.lock() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `core::result::Result, PoisonError>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ser/impls.rs:299:15 [INFO] [stdout] | [INFO] [stdout] 295 | fn serialize_as(source: &RwLock, serializer: S) -> Result [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 299 | match source.read() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `U` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ser/impls.rs:948:9 [INFO] [stdout] | [INFO] [stdout] 944 | fn serialize_as(source: &T, serializer: S) -> Result [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 948 | / source [INFO] [stdout] 949 | | .clone() [INFO] [stdout] 950 | | .try_into() [INFO] [stdout] 951 | | .map_err(S::Error::custom)? [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `U` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ser/impls.rs:979:9 [INFO] [stdout] | [INFO] [stdout] 975 | fn serialize_as(source: &T, serializer: S) -> Result [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 979 | / source [INFO] [stdout] 980 | | .try_into() [INFO] [stdout] 981 | | .map_err(S::Error::custom)? [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 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serde_with` (lib) due to 12 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/content/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-W unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `core::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/content/de.rs:1019:15 [INFO] [stdout] | [INFO] [stdout] 1015 | fn next_element_seed(&mut self, seed: T) -> Result, Self::Error> [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1019 | match self.iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `core::option::Option<(content::de::Content<'_>, content::de::Content<'_>)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/content/de.rs:1066:15 [INFO] [stdout] | [INFO] [stdout] 1062 | fn next_key_seed(&mut self, seed: T) -> Result, Self::Error> [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1066 | match self.iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `core::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/content/de.rs:1080:15 [INFO] [stdout] | [INFO] [stdout] 1076 | fn next_value_seed(&mut self, seed: T) -> Result [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1080 | match self.value.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::collections::hash_map::Entry<'_, K, V>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/duplicate_key_impls/first_value_wins.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 25 | fn insert(&mut self, key: K, value: V) { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | match self.entry(key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `alloc::collections::btree_map::Entry<'_, K, V>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/duplicate_key_impls/first_value_wins.rs:135:15 [INFO] [stdout] | [INFO] [stdout] 132 | fn insert(&mut self, key: K, value: V) { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | match self.entry(key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `core::option::Option<>::Value>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/enum_map.rs:836:15 [INFO] [stdout] | [INFO] [stdout] 832 | fn variant_seed(mut self, seed: T) -> Result<(T::Value, Self::Variant), Self::Error> [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 836 | match self.delegate.next_key_seed(seed)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `core::result::Result, BorrowError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ser/impls.rs:267:15 [INFO] [stdout] | [INFO] [stdout] 263 | fn serialize_as(source: &RefCell, serializer: S) -> Result [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 267 | match source.try_borrow() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `core::result::Result, PoisonError>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ser/impls.rs:283:15 [INFO] [stdout] | [INFO] [stdout] 279 | fn serialize_as(source: &Mutex, serializer: S) -> Result [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 283 | match source.lock() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `core::result::Result, PoisonError>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ser/impls.rs:299:15 [INFO] [stdout] | [INFO] [stdout] 295 | fn serialize_as(source: &RwLock, serializer: S) -> Result [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 299 | match source.read() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `U` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ser/impls.rs:948:9 [INFO] [stdout] | [INFO] [stdout] 944 | fn serialize_as(source: &T, serializer: S) -> Result [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 948 | / source [INFO] [stdout] 949 | | .clone() [INFO] [stdout] 950 | | .try_into() [INFO] [stdout] 951 | | .map_err(S::Error::custom)? [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `U` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ser/impls.rs:979:9 [INFO] [stdout] | [INFO] [stdout] 975 | fn serialize_as(source: &T, serializer: S) -> Result [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 979 | / source [INFO] [stdout] 980 | | .try_into() [INFO] [stdout] 981 | | .map_err(S::Error::custom)? [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 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serde_with` (lib test) due to 12 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b9d40204595c229347b7899d7ca29cdf2350704809b3c53b3579804f63fe20de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9d40204595c229347b7899d7ca29cdf2350704809b3c53b3579804f63fe20de", kill_on_drop: false }` [INFO] [stdout] b9d40204595c229347b7899d7ca29cdf2350704809b3c53b3579804f63fe20de