[INFO] fetching crate mqtt-procmacro 1.0.0... [INFO] checking mqtt-procmacro-1.0.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate mqtt-procmacro 1.0.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate mqtt-procmacro 1.0.0 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 mqtt-procmacro 1.0.0 [INFO] finished tweaking crates.io crate mqtt-procmacro 1.0.0 [INFO] tweaked toml for crates.io crate mqtt-procmacro 1.0.0 written to /workspace/builds/worker-5-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 17 packages to latest compatible versions [INFO] [stderr] Adding proc-macro-crate v1.3.1 (latest: v3.2.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.20) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.18) [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ed15faa2cbd446875104b7cfce1e54d982724e41082d8915d196367d8d0a34df [INFO] running `Command { std: "docker" "start" "-a" "ed15faa2cbd446875104b7cfce1e54d982724e41082d8915d196367d8d0a34df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed15faa2cbd446875104b7cfce1e54d982724e41082d8915d196367d8d0a34df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed15faa2cbd446875104b7cfce1e54d982724e41082d8915d196367d8d0a34df", kill_on_drop: false }` [INFO] [stdout] ed15faa2cbd446875104b7cfce1e54d982724e41082d8915d196367d8d0a34df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ebdf64f4c4b9caa21314da6602e033d478abbfdaa19e47c72849b770ae09f71d [INFO] running `Command { std: "docker" "start" "-a" "ebdf64f4c4b9caa21314da6602e033d478abbfdaa19e47c72849b770ae09f71d", kill_on_drop: false }` [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking syn v1.0.109 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking proc-macro-error v1.0.4 [INFO] [stderr] Checking proc-macro-crate v1.3.1 [INFO] [stderr] Checking mqtt-procmacro v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 238 | get_attribute_list(attribute).map(|list| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | / list.nested [INFO] [stdout] 240 | | .iter() [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/enum_impl.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 157 | let meta_list = if let Some(attr) = get_mqtt_attribute(&variant.attrs) { [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] 158 | if let Some(list) = get_attribute_list(&attr) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let (mut fields, field_type): (Vec, _) = match &variant.fields { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | let mut not_processed_fields = fields.clone(); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | let (payload_serialize, payload_deserialize) = if let Some(payload) = &payload { [INFO] [stdout] | ----------------- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | let ser = if let Some(override_fun) = override_serialization { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | let override_fun: TokenStream = override_fun.parse().unwrap(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 280 | / quote! { [INFO] [stdout] 281 | | #override_fun(payload, &#ident)?; [INFO] [stdout] 282 | | } [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] 283 | } else { [INFO] [stdout] 284 | / quote! { [INFO] [stdout] 285 | | #crate_name::serde_json_serialize(payload, &#ident)?; [INFO] [stdout] 286 | | } [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] 287 | }; [INFO] [stdout] 288 | | let deser = if let Some(override_fun) = override_deserialization { [INFO] [stdout] | | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | | let override_fun: TokenStream = override_fun.parse().unwrap(); [INFO] [stdout] | | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | / quote! { [INFO] [stdout] 291 | | let #ident = #override_fun(payload)?; [INFO] [stdout] 292 | | } [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] 293 | } else { [INFO] [stdout] 294 | / quote! { [INFO] [stdout] 295 | | let #ident: #ty = #crate_name::serde_json_deserialize(payload)?; [INFO] [stdout] 296 | | } [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] 304 | | let mut topic_push = Vec::new(); [INFO] [stdout] | | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 305 | | let mut topic_parse = Vec::new(); [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 367 | | let variant_name = variant.ident.clone(); [INFO] [stdout] | | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 368 | | [INFO] [stdout] 369 | | let field_names: Vec = fields [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 386 | | let fields_stmt = if FieldType::Named == field_type { [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 387 | | quote! { #enum_name::#variant_name { #(#field_names,)* } } [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] 388 | | } else { [INFO] [stdout] 389 | | quote! { #enum_name::#variant_name ( #(#field_names,)* ) } [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] 392 | let push = quote! { [INFO] [stdout] | _________----___- [INFO] [stdout] | |_________|______| [INFO] [stdout] | |_________|______| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 393 | | #fields_stmt => { [INFO] [stdout] 394 | | #(#topic_push)* [INFO] [stdout] 395 | | #payload_serialize [INFO] [stdout] 396 | | Ok(()) [INFO] [stdout] 397 | | } [INFO] [stdout] 398 | | }; [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 399 | [INFO] [stdout] 400 | | let parse_fn_name = Ident::new( [INFO] [stdout] | | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 405 | let parse_fn = quote! { [INFO] [stdout] | _________--------___- [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 406 | | fn #parse_fn_name<'__topic>(mut topic: impl Iterator, payload: &[u8]) -> Result [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/enum_impl.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | ty: f.ty.clone(), [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/enum_impl.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 178 | ident: Ident::new(&format!("_mqttitem_field_field_{}", idx), variant.span()), [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/enum_impl.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | ty: f.ty.clone(), [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/enum_impl.rs:190:28 [INFO] [stdout] | [INFO] [stdout] 190 | ident: Ident::new( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 191 | | &format!("_mqttitem_field_{}", f.ident.clone().unwrap()), [INFO] [stdout] 192 | | variant.span(), [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/enum_impl.rs:194:27 [INFO] [stdout] | [INFO] [stdout] 194 | name: f.ident.clone().unwrap().to_string(), [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 238 | get_attribute_list(attribute).map(|list| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | / list.nested [INFO] [stdout] 240 | | .iter() [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] [stderr] error: could not compile `mqtt-procmacro` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/enum_impl.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 157 | let meta_list = if let Some(attr) = get_mqtt_attribute(&variant.attrs) { [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] 158 | if let Some(list) = get_attribute_list(&attr) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let (mut fields, field_type): (Vec, _) = match &variant.fields { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | let mut not_processed_fields = fields.clone(); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | let (payload_serialize, payload_deserialize) = if let Some(payload) = &payload { [INFO] [stdout] | ----------------- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | let ser = if let Some(override_fun) = override_serialization { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 279 | let override_fun: TokenStream = override_fun.parse().unwrap(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 280 | / quote! { [INFO] [stdout] 281 | | #override_fun(payload, &#ident)?; [INFO] [stdout] 282 | | } [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] 283 | } else { [INFO] [stdout] 284 | / quote! { [INFO] [stdout] 285 | | #crate_name::serde_json_serialize(payload, &#ident)?; [INFO] [stdout] 286 | | } [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] 287 | }; [INFO] [stdout] 288 | | let deser = if let Some(override_fun) = override_deserialization { [INFO] [stdout] | | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | | let override_fun: TokenStream = override_fun.parse().unwrap(); [INFO] [stdout] | | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | / quote! { [INFO] [stdout] 291 | | let #ident = #override_fun(payload)?; [INFO] [stdout] 292 | | } [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] 293 | } else { [INFO] [stdout] 294 | / quote! { [INFO] [stdout] 295 | | let #ident: #ty = #crate_name::serde_json_deserialize(payload)?; [INFO] [stdout] 296 | | } [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] 304 | | let mut topic_push = Vec::new(); [INFO] [stdout] | | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 305 | | let mut topic_parse = Vec::new(); [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 367 | | let variant_name = variant.ident.clone(); [INFO] [stdout] | | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 368 | | [INFO] [stdout] 369 | | let field_names: Vec = fields [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 386 | | let fields_stmt = if FieldType::Named == field_type { [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 387 | | quote! { #enum_name::#variant_name { #(#field_names,)* } } [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] 388 | | } else { [INFO] [stdout] 389 | | quote! { #enum_name::#variant_name ( #(#field_names,)* ) } [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] 392 | let push = quote! { [INFO] [stdout] | _________----___- [INFO] [stdout] | |_________|______| [INFO] [stdout] | |_________|______| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 393 | | #fields_stmt => { [INFO] [stdout] 394 | | #(#topic_push)* [INFO] [stdout] 395 | | #payload_serialize [INFO] [stdout] 396 | | Ok(()) [INFO] [stdout] 397 | | } [INFO] [stdout] 398 | | }; [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 399 | [INFO] [stdout] 400 | | let parse_fn_name = Ident::new( [INFO] [stdout] | | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 405 | let parse_fn = quote! { [INFO] [stdout] | _________--------___- [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 406 | | fn #parse_fn_name<'__topic>(mut topic: impl Iterator, payload: &[u8]) -> Result [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/enum_impl.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | ty: f.ty.clone(), [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/enum_impl.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 178 | ident: Ident::new(&format!("_mqttitem_field_field_{}", idx), variant.span()), [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/enum_impl.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | ty: f.ty.clone(), [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/enum_impl.rs:190:28 [INFO] [stdout] | [INFO] [stdout] 190 | ident: Ident::new( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 191 | | &format!("_mqttitem_field_{}", f.ident.clone().unwrap()), [INFO] [stdout] 192 | | variant.span(), [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/enum_impl.rs:194:27 [INFO] [stdout] | [INFO] [stdout] 194 | name: f.ident.clone().unwrap().to_string(), [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mqtt-procmacro` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "ebdf64f4c4b9caa21314da6602e033d478abbfdaa19e47c72849b770ae09f71d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebdf64f4c4b9caa21314da6602e033d478abbfdaa19e47c72849b770ae09f71d", kill_on_drop: false }` [INFO] [stdout] ebdf64f4c4b9caa21314da6602e033d478abbfdaa19e47c72849b770ae09f71d