[INFO] fetching crate candle-core 0.7.1... [INFO] checking candle-core-0.7.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate candle-core 0.7.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate candle-core 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-core 0.7.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate candle-core 0.7.1 [INFO] tweaked toml for crates.io crate candle-core 0.7.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate candle-core 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 430bf7ac915c21802612b352156729fffed616599dd144ccf8303a7009e2de26 [INFO] running `Command { std: "docker" "start" "-a" "430bf7ac915c21802612b352156729fffed616599dd144ccf8303a7009e2de26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "430bf7ac915c21802612b352156729fffed616599dd144ccf8303a7009e2de26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "430bf7ac915c21802612b352156729fffed616599dd144ccf8303a7009e2de26", kill_on_drop: false }` [INFO] [stdout] 430bf7ac915c21802612b352156729fffed616599dd144ccf8303a7009e2de26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 81ff48d06ce19aeba6ea2eb5e45de24eaafcad3d5e06b4d3e889703b96184fa4 [INFO] running `Command { std: "docker" "start" "-a" "81ff48d06ce19aeba6ea2eb5e45de24eaafcad3d5e06b4d3e889703b96184fa4", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking reborrow v0.5.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking raw-cpuid v10.7.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling cc v1.1.8 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling zip v1.1.4 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking object v0.36.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking regex v1.10.6 [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 zerofrom-derive v0.1.4 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [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 zerofrom v0.1.4 [INFO] [stderr] Checking bytemuck v1.16.3 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking dyn-stack v0.10.0 [INFO] [stderr] Checking clap v4.5.15 [INFO] [stderr] Checking pulp v0.18.21 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [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-f64 v0.17.1 [INFO] [stderr] Checking gemm-c32 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 tinytemplate v1.2.1 [INFO] [stderr] Checking safetensors v0.4.4 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking candle-core v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `[indexer::TensorIndexer; 1]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/indexer.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 207 | fn i(&self, (a,): (A,)) -> Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | self.index(&[a.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: this value of type `[indexer::TensorIndexer; 2]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/indexer.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 233 | fn i(&self, (a, b): (A, B)) -> Result { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | self.index(&[a.into(), b.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: this value of type `[indexer::TensorIndexer; 3]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/indexer.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 246 | fn i(&self, ($($t,)*): ($($t,)*)) -> Result { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | self.index(&[$($t.into(),)*]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | index_op_tuple!("see [TensorIndex#method.i]", A, B, C); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `index_op_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `[indexer::TensorIndexer; 4]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/indexer.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 246 | fn i(&self, ($($t,)*): ($($t,)*)) -> Result { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | self.index(&[$($t.into(),)*]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | index_op_tuple!("see [TensorIndex#method.i]", A, B, C, D); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `index_op_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `[indexer::TensorIndexer; 5]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/indexer.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 246 | fn i(&self, ($($t,)*): ($($t,)*)) -> Result { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | self.index(&[$($t.into(),)*]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | index_op_tuple!("see [TensorIndex#method.i]", A, B, C, D, E); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `index_op_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `[indexer::TensorIndexer; 6]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/indexer.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 246 | fn i(&self, ($($t,)*): ($($t,)*)) -> Result { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | self.index(&[$($t.into(),)*]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | index_op_tuple!("see [TensorIndex#method.i]", A, B, C, D, E, F); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `index_op_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `[indexer::TensorIndexer; 7]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/indexer.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 246 | fn i(&self, ($($t,)*): ($($t,)*)) -> Result { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | self.index(&[$($t.into(),)*]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | index_op_tuple!("see [TensorIndex#method.i]", A, B, C, D, E, F, G); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `index_op_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/quantized/mod.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 452 | let w = self.dequantize_f16()?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 453 | let in_dtype = xs.dtype(); [INFO] [stdout] 454 | let w = match *xs.dims() { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 459 | xs.to_dtype(DType::F16)?.matmul(&w)?.to_dtype(in_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 `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 384 | shape: S, [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 387 | Self::from_vec_impl(vec![value], (), device, false)?.broadcast_as(shape) [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 `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:1010:9 [INFO] [stdout] | [INFO] [stdout] 1008 | pub fn var(&self, dim: D) -> Result { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1009 | let dim = dim.to_index(self.shape(), "var")?; [INFO] [stdout] 1010 | self.var_keepdim(dim)?.squeeze(dim) [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 `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:1109:9 [INFO] [stdout] | [INFO] [stdout] 1108 | pub fn clamp(&self, min: T1, max: T2) -> Result { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1109 | self.maximum(min)?.minimum(max) [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 `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:1876:9 [INFO] [stdout] | [INFO] [stdout] 1874 | pub fn get_on_dim(&self, dim: D, index: usize) -> Result { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1875 | let dim = dim.to_index(self.shape(), "get_on_dim")?; [INFO] [stdout] 1876 | self.narrow(dim, index, 1)?.squeeze(dim) [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 `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2423:9 [INFO] [stdout] | [INFO] [stdout] 2420 | let t = Tensor::arange(0u32, n as u32, device)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2421 | let t1 = t.reshape((1, n))?.broadcast_as((n, n))?; [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2422 | let t2 = t.reshape((n, 1))?.broadcast_as((n, n))?; [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2423 | t1.le(&t2)?.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 `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2431:9 [INFO] [stdout] | [INFO] [stdout] 2428 | let t = Tensor::arange(0u32, n as u32, device)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2429 | let t1 = t.reshape((1, n))?.broadcast_as((n, n))?; [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2430 | let t2 = t.reshape((n, 1))?.broadcast_as((n, n))?; [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2431 | t1.ge(&t2)?.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 `Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2439:9 [INFO] [stdout] | [INFO] [stdout] 2436 | let t = Tensor::arange(0u32, n as u32, device)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2437 | let t1 = t.reshape((1, n))?.broadcast_as((n, n))?; [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2438 | let t2 = t.reshape((n, 1))?.broadcast_as((n, n))?; [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2439 | t1.eq(&t2)?.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 `B` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2570:30 [INFO] [stdout] | [INFO] [stdout] 2569 | fn $fn1(self, rhs: Tensor) -> Self::Output { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2570 | Tensor::$fn1(self?.borrow(), &rhs) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2616 | bin_trait!(Add, add, |_| 1., |v| v); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `bin_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `B` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2586:37 [INFO] [stdout] | [INFO] [stdout] 2585 | fn $fn1(self, rhs: Result) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2586 | Tensor::$fn1(&self, rhs?.borrow()) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 2616 | bin_trait!(Add, add, |_| 1., |v| v); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `bin_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `B` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2570:30 [INFO] [stdout] | [INFO] [stdout] 2569 | fn $fn1(self, rhs: Tensor) -> Self::Output { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2570 | Tensor::$fn1(self?.borrow(), &rhs) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2617 | bin_trait!(Sub, sub, |_| 1., |v: f64| -v); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `bin_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `B` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2586:37 [INFO] [stdout] | [INFO] [stdout] 2585 | fn $fn1(self, rhs: Result) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2586 | Tensor::$fn1(&self, rhs?.borrow()) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 2617 | bin_trait!(Sub, sub, |_| 1., |v: f64| -v); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `bin_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `B` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2570:30 [INFO] [stdout] | [INFO] [stdout] 2569 | fn $fn1(self, rhs: Tensor) -> Self::Output { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2570 | Tensor::$fn1(self?.borrow(), &rhs) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2618 | bin_trait!(Mul, mul, |v| v, |_| 0.); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `bin_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `B` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2586:37 [INFO] [stdout] | [INFO] [stdout] 2585 | fn $fn1(self, rhs: Result) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2586 | Tensor::$fn1(&self, rhs?.borrow()) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 2618 | bin_trait!(Mul, mul, |v| v, |_| 0.); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `bin_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `B` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2570:30 [INFO] [stdout] | [INFO] [stdout] 2569 | fn $fn1(self, rhs: Tensor) -> Self::Output { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2570 | Tensor::$fn1(self?.borrow(), &rhs) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2619 | bin_trait!(Div, div, |v| 1. / v, |_| 0.); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `bin_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `B` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2586:37 [INFO] [stdout] | [INFO] [stdout] 2585 | fn $fn1(self, rhs: Result) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2586 | Tensor::$fn1(&self, rhs?.borrow()) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 2619 | bin_trait!(Div, div, |v| 1. / v, |_| 0.); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `bin_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `candle-core` (lib) due to 24 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `[indexer::TensorIndexer; 1]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/indexer.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 207 | fn i(&self, (a,): (A,)) -> Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | self.index(&[a.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: this value of type `[indexer::TensorIndexer; 2]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/indexer.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 233 | fn i(&self, (a, b): (A, B)) -> Result { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | self.index(&[a.into(), b.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: this value of type `[indexer::TensorIndexer; 3]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/indexer.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 246 | fn i(&self, ($($t,)*): ($($t,)*)) -> Result { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | self.index(&[$($t.into(),)*]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | index_op_tuple!("see [TensorIndex#method.i]", A, B, C); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `index_op_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `[indexer::TensorIndexer; 4]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/indexer.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 246 | fn i(&self, ($($t,)*): ($($t,)*)) -> Result { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | self.index(&[$($t.into(),)*]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | index_op_tuple!("see [TensorIndex#method.i]", A, B, C, D); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `index_op_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `[indexer::TensorIndexer; 5]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/indexer.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 246 | fn i(&self, ($($t,)*): ($($t,)*)) -> Result { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | self.index(&[$($t.into(),)*]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | index_op_tuple!("see [TensorIndex#method.i]", A, B, C, D, E); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `index_op_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `[indexer::TensorIndexer; 6]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/indexer.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 246 | fn i(&self, ($($t,)*): ($($t,)*)) -> Result { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | self.index(&[$($t.into(),)*]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | index_op_tuple!("see [TensorIndex#method.i]", A, B, C, D, E, F); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `index_op_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `[indexer::TensorIndexer; 7]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/indexer.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 246 | fn i(&self, ($($t,)*): ($($t,)*)) -> Result { [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | self.index(&[$($t.into(),)*]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | index_op_tuple!("see [TensorIndex#method.i]", A, B, C, D, E, F, G); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `index_op_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tensor::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/quantized/mod.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 452 | let w = self.dequantize_f16()?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 453 | let in_dtype = xs.dtype(); [INFO] [stdout] 454 | let w = match *xs.dims() { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 459 | xs.to_dtype(DType::F16)?.matmul(&w)?.to_dtype(in_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 `tensor::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 384 | shape: S, [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 387 | Self::from_vec_impl(vec![value], (), device, false)?.broadcast_as(shape) [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 `tensor::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:1010:9 [INFO] [stdout] | [INFO] [stdout] 1008 | pub fn var(&self, dim: D) -> Result { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1009 | let dim = dim.to_index(self.shape(), "var")?; [INFO] [stdout] 1010 | self.var_keepdim(dim)?.squeeze(dim) [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 `tensor::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:1109:9 [INFO] [stdout] | [INFO] [stdout] 1108 | pub fn clamp(&self, min: T1, max: T2) -> Result { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1109 | self.maximum(min)?.minimum(max) [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 `tensor::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:1876:9 [INFO] [stdout] | [INFO] [stdout] 1874 | pub fn get_on_dim(&self, dim: D, index: usize) -> Result { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1875 | let dim = dim.to_index(self.shape(), "get_on_dim")?; [INFO] [stdout] 1876 | self.narrow(dim, index, 1)?.squeeze(dim) [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 `tensor::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2423:9 [INFO] [stdout] | [INFO] [stdout] 2420 | let t = Tensor::arange(0u32, n as u32, device)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2421 | let t1 = t.reshape((1, n))?.broadcast_as((n, n))?; [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2422 | let t2 = t.reshape((n, 1))?.broadcast_as((n, n))?; [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2423 | t1.le(&t2)?.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 `tensor::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2431:9 [INFO] [stdout] | [INFO] [stdout] 2428 | let t = Tensor::arange(0u32, n as u32, device)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2429 | let t1 = t.reshape((1, n))?.broadcast_as((n, n))?; [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2430 | let t2 = t.reshape((n, 1))?.broadcast_as((n, n))?; [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2431 | t1.ge(&t2)?.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 `tensor::Tensor` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2439:9 [INFO] [stdout] | [INFO] [stdout] 2436 | let t = Tensor::arange(0u32, n as u32, device)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2437 | let t1 = t.reshape((1, n))?.broadcast_as((n, n))?; [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2438 | let t2 = t.reshape((n, 1))?.broadcast_as((n, n))?; [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2439 | t1.eq(&t2)?.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 `B` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2570:30 [INFO] [stdout] | [INFO] [stdout] 2569 | fn $fn1(self, rhs: Tensor) -> Self::Output { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2570 | Tensor::$fn1(self?.borrow(), &rhs) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2616 | bin_trait!(Add, add, |_| 1., |v| v); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `bin_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `B` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2586:37 [INFO] [stdout] | [INFO] [stdout] 2585 | fn $fn1(self, rhs: Result) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2586 | Tensor::$fn1(&self, rhs?.borrow()) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 2616 | bin_trait!(Add, add, |_| 1., |v| v); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `bin_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `B` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2570:30 [INFO] [stdout] | [INFO] [stdout] 2569 | fn $fn1(self, rhs: Tensor) -> Self::Output { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2570 | Tensor::$fn1(self?.borrow(), &rhs) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2617 | bin_trait!(Sub, sub, |_| 1., |v: f64| -v); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `bin_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `B` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2586:37 [INFO] [stdout] | [INFO] [stdout] 2585 | fn $fn1(self, rhs: Result) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2586 | Tensor::$fn1(&self, rhs?.borrow()) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 2617 | bin_trait!(Sub, sub, |_| 1., |v: f64| -v); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `bin_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `B` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2570:30 [INFO] [stdout] | [INFO] [stdout] 2569 | fn $fn1(self, rhs: Tensor) -> Self::Output { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2570 | Tensor::$fn1(self?.borrow(), &rhs) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2618 | bin_trait!(Mul, mul, |v| v, |_| 0.); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `bin_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `B` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2586:37 [INFO] [stdout] | [INFO] [stdout] 2585 | fn $fn1(self, rhs: Result) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2586 | Tensor::$fn1(&self, rhs?.borrow()) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 2618 | bin_trait!(Mul, mul, |v| v, |_| 0.); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `bin_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `B` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2570:30 [INFO] [stdout] | [INFO] [stdout] 2569 | fn $fn1(self, rhs: Tensor) -> Self::Output { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2570 | Tensor::$fn1(self?.borrow(), &rhs) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2619 | bin_trait!(Div, div, |v| 1. / v, |_| 0.); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `bin_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `B` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:2586:37 [INFO] [stdout] | [INFO] [stdout] 2585 | fn $fn1(self, rhs: Result) -> Self::Output { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2586 | Tensor::$fn1(&self, rhs?.borrow()) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 2619 | bin_trait!(Div, div, |v| 1. / v, |_| 0.); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `bin_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `candle-core` (lib test) due to 24 previous errors [INFO] running `Command { std: "docker" "inspect" "81ff48d06ce19aeba6ea2eb5e45de24eaafcad3d5e06b4d3e889703b96184fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81ff48d06ce19aeba6ea2eb5e45de24eaafcad3d5e06b4d3e889703b96184fa4", kill_on_drop: false }` [INFO] [stdout] 81ff48d06ce19aeba6ea2eb5e45de24eaafcad3d5e06b4d3e889703b96184fa4