[INFO] fetching crate serde-ignored-fields 0.1.1... [INFO] checking serde-ignored-fields-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate serde-ignored-fields 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate serde-ignored-fields 0.1.1 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 serde-ignored-fields 0.1.1 [INFO] finished tweaking crates.io crate serde-ignored-fields 0.1.1 [INFO] tweaked toml for crates.io crate serde-ignored-fields 0.1.1 written to /workspace/builds/worker-7-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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 55 packages to latest compatible versions [INFO] [stderr] Adding libyml v0.0.3 (latest: v0.0.5) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding serde_yml v0.0.10 (latest: v0.0.12) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] cc5b6cfcac7f8eb147be6762cfd004d77add20bcaee05e0147190b686b5a4c18 [INFO] running `Command { std: "docker" "start" "-a" "cc5b6cfcac7f8eb147be6762cfd004d77add20bcaee05e0147190b686b5a4c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc5b6cfcac7f8eb147be6762cfd004d77add20bcaee05e0147190b686b5a4c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc5b6cfcac7f8eb147be6762cfd004d77add20bcaee05e0147190b686b5a4c18", kill_on_drop: false }` [INFO] [stdout] cc5b6cfcac7f8eb147be6762cfd004d77add20bcaee05e0147190b686b5a4c18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0dc9513536fec594d3144f95621871e5549c10e6be0299da7f4b5b2a87e0f143 [INFO] running `Command { std: "docker" "start" "-a" "0dc9513536fec594d3144f95621871e5549c10e6be0299da7f4b5b2a87e0f143", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling assert2-macros v0.3.15 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking assert2 v0.3.15 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking serde-ignored-fields v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml_edit v0.22.20 [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:132:20 [INFO] [stdout] | [INFO] [stdout] 131 | fn from(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | Self::new(value, U::default()) [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/deserialize.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 9 | 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] 10 | let mut ignored_fields = U::default(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | let value = T::deserialize(Wrap::new(deserializer, &mut ignored_fields))?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | Ok(Self { value, ignored_fields }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/deserialize.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 183 | fn new(parent: M, ignored_fields: &'a mut IgnoredFields, error: &'a mut Option) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | Self { [INFO] [stdout] 185 | parent: Some(parent), [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/deserialize.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 183 | fn new(parent: M, ignored_fields: &'a mut IgnoredFields, error: &'a mut Option) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | last_key: None, [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/deserialize.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 208 | fn next_key_seed>(&mut self, seed: K) -> Result, Self::Error> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 227 | match parent.next_key_seed(CaptureKey::new(seed, &mut self.last_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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/deserialize.rs:301:26 [INFO] [stdout] | [INFO] [stdout] 300 | fn deserialize>(self, 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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 301 | self.inner.deserialize(CaptureKey::new(deserializer, self.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/deserialize.rs:416:43 [INFO] [stdout] | [INFO] [stdout] 416 | *self.key = inner_key.map(|x| Key::Some(Box::new(x))); [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/deserialize.rs:429:52 [INFO] [stdout] | [INFO] [stdout] 429 | *self.key = inner_key.map(|x| Key::NewTypeStruct(Box::new(x))); [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/deserialize.rs:481:17 [INFO] [stdout] | [INFO] [stdout] 479 | fn deserialize>(self, 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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 480 | self.inner [INFO] [stdout] 481 | .deserialize(CaptureIgnored::new(deserializer, self.key, self.ignored_fields)) [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/serialize.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 8 | fn serialize(&self, serializer: S) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | self.value.serialize(Serializer::new(serializer, &self.ignored_fields)) [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/serialize.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 44 | fn serialize_bool(self, _v: bool) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 46 | | "invalid type `bool`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 47 | | )) [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/serialize.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 50 | fn serialize_i8(self, _v: i8) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 52 | | "invalid type `i8`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 53 | | )) [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/serialize.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 56 | fn serialize_i16(self, _v: i16) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 58 | | "invalid type `i16`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 59 | | )) [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/serialize.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 62 | fn serialize_i32(self, _v: i32) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 64 | | "invalid type `i32`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 65 | | )) [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/serialize.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 68 | fn serialize_i64(self, _v: i64) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 70 | | "invalid type `i64`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 71 | | )) [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/serialize.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 74 | fn serialize_i128(self, _v: i128) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 76 | | "invalid type `i128`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 77 | | )) [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/serialize.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 80 | fn serialize_u8(self, _v: u8) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 82 | | "invalid type `u8`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 83 | | )) [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/serialize.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 86 | fn serialize_u16(self, _v: u16) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 88 | | "invalid type `u16`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 89 | | )) [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/serialize.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 92 | fn serialize_u32(self, _v: u32) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 94 | | "invalid type `u32`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 95 | | )) [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/serialize.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 98 | fn serialize_u64(self, _v: u64) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 100 | | "invalid type `u64`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 101 | | )) [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/serialize.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 104 | fn serialize_u128(self, _v: u128) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 106 | | "invalid type `u128`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 107 | | )) [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/serialize.rs:111:7 [INFO] [stdout] | [INFO] [stdout] 110 | fn serialize_f32(self, _v: f32) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 112 | | "invalid type `f32`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 113 | | )) [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/serialize.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 116 | fn serialize_f64(self, _v: f64) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 118 | | "invalid type `f64`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 119 | | )) [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/serialize.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 122 | fn serialize_char(self, _v: char) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 124 | | "invalid type `char`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 125 | | )) [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/serialize.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 128 | fn serialize_str(self, _v: &str) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 130 | | "invalid type `str`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 131 | | )) [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/serialize.rs:135:7 [INFO] [stdout] | [INFO] [stdout] 134 | fn serialize_bytes(self, _v: &[u8]) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 136 | | "invalid type `bytes`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 137 | | )) [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/serialize.rs:171:7 [INFO] [stdout] | [INFO] [stdout] 166 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 172 | | "invalid type `enum`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 173 | | )) [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/serialize.rs:191:7 [INFO] [stdout] | [INFO] [stdout] 185 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 192 | | "invalid type `enum`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 193 | | )) [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/serialize.rs:197:7 [INFO] [stdout] | [INFO] [stdout] 196 | fn serialize_seq(self, _len: Option) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 198 | | "invalid type `sequence`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 199 | | )) [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/serialize.rs:203:7 [INFO] [stdout] | [INFO] [stdout] 202 | fn serialize_tuple(self, _len: usize) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 204 | | "invalid type `tuple`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 205 | | )) [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/serialize.rs:213:7 [INFO] [stdout] | [INFO] [stdout] 209 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 214 | | "invalid type `tuple`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 215 | | )) [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/serialize.rs:225:7 [INFO] [stdout] | [INFO] [stdout] 219 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 226 | | "invalid type `enum`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 227 | | )) [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/serialize.rs:233:6 [INFO] [stdout] | [INFO] [stdout] 230 | fn serialize_map(self, len: Option) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 231 | let len = len.map(|x| x + self.ignored_fields.len()); [INFO] [stdout] 232 | let map = self.inner.serialize_map(len)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | Ok(Serializer::new(map, self.ignored_fields)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/serialize.rs:238:6 [INFO] [stdout] | [INFO] [stdout] 236 | fn serialize_struct(self, _name: &'static str, len: usize) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 237 | let map = self.inner.serialize_map(Some(len + self.ignored_fields.len()))?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | Ok(Serializer::new(map, self.ignored_fields)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = 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/serialize.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 242 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | Err(serde::ser::Error::custom( [INFO] [stdout] | _____________^ [INFO] [stdout] 249 | | "invalid type `enum`: can only re-serialize a map or struct with ignored fields", [INFO] [stdout] 250 | | )) [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 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serde-ignored-fields` (lib) due to 36 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0dc9513536fec594d3144f95621871e5549c10e6be0299da7f4b5b2a87e0f143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dc9513536fec594d3144f95621871e5549c10e6be0299da7f4b5b2a87e0f143", kill_on_drop: false }` [INFO] [stdout] 0dc9513536fec594d3144f95621871e5549c10e6be0299da7f4b5b2a87e0f143