[INFO] fetching crate neuro 0.1.0... [INFO] checking neuro-0.1.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate neuro 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate neuro 0.1.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate 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-4-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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffad092dd9e32552854454201f844b1a98b7a95f2fa6d61292350bb05ac31d23 [INFO] running `Command { std: "docker" "start" "-a" "ffad092dd9e32552854454201f844b1a98b7a95f2fa6d61292350bb05ac31d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffad092dd9e32552854454201f844b1a98b7a95f2fa6d61292350bb05ac31d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffad092dd9e32552854454201f844b1a98b7a95f2fa6d61292350bb05ac31d23", kill_on_drop: false }` [INFO] [stdout] ffad092dd9e32552854454201f844b1a98b7a95f2fa6d61292350bb05ac31d23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d4a8acc6f6aca68c49f701dc07422baab7f042317b3bc228f5bfc6e6dfb1340 [INFO] running `Command { std: "docker" "start" "-a" "8d4a8acc6f6aca68c49f701dc07422baab7f042317b3bc228f5bfc6e6dfb1340", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.9 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling hdf5-derive v0.6.0 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking hdf5-types v0.6.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Compiling hdf5-sys v0.6.0 [INFO] [stderr] Checking console v0.9.2 [INFO] [stderr] Checking bstr v0.2.11 [INFO] [stderr] Checking indicatif v0.14.0 [INFO] [stderr] Checking image v0.23.0 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Compiling hdf5 v0.6.0 [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] error: this value of type `arrayfire::Array` has 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 local bindings with significant drop implementation may 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 local bindings with significant drop implementation may 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 local bindings with significant drop implementation may 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 local bindings with significant drop implementation may 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 local bindings with significant drop implementation may 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 local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let dmb_mean = add(&term1, &term2, true); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | let dnormalized_input = mul(dz, &self.gamma, true); [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may 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 local bindings with significant drop implementation may 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 local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | let term3 = div(&dmb_mean, &m, true); [INFO] [stdout] | ----- these local bindings with significant drop implementation may 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `arrayfire::Array` has 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 local bindings with significant drop implementation may 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 local bindings with significant drop implementation may 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 local bindings with significant drop implementation may 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 local bindings with significant drop implementation may 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 local bindings with significant drop implementation may 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 local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let dmb_mean = add(&term1, &term2, true); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | let dnormalized_input = mul(dz, &self.gamma, true); [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may 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 local bindings with significant drop implementation may 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 local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | let term3 = div(&dmb_mean, &m, true); [INFO] [stdout] | ----- these local bindings with significant drop implementation may 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `arrayfire::Array` has 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 local bindings with significant drop implementation may 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: this value of type `_IMPL_H5TYPE_FOR_Activation::_h5::File` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/models.rs:445:16 [INFO] [stdout] | [INFO] [stdout] 443 | let file = hdf5::File::open(filename); [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 444 | match file { [INFO] [stdout] 445 | Ok(file) => { [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] 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] [stdout] error: this value of type `arrayfire::Array` has 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 local bindings with significant drop implementation may 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] 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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/activations.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(hdf5::H5Type, Clone, Copy, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_Activation` [INFO] [stdout] 11 | #[repr(u8)] [INFO] [stdout] 12 | pub enum Activation { [INFO] [stdout] | ---------- `Activation` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/initializers.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(hdf5::H5Type, Clone, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_H5Initializer` [INFO] [stdout] 39 | #[repr(C)] [INFO] [stdout] 40 | pub(crate) struct H5Initializer { [INFO] [stdout] | ------------- `H5Initializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/conv2d.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(hdf5::H5Type, Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_Padding` [INFO] [stdout] 19 | #[repr(u8)] [INFO] [stdout] 20 | pub enum Padding { [INFO] [stdout] | ------- `Padding` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/regularizers.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(hdf5::H5Type, Clone, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_H5Regularizer` [INFO] [stdout] 26 | #[repr(C)] [INFO] [stdout] 27 | pub(crate) struct H5Regularizer { [INFO] [stdout] | ------------- `H5Regularizer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tensor.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(hdf5::H5Type, Clone, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_H5Tensor` [INFO] [stdout] 165 | #[repr(C)] [INFO] [stdout] 166 | pub(crate) struct H5Tensor { [INFO] [stdout] | -------- `H5Tensor` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `_IMPL_H5TYPE_FOR_Activation::_h5::File` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/models.rs:445:16 [INFO] [stdout] | [INFO] [stdout] 443 | let file = hdf5::File::open(filename); [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 444 | match file { [INFO] [stdout] 445 | Ok(file) => { [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] [stderr] error: could not compile `neuro` (lib) due to 4 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/activations.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(hdf5::H5Type, Clone, Copy, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_Activation` [INFO] [stdout] 11 | #[repr(u8)] [INFO] [stdout] 12 | pub enum Activation { [INFO] [stdout] | ---------- `Activation` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/initializers.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(hdf5::H5Type, Clone, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_H5Initializer` [INFO] [stdout] 39 | #[repr(C)] [INFO] [stdout] 40 | pub(crate) struct H5Initializer { [INFO] [stdout] | ------------- `H5Initializer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/layers/conv2d.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(hdf5::H5Type, Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_Padding` [INFO] [stdout] 19 | #[repr(u8)] [INFO] [stdout] 20 | pub enum Padding { [INFO] [stdout] | ------- `Padding` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/regularizers.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(hdf5::H5Type, Clone, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_H5Regularizer` [INFO] [stdout] 26 | #[repr(C)] [INFO] [stdout] 27 | pub(crate) struct H5Regularizer { [INFO] [stdout] | ------------- `H5Regularizer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tensor.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(hdf5::H5Type, Clone, Debug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | `H5Type` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_H5TYPE_FOR_H5Tensor` [INFO] [stdout] 165 | #[repr(C)] [INFO] [stdout] 166 | pub(crate) struct H5Tensor { [INFO] [stdout] | -------- `H5Tensor` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hdf5::H5Type` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hdf5::H5Type` may come from an old version of the `hdf5_derive` crate, try updating your dependency with `cargo update -p hdf5_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `hdf5::H5Type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `neuro` (lib test) due to 4 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8d4a8acc6f6aca68c49f701dc07422baab7f042317b3bc228f5bfc6e6dfb1340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d4a8acc6f6aca68c49f701dc07422baab7f042317b3bc228f5bfc6e6dfb1340", kill_on_drop: false }` [INFO] [stdout] 8d4a8acc6f6aca68c49f701dc07422baab7f042317b3bc228f5bfc6e6dfb1340