[INFO] fetching crate neli-proc-macros 0.2.0-rc2... [INFO] checking neli-proc-macros-0.2.0-rc2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate neli-proc-macros 0.2.0-rc2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate neli-proc-macros 0.2.0-rc2 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 neli-proc-macros 0.2.0-rc2 [INFO] finished tweaking crates.io crate neli-proc-macros 0.2.0-rc2 [INFO] tweaked toml for crates.io crate neli-proc-macros 0.2.0-rc2 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 9 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [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] 0be77d6c2f40e7499c365a846151dbc1fdb8046e7b7b71a50101ebc854865bee [INFO] running `Command { std: "docker" "start" "-a" "0be77d6c2f40e7499c365a846151dbc1fdb8046e7b7b71a50101ebc854865bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0be77d6c2f40e7499c365a846151dbc1fdb8046e7b7b71a50101ebc854865bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0be77d6c2f40e7499c365a846151dbc1fdb8046e7b7b71a50101ebc854865bee", kill_on_drop: false }` [INFO] [stdout] 0be77d6c2f40e7499c365a846151dbc1fdb8046e7b7b71a50101ebc854865bee [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] fe893e39e4d31280c7b9e566c7ab6966d21357a151b1aef1957212760a0669b5 [INFO] running `Command { std: "docker" "start" "-a" "fe893e39e4d31280c7b9e566c7ab6966d21357a151b1aef1957212760a0669b5", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking neli-proc-macros v0.2.0-rc2 (/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:65:23 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn neli_enum(attr: TokenStream, item: TokenStream) -> TokenStream { [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] 54 | let attr_string = attr.to_string(); [INFO] [stdout] 55 | let meta = [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | parse::(attr).unwrap_or_else(|_| panic!("{} is not a valid attribute", attr_string)); [INFO] [stdout] 57 | let enum_item = parse::(item).unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | [INFO] [stdout] 59 | let enm = if let Item::Enum(e) = enum_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] ... [INFO] [stdout] 65 | TokenStream::from(generate_neli_enum(enm, meta)) [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/lib.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn proc_macro_size(ts: TokenStream) -> TokenStream { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let item = parse::(ts).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | TokenStream::from(match item { [INFO] [stdout] | _______________________^ [INFO] [stdout] 79 | | Item::Struct(strct) => impl_size_struct(strct), [INFO] [stdout] 80 | | Item::Enum(enm) => impl_size_enum(enm), [INFO] [stdout] 81 | | _ => panic!("Size can only be derived for structs and enums"), [INFO] [stdout] 82 | | }) [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/lib.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn proc_macro_header(ts: TokenStream) -> TokenStream { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | let item = parse::(ts).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | TokenStream::from(match item { [INFO] [stdout] | _______________________^ [INFO] [stdout] 109 | | Item::Struct(strct) => impl_header_struct(strct), [INFO] [stdout] 110 | | _ => panic!("Header can only be derived for structs"), [INFO] [stdout] 111 | | }) [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/lib.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn proc_macro_frombytes(ts: TokenStream) -> TokenStream { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | let item = parse::(ts).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | TokenStream::from(match item { [INFO] [stdout] | _______________________^ [INFO] [stdout] 141 | | Item::Struct(strct) => impl_frombytes_struct(strct, "FromBytes", "from_bytes", None, None), [INFO] [stdout] 142 | | _ => panic!("FromBytes can only be derived for structs"), [INFO] [stdout] 143 | | }) [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/lib.rs:172:23 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn proc_macro_frombyteswithinput(ts: TokenStream) -> TokenStream { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | let item = parse::(ts).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | TokenStream::from(match item { [INFO] [stdout] | _______________________^ [INFO] [stdout] 173 | | Item::Struct(strct) => impl_frombytes_struct( [INFO] [stdout] 174 | | strct, [INFO] [stdout] 175 | | "FromBytesWithInput", [INFO] [stdout] ... | [INFO] [stdout] 184 | | _ => panic!("FromBytesWithInput can only be derived for structs"), [INFO] [stdout] 185 | | }) [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/lib.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn proc_macro_tobytes(ts: TokenStream) -> TokenStream { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | let item = parse::(ts).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | TokenStream::from(match item { [INFO] [stdout] | _______________________^ [INFO] [stdout] 201 | | Item::Struct(strct) => impl_tobytes_struct(strct), [INFO] [stdout] 202 | | Item::Enum(enm) => impl_tobytes_enum(enm), [INFO] [stdout] 203 | | _ => panic!("ToBytes can only be derived for structs and enums"), [INFO] [stdout] 204 | | }) [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/shared.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn to_vecs(v: I) -> (Vec, Vec, Vec>) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | v.into_iter().fold( [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/shared.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn to_vecs(v: I) -> (Vec, Vec, Vec>) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | (Vec::new(), Vec::new(), Vec::new()), [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/shared.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | ident: Ident::new(ident, Span::call_site()), [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/shared.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | arguments: PathArguments::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/shared.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn remove_bad_attrs(attrs: Vec) -> Vec { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 224 | / attrs [INFO] [stdout] 225 | | .into_iter() [INFO] [stdout] 226 | | .filter(|attr| { [INFO] [stdout] 227 | | if let Ok(meta) = attr.parse_meta() { [INFO] [stdout] ... | [INFO] [stdout] 236 | | } [INFO] [stdout] 237 | | }) [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/shared.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 280 | .map(|attr| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | attr.parse_meta() [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/shared.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 303 | enum_name: Ident, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 304 | variants: Vec, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 305 | generate_named_pat_and_expr: N, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 306 | generate_unnamed_pat_and_expr: U, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 307 | unit: TokenStream2, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | / variants [INFO] [stdout] 314 | | .into_iter() [INFO] [stdout] 315 | | .map(|var| { [INFO] [stdout] 316 | | let variant_name = var.ident; [INFO] [stdout] ... | [INFO] [stdout] 325 | | ) [INFO] [stdout] 326 | | }) [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/shared.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 315 | .map(|var| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 316 | let variant_name = var.ident; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 319 | enum_name.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/shared.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn generate_named_fields(fields: FieldsNamed) -> Vec { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 332 | / fields [INFO] [stdout] 333 | | .named [INFO] [stdout] 334 | | .into_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] [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/shared.rs:335:15 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn generate_named_fields(fields: FieldsNamed) -> Vec { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 335 | .fold(Vec::new(), |mut info, field| { [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/shared.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn generate_unnamed_fields(fields: FieldsUnnamed, uses_self: bool) -> Vec { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | / fields [INFO] [stdout] 349 | | .unnamed [INFO] [stdout] 350 | | .into_iter() [INFO] [stdout] 351 | | .enumerate() [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/shared.rs:352:15 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn generate_unnamed_fields(fields: FieldsUnnamed, uses_self: bool) -> Vec { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 352 | .fold(Vec::new(), |mut fields, (index, field)| { [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/derive_frombytes.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 7 | fn process_attrs(field_type: Type, field_attrs: Vec) -> TokenStream2 { [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] 8 | let input = process_input(&field_attrs); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | let skip_debug = process_skip_debug(&field_attrs); [INFO] [stdout] 10 | let size = process_size(&field_attrs) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | .unwrap_or_else(|| parse_str("input").expect("input is a valid expression")); [INFO] [stdout] 12 | match (input, skip_debug) { [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/derive_frombytes.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | .unwrap_or_else(|| parse_str("input").expect("input is a valid expression")); [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 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `neli-proc-macros` (lib test) due to 21 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/lib.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn neli_enum(attr: TokenStream, item: TokenStream) -> TokenStream { [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] 54 | let attr_string = attr.to_string(); [INFO] [stdout] 55 | let meta = [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | parse::(attr).unwrap_or_else(|_| panic!("{} is not a valid attribute", attr_string)); [INFO] [stdout] 57 | let enum_item = parse::(item).unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | [INFO] [stdout] 59 | let enm = if let Item::Enum(e) = enum_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] ... [INFO] [stdout] 65 | TokenStream::from(generate_neli_enum(enm, meta)) [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/lib.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn proc_macro_size(ts: TokenStream) -> TokenStream { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let item = parse::(ts).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | TokenStream::from(match item { [INFO] [stdout] | _______________________^ [INFO] [stdout] 79 | | Item::Struct(strct) => impl_size_struct(strct), [INFO] [stdout] 80 | | Item::Enum(enm) => impl_size_enum(enm), [INFO] [stdout] 81 | | _ => panic!("Size can only be derived for structs and enums"), [INFO] [stdout] 82 | | }) [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/lib.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn proc_macro_header(ts: TokenStream) -> TokenStream { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | let item = parse::(ts).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | TokenStream::from(match item { [INFO] [stdout] | _______________________^ [INFO] [stdout] 109 | | Item::Struct(strct) => impl_header_struct(strct), [INFO] [stdout] 110 | | _ => panic!("Header can only be derived for structs"), [INFO] [stdout] 111 | | }) [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/lib.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn proc_macro_frombytes(ts: TokenStream) -> TokenStream { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | let item = parse::(ts).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | TokenStream::from(match item { [INFO] [stdout] | _______________________^ [INFO] [stdout] 141 | | Item::Struct(strct) => impl_frombytes_struct(strct, "FromBytes", "from_bytes", None, None), [INFO] [stdout] 142 | | _ => panic!("FromBytes can only be derived for structs"), [INFO] [stdout] 143 | | }) [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/lib.rs:172:23 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn proc_macro_frombyteswithinput(ts: TokenStream) -> TokenStream { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | let item = parse::(ts).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | TokenStream::from(match item { [INFO] [stdout] | _______________________^ [INFO] [stdout] 173 | | Item::Struct(strct) => impl_frombytes_struct( [INFO] [stdout] 174 | | strct, [INFO] [stdout] 175 | | "FromBytesWithInput", [INFO] [stdout] ... | [INFO] [stdout] 184 | | _ => panic!("FromBytesWithInput can only be derived for structs"), [INFO] [stdout] 185 | | }) [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/lib.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn proc_macro_tobytes(ts: TokenStream) -> TokenStream { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | let item = parse::(ts).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | TokenStream::from(match item { [INFO] [stdout] | _______________________^ [INFO] [stdout] 201 | | Item::Struct(strct) => impl_tobytes_struct(strct), [INFO] [stdout] 202 | | Item::Enum(enm) => impl_tobytes_enum(enm), [INFO] [stdout] 203 | | _ => panic!("ToBytes can only be derived for structs and enums"), [INFO] [stdout] 204 | | }) [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/shared.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn to_vecs(v: I) -> (Vec, Vec, Vec>) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | v.into_iter().fold( [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/shared.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn to_vecs(v: I) -> (Vec, Vec, Vec>) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | (Vec::new(), Vec::new(), Vec::new()), [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/shared.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | ident: Ident::new(ident, Span::call_site()), [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/shared.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | arguments: PathArguments::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/shared.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn remove_bad_attrs(attrs: Vec) -> Vec { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 224 | / attrs [INFO] [stdout] 225 | | .into_iter() [INFO] [stdout] 226 | | .filter(|attr| { [INFO] [stdout] 227 | | if let Ok(meta) = attr.parse_meta() { [INFO] [stdout] ... | [INFO] [stdout] 236 | | } [INFO] [stdout] 237 | | }) [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/shared.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 280 | .map(|attr| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | attr.parse_meta() [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/shared.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 303 | enum_name: Ident, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 304 | variants: Vec, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 305 | generate_named_pat_and_expr: N, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 306 | generate_unnamed_pat_and_expr: U, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 307 | unit: TokenStream2, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | / variants [INFO] [stdout] 314 | | .into_iter() [INFO] [stdout] 315 | | .map(|var| { [INFO] [stdout] 316 | | let variant_name = var.ident; [INFO] [stdout] ... | [INFO] [stdout] 325 | | ) [INFO] [stdout] 326 | | }) [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/shared.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 315 | .map(|var| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 316 | let variant_name = var.ident; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 319 | enum_name.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/shared.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn generate_named_fields(fields: FieldsNamed) -> Vec { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 332 | / fields [INFO] [stdout] 333 | | .named [INFO] [stdout] 334 | | .into_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] [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/shared.rs:335:15 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn generate_named_fields(fields: FieldsNamed) -> Vec { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 335 | .fold(Vec::new(), |mut info, field| { [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/shared.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn generate_unnamed_fields(fields: FieldsUnnamed, uses_self: bool) -> Vec { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | / fields [INFO] [stdout] 349 | | .unnamed [INFO] [stdout] 350 | | .into_iter() [INFO] [stdout] 351 | | .enumerate() [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/shared.rs:352:15 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn generate_unnamed_fields(fields: FieldsUnnamed, uses_self: bool) -> Vec { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 352 | .fold(Vec::new(), |mut fields, (index, field)| { [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/derive_frombytes.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 7 | fn process_attrs(field_type: Type, field_attrs: Vec) -> TokenStream2 { [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] 8 | let input = process_input(&field_attrs); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | let skip_debug = process_skip_debug(&field_attrs); [INFO] [stdout] 10 | let size = process_size(&field_attrs) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | .unwrap_or_else(|| parse_str("input").expect("input is a valid expression")); [INFO] [stdout] 12 | match (input, skip_debug) { [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/derive_frombytes.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | .unwrap_or_else(|| parse_str("input").expect("input is a valid expression")); [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 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `neli-proc-macros` (lib) due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "fe893e39e4d31280c7b9e566c7ab6966d21357a151b1aef1957212760a0669b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe893e39e4d31280c7b9e566c7ab6966d21357a151b1aef1957212760a0669b5", kill_on_drop: false }` [INFO] [stdout] fe893e39e4d31280c7b9e566c7ab6966d21357a151b1aef1957212760a0669b5