[INFO] fetching crate neuro 0.1.0...
[INFO] checking neuro-0.1.0 against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721
[INFO] extracting crate neuro 0.1.0 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate neuro 0.1.0 on toolchain dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "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" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ebabb8e869e8767617476a4d8cd3c7455109b66dfdd76c6e7a6c198de82094e9
[INFO] running `Command { std: "docker" "start" "ebabb8e869e8767617476a4d8cd3c7455109b66dfdd76c6e7a6c198de82094e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ebabb8e869e8767617476a4d8cd3c7455109b66dfdd76c6e7a6c198de82094e9" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ebabb8e869e8767617476a4d8cd3c7455109b66dfdd76c6e7a6c198de82094e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ebabb8e869e8767617476a4d8cd3c7455109b66dfdd76c6e7a6c198de82094e9" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling regex-syntax v0.6.14
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.9
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling syn v1.0.16
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]    Compiling num-rational v0.2.3
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]     Checking crossbeam-queue v0.2.1
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking num_cpus v1.12.0
[INFO] [stderr]    Compiling libc v0.2.67
[INFO] [stderr]    Compiling matrixmultiply v0.1.15
[INFO] [stderr]    Compiling itoa v0.4.5
[INFO] [stderr]    Compiling aho-corasick v0.7.9
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking getrandom v0.1.14
[INFO] [stderr]     Checking crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling ndarray v0.12.1
[INFO] [stderr]     Checking rawpointer v0.1.0
[INFO] [stderr]     Checking c2-chacha v0.2.3
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking itertools v0.7.11
[INFO] [stderr]     Checking miniz_oxide v0.3.6
[INFO] [stderr]     Checking regex-automata v0.1.8
[INFO] [stderr]     Checking clicolors-control v1.0.1
[INFO] [stderr]     Checking lock_api v0.2.0
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking termios v0.3.1
[INFO] [stderr]     Checking ascii v0.9.3
[INFO] [stderr]     Checking unicode-width v0.1.7
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking parking_lot_core v0.5.0
[INFO] [stderr]    Compiling hdf5-derive v0.6.0
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking tiff v0.4.0
[INFO] [stderr]     Checking hdf5-types v0.6.0
[INFO] [stderr]     Checking num-bigint v0.2.6
[INFO] [stderr]     Checking num-iter v0.1.40
[INFO] [stderr]     Checking parking_lot v0.8.0
[INFO] [stderr]     Checking bytemuck v1.2.0
[INFO] [stderr]     Checking number_prefix v0.3.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling regex v1.3.4
[INFO] [stderr]     Checking num v0.2.1
[INFO] [stderr]    Compiling serde_json v1.0.48
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]     Checking jpeg-decoder v0.1.18
[INFO] [stderr]     Checking image v0.23.0
[INFO] [stderr]     Checking console v0.9.2
[INFO] [stderr]     Checking indicatif v0.14.0
[INFO] [stderr]     Checking bstr v0.2.11
[INFO] [stderr]    Compiling hdf5-sys v0.6.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)]` (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: `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 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: 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: 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: 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: 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: 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: `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 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: 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: `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 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 22.54s
[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 7`
[INFO] running `Command { std: "docker" "inspect" "ebabb8e869e8767617476a4d8cd3c7455109b66dfdd76c6e7a6c198de82094e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ebabb8e869e8767617476a4d8cd3c7455109b66dfdd76c6e7a6c198de82094e9", kill_on_drop: false }`
[INFO] [stdout] ebabb8e869e8767617476a4d8cd3c7455109b66dfdd76c6e7a6c198de82094e9
