[INFO] fetching crate command-rpc 0.1.12... [INFO] checking command-rpc-0.1.12 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate command-rpc 0.1.12 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate command-rpc 0.1.12 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 command-rpc 0.1.12 [INFO] finished tweaking crates.io crate command-rpc 0.1.12 [INFO] tweaked toml for crates.io crate command-rpc 0.1.12 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 5 packages to latest compatible versions [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: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `command_rpc` library target) [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] 00cfb086448777c7c608e30971ee03dd736477ffe014c5724de2286c4b6088f6 [INFO] running `Command { std: "docker" "start" "-a" "00cfb086448777c7c608e30971ee03dd736477ffe014c5724de2286c4b6088f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00cfb086448777c7c608e30971ee03dd736477ffe014c5724de2286c4b6088f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00cfb086448777c7c608e30971ee03dd736477ffe014c5724de2286c4b6088f6", kill_on_drop: false }` [INFO] [stdout] 00cfb086448777c7c608e30971ee03dd736477ffe014c5724de2286c4b6088f6 [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] 7ea20fc92790fb8b203a6c04402073b5ade18740f1c1314825430ed02a3d9a85 [INFO] running `Command { std: "docker" "start" "-a" "7ea20fc92790fb8b203a6c04402073b5ade18740f1c1314825430ed02a3d9a85", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `command_rpc` library target) [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking command-rpc v0.1.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parse_quote` [INFO] [stdout] --> src/build_nested.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | Token, parse_quote, Variant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `callback` [INFO] [stdout] --> src/lib.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | macro_rules! callback { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `parse` [INFO] [stdout] --> src/lib.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | macro_rules! parse { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_quote` [INFO] [stdout] --> src/build_nested.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | Token, parse_quote, Variant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `callback` [INFO] [stdout] --> src/lib.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | macro_rules! callback { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `parse` [INFO] [stdout] --> src/lib.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | macro_rules! parse { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `same` [INFO] [stdout] --> src/build_nested.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut same = false; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_same` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/build_nested.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut same = false; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `same` [INFO] [stdout] --> src/build_nested.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut same = false; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_same` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/build_nested.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut same = false; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `subcommands` is never used [INFO] [stdout] --> src/build_nested.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn subcommands(item: ItemMod) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_check` is never used [INFO] [stdout] --> src/checks.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn input_check(arg: &FnArg) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [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/build.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 23 | let mut items = Punctuated::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Item::Use(ItemUse { [INFO] [stdout] | _______________^ [INFO] [stdout] 34 | | attrs: vec![], [INFO] [stdout] 35 | | vis: Visibility::Inherited, [INFO] [stdout] 36 | | leading_colon: None, [INFO] [stdout] ... | [INFO] [stdout] 46 | | semi_token: Token![;](Span::call_site()), [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] = 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/build_command.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn fields(function: ItemFn) -> Fields { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let mut fields: Punctuated = Punctuated::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Fields::Named(FieldsNamed { [INFO] [stdout] | ___________________^ [INFO] [stdout] 103 | | brace_token: Brace(Span::call_site()), [INFO] [stdout] 104 | | named: fields, [INFO] [stdout] 105 | | }) [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/build_command.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn to_struct(name: Ident, fields: Fields) -> Item { [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] 109 | let mut inner_path = Punctuated::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | Item::Struct(ItemStruct { [INFO] [stdout] | __________________^ [INFO] [stdout] 115 | | attrs: vec![Attribute { [INFO] [stdout] 116 | | pound_token: Token![#](Span::call_site()), [INFO] [stdout] 117 | | style: AttrStyle::Outer, [INFO] [stdout] ... | [INFO] [stdout] 138 | | semi_token: None, [INFO] [stdout] 139 | | }) [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/build_command.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn to_impl_item(new_function: ItemFn) -> ImplItem { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | let function = modify_function(new_function); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | ImplItem::Fn(ImplItemFn { [INFO] [stdout] | __________________^ [INFO] [stdout] 145 | | attrs: function.attrs, [INFO] [stdout] 146 | | vis: function.vis, [INFO] [stdout] 147 | | defaultness: None, [INFO] [stdout] 148 | | sig: function.sig, [INFO] [stdout] 149 | | block: syn::parse_str(&function.block.to_token_stream().to_string()).unwrap(), [INFO] [stdout] 150 | | }) [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/build_nested.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 223 | let mut path_segment = Punctuated::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 232 | let mut path_argument = Punctuated::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 240 | let mut body_segment = Punctuated::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 247 | pat: Pat::TupleStruct(PatTupleStruct { [INFO] [stdout] | ______________^ [INFO] [stdout] 248 | | attrs: vec![], [INFO] [stdout] 249 | | qself: None, [INFO] [stdout] 250 | | path: Path { [INFO] [stdout] ... | [INFO] [stdout] 255 | | elems: path_argument, [INFO] [stdout] 256 | | }), [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/build_nested.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 223 | let mut path_segment = Punctuated::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 232 | let mut path_argument = Punctuated::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 240 | let mut body_segment = Punctuated::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | guard: 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/build_nested.rs:259:15 [INFO] [stdout] | [INFO] [stdout] 223 | let mut path_segment = Punctuated::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 232 | let mut path_argument = Punctuated::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 240 | let mut body_segment = Punctuated::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 259 | body: std::boxed::Box::new(Expr::MethodCall(ExprMethodCall { [INFO] [stdout] | _______________^ [INFO] [stdout] 260 | | attrs: vec![], [INFO] [stdout] 261 | | receiver: std::boxed::Box::new(Expr::Path(ExprPath { [INFO] [stdout] 262 | | attrs: vec![], [INFO] [stdout] ... | [INFO] [stdout] 273 | | args: Punctuated::new(), [INFO] [stdout] 274 | | })), [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/build_nested.rs:286:15 [INFO] [stdout] | [INFO] [stdout] 280 | subcommands: Vec<(String, Vec)>, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 286 | expr: std::boxed::Box::from(Expr::Path(ExprPath { [INFO] [stdout] | _______________^ [INFO] [stdout] 287 | | attrs: vec![], [INFO] [stdout] 288 | | qself: None, [INFO] [stdout] 289 | | path: Path::from(format_ident!("self")), [INFO] [stdout] 290 | | })), [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/build_nested.rs:292:15 [INFO] [stdout] | [INFO] [stdout] 280 | subcommands: Vec<(String, Vec)>, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | arms: subcommands [INFO] [stdout] | _______________^ [INFO] [stdout] 293 | | .iter() [INFO] [stdout] 294 | | .map(|(subcommand, _)| -> Arm { delegate_match_arm(subcommand, enum_name) }) [INFO] [stdout] 295 | | .collect(), [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 9 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `subcommands` is never used [INFO] [stdout] --> src/build_nested.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn subcommands(item: ItemMod) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_check` is never used [INFO] [stdout] --> src/checks.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn input_check(arg: &FnArg) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [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/build.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 23 | let mut items = Punctuated::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Item::Use(ItemUse { [INFO] [stdout] | _______________^ [INFO] [stdout] 34 | | attrs: vec![], [INFO] [stdout] 35 | | vis: Visibility::Inherited, [INFO] [stdout] 36 | | leading_colon: None, [INFO] [stdout] ... | [INFO] [stdout] 46 | | semi_token: Token![;](Span::call_site()), [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] = 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/build_command.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn fields(function: ItemFn) -> Fields { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let mut fields: Punctuated = Punctuated::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Fields::Named(FieldsNamed { [INFO] [stdout] | ___________________^ [INFO] [stdout] 103 | | brace_token: Brace(Span::call_site()), [INFO] [stdout] 104 | | named: fields, [INFO] [stdout] 105 | | }) [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/build_command.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn to_struct(name: Ident, fields: Fields) -> Item { [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] 109 | let mut inner_path = Punctuated::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | Item::Struct(ItemStruct { [INFO] [stdout] | __________________^ [INFO] [stdout] 115 | | attrs: vec![Attribute { [INFO] [stdout] 116 | | pound_token: Token![#](Span::call_site()), [INFO] [stdout] 117 | | style: AttrStyle::Outer, [INFO] [stdout] ... | [INFO] [stdout] 138 | | semi_token: None, [INFO] [stdout] 139 | | }) [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/build_command.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn to_impl_item(new_function: ItemFn) -> ImplItem { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | let function = modify_function(new_function); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | ImplItem::Fn(ImplItemFn { [INFO] [stdout] | __________________^ [INFO] [stdout] 145 | | attrs: function.attrs, [INFO] [stdout] 146 | | vis: function.vis, [INFO] [stdout] 147 | | defaultness: None, [INFO] [stdout] 148 | | sig: function.sig, [INFO] [stdout] 149 | | block: syn::parse_str(&function.block.to_token_stream().to_string()).unwrap(), [INFO] [stdout] 150 | | }) [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/build_nested.rs:247:14 [INFO] [stdout] | [INFO] [stdout] 223 | let mut path_segment = Punctuated::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 232 | let mut path_argument = Punctuated::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 240 | let mut body_segment = Punctuated::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 247 | pat: Pat::TupleStruct(PatTupleStruct { [INFO] [stdout] | ______________^ [INFO] [stdout] 248 | | attrs: vec![], [INFO] [stdout] 249 | | qself: None, [INFO] [stdout] 250 | | path: Path { [INFO] [stdout] ... | [INFO] [stdout] 255 | | elems: path_argument, [INFO] [stdout] 256 | | }), [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/build_nested.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 223 | let mut path_segment = Punctuated::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 232 | let mut path_argument = Punctuated::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 240 | let mut body_segment = Punctuated::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | guard: 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/build_nested.rs:259:15 [INFO] [stdout] | [INFO] [stdout] 223 | let mut path_segment = Punctuated::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 232 | let mut path_argument = Punctuated::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 240 | let mut body_segment = Punctuated::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 259 | body: std::boxed::Box::new(Expr::MethodCall(ExprMethodCall { [INFO] [stdout] | _______________^ [INFO] [stdout] 260 | | attrs: vec![], [INFO] [stdout] 261 | | receiver: std::boxed::Box::new(Expr::Path(ExprPath { [INFO] [stdout] 262 | | attrs: vec![], [INFO] [stdout] ... | [INFO] [stdout] 273 | | args: Punctuated::new(), [INFO] [stdout] 274 | | })), [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/build_nested.rs:286:15 [INFO] [stdout] | [INFO] [stdout] 280 | subcommands: Vec<(String, Vec)>, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 286 | expr: std::boxed::Box::from(Expr::Path(ExprPath { [INFO] [stdout] | _______________^ [INFO] [stdout] 287 | | attrs: vec![], [INFO] [stdout] 288 | | qself: None, [INFO] [stdout] 289 | | path: Path::from(format_ident!("self")), [INFO] [stdout] 290 | | })), [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/build_nested.rs:292:15 [INFO] [stdout] | [INFO] [stdout] 280 | subcommands: Vec<(String, Vec)>, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | arms: subcommands [INFO] [stdout] | _______________^ [INFO] [stdout] 293 | | .iter() [INFO] [stdout] 294 | | .map(|(subcommand, _)| -> Arm { delegate_match_arm(subcommand, enum_name) }) [INFO] [stdout] 295 | | .collect(), [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 9 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `command-rpc` (lib) due to 10 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `command-rpc` (lib test) due to 10 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7ea20fc92790fb8b203a6c04402073b5ade18740f1c1314825430ed02a3d9a85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ea20fc92790fb8b203a6c04402073b5ade18740f1c1314825430ed02a3d9a85", kill_on_drop: false }` [INFO] [stdout] 7ea20fc92790fb8b203a6c04402073b5ade18740f1c1314825430ed02a3d9a85