[INFO] fetching crate spirv-std-macros 0.9.0... [INFO] checking spirv-std-macros-0.9.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate spirv-std-macros 0.9.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate spirv-std-macros 0.9.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 spirv-std-macros 0.9.0 [INFO] finished tweaking crates.io crate spirv-std-macros 0.9.0 [INFO] tweaked toml for crates.io crate spirv-std-macros 0.9.0 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d85a13d19e4f3ce96e2d9569b0108c93b5cd82063a58d542572ec7afeb0505a [INFO] running `Command { std: "docker" "start" "-a" "9d85a13d19e4f3ce96e2d9569b0108c93b5cd82063a58d542572ec7afeb0505a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d85a13d19e4f3ce96e2d9569b0108c93b5cd82063a58d542572ec7afeb0505a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d85a13d19e4f3ce96e2d9569b0108c93b5cd82063a58d542572ec7afeb0505a", kill_on_drop: false }` [INFO] [stdout] 9d85a13d19e4f3ce96e2d9569b0108c93b5cd82063a58d542572ec7afeb0505a [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ca3ad820e538d9b933afd723cace6d051c03732f5d0a64f771c3767ae2828a0 [INFO] running `Command { std: "docker" "start" "-a" "5ca3ad820e538d9b933afd723cace6d051c03732f5d0a64f771c3767ae2828a0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking spirv-std-types v0.9.0 [INFO] [stderr] Checking spirv-std-macros v0.9.0 (/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:181:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn spirv(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] 146 | let mut tokens: Vec = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | let attr: proc_macro2::TokenStream = attr.into(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | let item: proc_macro2::TokenStream = item.into(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | / tokens [INFO] [stdout] 182 | | .into_iter() [INFO] [stdout] 183 | | .collect::() [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] [stderr] error: could not compile `spirv-std-macros` (lib test) due to 7 previous errors [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:353:8 [INFO] [stdout] | [INFO] [stdout] 247 | / ItemFn { [INFO] [stdout] 248 | | attrs, [INFO] [stdout] 249 | | vis, [INFO] [stdout] 250 | | mut sig, [INFO] [stdout] 251 | | block, [INFO] [stdout] 252 | | }: ItemFn, [INFO] [stdout] | |_____________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 255 | let trait_bound_name = Ident::new("VECTOR", Span::mixed_site()); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | let const_bound_name = Ident::new("LENGTH", Span::mixed_site()); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | let vector_path = { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | let mut path = syn::Path { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 297 | let mut punct = Punctuated::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 316 | let trait_bounds = { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 317 | let mut punct = Punctuated::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 353 | Ok(ItemFn { [INFO] [stdout] | ________^ [INFO] [stdout] 354 | | attrs, [INFO] [stdout] 355 | | vis, [INFO] [stdout] 356 | | sig, [INFO] [stdout] 357 | | block, [INFO] [stdout] 358 | | }) [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] [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:362:21 [INFO] [stdout] | [INFO] [stdout] 361 | fn path_from_ident(ident: Ident) -> syn::Type { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 362 | syn::Type::Path(syn::TypePath { [INFO] [stdout] | _____________________^ [INFO] [stdout] 363 | | qself: None, [INFO] [stdout] 364 | | path: syn::Path::from(ident), [INFO] [stdout] 365 | | }) [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:416:12 [INFO] [stdout] | [INFO] [stdout] 409 | let format_string = input.parse::()?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 413 | let variables = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 416 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 417 | | span, [INFO] [stdout] 418 | | format_string: format_string.value(), [INFO] [stdout] 419 | | variables: variables.into_iter().collect(), [INFO] [stdout] 420 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/image.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 48 | let mut crate_root = None; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 370 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 371 | | arrayed, [INFO] [stdout] 372 | | crate_root, [INFO] [stdout] 373 | | depth, [INFO] [stdout] ... | [INFO] [stdout] 379 | | components, [INFO] [stdout] 380 | | }) [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/image.rs:388:23 [INFO] [stdout] | [INFO] [stdout] 388 | segments: { [INFO] [stdout] | _______________________^ [INFO] [stdout] 389 | | let mut punct = syn::punctuated::Punctuated::new(); [INFO] [stdout] 390 | | punct.push(Ident::new("spirv_std", proc_macro2::Span::mixed_site()).into()); [INFO] [stdout] ... | [INFO] [stdout] 393 | | }, [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 6 previous errors [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:181:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn spirv(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] 146 | let mut tokens: Vec = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | let attr: proc_macro2::TokenStream = attr.into(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | let item: proc_macro2::TokenStream = item.into(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | / tokens [INFO] [stdout] 182 | | .into_iter() [INFO] [stdout] 183 | | .collect::() [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:353:8 [INFO] [stdout] | [INFO] [stdout] 247 | / ItemFn { [INFO] [stdout] 248 | | attrs, [INFO] [stdout] 249 | | vis, [INFO] [stdout] 250 | | mut sig, [INFO] [stdout] 251 | | block, [INFO] [stdout] 252 | | }: ItemFn, [INFO] [stdout] | |_____________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 255 | let trait_bound_name = Ident::new("VECTOR", Span::mixed_site()); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | let const_bound_name = Ident::new("LENGTH", Span::mixed_site()); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | let vector_path = { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | let mut path = syn::Path { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 297 | let mut punct = Punctuated::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 316 | let trait_bounds = { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 317 | let mut punct = Punctuated::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 353 | Ok(ItemFn { [INFO] [stdout] | ________^ [INFO] [stdout] 354 | | attrs, [INFO] [stdout] 355 | | vis, [INFO] [stdout] 356 | | sig, [INFO] [stdout] 357 | | block, [INFO] [stdout] 358 | | }) [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:362:21 [INFO] [stdout] | [INFO] [stdout] 361 | fn path_from_ident(ident: Ident) -> syn::Type { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 362 | syn::Type::Path(syn::TypePath { [INFO] [stdout] | _____________________^ [INFO] [stdout] 363 | | qself: None, [INFO] [stdout] 364 | | path: syn::Path::from(ident), [INFO] [stdout] 365 | | }) [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:416:12 [INFO] [stdout] | [INFO] [stdout] 409 | let format_string = input.parse::()?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 413 | let variables = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 416 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 417 | | span, [INFO] [stdout] 418 | | format_string: format_string.value(), [INFO] [stdout] 419 | | variables: variables.into_iter().collect(), [INFO] [stdout] 420 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/image.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 48 | let mut crate_root = None; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 370 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 371 | | arrayed, [INFO] [stdout] 372 | | crate_root, [INFO] [stdout] 373 | | depth, [INFO] [stdout] ... | [INFO] [stdout] 379 | | components, [INFO] [stdout] 380 | | }) [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/image.rs:388:23 [INFO] [stdout] | [INFO] [stdout] 388 | segments: { [INFO] [stdout] | _______________________^ [INFO] [stdout] 389 | | let mut punct = syn::punctuated::Punctuated::new(); [INFO] [stdout] 390 | | punct.push(Ident::new("spirv_std", proc_macro2::Span::mixed_site()).into()); [INFO] [stdout] ... | [INFO] [stdout] 393 | | }, [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spirv-std-macros` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "5ca3ad820e538d9b933afd723cace6d051c03732f5d0a64f771c3767ae2828a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ca3ad820e538d9b933afd723cace6d051c03732f5d0a64f771c3767ae2828a0", kill_on_drop: false }` [INFO] [stdout] 5ca3ad820e538d9b933afd723cace6d051c03732f5d0a64f771c3767ae2828a0