[INFO] fetching crate neuro 0.1.0... [INFO] checking neuro-0.1.0 against master#8a703520e80d87d4423c01f9d4fbc9e5f6533a02 for pr-154205-1 [INFO] extracting crate neuro 0.1.0 into /workspace/builds/worker-0-tc1/source [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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate neuro 0.1.0 on toolchain 8a703520e80d87d4423c01f9d4fbc9e5f6533a02 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_chacha v0.2.1 [INFO] [stderr] Downloaded walkdir v2.3.1 [INFO] [stderr] Downloaded c2-chacha v0.2.3 [INFO] [stderr] Downloaded thread_local v1.0.1 [INFO] [stderr] Downloaded winapi-util v0.1.3 [INFO] [stderr] Downloaded indicatif v0.14.0 [INFO] [stderr] Downloaded ppv-lite86 v0.2.6 [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded num v0.2.1 [INFO] [stderr] Downloaded rand_pcg v0.1.2 [INFO] [stderr] Downloaded num-iter v0.1.40 [INFO] [stderr] Downloaded rand_isaac v0.1.1 [INFO] [stderr] Downloaded rand_chacha v0.1.1 [INFO] [stderr] Downloaded lock_api v0.2.0 [INFO] [stderr] Downloaded smallvec v0.6.13 [INFO] [stderr] Downloaded hdf5-derive v0.6.0 [INFO] [stderr] Downloaded ryu v1.0.2 [INFO] [stderr] Downloaded cc v1.0.50 [INFO] [stderr] Downloaded serde_json v1.0.48 [INFO] [stderr] Downloaded regex-automata v0.1.8 [INFO] [stderr] Downloaded rand v0.6.5 [INFO] [stderr] Downloaded arrayfire v3.6.3 [INFO] [stderr] Downloaded rayon v1.3.0 [INFO] [stderr] Downloaded jpeg-decoder v0.1.18 [INFO] [stderr] Downloaded syn v1.0.16 [INFO] [stderr] Downloaded image v0.23.0 [INFO] [stderr] Downloaded regex v1.3.4 [INFO] [stderr] Downloaded aho-corasick v0.7.9 [INFO] [stderr] Downloaded serde v1.0.104 [INFO] [stderr] Downloaded serde_derive v1.0.104 [INFO] [stderr] Downloaded regex-syntax v0.6.14 [INFO] [stderr] Downloaded bstr v0.2.11 [INFO] [stderr] Downloaded rayon-core v1.7.0 [INFO] [stderr] Downloaded libc v0.2.67 [INFO] [stderr] Downloaded rand_xorshift v0.1.1 [INFO] [stderr] Downloaded parking_lot v0.8.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.9 [INFO] [stderr] Downloaded gif v0.10.3 [INFO] [stderr] Downloaded num-rational v0.2.3 [INFO] [stderr] Downloaded crc32fast v1.2.0 [INFO] [stderr] Downloaded png v0.15.3 [INFO] [stderr] Downloaded miniz_oxide v0.3.6 [INFO] [stderr] Downloaded tiff v0.4.0 [INFO] [stderr] Downloaded unicode-width v0.1.7 [INFO] [stderr] Downloaded console v0.9.2 [INFO] [stderr] Downloaded rand_jitter v0.1.4 [INFO] [stderr] Downloaded rand_os v0.1.3 [INFO] [stderr] Downloaded redox_syscall v0.1.56 [INFO] [stderr] Downloaded parking_lot_core v0.5.0 [INFO] [stderr] Downloaded quote v1.0.2 [INFO] [stderr] Downloaded winreg v0.6.2 [INFO] [stderr] Downloaded hdf5-sys v0.6.0 [INFO] [stderr] Downloaded libloading v0.5.2 [INFO] [stderr] Downloaded pkg-config v0.3.17 [INFO] [stderr] Downloaded bytemuck v1.2.0 [INFO] [stderr] Downloaded lzw v0.10.0 [INFO] [stderr] Downloaded rand_hc v0.1.0 [INFO] [stderr] Downloaded autocfg v0.1.7 [INFO] [stderr] Downloaded color_quant v1.0.1 [INFO] [stderr] Downloaded hermit-abi v0.1.8 [INFO] [stderr] Downloaded clicolors-control v1.0.1 [INFO] [stderr] Downloaded hdf5-types v0.6.0 [INFO] [stderr] Downloaded num_cpus v1.12.0 [INFO] [stderr] Downloaded csv v1.1.3 [INFO] [stderr] Downloaded termios v0.3.1 [INFO] [stderr] Downloaded hdf5 v0.6.0 [INFO] [stderr] Downloaded number_prefix v0.3.0 [INFO] [stderr] Downloaded scoped_threadpool v0.1.9 [INFO] [stderr] Downloaded adler32 v1.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d5e51a160d74c693a9b5b9128ff5d98f67cce1b035988d1a456e2bb06ef9f4a [INFO] running `Command { std: "docker" "start" "-a" "3d5e51a160d74c693a9b5b9128ff5d98f67cce1b035988d1a456e2bb06ef9f4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d5e51a160d74c693a9b5b9128ff5d98f67cce1b035988d1a456e2bb06ef9f4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d5e51a160d74c693a9b5b9128ff5d98f67cce1b035988d1a456e2bb06ef9f4a", kill_on_drop: false }` [INFO] [stdout] 3d5e51a160d74c693a9b5b9128ff5d98f67cce1b035988d1a456e2bb06ef9f4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77584120dd32481dd5fbedbffe7d9043dc6ab644c051408ef3d4a9742a090e13 [INFO] running `Command { std: "docker" "start" "-a" "77584120dd32481dd5fbedbffe7d9043dc6ab644c051408ef3d4a9742a090e13", 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] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling aho-corasick v0.7.9 [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 quote v1.0.2 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [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 crc32fast v1.2.0 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Compiling libloading v0.5.2 [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] Compiling quote v0.6.13 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking regex-automata v0.1.8 [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 color_quant v1.0.1 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking hdf5-types v0.6.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling hdf5-sys v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling hdf5 v0.6.0 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Compiling hdf5-derive v0.6.0 [INFO] [stderr] Checking console v0.9.2 [INFO] [stderr] Checking indicatif v0.14.0 [INFO] [stderr] Checking image v0.23.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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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 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.,... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) 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... [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)]` (part of `#[warn(unused)]`) 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: `#[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 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 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 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 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: 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)]` (part of `#[warn(unused)]`) 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: `#[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 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 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 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 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: unused import: `DataSet` [INFO] [stdout] --> examples/xor.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use neuro::data::{TabularDataSet, DataSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dropout` [INFO] [stdout] --> examples/cifar10.rs:4:56 [INFO] [stdout] | [INFO] [stdout] 4 | use neuro::layers::{Dense, Conv2D, Padding, MaxPool2D, Dropout, Flatten}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `neuro::initializers::Initializer` [INFO] [stdout] --> examples/adadelta_paper_example.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use neuro::initializers::Initializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AdaDelta` and `RMSProp` [INFO] [stdout] --> examples/cifar10.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use neuro::optimizers::{RMSProp, AdaDelta, Adam}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `neuro::initializers::Initializer` [INFO] [stdout] --> examples/cifar10.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use neuro::initializers::Initializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/mnist_feedforward.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | nn.save("mnist_feedforward.h5"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = nn.save("mnist_feedforward.h5"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.29s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: hdf5 v0.6.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "77584120dd32481dd5fbedbffe7d9043dc6ab644c051408ef3d4a9742a090e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77584120dd32481dd5fbedbffe7d9043dc6ab644c051408ef3d4a9742a090e13", kill_on_drop: false }` [INFO] [stdout] 77584120dd32481dd5fbedbffe7d9043dc6ab644c051408ef3d4a9742a090e13