[INFO] fetching crate jam_derive 0.0.1... [INFO] checking jam_derive-0.0.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate jam_derive 0.0.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate jam_derive 0.0.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 jam_derive 0.0.1 [INFO] finished tweaking crates.io crate jam_derive 0.0.1 [INFO] tweaked toml for crates.io crate jam_derive 0.0.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] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding quote v0.3.15 (latest: v1.0.37) [INFO] [stderr] Adding syn v0.11.11 (latest: v2.0.77) [INFO] [stderr] Adding unicode-xid v0.0.4 (latest: v0.2.5) [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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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] 4ab99c5263a3b5caa0d60cf40c44154eb4c7cb62367c0e3ed2823123143e6f9e [INFO] running `Command { std: "docker" "start" "-a" "4ab99c5263a3b5caa0d60cf40c44154eb4c7cb62367c0e3ed2823123143e6f9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ab99c5263a3b5caa0d60cf40c44154eb4c7cb62367c0e3ed2823123143e6f9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ab99c5263a3b5caa0d60cf40c44154eb4c7cb62367c0e3ed2823123143e6f9e", kill_on_drop: false }` [INFO] [stdout] 4ab99c5263a3b5caa0d60cf40c44154eb4c7cb62367c0e3ed2823123143e6f9e [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] 4e73c1b1d5d86188ed906e519d3750f61b0ee75a1424aef5ffcd09737ac45e1e [INFO] running `Command { std: "docker" "start" "-a" "4e73c1b1d5d86188ed906e519d3750f61b0ee75a1424aef5ffcd09737ac45e1e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking unicode-xid v0.0.4 [INFO] [stderr] Checking quote v0.3.15 [INFO] [stderr] Checking synom v0.11.3 [INFO] [stderr] Checking syn v0.11.11 [INFO] [stderr] Checking jam_derive v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Item` and `parse_items` [INFO] [stdout] --> src/lib.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | use syn::{Item, parse_items}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenTree` [INFO] [stdout] --> src/lib.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | use syn::{Field, TokenTree, Variant, Ident, ItemKind, VariantData, Ty, Pat, Mutability, BindingMode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | #![feature(proc_macro, proc_macro_lib)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro_lib` has been stable since 1.15.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | #![feature(proc_macro, proc_macro_lib)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Item` and `parse_items` [INFO] [stdout] --> src/lib.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | use syn::{Item, parse_items}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenTree` [INFO] [stdout] --> src/lib.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | use syn::{Field, TokenTree, Variant, Ident, ItemKind, VariantData, Ty, Pat, Mutability, BindingMode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | #![feature(proc_macro, proc_macro_lib)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro_lib` has been stable since 1.15.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | #![feature(proc_macro, proc_macro_lib)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/lib.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let node = elms.node; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/lib.rs:291:65 [INFO] [stdout] | [INFO] [stdout] 291 | if let Some(syn::ConstExpr::Other(syn::Expr { ref node, ref attrs })) = first_variant.discriminant { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `attrs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/lib.rs:293:44 [INFO] [stdout] | [INFO] [stdout] 293 | let &syn::Expr { ref node, ref attrs} = expr.as_ref(); [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `attrs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/lib.rs:296:48 [INFO] [stdout] | [INFO] [stdout] 296 | let &syn::Expr { ref node, ref attrs} = exprs.first().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `attrs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/lib.rs:298:59 [INFO] [stdout] | [INFO] [stdout] 298 | if let &syn::ExprKind::Mac(syn::Mac { ref path, ref tts }) = node { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/lib.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let node = elms.node; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | ParseError(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 53 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IdentNotFound` is never constructed [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 52 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 55 | IdentNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/lib.rs:326:4 [INFO] [stdout] | [INFO] [stdout] 326 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `segments:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:102:59 [INFO] [stdout] | [INFO] [stdout] 102 | if let Ty::Path(_, syn::Path { global: _, segments: ref segments}) = field.ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `ref segments` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_shorthand_field_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `ident:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:103:53 [INFO] [stdout] | [INFO] [stdout] 103 | if let Some(&syn::PathSegment { ident: ref ident, parameters: _ }) = segments.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `ref ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `segments:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:122:44 [INFO] [stdout] | [INFO] [stdout] 122 | if let Some(syn::Path { global: _, segments: segments }) = path { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `segments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `ident:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | if let Some(&syn::PathSegment { ident: ref ident, parameters: _ }) = segments.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `ref ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `segments:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:130:51 [INFO] [stdout] | [INFO] [stdout] 130 | if let Ty::Path(_, syn::Path { global: _, segments: segments}) = *ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `segments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `ident:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:131:45 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(&syn::PathSegment { ident: ref ident, parameters: _ }) = segments.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `ref ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `segments:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:167:67 [INFO] [stdout] | [INFO] [stdout] 167 | if let Ty::Path(_, syn::Path { global: _, segments: segments}) = ty.clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `segments` [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:323:5 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn derive_rpc(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 287 | let ast = syn::parse_macro_input(&input.to_string()).unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 323 | tokens.parse().unwrap() [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: aborting due to 1 previous error; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jam_derive` (lib) due to 2 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/lib.rs:291:65 [INFO] [stdout] | [INFO] [stdout] 291 | if let Some(syn::ConstExpr::Other(syn::Expr { ref node, ref attrs })) = first_variant.discriminant { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `attrs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/lib.rs:293:44 [INFO] [stdout] | [INFO] [stdout] 293 | let &syn::Expr { ref node, ref attrs} = expr.as_ref(); [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `attrs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/lib.rs:296:48 [INFO] [stdout] | [INFO] [stdout] 296 | let &syn::Expr { ref node, ref attrs} = exprs.first().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `attrs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/lib.rs:298:59 [INFO] [stdout] | [INFO] [stdout] 298 | if let &syn::ExprKind::Mac(syn::Mac { ref path, ref tts }) = node { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | ParseError(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 53 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IdentNotFound` is never constructed [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 52 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 55 | IdentNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `segments:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:102:59 [INFO] [stdout] | [INFO] [stdout] 102 | if let Ty::Path(_, syn::Path { global: _, segments: ref segments}) = field.ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `ref segments` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_shorthand_field_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `ident:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:103:53 [INFO] [stdout] | [INFO] [stdout] 103 | if let Some(&syn::PathSegment { ident: ref ident, parameters: _ }) = segments.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `ref ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `segments:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:122:44 [INFO] [stdout] | [INFO] [stdout] 122 | if let Some(syn::Path { global: _, segments: segments }) = path { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `segments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `ident:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | if let Some(&syn::PathSegment { ident: ref ident, parameters: _ }) = segments.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `ref ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `segments:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:130:51 [INFO] [stdout] | [INFO] [stdout] 130 | if let Ty::Path(_, syn::Path { global: _, segments: segments}) = *ty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `segments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `ident:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:131:45 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(&syn::PathSegment { ident: ref ident, parameters: _ }) = segments.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `ref ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `segments:` in this pattern is redundant [INFO] [stdout] --> src/lib.rs:167:67 [INFO] [stdout] | [INFO] [stdout] 167 | if let Ty::Path(_, syn::Path { global: _, segments: segments}) = ty.clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use shorthand field pattern: `segments` [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:323:5 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn derive_rpc(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 287 | let ast = syn::parse_macro_input(&input.to_string()).unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 323 | tokens.parse().unwrap() [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: aborting due to 1 previous error; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jam_derive` (lib test) due to 2 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4e73c1b1d5d86188ed906e519d3750f61b0ee75a1424aef5ffcd09737ac45e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e73c1b1d5d86188ed906e519d3750f61b0ee75a1424aef5ffcd09737ac45e1e", kill_on_drop: false }` [INFO] [stdout] 4e73c1b1d5d86188ed906e519d3750f61b0ee75a1424aef5ffcd09737ac45e1e