[INFO] cloning repository https://github.com/legeyda/neurocr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/legeyda/neurocr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegeyda%2Fneurocr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegeyda%2Fneurocr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46838c8be4edee3452e26ef790fb982934acef9b [INFO] checking legeyda/neurocr against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegeyda%2Fneurocr" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/legeyda/neurocr on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/legeyda/neurocr [INFO] finished tweaking git repo https://github.com/legeyda/neurocr [INFO] tweaked toml for git repo https://github.com/legeyda/neurocr written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/legeyda/neurocr already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mnist v0.4.0 [INFO] [stderr] Downloaded termcolor v0.3.4 [INFO] [stderr] Downloaded simple_logger v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f5432d0fd2b29c1eb9c0aa2db11a2ca32fad370236d8460419c1438ed669dea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2f5432d0fd2b29c1eb9c0aa2db11a2ca32fad370236d8460419c1438ed669dea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f5432d0fd2b29c1eb9c0aa2db11a2ca32fad370236d8460419c1438ed669dea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f5432d0fd2b29c1eb9c0aa2db11a2ca32fad370236d8460419c1438ed669dea", kill_on_drop: false }` [INFO] [stdout] 2f5432d0fd2b29c1eb9c0aa2db11a2ca32fad370236d8460419c1438ed669dea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a03e7b7487f0738cf83326c916ba3f41b054324cb60ecedb1a241888b793e1e8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a03e7b7487f0738cf83326c916ba3f41b054324cb60ecedb1a241888b793e1e8", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking num-traits v0.1.42 [INFO] [stderr] Compiling matrixmultiply v0.1.14 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking regex-syntax v0.4.2 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking termcolor v0.3.4 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking mnist v0.4.0 [INFO] [stderr] Checking rand v0.3.20 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking num-complex v0.1.41 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking simple_logger v0.5.0 [INFO] [stderr] Checking num-bigint v0.1.41 [INFO] [stderr] Checking regex v0.2.6 [INFO] [stderr] Checking num-rational v0.1.40 [INFO] [stderr] Checking num v0.1.41 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Checking rulinalg v0.4.2 [INFO] [stderr] Checking env_logger v0.5.3 [INFO] [stderr] Checking neurocr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/network.rs:500:2 [INFO] [stdout] | [INFO] [stdout] 500 | /// let us teach network to differ horizontal from vertial lines on 2-by-2 image [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/network.rs:526:2 [INFO] [stdout] | [INFO] [stdout] 526 | /// let us teach network to differ horizontal from vertial lines on 2-by-2 image [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/network.rs:561:2 [INFO] [stdout] | [INFO] [stdout] 561 | /// let us teach network to differ horizontal from vertial lines on 2-by-2 image [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::Vec` [INFO] [stdout] --> src/mnistfiles.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fn` [INFO] [stdout] --> src/network.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | use std::ops::{Add, Mul, Fn}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/network.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let mut der = (&outputs[n-1] - expected_output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/math.rs:24:54 [INFO] [stdout] | [INFO] [stdout] 24 | fn minimize(subject: &Functional, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Functional` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/math.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | ... on_new: &Fn(&VectorType) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&VectorType) -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::Vec` [INFO] [stdout] --> src/mnistfiles.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fn` [INFO] [stdout] --> src/network.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | use std::ops::{Add, Mul, Fn}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/network.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let mut der = (&outputs[n-1] - expected_output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/math.rs:24:54 [INFO] [stdout] | [INFO] [stdout] 24 | fn minimize(subject: &Functional, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Functional` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/math.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | ... on_new: &Fn(&VectorType) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&VectorType) -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/mnistfiles.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env::home_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/mnistfiles.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | match home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/mnistfiles.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | match home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/mnistfiles.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env::home_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/mnistfiles.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | match home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/mnistfiles.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | match home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignored` [INFO] [stdout] --> src/network.rs:76:61 [INFO] [stdout] | [INFO] [stdout] 76 | biases: Vector::zeros(num_neurons) .apply(&(|ignored| generator())), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignored` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignored` [INFO] [stdout] --> src/network.rs:77:61 [INFO] [stdout] | [INFO] [stdout] 77 | weights: Matrix::zeros(num_neurons, num_inputs).apply(&(|ignored| generator())) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/network.rs:272:7 [INFO] [stdout] | [INFO] [stdout] 272 | let n = data.len(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignored` [INFO] [stdout] --> src/network.rs:76:61 [INFO] [stdout] | [INFO] [stdout] 76 | biases: Vector::zeros(num_neurons) .apply(&(|ignored| generator())), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignored` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ignored` [INFO] [stdout] --> src/network.rs:77:61 [INFO] [stdout] | [INFO] [stdout] 77 | weights: Matrix::zeros(num_neurons, num_inputs).apply(&(|ignored| generator())) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ignored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/network.rs:272:7 [INFO] [stdout] | [INFO] [stdout] 272 | let n = data.len(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/math.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | let mut value: ScalarType = subject.eval(&estimation); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random` [INFO] [stdout] --> src/network.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn random() -> T where T: Float + Rand { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `minimize` [INFO] [stdout] --> src/math.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn minimize(subject: &Functional, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/mnistfiles.rs:40:2 [INFO] [stdout] | [INFO] [stdout] 40 | create_dir_all(cache_dir.as_path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/math.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | let mut value: ScalarType = subject.eval(&estimation); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_sigmoid` [INFO] [stdout] --> src/network.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn test_sigmoid() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random` [INFO] [stdout] --> src/network.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn random() -> T where T: Float + Rand { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asses_quality` [INFO] [stdout] --> src/network.rs:549:4 [INFO] [stdout] | [INFO] [stdout] 549 | fn asses_quality(network: Network, data: Vec>) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `minimize` [INFO] [stdout] --> src/math.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn minimize(subject: &Functional, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/network.rs:510:22 [INFO] [stdout] | [INFO] [stdout] 510 | assert_eq_matrices(&matrix![-0.045061, -0.037945, -0.050334, -0.060633; [INFO] [stdout] | _________________________^ [INFO] [stdout] 511 | | 0.052202, 0.043958, 0.058312, 0.070243], &gradient.layers[1].weights, 0.00001, "activations of second la... [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/network.rs:514:22 [INFO] [stdout] | [INFO] [stdout] 514 | assert_eq_matrices(&matrix![0.017753, 0.017753, 0.000000, 0.000000; [INFO] [stdout] | _________________________^ [INFO] [stdout] 515 | | 0.015326, 0.015326, 0.000000, 0.000000; [INFO] [stdout] 516 | | 0.035826, 0.035826, 0.000000, 0.000000; [INFO] [stdout] 517 | | -0.006350, -0.006350, 0.000000, 0.000000], &gradient.layers[0].weights, 0.00001, "activations of first layer"); [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/network.rs:536:22 [INFO] [stdout] | [INFO] [stdout] 536 | assert_eq_matrices(&matrix![-0.012864325, -0.011900175, -0.0254638, -0.0217037; [INFO] [stdout] | _________________________^ [INFO] [stdout] 537 | | 0.005599925, 0.004623725, 0.0114036, 0.009610225], &gradient.layers[1].weights, 0.00001, "activations of... [INFO] [stdout] | |_____________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/network.rs:540:22 [INFO] [stdout] | [INFO] [stdout] 540 | assert_eq_matrices(&matrix![ 0.004475, 0.00459075, 0.00281125, 0.002927; [INFO] [stdout] | _________________________^ [INFO] [stdout] 541 | | 0.0015635, -0.000522, 0.00061075, -0.00147475; [INFO] [stdout] 542 | | 0.00351125, 0.00451, 0.00326975, 0.0042685; [INFO] [stdout] 543 | | 0.00158575, 0.00112275, 0.00157075, 0.00110775], &gradient.layers[0].weights, 0.00001, "activations of fi... [INFO] [stdout] | |__________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/mnistfiles.rs:40:2 [INFO] [stdout] | [INFO] [stdout] 40 | create_dir_all(cache_dir.as_path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.29s [INFO] running `Command { std: "docker" "inspect" "a03e7b7487f0738cf83326c916ba3f41b054324cb60ecedb1a241888b793e1e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a03e7b7487f0738cf83326c916ba3f41b054324cb60ecedb1a241888b793e1e8", kill_on_drop: false }` [INFO] [stdout] a03e7b7487f0738cf83326c916ba3f41b054324cb60ecedb1a241888b793e1e8