[INFO] fetching crate cubecl-macros 0.2.0... [INFO] checking cubecl-macros-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cubecl-macros 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate cubecl-macros 0.2.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 cubecl-macros 0.2.0 [INFO] finished tweaking crates.io crate cubecl-macros 0.2.0 [INFO] tweaked toml for crates.io crate cubecl-macros 0.2.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 6 packages to latest compatible versions [INFO] [stderr] Adding derive-new v0.6.0 (latest: v0.7.0) [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] 284a6c9ece27ae943e0aaf31c4400e89ec79d51acb79922d7fa589d86dbe9af4 [INFO] running `Command { std: "docker" "start" "-a" "284a6c9ece27ae943e0aaf31c4400e89ec79d51acb79922d7fa589d86dbe9af4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "284a6c9ece27ae943e0aaf31c4400e89ec79d51acb79922d7fa589d86dbe9af4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "284a6c9ece27ae943e0aaf31c4400e89ec79d51acb79922d7fa589d86dbe9af4", kill_on_drop: false }` [INFO] [stdout] 284a6c9ece27ae943e0aaf31c4400e89ec79d51acb79922d7fa589d86dbe9af4 [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] c0753002caaaa9d45dd72e19f8bb62728cdee93a05e6468c8bbcdb99b1098461 [INFO] running `Command { std: "docker" "start" "-a" "c0753002caaaa9d45dd72e19f8bb62728cdee93a05e6468c8bbcdb99b1098461", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Checking cubecl-macros v0.2.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:73:11 [INFO] [stdout] | [INFO] [stdout] 70 | fn cube_fn(func: syn::ItemFn, attrs: &SupportedAttributes) -> TokenStream { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | match codegen_cube( [INFO] [stdout] | ___________^ [INFO] [stdout] 74 | | &func, [INFO] [stdout] 75 | | &mut variable_tracker, [INFO] [stdout] 76 | | attrs.launch, [INFO] [stdout] 77 | | attrs.launch_unchecked, [INFO] [stdout] 78 | | ) { [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/codegen_function/base.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 70 | fn from(tokens: proc_macro2::TokenStream) -> Self { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | array_indexing: None, [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/codegen_function/base.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new>(tokens: S, kind: CodegenKind) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | Self { [INFO] [stdout] 82 | tokens: tokens.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/codegen_function/base.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new>(tokens: S, kind: CodegenKind) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | array_indexing: None, [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/codegen_function/operation.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 14 | let lhs = codegen_expr(&binary.left, loop_level, variable_tracker); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let (lhs, kind_lhs, lhs_array) = lhs.process(); [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] 16 | let (rhs, kind_rhs, _) = codegen_expr(&binary.right, loop_level, variable_tracker).process(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | / match binary.op { [INFO] [stdout] 29 | | syn::BinOp::Add(_) => quote::quote! { [INFO] [stdout] 30 | | { [INFO] [stdout] 31 | | let _lhs = #lhs; [INFO] [stdout] ... | [INFO] [stdout] 238 | | _ => todo!("Codegen: unsupported op {:?}", binary.op), [INFO] [stdout] 239 | | }, [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/codegen_function/operation.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 250 | let (inner, kind, _) = codegen_expr(&unary.expr, loop_level, variable_tracker).process(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 262 | / match unary.op { [INFO] [stdout] 263 | | syn::UnOp::Not(_) => quote::quote! { [INFO] [stdout] 264 | | { [INFO] [stdout] 265 | | let _inner = #inner; [INFO] [stdout] ... | [INFO] [stdout] 270 | | _ => todo!("Codegen: unsupported op {:?}", unary.op), [INFO] [stdout] 271 | | }, [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/codegen_type/generics.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn new(type_gens: syn::Generics) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | Self { [INFO] [stdout] 14 | arg_lifetime: Self::arg_lifetime(), [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/codegen_type/generics.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn new(type_gens: syn::Generics) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 15 | arg_runtime: Self::arg_runtime(), [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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cubecl-macros` (lib test) due to 9 previous errors [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:73:11 [INFO] [stdout] | [INFO] [stdout] 70 | fn cube_fn(func: syn::ItemFn, attrs: &SupportedAttributes) -> TokenStream { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | match codegen_cube( [INFO] [stdout] | ___________^ [INFO] [stdout] 74 | | &func, [INFO] [stdout] 75 | | &mut variable_tracker, [INFO] [stdout] 76 | | attrs.launch, [INFO] [stdout] 77 | | attrs.launch_unchecked, [INFO] [stdout] 78 | | ) { [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/codegen_function/base.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 70 | fn from(tokens: proc_macro2::TokenStream) -> Self { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | array_indexing: None, [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/codegen_function/base.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new>(tokens: S, kind: CodegenKind) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | Self { [INFO] [stdout] 82 | tokens: tokens.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/codegen_function/base.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new>(tokens: S, kind: CodegenKind) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | array_indexing: None, [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/codegen_function/operation.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 14 | let lhs = codegen_expr(&binary.left, loop_level, variable_tracker); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let (lhs, kind_lhs, lhs_array) = lhs.process(); [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] 16 | let (rhs, kind_rhs, _) = codegen_expr(&binary.right, loop_level, variable_tracker).process(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | / match binary.op { [INFO] [stdout] 29 | | syn::BinOp::Add(_) => quote::quote! { [INFO] [stdout] 30 | | { [INFO] [stdout] 31 | | let _lhs = #lhs; [INFO] [stdout] ... | [INFO] [stdout] 238 | | _ => todo!("Codegen: unsupported op {:?}", binary.op), [INFO] [stdout] 239 | | }, [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/codegen_function/operation.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 250 | let (inner, kind, _) = codegen_expr(&unary.expr, loop_level, variable_tracker).process(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 262 | / match unary.op { [INFO] [stdout] 263 | | syn::UnOp::Not(_) => quote::quote! { [INFO] [stdout] 264 | | { [INFO] [stdout] 265 | | let _inner = #inner; [INFO] [stdout] ... | [INFO] [stdout] 270 | | _ => todo!("Codegen: unsupported op {:?}", unary.op), [INFO] [stdout] 271 | | }, [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/codegen_type/generics.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn new(type_gens: syn::Generics) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | Self { [INFO] [stdout] 14 | arg_lifetime: Self::arg_lifetime(), [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/codegen_type/generics.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn new(type_gens: syn::Generics) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 15 | arg_runtime: Self::arg_runtime(), [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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cubecl-macros` (lib) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "c0753002caaaa9d45dd72e19f8bb62728cdee93a05e6468c8bbcdb99b1098461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0753002caaaa9d45dd72e19f8bb62728cdee93a05e6468c8bbcdb99b1098461", kill_on_drop: false }` [INFO] [stdout] c0753002caaaa9d45dd72e19f8bb62728cdee93a05e6468c8bbcdb99b1098461