[INFO] fetching crate neuro 0.1.0... [INFO] checking neuro-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate neuro 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate neuro 0.1.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate neuro 0.1.0 [INFO] finished tweaking crates.io crate neuro 0.1.0 [INFO] tweaked toml for crates.io crate neuro 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate neuro 0.1.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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a10e810cdb84255956b577a27806721dd533360e62caaa105be316ad03d4a0a [INFO] running `Command { std: "docker" "start" "-a" "5a10e810cdb84255956b577a27806721dd533360e62caaa105be316ad03d4a0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a10e810cdb84255956b577a27806721dd533360e62caaa105be316ad03d4a0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a10e810cdb84255956b577a27806721dd533360e62caaa105be316ad03d4a0a", kill_on_drop: false }` [INFO] [stdout] 5a10e810cdb84255956b577a27806721dd533360e62caaa105be316ad03d4a0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e38707864da376299d51c5c9f5e7746f86f297824aecc46988e5c0a3028840d [INFO] running `Command { std: "docker" "start" "-a" "5e38707864da376299d51c5c9f5e7746f86f297824aecc46988e5c0a3028840d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling aho-corasick v0.7.9 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking hdf5-types v0.6.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling hdf5-sys v0.6.0 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Compiling hdf5-derive v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Checking image v0.23.0 [INFO] [stderr] Checking console v0.9.2 [INFO] [stderr] Compiling hdf5 v0.6.0 [INFO] [stderr] Checking indicatif v0.14.0 [INFO] [stderr] Checking bstr v0.2.11 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Compiling arrayfire v3.6.3 [INFO] [stderr] Checking neuro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::regularizers::*` [INFO] [stdout] --> src/layers/dense.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::regularizers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tensor::*` [INFO] [stdout] --> src/layers/dense.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::tensor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::regularizers::*` [INFO] [stdout] --> src/layers/dense.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::regularizers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tensor::*` [INFO] [stdout] --> src/layers/dense.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::tensor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arrayfire::*` [INFO] [stdout] --> src/layers/dense.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | use arrayfire::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tensor::*` [INFO] [stdout] --> src/losses.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | use crate::tensor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arrayfire::*` [INFO] [stdout] --> src/losses.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | use arrayfire::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `image_size` is never read [INFO] [stdout] --> src/data/image_data.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ImageDataSet { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | image_size: (u32, u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/image_data.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 153 | let walker = WalkDir::new(&path).min_depth(1).max_depth(1).into_iter(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | let mut x = Tensor::new(&x_vec[..], Dim::new(&[num_channels as u64, size.1 as u64, size.0 as u64, num_images as u64])); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | let mut y = if one_hot_encode { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | Ok((x, y, classes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/image_data.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 230 | fn split_data(x: Tensor, y: Tensor, valid_frac: f64) -> (Tensor, Tensor, Option, Option) { [INFO] [stdout] | --------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 237 | let x_train = index(&x, seqs_train); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | let y_train = index(&y, seqs_train); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | let x_valid = index(&x, seqs_valid); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 240 | let y_valid = index(&y, seqs_valid); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 241 | (x_train, y_train, Some(x_valid), Some(y_valid)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/image_data.rs:241:43 [INFO] [stdout] | [INFO] [stdout] 230 | fn split_data(x: Tensor, y: Tensor, valid_frac: f64) -> (Tensor, Tensor, Option, Option) { [INFO] [stdout] | --------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 237 | let x_train = index(&x, seqs_train); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | let y_train = index(&y, seqs_train); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | let x_valid = index(&x, seqs_valid); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 240 | let y_valid = index(&y, seqs_valid); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 241 | (x_train, y_train, Some(x_valid), Some(y_valid)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/tabular_data.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn from_tensor(x_train: Tensor, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | y_train: Tensor, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | x_valid: Option, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | y_valid: Option, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | x_test: Option, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | y_test: Option [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Ok(TabularDataSet { [INFO] [stdout] | ____________^ [INFO] [stdout] 103 | | num_train_samples, [INFO] [stdout] 104 | | num_valid_samples, [INFO] [stdout] 105 | | input_shape: Dim4::new(&[num_features, 1, 1, 1]), [INFO] [stdout] ... | [INFO] [stdout] 114 | | y_train_stats: None, [INFO] [stdout] 115 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 14 | let name = CString::new(group_name).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | file.group(group_name).expect("Could not create the group.") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers/batch_normalization.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 91 | ... let mb_mean = group.dataset("mb_mean").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the mini-batch mean."); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | ... let mb_variance = group.dataset("mb_variance").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the mini-batch v... [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | ... let mean = group.dataset("mean").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the mean."); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | ... let variance = group.dataset("variance").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the variance."); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | ... let gamma = group.dataset("gamma").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the gamma values."); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | ... let beta = group.dataset("beta").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the beta values."); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | ... Box::new(BatchNorm { [INFO] [stdout] | ________________^ [INFO] [stdout] 102 | | ... follow_conv2d, [INFO] [stdout] 103 | | ... mb_mean: Tensor::from(&mb_mean[0]), [INFO] [stdout] 104 | | ... mb_variance: Tensor::from(&mb_variance[0]), [INFO] [stdout] ... | [INFO] [stdout] 114 | | ... output_shape: Dim::new(&output_shape[0]), [INFO] [stdout] 115 | | ... }) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers/batch_normalization.rs:208:22 [INFO] [stdout] | [INFO] [stdout] 189 | let c1 = mul(&self.normalized_input, &sqrt(&add(&self.mb_variance, &self.eps, true)), true); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | // c2 corresponds to: sqrt(variance + eps) [INFO] [stdout] 191 | let c2 = sqrt(&add(&self.mb_variance, &self.eps, true)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | let fac = mul(&div(&self.gamma, &(-2.0 as PrimitiveType), true), &pow(&c2, &(-3.0 as PrimitiveType), true), true); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | let dmb_variance = mul(&sum(&mul(dz, &c1, true), 3), &fac, true); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | let term1 = mul(&sum(&dz, 3), &sub(&(0.0 as PrimitiveType), &div(&self.gamma, &c2, true), true), true); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | let term2 = mul(&dmb_variance, &mean(&mul(&(-2.0 as PrimitiveType), &c1, true), 3), true); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let dmb_mean = add(&term1, &term2, true); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | let dnormalized_input = mul(dz, &self.gamma, true); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | let term1 = mul(&dnormalized_input, &div(&(1.0 as PrimitiveType), &sqrt(&self.variance), true), true); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | let m = self.normalized_input.dims()[3] as PrimitiveType; [INFO] [stdout] 206 | let term2 = mul(&dmb_variance, &mul(&(2.0 as PrimitiveType / m), &c1, true), true); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | let term3 = div(&dmb_mean, &m, true); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | add(&term1, &add(&term2, &term3, true), true) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers/conv2d.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 156 | let weights = group.dataset("weights").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the weights."); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | let biases = group.dataset("biases").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the biases."); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | let weights_initializer = group.dataset("weights_initializer").and_then(|ds| ds.read_raw::()).expect("Could not re... [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | let biases_initializer = group.dataset("biases_initializer").and_then(|ds| ds.read_raw::()).expect("Could not retr... [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | Box::new(Conv2D { [INFO] [stdout] | __________________^ [INFO] [stdout] 163 | | activation: activation[0], [INFO] [stdout] 164 | | kernel_size: (kernel_size[0][0], kernel_size[0][1]), [INFO] [stdout] 165 | | stride: (stride[0][0], stride[0][1]), [INFO] [stdout] ... | [INFO] [stdout] 180 | | regularizer, [INFO] [stdout] 181 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers/dense.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 86 | let weights = group.dataset("weights").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the weights."); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let biases = group.dataset("biases").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the biases."); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let weights_initializer = group.dataset("weights_initializer").and_then(|ds| ds.read_raw::()).expect("Could not re... [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | let biases_initializer = group.dataset("biases_initializer").and_then(|ds| ds.read_raw::()).expect("Could not retr... [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | [INFO] [stdout] 94 | Box::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 95 | | units: units[0], [INFO] [stdout] 96 | | activation: activation[0].try_into().expect("Could not create activation variant."), [INFO] [stdout] 97 | | weights: Tensor::from(&weights[0]), [INFO] [stdout] ... | [INFO] [stdout] 107 | | regularizer, [INFO] [stdout] 108 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers/dropout.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 41 | let random_engine = RandomEngine::new(RandomEngineType::PHILOX_4X32_10, Some(seed)); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | Box::new(Dropout { [INFO] [stdout] | __________________^ [INFO] [stdout] 46 | | drop_rate, [INFO] [stdout] 47 | | output_shape: Dim4::new(&[0, 0, 0, 0]), [INFO] [stdout] 48 | | grad: Tensor::new_empty_tensor(), [INFO] [stdout] 49 | | random_engine, [INFO] [stdout] 50 | | scaling_factor, [INFO] [stdout] 51 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers/dropout.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 68 | let random_engine = RandomEngine::new(RandomEngineType::PHILOX_4X32_10, Some(seed)); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Box::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 73 | | drop_rate, [INFO] [stdout] 74 | | output_shape: Dim::new(&(output_shape[0])), [INFO] [stdout] 75 | | grad: Tensor::new_empty_tensor(), [INFO] [stdout] 76 | | random_engine, [INFO] [stdout] 77 | | scaling_factor, [INFO] [stdout] 78 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/losses.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | let ones = Tensor::ones(y_true.dims()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | - (y_true / y_pred - (&ones - y_true) / (&ones - y_pred)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/losses.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 104 | let cond = ge(y_pred, y_true, true); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | selectr(&Tensor::ones(y_pred.dims()), &cond, -1.0f64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/models.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 42 | loss_function: L, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | optimizer: O, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | Ok(Network { [INFO] [stdout] | ____________^ [INFO] [stdout] 48 | | layers: Vec::new(), [INFO] [stdout] 49 | | loss_function: Box::new(loss_function), [INFO] [stdout] 50 | | optimizer: Box::new(optimizer), [INFO] [stdout] ... | [INFO] [stdout] 54 | | classes: None, [INFO] [stdout] 55 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/optimizers.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 54 | let first_moment_est_0 = group.dataset("first_moment_est_0").and_then(|ds| ds.read_raw::()).expect("Could not retrieve ... [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let first_moment_est_1 = group.dataset("first_moment_est_1").and_then(|ds| ds.read_raw::()).expect("Could not retrieve ... [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | [INFO] [stdout] 57 | Box::new(SGD { [INFO] [stdout] | __________________^ [INFO] [stdout] 58 | | learning_rate: learning_rate[0], [INFO] [stdout] 59 | | momentum: momentum[0], [INFO] [stdout] 60 | | first_moment_est: [first_moment_est_0.iter().map(Tensor::from).collect::>(), first_moment_est_1.iter().map(Tensor... [INFO] [stdout] 61 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/optimizers.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 175 | let first_moment_est_0 = group.dataset("first_moment_est_0").and_then(|ds| ds.read_raw::()).expect("Could not retrieve ... [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | let first_moment_est_1 = group.dataset("first_moment_est_1").and_then(|ds| ds.read_raw::()).expect("Could not retrieve ... [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | let second_moment_est_0 = group.dataset("second_moment_est_0").and_then(|ds| ds.read_raw::()).expect("Could not retriev... [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | let second_moment_est_1 = group.dataset("second_moment_est_1").and_then(|ds| ds.read_raw::()).expect("Could not retriev... [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | [INFO] [stdout] 180 | Box::new(Adam { [INFO] [stdout] | __________________^ [INFO] [stdout] 181 | | learning_rate: learning_rate[0], [INFO] [stdout] 182 | | beta1: beta1[0], [INFO] [stdout] 183 | | beta2: beta2[0], [INFO] [stdout] ... | [INFO] [stdout] 187 | | second_moment_est: [second_moment_est_0.iter().map(Tensor::from).collect::>(), second_moment_est_1.iter().map(Ten... [INFO] [stdout] 188 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/optimizers.rs:313:18 [INFO] [stdout] | [INFO] [stdout] 311 | let first_moment_est_0 = group.dataset("first_moment_est_0").and_then(|ds| ds.read_raw::()).expect("Could not retrieve ... [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 312 | let first_moment_est_1 = group.dataset("first_moment_est_1").and_then(|ds| ds.read_raw::()).expect("Could not retrieve ... [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 313 | Box::new(RMSProp { [INFO] [stdout] | __________________^ [INFO] [stdout] 314 | | learning_rate: learning_rate[0], [INFO] [stdout] 315 | | decay_rate: decay_rate[0], [INFO] [stdout] 316 | | eps: eps[0], [INFO] [stdout] 317 | | first_moment_est: [first_moment_est_0.iter().map(Tensor::from).collect::>(), first_moment_est_1.iter().map(Tensor... [INFO] [stdout] 318 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/optimizers.rs:412:18 [INFO] [stdout] | [INFO] [stdout] 408 | ... let gradacc0 = group.dataset("grad_acc_0").and_then(|ds| ds.read_raw::()).expect("Could not retrieve grad_acc_0."); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 409 | ... let gradacc1 = group.dataset("grad_acc_1").and_then(|ds| ds.read_raw::()).expect("Could not retrieve grad_acc_1."); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 410 | ... let updatesacc0 = group.dataset("updates_acc_0").and_then(|ds| ds.read_raw::()).expect("Could not retrieve updates_acc_0."); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 411 | ... let updatesacc1 = group.dataset("updates_acc_1").and_then(|ds| ds.read_raw::()).expect("Could not retrieve updates_acc_1."); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 412 | ... Box::new(AdaDelta { [INFO] [stdout] | ________________^ [INFO] [stdout] 413 | | ... decay_rate: decay_rate[0], [INFO] [stdout] 414 | | ... eps: eps[0], [INFO] [stdout] 415 | | ... grad_acc: [gradacc0.iter().map(Tensor::from).collect::>(), gradacc1.iter().map(Tensor::from).collect::>... [INFO] [stdout] 416 | | ... updates_acc: [updatesacc0.iter().map(Tensor::from).collect::>(), updatesacc1.iter().map(Tensor::from).collect:: [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 172 | fn from(tensor: Tensor) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | values: hdf5::types::VarLenArray::from_slice(&buffer[..]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_output` [INFO] [stdout] --> src/layers/max_pooling.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | ... let expected_output: [PrimitiveType; 64] = [0., 0., 0., 0., -1., 0., 0., 2., 0., 0., 0., 0., 0., 3., 1., 0., 0., -2., 4., 0., 0., 0... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `neuro` (lib) due to 20 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/losses.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | ... let mut y_pred = Tensor::new(&[0.2337, 0.3056, 0.4608, 0.4079, 0.1819, 0.4102, 0.4034, 0.2517, 0.3449, 0.2227, 0.2946, 0.4828], Dim... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/losses.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let mut y_true = Tensor::new(&[0., 0., 1., 0., 0., 1., 1., 0., 0., 0., 0., 1.], Dim::new(&[3, 1, 1, 4])); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/losses.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | ... let mut y_pred = Tensor::new(&[0.2337, 0.3056, 0.4608, 0.4079, 0.1819, 0.4102, 0.4034, 0.2517, 0.3449, 0.2227, 0.2946, 0.4828], Dim... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/losses.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let mut y_true = Tensor::new(&[0., 0., 1., 0., 0., 1., 1., 0., 0., 0., 0., 1.], Dim::new(&[3, 1, 1, 4])); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `image_size` is never read [INFO] [stdout] --> src/data/image_data.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ImageDataSet { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | image_size: (u32, u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/image_data.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 153 | let walker = WalkDir::new(&path).min_depth(1).max_depth(1).into_iter(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | let mut x = Tensor::new(&x_vec[..], Dim::new(&[num_channels as u64, size.1 as u64, size.0 as u64, num_images as u64])); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | let mut y = if one_hot_encode { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | Ok((x, y, classes)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/image_data.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 230 | fn split_data(x: Tensor, y: Tensor, valid_frac: f64) -> (Tensor, Tensor, Option, Option) { [INFO] [stdout] | --------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 237 | let x_train = index(&x, seqs_train); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | let y_train = index(&y, seqs_train); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | let x_valid = index(&x, seqs_valid); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 240 | let y_valid = index(&y, seqs_valid); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 241 | (x_train, y_train, Some(x_valid), Some(y_valid)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/image_data.rs:241:43 [INFO] [stdout] | [INFO] [stdout] 230 | fn split_data(x: Tensor, y: Tensor, valid_frac: f64) -> (Tensor, Tensor, Option, Option) { [INFO] [stdout] | --------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 237 | let x_train = index(&x, seqs_train); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | let y_train = index(&y, seqs_train); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | let x_valid = index(&x, seqs_valid); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 240 | let y_valid = index(&y, seqs_valid); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 241 | (x_train, y_train, Some(x_valid), Some(y_valid)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/tabular_data.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn from_tensor(x_train: Tensor, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | y_train: Tensor, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | x_valid: Option, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | y_valid: Option, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | x_test: Option, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | y_test: Option [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Ok(TabularDataSet { [INFO] [stdout] | ____________^ [INFO] [stdout] 103 | | num_train_samples, [INFO] [stdout] 104 | | num_valid_samples, [INFO] [stdout] 105 | | input_shape: Dim4::new(&[num_features, 1, 1, 1]), [INFO] [stdout] ... | [INFO] [stdout] 114 | | y_train_stats: None, [INFO] [stdout] 115 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 14 | let name = CString::new(group_name).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | file.group(group_name).expect("Could not create the group.") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers/batch_normalization.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 91 | ... let mb_mean = group.dataset("mb_mean").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the mini-batch mean."); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | ... let mb_variance = group.dataset("mb_variance").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the mini-batch v... [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | ... let mean = group.dataset("mean").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the mean."); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | ... let variance = group.dataset("variance").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the variance."); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | ... let gamma = group.dataset("gamma").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the gamma values."); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | ... let beta = group.dataset("beta").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the beta values."); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | ... Box::new(BatchNorm { [INFO] [stdout] | ________________^ [INFO] [stdout] 102 | | ... follow_conv2d, [INFO] [stdout] 103 | | ... mb_mean: Tensor::from(&mb_mean[0]), [INFO] [stdout] 104 | | ... mb_variance: Tensor::from(&mb_variance[0]), [INFO] [stdout] ... | [INFO] [stdout] 114 | | ... output_shape: Dim::new(&output_shape[0]), [INFO] [stdout] 115 | | ... }) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers/batch_normalization.rs:208:22 [INFO] [stdout] | [INFO] [stdout] 189 | let c1 = mul(&self.normalized_input, &sqrt(&add(&self.mb_variance, &self.eps, true)), true); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | // c2 corresponds to: sqrt(variance + eps) [INFO] [stdout] 191 | let c2 = sqrt(&add(&self.mb_variance, &self.eps, true)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | let fac = mul(&div(&self.gamma, &(-2.0 as PrimitiveType), true), &pow(&c2, &(-3.0 as PrimitiveType), true), true); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | let dmb_variance = mul(&sum(&mul(dz, &c1, true), 3), &fac, true); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | let term1 = mul(&sum(&dz, 3), &sub(&(0.0 as PrimitiveType), &div(&self.gamma, &c2, true), true), true); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | let term2 = mul(&dmb_variance, &mean(&mul(&(-2.0 as PrimitiveType), &c1, true), 3), true); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let dmb_mean = add(&term1, &term2, true); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | let dnormalized_input = mul(dz, &self.gamma, true); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | let term1 = mul(&dnormalized_input, &div(&(1.0 as PrimitiveType), &sqrt(&self.variance), true), true); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | let m = self.normalized_input.dims()[3] as PrimitiveType; [INFO] [stdout] 206 | let term2 = mul(&dmb_variance, &mul(&(2.0 as PrimitiveType / m), &c1, true), true); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | let term3 = div(&dmb_mean, &m, true); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | add(&term1, &add(&term2, &term3, true), true) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers/conv2d.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 156 | let weights = group.dataset("weights").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the weights."); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | let biases = group.dataset("biases").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the biases."); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | let weights_initializer = group.dataset("weights_initializer").and_then(|ds| ds.read_raw::()).expect("Could not re... [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | let biases_initializer = group.dataset("biases_initializer").and_then(|ds| ds.read_raw::()).expect("Could not retr... [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | Box::new(Conv2D { [INFO] [stdout] | __________________^ [INFO] [stdout] 163 | | activation: activation[0], [INFO] [stdout] 164 | | kernel_size: (kernel_size[0][0], kernel_size[0][1]), [INFO] [stdout] 165 | | stride: (stride[0][0], stride[0][1]), [INFO] [stdout] ... | [INFO] [stdout] 180 | | regularizer, [INFO] [stdout] 181 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers/conv2d.rs:469:21 [INFO] [stdout] | [INFO] [stdout] 458 | ... let weights = transpose(&Tensor::new(&[1., 1., 1., 1., 2., 1., 1., 2., -1., -1., -1., -1., 1., 2., 1., 2., -2., -2., -2., -2., 1., ... [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 469 | ... biases: Tensor::new(&[0., 0.], Dim::new(&[2, 1, 1, 1])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers/conv2d.rs:470:23 [INFO] [stdout] | [INFO] [stdout] 458 | ... let weights = transpose(&Tensor::new(&[1., 1., 1., 1., 2., 1., 1., 2., -1., -1., -1., -1., 1., 2., 1., 2., -2., -2., -2., -2., 1., ... [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 470 | ... dweights: Tensor::new_empty_tensor(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers/conv2d.rs:471:22 [INFO] [stdout] | [INFO] [stdout] 458 | ... let weights = transpose(&Tensor::new(&[1., 1., 1., 1., 2., 1., 1., 2., -1., -1., -1., -1., 1., 2., 1., 2., -2., -2., -2., -2., 1., ... [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 471 | ... dbiases: Tensor::new_empty_tensor(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers/conv2d.rs:472:32 [INFO] [stdout] | [INFO] [stdout] 458 | ... let weights = transpose(&Tensor::new(&[1., 1., 1., 1., 2., 1., 1., 2., -1., -1., -1., -1., 1., 2., 1., 2., -2., -2., -2., -2., 1., ... [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 472 | ... linear_activation: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers/conv2d.rs:473:34 [INFO] [stdout] | [INFO] [stdout] 458 | ... let weights = transpose(&Tensor::new(&[1., 1., 1., 1., 2., 1., 1., 2., -1., -1., -1., -1., 1., 2., 1., 2., -2., -2., -2., -2., 1., ... [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 473 | ... previous_activation: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers/conv2d.rs:474:29 [INFO] [stdout] | [INFO] [stdout] 458 | ... let weights = transpose(&Tensor::new(&[1., 1., 1., 1., 2., 1., 1., 2., -1., -1., -1., -1., 1., 2., 1., 2., -2., -2., -2., -2., 1., ... [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 474 | ... reshaped_input: Tensor::new_empty_tensor(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers/dense.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 86 | let weights = group.dataset("weights").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the weights."); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let biases = group.dataset("biases").and_then(|ds| ds.read_raw::()).expect("Could not retrieve the biases."); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let weights_initializer = group.dataset("weights_initializer").and_then(|ds| ds.read_raw::()).expect("Could not re... [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | let biases_initializer = group.dataset("biases_initializer").and_then(|ds| ds.read_raw::()).expect("Could not retr... [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | [INFO] [stdout] 94 | Box::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 95 | | units: units[0], [INFO] [stdout] 96 | | activation: activation[0].try_into().expect("Could not create activation variant."), [INFO] [stdout] 97 | | weights: Tensor::from(&weights[0]), [INFO] [stdout] ... | [INFO] [stdout] 107 | | regularizer, [INFO] [stdout] 108 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers/dropout.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 41 | let random_engine = RandomEngine::new(RandomEngineType::PHILOX_4X32_10, Some(seed)); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | Box::new(Dropout { [INFO] [stdout] | __________________^ [INFO] [stdout] 46 | | drop_rate, [INFO] [stdout] 47 | | output_shape: Dim4::new(&[0, 0, 0, 0]), [INFO] [stdout] 48 | | grad: Tensor::new_empty_tensor(), [INFO] [stdout] 49 | | random_engine, [INFO] [stdout] 50 | | scaling_factor, [INFO] [stdout] 51 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers/dropout.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 68 | let random_engine = RandomEngine::new(RandomEngineType::PHILOX_4X32_10, Some(seed)); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Box::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 73 | | drop_rate, [INFO] [stdout] 74 | | output_shape: Dim::new(&(output_shape[0])), [INFO] [stdout] 75 | | grad: Tensor::new_empty_tensor(), [INFO] [stdout] 76 | | random_engine, [INFO] [stdout] 77 | | scaling_factor, [INFO] [stdout] 78 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/losses.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | let ones = Tensor::ones(y_true.dims()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | - (y_true / y_pred - (&ones - y_true) / (&ones - y_pred)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/losses.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 104 | let cond = ge(y_pred, y_true, true); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | selectr(&Tensor::ones(y_pred.dims()), &cond, -1.0f64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/models.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 42 | loss_function: L, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | optimizer: O, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | Ok(Network { [INFO] [stdout] | ____________^ [INFO] [stdout] 48 | | layers: Vec::new(), [INFO] [stdout] 49 | | loss_function: Box::new(loss_function), [INFO] [stdout] 50 | | optimizer: Box::new(optimizer), [INFO] [stdout] ... | [INFO] [stdout] 54 | | classes: None, [INFO] [stdout] 55 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/optimizers.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 54 | let first_moment_est_0 = group.dataset("first_moment_est_0").and_then(|ds| ds.read_raw::()).expect("Could not retrieve ... [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let first_moment_est_1 = group.dataset("first_moment_est_1").and_then(|ds| ds.read_raw::()).expect("Could not retrieve ... [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | [INFO] [stdout] 57 | Box::new(SGD { [INFO] [stdout] | __________________^ [INFO] [stdout] 58 | | learning_rate: learning_rate[0], [INFO] [stdout] 59 | | momentum: momentum[0], [INFO] [stdout] 60 | | first_moment_est: [first_moment_est_0.iter().map(Tensor::from).collect::>(), first_moment_est_1.iter().map(Tensor... [INFO] [stdout] 61 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/optimizers.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 175 | let first_moment_est_0 = group.dataset("first_moment_est_0").and_then(|ds| ds.read_raw::()).expect("Could not retrieve ... [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | let first_moment_est_1 = group.dataset("first_moment_est_1").and_then(|ds| ds.read_raw::()).expect("Could not retrieve ... [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | let second_moment_est_0 = group.dataset("second_moment_est_0").and_then(|ds| ds.read_raw::()).expect("Could not retriev... [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | let second_moment_est_1 = group.dataset("second_moment_est_1").and_then(|ds| ds.read_raw::()).expect("Could not retriev... [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | [INFO] [stdout] 180 | Box::new(Adam { [INFO] [stdout] | __________________^ [INFO] [stdout] 181 | | learning_rate: learning_rate[0], [INFO] [stdout] 182 | | beta1: beta1[0], [INFO] [stdout] 183 | | beta2: beta2[0], [INFO] [stdout] ... | [INFO] [stdout] 187 | | second_moment_est: [second_moment_est_0.iter().map(Tensor::from).collect::>(), second_moment_est_1.iter().map(Ten... [INFO] [stdout] 188 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/optimizers.rs:313:18 [INFO] [stdout] | [INFO] [stdout] 311 | let first_moment_est_0 = group.dataset("first_moment_est_0").and_then(|ds| ds.read_raw::()).expect("Could not retrieve ... [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 312 | let first_moment_est_1 = group.dataset("first_moment_est_1").and_then(|ds| ds.read_raw::()).expect("Could not retrieve ... [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 313 | Box::new(RMSProp { [INFO] [stdout] | __________________^ [INFO] [stdout] 314 | | learning_rate: learning_rate[0], [INFO] [stdout] 315 | | decay_rate: decay_rate[0], [INFO] [stdout] 316 | | eps: eps[0], [INFO] [stdout] 317 | | first_moment_est: [first_moment_est_0.iter().map(Tensor::from).collect::>(), first_moment_est_1.iter().map(Tensor... [INFO] [stdout] 318 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/optimizers.rs:412:18 [INFO] [stdout] | [INFO] [stdout] 408 | ... let gradacc0 = group.dataset("grad_acc_0").and_then(|ds| ds.read_raw::()).expect("Could not retrieve grad_acc_0."); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 409 | ... let gradacc1 = group.dataset("grad_acc_1").and_then(|ds| ds.read_raw::()).expect("Could not retrieve grad_acc_1."); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 410 | ... let updatesacc0 = group.dataset("updates_acc_0").and_then(|ds| ds.read_raw::()).expect("Could not retrieve updates_acc_0."); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 411 | ... let updatesacc1 = group.dataset("updates_acc_1").and_then(|ds| ds.read_raw::()).expect("Could not retrieve updates_acc_1."); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 412 | ... Box::new(AdaDelta { [INFO] [stdout] | ________________^ [INFO] [stdout] 413 | | ... decay_rate: decay_rate[0], [INFO] [stdout] 414 | | ... eps: eps[0], [INFO] [stdout] 415 | | ... grad_acc: [gradacc0.iter().map(Tensor::from).collect::>(), gradacc1.iter().map(Tensor::from).collect::>... [INFO] [stdout] 416 | | ... updates_acc: [updatesacc0.iter().map(Tensor::from).collect::>(), updatesacc1.iter().map(Tensor::from).collect:: [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensor.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 172 | fn from(tensor: Tensor) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | values: hdf5::types::VarLenArray::from_slice(&buffer[..]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `neuro` (lib test) due to 26 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5e38707864da376299d51c5c9f5e7746f86f297824aecc46988e5c0a3028840d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e38707864da376299d51c5c9f5e7746f86f297824aecc46988e5c0a3028840d", kill_on_drop: false }` [INFO] [stdout] 5e38707864da376299d51c5c9f5e7746f86f297824aecc46988e5c0a3028840d