[INFO] fetching crate rubber_duck_macro 0.2.0... [INFO] checking rubber_duck_macro-0.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rubber_duck_macro 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate rubber_duck_macro 0.2.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rubber_duck_macro 0.2.0 [INFO] finished tweaking crates.io crate rubber_duck_macro 0.2.0 [INFO] tweaked toml for crates.io crate rubber_duck_macro 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.37) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.79) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 076264c29e37f18d4754cb46c60df9cd21a01e61f925b28439eaec746922c3cd [INFO] running `Command { std: "docker" "start" "-a" "076264c29e37f18d4754cb46c60df9cd21a01e61f925b28439eaec746922c3cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "076264c29e37f18d4754cb46c60df9cd21a01e61f925b28439eaec746922c3cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "076264c29e37f18d4754cb46c60df9cd21a01e61f925b28439eaec746922c3cd", kill_on_drop: false }` [INFO] [stdout] 076264c29e37f18d4754cb46c60df9cd21a01e61f925b28439eaec746922c3cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d27148c1d66d2eb217ec10cc7be35ee27dee139f1a16a4ae6eb494b04220d8c6 [INFO] running `Command { std: "docker" "start" "-a" "d27148c1d66d2eb217ec10cc7be35ee27dee139f1a16a4ae6eb494b04220d8c6", kill_on_drop: false }` [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking proc-macro2 v0.4.30 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking rubber_duck_macro v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `quote_spanned` [INFO] [stdout] --> src/call.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use quote::{quote, quote_spanned}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syn::spanned::Spanned` [INFO] [stdout] --> src/call.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::spanned::Spanned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExprMethodCall` and `Type` [INFO] [stdout] --> src/call.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::{parse_macro_input, Expr, Ident, Token, Type, ExprMethodCall}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bracketed` and `parenthesized` [INFO] [stdout] --> src/call.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use syn::{braced, bracketed, parenthesized, parse_quote}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syn::ExprCall` [INFO] [stdout] --> src/call.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use syn::ExprCall; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syn::export::ToTokens` [INFO] [stdout] --> src/builder.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::export::ToTokens; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Expr`, `Field`, `Fields`, `Item`, `Lit`, `MetaNameValue`, and `Meta` [INFO] [stdout] --> src/builder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Expr, Field, Fields, GenericArgument, Ident, Item, Lit, Meta, MetaNameValue, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^ ^^^^ ^^^ ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parse_fn::FieldRole` [INFO] [stdout] --> src/builder.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::parse_fn::FieldRole; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parse_fn::FieldRole` [INFO] [stdout] --> src/build.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::parse_fn::FieldRole; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quote::quote` [INFO] [stdout] --> src/parse_fn.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use quote::quote; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quote_spanned` [INFO] [stdout] --> src/call.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use quote::{quote, quote_spanned}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syn::spanned::Spanned` [INFO] [stdout] --> src/call.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::spanned::Spanned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExprMethodCall` and `Type` [INFO] [stdout] --> src/call.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::{parse_macro_input, Expr, Ident, Token, Type, ExprMethodCall}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bracketed` and `parenthesized` [INFO] [stdout] --> src/call.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use syn::{braced, bracketed, parenthesized, parse_quote}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syn::ExprCall` [INFO] [stdout] --> src/call.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use syn::ExprCall; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syn::export::ToTokens` [INFO] [stdout] --> src/builder.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::export::ToTokens; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Expr`, `Field`, `Fields`, `Item`, `Lit`, `MetaNameValue`, and `Meta` [INFO] [stdout] --> src/builder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Expr, Field, Fields, GenericArgument, Ident, Item, Lit, Meta, MetaNameValue, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^ ^^^^ ^^^ ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parse_fn::FieldRole` [INFO] [stdout] --> src/builder.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::parse_fn::FieldRole; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parse_fn::FieldRole` [INFO] [stdout] --> src/build.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::parse_fn::FieldRole; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quote::quote` [INFO] [stdout] --> src/parse_fn.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use quote::quote; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/call.rs:78:57 [INFO] [stdout] | [INFO] [stdout] 78 | brace.surround(&mut braced_tokens, |v|{}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/call.rs:78:57 [INFO] [stdout] | [INFO] [stdout] 78 | brace.surround(&mut braced_tokens, |v|{}); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `TypePath` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/builder.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 27 | fn get_option_type(ty: Type) -> IsOption { [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | match ty { [INFO] [stdout] 29 | Type::Path(ty) => match ty.path.segments.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 `TypePath` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/builder.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 27 | fn get_option_type(ty: Type) -> IsOption { [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | match ty { [INFO] [stdout] 29 | Type::Path(ty) => match ty.path.segments.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 `syn::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/builder.rs:236:32 [INFO] [stdout] | [INFO] [stdout] 172 | let struct_types : Vec = structure.fields [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | let mut fn_types = base_types(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | let option_type = get_option_type(value_type.clone()); [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | / quote!( [INFO] [stdout] 226 | | #[allow(non_camel_case_types)] [INFO] [stdout] 227 | | impl <#(#impl_types),*> #builder_name<#(#struct_types),*> { [INFO] [stdout] 228 | | pub fn #fn_name(self, value: #value_type) -> #builder_name<#(#fn_types),*> { [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | ) [INFO] [stdout] | | - [INFO] [stdout] | |_____________________________| [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | }, [INFO] [stdout] 236 | | IsOption::True(wrapped) => { [INFO] [stdout] | | ^^^^^^^ [INFO] [stdout] 237 | / quote!( [INFO] [stdout] 238 | | #[allow(non_camel_case_types)] [INFO] [stdout] 239 | | impl <#(#impl_types),*> #builder_name<#(#struct_types),*> { [INFO] [stdout] 240 | | pub fn #fn_name>(self, value: VALUE) -> #builder_name<#(#fn_types),*> { [INFO] [stdout] ... | [INFO] [stdout] 246 | | } [INFO] [stdout] 247 | | ) [INFO] [stdout] | | - [INFO] [stdout] | |___________________________| [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `args::Args` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/args.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse_args(args: ::proc_macro::TokenStream) -> Args { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | let upper = format!("#[parsing_wrapper({})]", args); [INFO] [stdout] 9 | let attr = Attribute::parse_outer [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | let mut args = Args { [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] [stderr] error: could not compile `rubber_duck_macro` (lib) due to 4 previous errors; 14 warnings emitted [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/build.rs:28:72 [INFO] [stdout] | [INFO] [stdout] 28 | let p_expr_expanders = structure.positional().enumerate().map(|(i, p)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `ExpressionList` is never constructed [INFO] [stdout] --> src/call.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct ExpressionList { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_builder` is never used [INFO] [stdout] --> src/build.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn gen_builder(structure: &parse_fn::Structure) -> ::proc_macro2::TokenStream { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `syn::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/builder.rs:236:32 [INFO] [stdout] | [INFO] [stdout] 172 | let struct_types : Vec = structure.fields [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | let mut fn_types = base_types(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | let option_type = get_option_type(value_type.clone()); [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | / quote!( [INFO] [stdout] 226 | | #[allow(non_camel_case_types)] [INFO] [stdout] 227 | | impl <#(#impl_types),*> #builder_name<#(#struct_types),*> { [INFO] [stdout] 228 | | pub fn #fn_name(self, value: #value_type) -> #builder_name<#(#fn_types),*> { [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | ) [INFO] [stdout] | | - [INFO] [stdout] | |_____________________________| [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | }, [INFO] [stdout] 236 | | IsOption::True(wrapped) => { [INFO] [stdout] | | ^^^^^^^ [INFO] [stdout] 237 | / quote!( [INFO] [stdout] 238 | | #[allow(non_camel_case_types)] [INFO] [stdout] 239 | | impl <#(#impl_types),*> #builder_name<#(#struct_types),*> { [INFO] [stdout] 240 | | pub fn #fn_name>(self, value: VALUE) -> #builder_name<#(#fn_types),*> { [INFO] [stdout] ... | [INFO] [stdout] 246 | | } [INFO] [stdout] 247 | | ) [INFO] [stdout] | | - [INFO] [stdout] | |___________________________| [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `args::Args` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/args.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse_args(args: ::proc_macro::TokenStream) -> Args { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | let upper = format!("#[parsing_wrapper({})]", args); [INFO] [stdout] 9 | let attr = Attribute::parse_outer [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | let mut args = Args { [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] warning: unused variable: `p` [INFO] [stdout] --> src/build.rs:28:72 [INFO] [stdout] | [INFO] [stdout] 28 | let p_expr_expanders = structure.positional().enumerate().map(|(i, p)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExpressionList` is never constructed [INFO] [stdout] --> src/call.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct ExpressionList { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rubber_duck_macro` (lib test) due to 4 previous errors; 14 warnings emitted [INFO] [stdout] warning: function `gen_builder` is never used [INFO] [stdout] --> src/build.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn gen_builder(structure: &parse_fn::Structure) -> ::proc_macro2::TokenStream { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d27148c1d66d2eb217ec10cc7be35ee27dee139f1a16a4ae6eb494b04220d8c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d27148c1d66d2eb217ec10cc7be35ee27dee139f1a16a4ae6eb494b04220d8c6", kill_on_drop: false }` [INFO] [stdout] d27148c1d66d2eb217ec10cc7be35ee27dee139f1a16a4ae6eb494b04220d8c6