[INFO] fetching crate parity-scale-codec-derive 3.6.12... [INFO] checking parity-scale-codec-derive-3.6.12 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate parity-scale-codec-derive 3.6.12 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate parity-scale-codec-derive 3.6.12 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 parity-scale-codec-derive 3.6.12 [INFO] finished tweaking crates.io crate parity-scale-codec-derive 3.6.12 [INFO] tweaked toml for crates.io crate parity-scale-codec-derive 3.6.12 written to /workspace/builds/worker-0-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 12 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] de661c61edc922f57cec92b176edd6fd6b46dc6b3ce3f46d7c0353161200e64e [INFO] running `Command { std: "docker" "start" "-a" "de661c61edc922f57cec92b176edd6fd6b46dc6b3ce3f46d7c0353161200e64e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de661c61edc922f57cec92b176edd6fd6b46dc6b3ce3f46d7c0353161200e64e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de661c61edc922f57cec92b176edd6fd6b46dc6b3ce3f46d7c0353161200e64e", kill_on_drop: false }` [INFO] [stdout] de661c61edc922f57cec92b176edd6fd6b46dc6b3ce3f46d7c0353161200e64e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 380ea11248290307555d806da37abf2d37983aab6715b9016d820caa805f2ab6 [INFO] running `Command { std: "docker" "start" "-a" "380ea11248290307555d806da37abf2d37983aab6715b9016d820caa805f2ab6", kill_on_drop: false }` [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking proc-macro-crate v3.2.0 [INFO] [stderr] Checking parity-scale-codec-derive v3.6.12 (/opt/rustwide/workdir) [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:330:11 [INFO] [stdout] | [INFO] [stdout] 319 | let index = utils::variant_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] 330 | let size_hint_fields = size_hint_fields(fields, field_name, crate_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | let hinting = quote_spanned! { f.span() => [INFO] [stdout] | _______________________________________- [INFO] [stdout] | |_______________________________________| [INFO] [stdout] | |_______________________________________| [INFO] [stdout] | |_______________________________________| [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 335 | | #type_name :: #name { #( ref #hinting_names, )* } => { [INFO] [stdout] 336 | | #size_hint_fields [INFO] [stdout] 337 | | } [INFO] [stdout] 338 | | }; [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] 341 | let encoding = quote_spanned! { f.span() => [INFO] [stdout] | ________________________________________- [INFO] [stdout] | |________________________________________| [INFO] [stdout] | |________________________________________| [INFO] [stdout] | |________________________________________| [INFO] [stdout] | |________________________________________| [INFO] [stdout] 342 | | #type_name :: #name { #( ref #encoding_names, )* } => { [INFO] [stdout] 343 | | #dest.push_byte(#index as ::core::primitive::u8); [INFO] [stdout] 344 | | #encode_fields [INFO] [stdout] 345 | | } [INFO] [stdout] 346 | | }; [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] 367 | let hinting = quote_spanned! { f.span() => [INFO] [stdout] | _______________________________________- [INFO] [stdout] | |_______________________________________| [INFO] [stdout] | |_______________________________________| [INFO] [stdout] | |_______________________________________| [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 368 | | #type_name :: #name ( #( ref #hinting_names, )* ) => { [INFO] [stdout] 369 | | #size_hint_fields [INFO] [stdout] 370 | | } [INFO] [stdout] 371 | | }; [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] 374 | let encoding = quote_spanned! { f.span() => [INFO] [stdout] | ________________________________________- [INFO] [stdout] | |________________________________________| [INFO] [stdout] | |________________________________________| [INFO] [stdout] | |________________________________________| [INFO] [stdout] | |________________________________________| [INFO] [stdout] 375 | | #type_name :: #name ( #( ref #encoding_names, )* ) => { [INFO] [stdout] 376 | | #dest.push_byte(#index as ::core::primitive::u8); [INFO] [stdout] 377 | | #encode_fields [INFO] [stdout] 378 | | } [INFO] [stdout] 379 | | }; [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 `N` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 209 | let mut content; [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | _name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | _paren_token_2: syn::parenthesized!(content in content), [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] | [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:330:11 [INFO] [stdout] | [INFO] [stdout] 319 | let index = utils::variant_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] 330 | let size_hint_fields = size_hint_fields(fields, field_name, crate_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | let hinting = quote_spanned! { f.span() => [INFO] [stdout] | _______________________________________- [INFO] [stdout] | |_______________________________________| [INFO] [stdout] | |_______________________________________| [INFO] [stdout] | |_______________________________________| [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 335 | | #type_name :: #name { #( ref #hinting_names, )* } => { [INFO] [stdout] 336 | | #size_hint_fields [INFO] [stdout] 337 | | } [INFO] [stdout] 338 | | }; [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] 341 | let encoding = quote_spanned! { f.span() => [INFO] [stdout] | ________________________________________- [INFO] [stdout] | |________________________________________| [INFO] [stdout] | |________________________________________| [INFO] [stdout] | |________________________________________| [INFO] [stdout] | |________________________________________| [INFO] [stdout] 342 | | #type_name :: #name { #( ref #encoding_names, )* } => { [INFO] [stdout] 343 | | #dest.push_byte(#index as ::core::primitive::u8); [INFO] [stdout] 344 | | #encode_fields [INFO] [stdout] 345 | | } [INFO] [stdout] 346 | | }; [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] 367 | let hinting = quote_spanned! { f.span() => [INFO] [stdout] | _______________________________________- [INFO] [stdout] | |_______________________________________| [INFO] [stdout] | |_______________________________________| [INFO] [stdout] | |_______________________________________| [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 368 | | #type_name :: #name ( #( ref #hinting_names, )* ) => { [INFO] [stdout] 369 | | #size_hint_fields [INFO] [stdout] 370 | | } [INFO] [stdout] 371 | | }; [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] 374 | let encoding = quote_spanned! { f.span() => [INFO] [stdout] | ________________________________________- [INFO] [stdout] | |________________________________________| [INFO] [stdout] | |________________________________________| [INFO] [stdout] | |________________________________________| [INFO] [stdout] | |________________________________________| [INFO] [stdout] 375 | | #type_name :: #name ( #( ref #encoding_names, )* ) => { [INFO] [stdout] 376 | | #dest.push_byte(#index as ::core::primitive::u8); [INFO] [stdout] 377 | | #encode_fields [INFO] [stdout] 378 | | } [INFO] [stdout] 379 | | }; [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] warning: field `0` is never read [INFO] [stdout] --> src/encode.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | Skip(&'a Field), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 106 | Skip(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parity-scale-codec-derive` (lib test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `N` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 209 | let mut content; [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | _name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | _paren_token_2: syn::parenthesized!(content in content), [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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/encode.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | Skip(&'a Field), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 106 | Skip(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parity-scale-codec-derive` (lib) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "380ea11248290307555d806da37abf2d37983aab6715b9016d820caa805f2ab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "380ea11248290307555d806da37abf2d37983aab6715b9016d820caa805f2ab6", kill_on_drop: false }` [INFO] [stdout] 380ea11248290307555d806da37abf2d37983aab6715b9016d820caa805f2ab6