[INFO] fetching crate candle-nn 0.7.1... [INFO] checking candle-nn-0.7.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate candle-nn 0.7.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate candle-nn 0.7.1 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 candle-nn 0.7.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate candle-nn 0.7.1 [INFO] tweaked toml for crates.io crate candle-nn 0.7.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate candle-nn 0.7.1 already has a lockfile, it will not be regenerated [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0802fc0374de89cbee77fa1f271cf48fdc713a8421068a3b4f9ca4e6d07e09c7 [INFO] running `Command { std: "docker" "start" "-a" "0802fc0374de89cbee77fa1f271cf48fdc713a8421068a3b4f9ca4e6d07e09c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0802fc0374de89cbee77fa1f271cf48fdc713a8421068a3b4f9ca4e6d07e09c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0802fc0374de89cbee77fa1f271cf48fdc713a8421068a3b4f9ca4e6d07e09c7", kill_on_drop: false }` [INFO] [stdout] 0802fc0374de89cbee77fa1f271cf48fdc713a8421068a3b4f9ca4e6d07e09c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 800bfd0c85d9a0f557d97e4c3addd6dfb1853347e05cc972356bc1aa49f421d0 [INFO] running `Command { std: "docker" "start" "-a" "800bfd0c85d9a0f557d97e4c3addd6dfb1853347e05cc972356bc1aa49f421d0", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking reborrow v0.5.5 [INFO] [stderr] Checking raw-cpuid v10.7.0 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling zip v1.1.4 [INFO] [stderr] Compiling cc v1.1.8 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking object v0.36.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking bytemuck v1.16.3 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking dyn-stack v0.10.0 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking pulp v0.18.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap v4.5.15 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking gemm-common v0.17.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking gemm-f32 v0.17.1 [INFO] [stderr] Checking gemm-c64 v0.17.1 [INFO] [stderr] Checking gemm-c32 v0.17.1 [INFO] [stderr] Checking gemm-f64 v0.17.1 [INFO] [stderr] Checking gemm-f16 v0.17.1 [INFO] [stderr] Checking gemm v0.17.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking safetensors v0.4.4 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking candle-core v0.7.1 [INFO] [stderr] Checking candle-nn v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `candle_core::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/batch_norm.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 215 | let x = x.to_dtype(internal_dtype)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | let x = x.transpose(0, 1)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | let x = x.flatten_from(1)?.contiguous()?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | let x = if self.remove_mean { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 233 | let updated_running_var = { [INFO] [stdout] | ------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | let x = x [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 244 | let x = match &self.weight_and_bias { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | x.reshape(x_dims_post_transpose)?.transpose(0, 1) [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: this value of type `candle_core::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/batch_norm.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 215 | let x = x.to_dtype(internal_dtype)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | let x = x.transpose(0, 1)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | let x = x.flatten_from(1)?.contiguous()?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | let x = if self.remove_mean { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 233 | let updated_running_var = { [INFO] [stdout] | ------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | let x = x [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 244 | let x = match &self.weight_and_bias { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | x.reshape(x_dims_post_transpose)?.transpose(0, 1) [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: this value of type `candle_core::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/group_norm.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 58 | let x = x.reshape((b_sz, self.num_groups, hidden_size))?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let x = x.to_dtype(internal_dtype)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let mean_x = (x.sum_keepdim(2)? / hidden_size as f64)?; [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let x = x.broadcast_sub(&mean_x)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let norm_x = (x.sqr()?.sum_keepdim(2)? / hidden_size as f64)?; [INFO] [stdout] 63 | let x_normed = x.broadcast_div(&(norm_x + self.eps)?.sqrt()?)?; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | let weight = self.weight.reshape(w_dims.clone())?; [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | let bias = self.bias.reshape(w_dims)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | / x_normed [INFO] [stdout] 69 | | .to_dtype(x_dtype)? [INFO] [stdout] 70 | | .reshape(x_shape)? [INFO] [stdout] 71 | | .broadcast_mul(&weight)? [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 `candle_core::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/group_norm.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 58 | let x = x.reshape((b_sz, self.num_groups, hidden_size))?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let x = x.to_dtype(internal_dtype)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let mean_x = (x.sum_keepdim(2)? / hidden_size as f64)?; [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let x = x.broadcast_sub(&mean_x)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let norm_x = (x.sqr()?.sum_keepdim(2)? / hidden_size as f64)?; [INFO] [stdout] 63 | let x_normed = x.broadcast_div(&(norm_x + self.eps)?.sqrt()?)?; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | let weight = self.weight.reshape(w_dims.clone())?; [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | let bias = self.bias.reshape(w_dims)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | / x_normed [INFO] [stdout] 69 | | .to_dtype(x_dtype)? [INFO] [stdout] 70 | | .reshape(x_shape)? [INFO] [stdout] 71 | | .broadcast_mul(&weight)? [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 `candle_core::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 42 | let xs = xs.chunk(2, D::Minus1)?; [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | &xs[0].silu()? * &xs[1] [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 `candle_core::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops.rs:627:5 [INFO] [stdout] | [INFO] [stdout] 624 | let x = x.to_dtype(internal_dtype)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 625 | let norm_x = (x.sqr()?.sum_keepdim(D::Minus1)? / hidden_size as f64)?; [INFO] [stdout] 626 | let x_normed = x.broadcast_div(&(norm_x + eps as f64)?.sqrt()?)?; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 627 | x_normed.to_dtype(x_dtype)?.broadcast_mul(alpha) [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 `candle_core::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops.rs:870:5 [INFO] [stdout] | [INFO] [stdout] 863 | let x = x.to_dtype(internal_dtype)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 864 | let x = { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 869 | let x_normed = x.broadcast_div(&(norm_x + eps as f64)?.sqrt()?)?; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 870 | / x_normed [INFO] [stdout] 871 | | .to_dtype(x_dtype)? [INFO] [stdout] 872 | | .broadcast_mul(alpha)? [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 `candle_core::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 42 | let xs = xs.chunk(2, D::Minus1)?; [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | &xs[0].silu()? * &xs[1] [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 `candle_core::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops.rs:627:5 [INFO] [stdout] | [INFO] [stdout] 624 | let x = x.to_dtype(internal_dtype)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 625 | let norm_x = (x.sqr()?.sum_keepdim(D::Minus1)? / hidden_size as f64)?; [INFO] [stdout] 626 | let x_normed = x.broadcast_div(&(norm_x + eps as f64)?.sqrt()?)?; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 627 | x_normed.to_dtype(x_dtype)?.broadcast_mul(alpha) [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 `candle_core::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops.rs:870:5 [INFO] [stdout] | [INFO] [stdout] 863 | let x = x.to_dtype(internal_dtype)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 864 | let x = { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 869 | let x_normed = x.broadcast_div(&(norm_x + eps as f64)?.sqrt()?)?; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 870 | / x_normed [INFO] [stdout] 871 | | .to_dtype(x_dtype)? [INFO] [stdout] 872 | | .broadcast_mul(alpha)? [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 `candle_core::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rotary_emb.rs:487:20 [INFO] [stdout] | [INFO] [stdout] 485 | let xs1 = xs.narrow(D::Minus1, 0, last_dim / 2)?; [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 486 | let xs2 = xs.narrow(D::Minus1, last_dim / 2, last_dim - last_dim / 2)?; [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 487 | Tensor::cat(&[&xs2.neg()?, &xs1], D::Minus1) [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 `candle_core::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/var_builder.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 225 | let tensor = self [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | tensor.to_device(dev)?.to_dtype(dtype) [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 `candle_core::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rotary_emb.rs:487:20 [INFO] [stdout] | [INFO] [stdout] 485 | let xs1 = xs.narrow(D::Minus1, 0, last_dim / 2)?; [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 486 | let xs2 = xs.narrow(D::Minus1, last_dim / 2, last_dim - last_dim / 2)?; [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 487 | Tensor::cat(&[&xs2.neg()?, &xs1], D::Minus1) [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 `candle_core::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/var_builder.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 225 | let tensor = self [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | tensor.to_device(dev)?.to_dtype(dtype) [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `candle-nn` (lib test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `candle-nn` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "800bfd0c85d9a0f557d97e4c3addd6dfb1853347e05cc972356bc1aa49f421d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "800bfd0c85d9a0f557d97e4c3addd6dfb1853347e05cc972356bc1aa49f421d0", kill_on_drop: false }` [INFO] [stdout] 800bfd0c85d9a0f557d97e4c3addd6dfb1853347e05cc972356bc1aa49f421d0