[INFO] fetching crate mf1-macros 0.1.6... [INFO] checking mf1-macros-0.1.6 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate mf1-macros 0.1.6 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate mf1-macros 0.1.6 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 mf1-macros 0.1.6 [INFO] finished tweaking crates.io crate mf1-macros 0.1.6 [INFO] tweaked toml for crates.io crate mf1-macros 0.1.6 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 53 packages to latest compatible versions [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] 57f7c13761a9dcc22233f2f73be06afe6e380dc6504226bd35fc2d5bf2d0396d [INFO] running `Command { std: "docker" "start" "-a" "57f7c13761a9dcc22233f2f73be06afe6e380dc6504226bd35fc2d5bf2d0396d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57f7c13761a9dcc22233f2f73be06afe6e380dc6504226bd35fc2d5bf2d0396d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57f7c13761a9dcc22233f2f73be06afe6e380dc6504226bd35fc2d5bf2d0396d", kill_on_drop: false }` [INFO] [stdout] 57f7c13761a9dcc22233f2f73be06afe6e380dc6504226bd35fc2d5bf2d0396d [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] 1897710b18c80883cfe0ea500e2853ad9fda05bcf5284835c66cbba23236b545 [INFO] running `Command { std: "docker" "start" "-a" "1897710b18c80883cfe0ea500e2853ad9fda05bcf5284835c66cbba23236b545", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking icu_plurals_data v1.5.0 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling logos-codegen v0.14.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling databake-derive v0.1.8 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling logos-derive v0.14.2 [INFO] [stderr] Checking databake v0.1.8 [INFO] [stderr] Checking fixed_decimal v0.5.6 [INFO] [stderr] Checking logos v0.14.2 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_plurals v1.5.0 [INFO] [stderr] Checking mf1-parser v0.1.5 [INFO] [stderr] Checking mf1-macros v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `proc_macro2::TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/load_locales.rs:547:37 [INFO] [stdout] | [INFO] [stdout] 547 | ... let other = if let Some(case) = cases.iter().find(|case| case.key == "other") { [INFO] [stdout] | ^^^^^ [INFO] [stdout] 548 | ... let items = case.tokens.iter().flat_map(gen_items); [INFO] [stdout] 549 | / ... quote! { _ => { #(#items)* } [INFO] [stdout] 550 | | ... }} else { [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 555 | ... iter::once(quote! { [INFO] [stdout] | __________________________________- [INFO] [stdout] | |__________________________________| [INFO] [stdout] | |__________________________________| [INFO] [stdout] | |__________________________________| [INFO] [stdout] | |__________________________________| [INFO] [stdout] 556 | | ... match #arg { [INFO] [stdout] 557 | | ... #(#case_statements,)* [INFO] [stdout] 558 | | ... #other [INFO] [stdout] 559 | | ... } [INFO] [stdout] 560 | | ... }) [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 `proc_macro2::TokenStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/load_locales.rs:547:37 [INFO] [stdout] | [INFO] [stdout] 547 | ... let other = if let Some(case) = cases.iter().find(|case| case.key == "other") { [INFO] [stdout] | ^^^^^ [INFO] [stdout] 548 | ... let items = case.tokens.iter().flat_map(gen_items); [INFO] [stdout] 549 | / ... quote! { _ => { #(#items)* } [INFO] [stdout] 550 | | ... }} else { [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 555 | ... iter::once(quote! { [INFO] [stdout] | __________________________________- [INFO] [stdout] | |__________________________________| [INFO] [stdout] | |__________________________________| [INFO] [stdout] | |__________________________________| [INFO] [stdout] | |__________________________________| [INFO] [stdout] 556 | | ... match #arg { [INFO] [stdout] 557 | | ... #(#case_statements,)* [INFO] [stdout] 558 | | ... #other [INFO] [stdout] 559 | | ... } [INFO] [stdout] 560 | | ... }) [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 `FlatMap>, impl Iterator, for<'a, 'b, 'c> fn(&'a mf1_parser::Token<'b, 'c, std::string::String>) -> impl Iterator {gen_items}>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/load_locales.rs:565:25 [INFO] [stdout] | [INFO] [stdout] 565 | let items = ast.iter().flat_map(gen_items); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 566 | / quote!(#key_ident: builders::#key_ident::new(&(|fmt: &mut dyn mf1::Formatable, #(#args,)*| -> Result<(), _> { [INFO] [stdout] 567 | | #(#items)* [INFO] [stdout] 568 | | Ok(()) [INFO] [stdout] 569 | | } as _))) [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] | |_____________________________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] | 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 `FlatMap>, impl Iterator, for<'a, 'b, 'c> fn(&'a mf1_parser::Token<'b, 'c, std::string::String>) -> impl Iterator {gen_items}>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/load_locales.rs:565:25 [INFO] [stdout] | [INFO] [stdout] 565 | let items = ast.iter().flat_map(gen_items); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 566 | / quote!(#key_ident: builders::#key_ident::new(&(|fmt: &mut dyn mf1::Formatable, #(#args,)*| -> Result<(), _> { [INFO] [stdout] 567 | | #(#items)* [INFO] [stdout] 568 | | Ok(()) [INFO] [stdout] 569 | | } as _))) [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] | |_____________________________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] | 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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn load_locales(_tokens: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | match load_locales::load_locales() { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn load_locales(_tokens: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | match load_locales::load_locales() { [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mf1-macros` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mf1-macros` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "1897710b18c80883cfe0ea500e2853ad9fda05bcf5284835c66cbba23236b545", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1897710b18c80883cfe0ea500e2853ad9fda05bcf5284835c66cbba23236b545", kill_on_drop: false }` [INFO] [stdout] 1897710b18c80883cfe0ea500e2853ad9fda05bcf5284835c66cbba23236b545