[INFO] fetching crate gmeta-codegen 1.5.0... [INFO] checking gmeta-codegen-1.5.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate gmeta-codegen 1.5.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate gmeta-codegen 1.5.0 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 gmeta-codegen 1.5.0 [INFO] finished tweaking crates.io crate gmeta-codegen 1.5.0 [INFO] tweaked toml for crates.io crate gmeta-codegen 1.5.0 written to /workspace/builds/worker-1-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 82 packages to latest compatible versions [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding derive_more v0.99.18 (latest: v1.0.0) [INFO] [stderr] Adding enum-iterator v1.5.0 (latest: v2.1.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 15565982a436a350d4acf2c127a899082ecb14b683f6697cc956cdf367bf6ae8 [INFO] running `Command { std: "docker" "start" "-a" "15565982a436a350d4acf2c127a899082ecb14b683f6697cc956cdf367bf6ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15565982a436a350d4acf2c127a899082ecb14b683f6697cc956cdf367bf6ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15565982a436a350d4acf2c127a899082ecb14b683f6697cc956cdf367bf6ae8", kill_on_drop: false }` [INFO] [stdout] 15565982a436a350d4acf2c127a899082ecb14b683f6697cc956cdf367bf6ae8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] faebb4d8ab7d45c1c174b1793d34cab0398e046927b283ce303793b749c761e1 [INFO] running `Command { std: "docker" "start" "-a" "faebb4d8ab7d45c1c174b1793d34cab0398e046927b283ce303793b749c761e1", kill_on_drop: false }` [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling gear-stack-buffer v1.5.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling gear-dlmalloc v0.2.0 [INFO] [stderr] Compiling gear-ss58 v1.5.0 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking libc-print v0.1.23 [INFO] [stderr] Checking str-buf v3.0.3 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking gsys v1.5.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking galloc v1.5.0 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling gmeta-codegen v1.5.0 [INFO] [stderr] Checking gmeta-codegen v1.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking enum-iterator v1.5.0 [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:5 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn metawasm(_: 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] 172 | process(parse_macro_input!(item)).unwrap_or_else(|error| error.into_compile_error().into()) [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:172:62 [INFO] [stdout] | [INFO] [stdout] 172 | process(parse_macro_input!(item)).unwrap_or_else(|error| error.into_compile_error().into()) [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:420:8 [INFO] [stdout] | [INFO] [stdout] 175 | fn process(module: ItemMod) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | let Some((_, items)) = module.content else { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | let mut items = items.into_iter(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | let two_first_items = (items.next(), items.next()); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | [INFO] [stdout] 205 | let (potential_type_item, potential_functions) = [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] 206 | if let (Some(first), Some(second)) = two_first_items { [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] 217 | let Item::Type(type_item) = potential_type_item else { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | let (state_type, state_type_inner) = if type_item.ident == "State" { [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] 249 | let mut functions = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 380 | let mut type_registrations = Vec::with_capacity(functions.len()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 381 | let (mut extern_functions, mut public_functions) = [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] 418 | let module_ident = quote::format_ident!("{MODULE_NAME}"); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 419 | [INFO] [stdout] 420 | Ok(quote! { [INFO] [stdout] | ________^ [INFO] [stdout] 421 | | pub mod #module_ident { [INFO] [stdout] 422 | | use super::*; [INFO] [stdout] ... | [INFO] [stdout] 449 | | } [INFO] [stdout] 450 | | }.into()) [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] [stderr] error: could not compile `gmeta-codegen` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "faebb4d8ab7d45c1c174b1793d34cab0398e046927b283ce303793b749c761e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faebb4d8ab7d45c1c174b1793d34cab0398e046927b283ce303793b749c761e1", kill_on_drop: false }` [INFO] [stdout] faebb4d8ab7d45c1c174b1793d34cab0398e046927b283ce303793b749c761e1