[INFO] cloning repository https://github.com/kamilduda/mnist_classification
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kamilduda/mnist_classification" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamilduda%2Fmnist_classification", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamilduda%2Fmnist_classification'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8aa45a1680583211e6fe203b342a6f181223ce25
[INFO] testing kamilduda/mnist_classification against 1.98.0-beta.8+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamilduda%2Fmnist_classification" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kamilduda/mnist_classification
[INFO] finished tweaking git repo https://github.com/kamilduda/mnist_classification
[INFO] tweaked toml for git repo https://github.com/kamilduda/mnist_classification written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kamilduda/mnist_classification on toolchain 1.98.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kamilduda/mnist_classification 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" "+1.98.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded noisy_float v0.1.12
[INFO] [stderr]   Downloaded ndarray-rand v0.11.0
[INFO] [stderr]   Downloaded adler v0.2.3
[INFO] [stderr]   Downloaded hermit-abi v0.1.15
[INFO] [stderr]   Downloaded addr2line v0.13.0
[INFO] [stderr]   Downloaded error-chain v0.12.2
[INFO] [stderr]   Downloaded matrixmultiply v0.2.3
[INFO] [stderr]   Downloaded indexmap v1.5.0
[INFO] [stderr]   Downloaded miniz_oxide v0.4.0
[INFO] [stderr]   Downloaded ndarray v0.13.1
[INFO] [stderr]   Downloaded ndarray-stats v0.3.0
[INFO] [stderr]   Downloaded rand_distr v0.2.2
[INFO] [stderr]   Downloaded hashbrown v0.8.1
[INFO] [stderr]   Downloaded flate2 v1.0.16
[INFO] [stderr]   Downloaded backtrace v0.3.50
[INFO] [stderr]   Downloaded aho-corasick v0.7.13
[INFO] [stderr]   Downloaded object v0.20.0
[INFO] [stderr]   Downloaded gimli v0.22.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c8913c12a91d78dd0c94012002842136b4ce057b1c88ee6ecd449024c3aa1d45
[INFO] running `Command { std: "docker" "start" "c8913c12a91d78dd0c94012002842136b4ce057b1c88ee6ecd449024c3aa1d45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c8913c12a91d78dd0c94012002842136b4ce057b1c88ee6ecd449024c3aa1d45", 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" "c8913c12a91d78dd0c94012002842136b4ce057b1c88ee6ecd449024c3aa1d45" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c8913c12a91d78dd0c94012002842136b4ce057b1c88ee6ecd449024c3aa1d45", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c8913c12a91d78dd0c94012002842136b4ce057b1c88ee6ecd449024c3aa1d45" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling ppv-lite86 v0.2.8
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling adler v0.2.3
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling ndarray v0.13.1
[INFO] [stderr]    Compiling miniz_oxide v0.4.0
[INFO] [stderr]    Compiling matrixmultiply v0.2.3
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling hashbrown v0.8.1
[INFO] [stderr]    Compiling indexmap v1.5.0
[INFO] [stderr]    Compiling gimli v0.22.0
[INFO] [stderr]    Compiling error-chain v0.12.2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling object v0.20.0
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling noisy_float v0.1.12
[INFO] [stderr]    Compiling rand_distr v0.2.2
[INFO] [stderr]    Compiling itertools v0.8.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling flate2 v1.0.16
[INFO] [stderr]    Compiling addr2line v0.13.0
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling backtrace v0.3.50
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling ndarray-stats v0.3.0
[INFO] [stderr]    Compiling ndarray-rand v0.11.0
[INFO] [stderr]    Compiling mnist_classification v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated`
[INFO] [stdout]   --> src/infrastructure/mnist_loader/error.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | / error_chain! {
[INFO] [stdout]  4 | |     foreign_links {
[INFO] [stdout]  5 | |         IoError(::std::io::Error);
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FlatFileReader` is never constructed
[INFO] [stdout]  --> src/infrastructure/mnist_loader/file_reader/flat_file_reader.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct FlatFileReader;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `exp` is never used
[INFO] [stdout]   --> src/algebra/mod.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Algebra {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn exp<D>(array: &Array<f64, D>) -> Array<f64, D>
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 57.06s
[INFO] running `Command { std: "docker" "inspect" "c8913c12a91d78dd0c94012002842136b4ce057b1c88ee6ecd449024c3aa1d45", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c8913c12a91d78dd0c94012002842136b4ce057b1c88ee6ecd449024c3aa1d45" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated`
[INFO] [stdout]   --> src/infrastructure/mnist_loader/error.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | / error_chain! {
[INFO] [stdout]  4 | |     foreign_links {
[INFO] [stdout]  5 | |         IoError(::std::io::Error);
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FlatFileReader` is never constructed
[INFO] [stdout]  --> src/infrastructure/mnist_loader/file_reader/flat_file_reader.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct FlatFileReader;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `exp` is never used
[INFO] [stdout]   --> src/algebra/mod.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Algebra {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn exp<D>(array: &Array<f64, D>) -> Array<f64, D>
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tempfile v3.1.0
[INFO] [stderr]    Compiling mnist_classification v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated`
[INFO] [stdout]   --> src/infrastructure/mnist_loader/error.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | / error_chain! {
[INFO] [stdout]  4 | |     foreign_links {
[INFO] [stdout]  5 | |         IoError(::std::io::Error);
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (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/prelude/mod.rs:285:13
[INFO] [stdout]     |
[INFO] [stdout] 285 |         let mut network = NeuralNetwork::new(&layers_sizes);
[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] [stderr]     Finished `release` profile [optimized] target(s) in 28.63s
[INFO] running `Command { std: "docker" "inspect" "c8913c12a91d78dd0c94012002842136b4ce057b1c88ee6ecd449024c3aa1d45", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c8913c12a91d78dd0c94012002842136b4ce057b1c88ee6ecd449024c3aa1d45" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition name: `has_error_description_deprecated`
[INFO] [stderr]   --> src/infrastructure/mnist_loader/error.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr]  3 | / error_chain! {
[INFO] [stderr]  4 | |     foreign_links {
[INFO] [stderr]  5 | |         IoError(::std::io::Error);
[INFO] [stderr] ...  |
[INFO] [stderr] 29 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stderr]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr]    = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: struct `FlatFileReader` is never constructed
[INFO] [stderr]  --> src/infrastructure/mnist_loader/file_reader/flat_file_reader.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub struct FlatFileReader;
[INFO] [stderr]   |            ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `exp` is never used
[INFO] [stderr]   --> src/algebra/mod.rs:23:12
[INFO] [stderr]    |
[INFO] [stderr]  5 | impl Algebra {
[INFO] [stderr]    | ------------ associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 23 |     pub fn exp<D>(array: &Array<f64, D>) -> Array<f64, D>
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/prelude/mod.rs:285:13
[INFO] [stderr]     |
[INFO] [stderr] 285 |         let mut network = NeuralNetwork::new(&layers_sizes);
[INFO] [stderr]     |             ----^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `mnist_classification` (lib) generated 3 warnings
[INFO] [stderr] warning: `mnist_classification` (lib test) generated 2 warnings (1 duplicate) (run `cargo fix --lib -p mnist_classification --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/mnist_classification-a15b30c82826225e)
[INFO] [stdout] 
[INFO] [stdout] running 29 tests
[INFO] [stdout] test algebra::tests::calculates_sigmoid_prime_for_2d_array ... ok
[INFO] [stdout] test algebra::tests::calculates_sigmoid_for_1d_array ... ok
[INFO] [stdout] test infrastructure::mnist_loader::dataset::tests::zero_on_other_places ... ok
[INFO] [stdout] test algebra::tests::calculates_exp_for_2d_array ... ok
[INFO] [stdout] test algebra::tests::calculates_sigmoid_prime_for_1d_array ... ok
[INFO] [stdout] test algebra::tests::calculates_sigmoid_for_2d_array ... ok
[INFO] [stdout] test algebra::tests::calculates_exp_for_1d_array ... ok
[INFO] [stdout] test infrastructure::mnist_loader::file_reader::flat_file_reader::tests::error_when_file_does_not_exist ... ok
[INFO] [stdout] test infrastructure::mnist_loader::raw::labels::tests::creates_new_instance ... ok
[INFO] [stdout] test infrastructure::mnist_loader::raw::images::tests::creates_new_instance ... ok
[INFO] [stdout] test infrastructure::mnist_loader::file_reader::gz_file_reader::tests::error_when_file_does_not_exist ... ok
[INFO] [stdout] test infrastructure::mnist_loader::file_reader::gz_file_reader::tests::reads_file_contents ... ok
[INFO] [stdout] test infrastructure::mnist_loader::file_reader::flat_file_reader::tests::reads_file_contents ... ok
[INFO] [stdout] test infrastructure::mnist_loader::file_reader::flat_file_reader::tests::opens_file_that_exists ... ok
[INFO] [stdout] test infrastructure::mnist_loader::tests::error_when_empty_labels_file ... ok
[INFO] [stdout] test infrastructure::mnist_loader::tests::error_when_images_instead_of_labels_header ... ok
[INFO] [stdout] test infrastructure::mnist_loader::dataset::tests::vectorizes_from_zero_to_nine ... ok
[INFO] [stdout] test infrastructure::mnist_loader::tests::error_when_labels_file_not_found ... FAILED
[INFO] [stdout] test infrastructure::mnist_loader::tests::error_when_labels_instead_of_images_header ... ok
[INFO] [stdout] test infrastructure::mnist_loader::tests::error_when_images_file_not_found ... FAILED
[INFO] [stdout] test prelude::tests::does_not_initialise_biases_for_input_layer ... ok
[INFO] [stdout] test infrastructure::mnist_loader::file_reader::gz_file_reader::tests::opens_file_that_exists ... ok
[INFO] [stdout] test infrastructure::mnist_loader::tests::error_when_empty_images_file ... ok
[INFO] [stdout] test infrastructure::mnist_loader::tests::error_when_could_not_read_images_header ... ok
[INFO] [stdout] test prelude::tests::does_not_initialise_weights_for_input_layer ... ok
[INFO] [stdout] test infrastructure::mnist_loader::tests::loads_labels_from_valid_file ... ok
[INFO] [stdout] test prelude::tests::initializes_neural_network ... ok
[INFO] [stdout] test prelude::tests::outputs_value_for_each_neuron_in_last_layer ... ok
[INFO] [stdout] test prelude::tests::outputs_values_within_sigmoid_range ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- infrastructure::mnist_loader::tests::error_when_labels_file_not_found stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'infrastructure::mnist_loader::tests::error_when_labels_file_not_found' (1018) panicked at src/infrastructure/mnist_loader/mod.rs:131:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "No such file or directory (os error 2)"
[INFO] [stdout]  right: "The system cannot find the file specified. (os error 2)"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x595b305a8cd5 - <<std[97b98282bc616a66]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[832e9a552fc17241]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x595b3056d83a - core[832e9a552fc17241]::fmt::write
[INFO] [stdout]    2:     0x595b305a834b - <alloc[3ecab9f82c41dc7d]::vec::Vec<u8> as std[97b98282bc616a66]::io::Write>::write_fmt
[INFO] [stdout]    3:     0x595b305a7e4f - std[97b98282bc616a66]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x595b305a7a7a - std[97b98282bc616a66]::panicking::default_hook
[INFO] [stdout]    5:     0x595b305a75e1 - std[97b98282bc616a66]::panicking::panic_with_hook
[INFO] [stdout]    6:     0x595b305d02f1 - std[97b98282bc616a66]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    7:     0x595b305d02a9 - std[97b98282bc616a66]::sys::backtrace::__rust_end_short_backtrace::<std[97b98282bc616a66]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    8:     0x595b305d07ac - __rustc[e3d8617bb01b7f69]::rust_begin_unwind
[INFO] [stdout]    9:     0x595b3056d6cb - core[832e9a552fc17241]::panicking::panic_fmt
[INFO] [stdout]   10:     0x595b3056d5ee - core[832e9a552fc17241]::panicking::assert_failed_inner
[INFO] [stdout]   11:     0x595b3059a446 - core[832e9a552fc17241]::panicking::assert_failed::<alloc[3ecab9f82c41dc7d]::string::String, &str>
[INFO] [stdout]   12:     0x595b3054ea2b - <mnist_classification[ba9620b9e3da8ed3]::infrastructure::mnist_loader::tests::error_when_labels_file_not_found::{closure#0} as core[832e9a552fc17241]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   13:     0x595b305e9b8b - test[39766f3d73431624]::__rust_begin_short_backtrace::<core[832e9a552fc17241]::result::Result<(), alloc[3ecab9f82c41dc7d]::string::String>, fn() -> core[832e9a552fc17241]::result::Result<(), alloc[3ecab9f82c41dc7d]::string::String>>
[INFO] [stdout]   14:     0x595b305e5132 - test[39766f3d73431624]::run_test::{closure#0}
[INFO] [stdout]   15:     0x595b305e4bac - std[97b98282bc616a66]::sys::backtrace::__rust_begin_short_backtrace::<test[39766f3d73431624]::run_test::{closure#1}, ()>
[INFO] [stdout]   16:     0x595b3060126c - <std[97b98282bc616a66]::thread::lifecycle::spawn_unchecked<test[39766f3d73431624]::run_test::{closure#1}, ()>::{closure#1} as core[832e9a552fc17241]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   17:     0x595b305d1819 - <std[97b98282bc616a66]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   18:     0x78c076d6b07a - <unknown>
[INFO] [stdout]   19:     0x78c076dfe534 - clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- infrastructure::mnist_loader::tests::error_when_images_file_not_found stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'infrastructure::mnist_loader::tests::error_when_images_file_not_found' (1016) panicked at src/infrastructure/mnist_loader/mod.rs:138:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "No such file or directory (os error 2)"
[INFO] [stdout]  right: "The system cannot find the file specified. (os error 2)"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x595b305a8cd5 - <<std[97b98282bc616a66]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[832e9a552fc17241]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x595b3056d83a - core[832e9a552fc17241]::fmt::write
[INFO] [stdout]    2:     0x595b305a834b - <alloc[3ecab9f82c41dc7d]::vec::Vec<u8> as std[97b98282bc616a66]::io::Write>::write_fmt
[INFO] [stdout]    3:     0x595b305a7e4f - std[97b98282bc616a66]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x595b305a7a7a - std[97b98282bc616a66]::panicking::default_hook
[INFO] [stdout]    5:     0x595b305a75e1 - std[97b98282bc616a66]::panicking::panic_with_hook
[INFO] [stdout]    6:     0x595b305d02f1 - std[97b98282bc616a66]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    7:     0x595b305d02a9 - std[97b98282bc616a66]::sys::backtrace::__rust_end_short_backtrace::<std[97b98282bc616a66]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    8:     0x595b305d07ac - __rustc[e3d8617bb01b7f69]::rust_begin_unwind
[INFO] [stdout]    9:     0x595b3056d6cb - core[832e9a552fc17241]::panicking::panic_fmt
[INFO] [stdout]   10:     0x595b3056d5ee - core[832e9a552fc17241]::panicking::assert_failed_inner
[INFO] [stdout]   11:     0x595b3059a446 - core[832e9a552fc17241]::panicking::assert_failed::<alloc[3ecab9f82c41dc7d]::string::String, &str>
[INFO] [stdout]   12:     0x595b3054e74b - <mnist_classification[ba9620b9e3da8ed3]::infrastructure::mnist_loader::tests::error_when_images_file_not_found::{closure#0} as core[832e9a552fc17241]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   13:     0x595b305e9b8b - test[39766f3d73431624]::__rust_begin_short_backtrace::<core[832e9a552fc17241]::result::Result<(), alloc[3ecab9f82c41dc7d]::string::String>, fn() -> core[832e9a552fc17241]::result::Result<(), alloc[3ecab9f82c41dc7d]::string::String>>
[INFO] [stdout]   14:     0x595b305e5132 - test[39766f3d73431624]::run_test::{closure#0}
[INFO] [stdout]   15:     0x595b305e4bac - std[97b98282bc616a66]::sys::backtrace::__rust_begin_short_backtrace::<test[39766f3d73431624]::run_test::{closure#1}, ()>
[INFO] [stdout]   16:     0x595b3060126c - <std[97b98282bc616a66]::thread::lifecycle::spawn_unchecked<test[39766f3d73431624]::run_test::{closure#1}, ()>::{closure#1} as core[832e9a552fc17241]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   17:     0x595b305d1819 - <std[97b98282bc616a66]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   18:     0x78c076d6b07a - <unknown>
[INFO] [stdout]   19:     0x78c076dfe534 - clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     infrastructure::mnist_loader::tests::error_when_images_file_not_found
[INFO] [stdout]     infrastructure::mnist_loader::tests::error_when_labels_file_not_found
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 27 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "c8913c12a91d78dd0c94012002842136b4ce057b1c88ee6ecd449024c3aa1d45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8913c12a91d78dd0c94012002842136b4ce057b1c88ee6ecd449024c3aa1d45", kill_on_drop: false }`
[INFO] [stdout] c8913c12a91d78dd0c94012002842136b4ce057b1c88ee6ecd449024c3aa1d45
