[INFO] fetching crate tetsy-scale-codec-derive 1.2.0... [INFO] checking tetsy-scale-codec-derive-1.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate tetsy-scale-codec-derive 1.2.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate tetsy-scale-codec-derive 1.2.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tetsy-scale-codec-derive 1.2.0 [INFO] finished tweaking crates.io crate tetsy-scale-codec-derive 1.2.0 [INFO] tweaked toml for crates.io crate tetsy-scale-codec-derive 1.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding proc-macro-crate v0.1.5 (available: v3.2.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35bf99e464e4a04475635d5ffd84f974f04be6cc6cb98b958057aedc9edf0d50 [INFO] running `Command { std: "docker" "start" "-a" "35bf99e464e4a04475635d5ffd84f974f04be6cc6cb98b958057aedc9edf0d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35bf99e464e4a04475635d5ffd84f974f04be6cc6cb98b958057aedc9edf0d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35bf99e464e4a04475635d5ffd84f974f04be6cc6cb98b958057aedc9edf0d50", kill_on_drop: false }` [INFO] [stdout] 35bf99e464e4a04475635d5ffd84f974f04be6cc6cb98b958057aedc9edf0d50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e53e79ef4dffc39b20fafaea8ab419881da0ccb665658906edbfe9a6afe2a83 [INFO] running `Command { std: "docker" "start" "-a" "8e53e79ef4dffc39b20fafaea8ab419881da0ccb665658906edbfe9a6afe2a83", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking proc-macro-crate v0.1.5 [INFO] [stderr] Checking tetsy-scale-codec-derive v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/utils.rs:120:82 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn filter_skip_named<'a>(fields: &'a syn::FieldsNamed) -> impl Iterator + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/utils.rs:125:94 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn filter_skip_unnamed<'a>(fields: &'a syn::FieldsUnnamed) -> impl Iterator + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/utils.rs:120:82 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn filter_skip_named<'a>(fields: &'a syn::FieldsNamed) -> impl Iterator + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/utils.rs:125:94 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn filter_skip_unnamed<'a>(fields: &'a syn::FieldsUnnamed) -> impl Iterator + 'a { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `TokenStream2` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/encode.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 213 | let index = utils::index(f, i); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 223 | let encode_fields = encode_fields( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | / quote_spanned! { f.span() => [INFO] [stdout] 230 | | #type_name :: #name { #( ref #names, )* } => { [INFO] [stdout] 231 | | #dest.push_byte(#index as u8); [INFO] [stdout] 232 | | #encode_fields [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________________________| [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 254 | / quote_spanned! { f.span() => [INFO] [stdout] 255 | | #type_name :: #name ( #( ref #names, )* ) => { [INFO] [stdout] 256 | | #dest.push_byte(#index as u8); [INFO] [stdout] 257 | | #encode_fields [INFO] [stdout] 258 | | } [INFO] [stdout] 259 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________________________| [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `FilterMap` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 23 | fn find_meta_item<'a, F, R, I>(itr: I, pred: F) -> Option where [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | / itr.filter_map(|attr| { [INFO] [stdout] 28 | | if attr.path.is_ident("codec") { [INFO] [stdout] 29 | | if let Ok(Meta::List(ref meta_list)) = attr.parse_meta() { [INFO] [stdout] 30 | | return meta_list.nested.iter().filter_map(pred.clone()).next(); [INFO] [stdout] ... | [INFO] [stdout] 34 | | None [INFO] [stdout] 35 | | }).next() [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `TokenStream2` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/encode.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 213 | let index = utils::index(f, i); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 223 | let encode_fields = encode_fields( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | / quote_spanned! { f.span() => [INFO] [stdout] 230 | | #type_name :: #name { #( ref #names, )* } => { [INFO] [stdout] 231 | | #dest.push_byte(#index as u8); [INFO] [stdout] 232 | | #encode_fields [INFO] [stdout] 233 | | } [INFO] [stdout] 234 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________________________| [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 254 | / quote_spanned! { f.span() => [INFO] [stdout] 255 | | #type_name :: #name ( #( ref #names, )* ) => { [INFO] [stdout] 256 | | #dest.push_byte(#index as u8); [INFO] [stdout] 257 | | #encode_fields [INFO] [stdout] 258 | | } [INFO] [stdout] 259 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________________________| [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________________________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `FilterMap` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 23 | fn find_meta_item<'a, F, R, I>(itr: I, pred: F) -> Option where [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | / itr.filter_map(|attr| { [INFO] [stdout] 28 | | if attr.path.is_ident("codec") { [INFO] [stdout] 29 | | if let Ok(Meta::List(ref meta_list)) = attr.parse_meta() { [INFO] [stdout] 30 | | return meta_list.nested.iter().filter_map(pred.clone()).next(); [INFO] [stdout] ... | [INFO] [stdout] 34 | | None [INFO] [stdout] 35 | | }).next() [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tetsy-scale-codec-derive` (lib) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tetsy-scale-codec-derive` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8e53e79ef4dffc39b20fafaea8ab419881da0ccb665658906edbfe9a6afe2a83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e53e79ef4dffc39b20fafaea8ab419881da0ccb665658906edbfe9a6afe2a83", kill_on_drop: false }` [INFO] [stdout] 8e53e79ef4dffc39b20fafaea8ab419881da0ccb665658906edbfe9a6afe2a83