[INFO] fetching crate candle-core 0.7.0... [INFO] checking candle-core-0.7.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate candle-core 0.7.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate candle-core 0.7.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate candle-core 0.7.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate candle-core 0.7.0 [INFO] tweaked toml for crates.io crate candle-core 0.7.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate candle-core 0.7.0 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1af0f352629acb278d42ccc03c1c19fcde84e9357820dd38aa1c7883e8b759a4 [INFO] running `Command { std: "docker" "start" "-a" "1af0f352629acb278d42ccc03c1c19fcde84e9357820dd38aa1c7883e8b759a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1af0f352629acb278d42ccc03c1c19fcde84e9357820dd38aa1c7883e8b759a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1af0f352629acb278d42ccc03c1c19fcde84e9357820dd38aa1c7883e8b759a4", kill_on_drop: false }` [INFO] [stdout] 1af0f352629acb278d42ccc03c1c19fcde84e9357820dd38aa1c7883e8b759a4 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44cddbf29b6d690258dd87ddf4727e401ab9684e7df40c671c19079d3dd877a2 [INFO] running `Command { std: "docker" "start" "-a" "44cddbf29b6d690258dd87ddf4727e401ab9684e7df40c671c19079d3dd877a2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking reborrow v0.5.5 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking raw-cpuid v10.7.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling zip v1.3.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling zerofrom-derive v0.1.3 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling yoke-derive v0.7.3 [INFO] [stderr] Checking zerofrom v0.1.3 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Checking yoke v0.7.3 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking dyn-stack v0.10.0 [INFO] [stderr] Checking pulp v0.18.12 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking gemm-common v0.17.1 [INFO] [stderr] Checking gemm-f32 v0.17.1 [INFO] [stderr] Checking gemm-c32 v0.17.1 [INFO] [stderr] Checking gemm-c64 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.3 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking candle-core v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking criterion v0.5.1 [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" "44cddbf29b6d690258dd87ddf4727e401ab9684e7df40c671c19079d3dd877a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44cddbf29b6d690258dd87ddf4727e401ab9684e7df40c671c19079d3dd877a2", kill_on_drop: false }` [INFO] [stdout] 44cddbf29b6d690258dd87ddf4727e401ab9684e7df40c671c19079d3dd877a2