[INFO] cloning repository https://github.com/woowe/rust_ann
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/woowe/rust_ann" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwoowe%2Frust_ann", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwoowe%2Frust_ann'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 37ab0eecd42f3fffbdb8389ccd090d13541be58e
[INFO] checking woowe/rust_ann against try#1baf923b9c3a455162afe43e18647f494c1a4b73 for pr-151510
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwoowe%2Frust_ann" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/woowe/rust_ann
[INFO] finished tweaking git repo https://github.com/woowe/rust_ann
[INFO] tweaked toml for git repo https://github.com/woowe/rust_ann written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/woowe/rust_ann on toolchain 1baf923b9c3a455162afe43e18647f494c1a4b73
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/woowe/rust_ann 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" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/woowe/num_rust.git`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded matrixmultiply v0.1.11
[INFO] [stderr]   Downloaded num_cpus v1.1.0
[INFO] [stderr]   Downloaded rayon v0.4.3
[INFO] [stderr]   Downloaded deque v0.3.1
[INFO] [stderr]   Downloaded libc v0.2.17
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 67644ad2f6467193aeee6f9a7f110a972192d5cb1d04cad8d0ceccd50c015d13
[INFO] running `Command { std: "docker" "start" "-a" "67644ad2f6467193aeee6f9a7f110a972192d5cb1d04cad8d0ceccd50c015d13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "67644ad2f6467193aeee6f9a7f110a972192d5cb1d04cad8d0ceccd50c015d13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67644ad2f6467193aeee6f9a7f110a972192d5cb1d04cad8d0ceccd50c015d13", kill_on_drop: false }`
[INFO] [stdout] 67644ad2f6467193aeee6f9a7f110a972192d5cb1d04cad8d0ceccd50c015d13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 05ec681a72e4a2f4aada78765bffcea4b36bb918cab819bfcab575a69c390d08
[INFO] running `Command { std: "docker" "start" "-a" "05ec681a72e4a2f4aada78765bffcea4b36bb918cab819bfcab575a69c390d08", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking libc v0.2.17
[INFO] [stderr]     Checking matrixmultiply v0.1.11
[INFO] [stderr]     Checking rand v0.3.14
[INFO] [stderr]     Checking num_cpus v1.1.0
[INFO] [stderr]     Checking deque v0.3.1
[INFO] [stderr]     Checking rayon v0.4.3
[INFO] [stderr]     Checking num_rust v0.1.0 (https://github.com/woowe/num_rust.git#ad88ba18)
[INFO] [stderr]     Checking rust_ann v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `utils::*`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use utils::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/neural_net.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let _ = try!(self.layers[1].set_activity(input, &self.weights[0]));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/neural_net.rs:88:21
[INFO] [stdout]    |
[INFO] [stdout] 88 |             let _ = try!(self.layers[idx + 1].set_activity(&prev_activation, weight));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `MSE_Reg` should have an upper camel case name
[INFO] [stdout]   --> src/cost_function.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct MSE_Reg {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to upper camel case: `MseReg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/trainer.rs:44:28
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 let pred = try!(self.net.predict(s_input));
[INFO] [stdout]    |                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/trainer.rs:45:25
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 djdws = try!(self.cost.cost_prime(self.net, &s_input, &s_output, &pred));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:45:24
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mut file = try!(File::open(path));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils::*`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use utils::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/neural_net.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let _ = try!(self.layers[1].set_activity(input, &self.weights[0]));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/neural_net.rs:88:21
[INFO] [stdout]    |
[INFO] [stdout] 88 |             let _ = try!(self.layers[idx + 1].set_activity(&prev_activation, weight));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `MSE_Reg` should have an upper camel case name
[INFO] [stdout]   --> src/cost_function.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct MSE_Reg {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to upper camel case: `MseReg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/trainer.rs:44:28
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 let pred = try!(self.net.predict(s_input));
[INFO] [stdout]    |                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/trainer.rs:45:25
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 djdws = try!(self.cost.cost_prime(self.net, &s_input, &s_output, &pred));
[INFO] [stdout]    |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:45:24
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mut file = try!(File::open(path));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/neural_net.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 |     layers: Vec<Box<Layer>>,
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 55 |     layers: Vec<Box<dyn Layer>>,
[INFO] [stdout]    |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/neural_net.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 |     layers: Vec<Box<Layer>>,
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 55 |     layers: Vec<Box<dyn Layer>>,
[INFO] [stdout]    |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/neural_net.rs:63:26
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn new(desc: Vec<Box<Layer>>) -> Result<Sequential, NNetError> {
[INFO] [stdout]    |                          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn new(desc: Vec<Box<dyn Layer>>) -> Result<Sequential, NNetError> {
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/neural_net.rs:63:26
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn new(desc: Vec<Box<Layer>>) -> Result<Sequential, NNetError> {
[INFO] [stdout]    |                          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn new(desc: Vec<Box<dyn Layer>>) -> Result<Sequential, NNetError> {
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/neural_net.rs:46:26
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn new(desc: Vec<Box<Layer>>) -> Result<Self::Net, NNetError>;
[INFO] [stdout]    |                          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn new(desc: Vec<Box<dyn Layer>>) -> Result<Self::Net, NNetError>;
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/neural_net.rs:117:35
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn get_layers(&self) -> &[Box<Layer>] {
[INFO] [stdout]     |                                   ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn get_layers(&self) -> &[Box<dyn Layer>] {
[INFO] [stdout]     |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/neural_net.rs:51:35
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn get_layers(&self) -> &[Box<Layer>];
[INFO] [stdout]    |                                   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn get_layers(&self) -> &[Box<dyn Layer>];
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/neural_net.rs:46:26
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn new(desc: Vec<Box<Layer>>) -> Result<Self::Net, NNetError>;
[INFO] [stdout]    |                          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn new(desc: Vec<Box<dyn Layer>>) -> Result<Self::Net, NNetError>;
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/neural_net.rs:117:35
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn get_layers(&self) -> &[Box<Layer>] {
[INFO] [stdout]     |                                   ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn get_layers(&self) -> &[Box<dyn Layer>] {
[INFO] [stdout]     |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/neural_net.rs:51:35
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn get_layers(&self) -> &[Box<Layer>];
[INFO] [stdout]    |                                   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn get_layers(&self) -> &[Box<dyn Layer>];
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `djdws` is never read
[INFO] [stdout]   --> src/trainer.rs:40:40
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let mut djdws: Vec<Matrix2d> = Vec::new();
[INFO] [stdout]    |                                        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/main.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let res: isize = enl.par_iter().map(|&(i, line)| {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nn_pred`
[INFO] [stdout]    --> src/main.rs:193:13
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let nn_pred = max_pred_idx;
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nn_pred`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `actual_pred`
[INFO] [stdout]    --> src/main.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |         let actual_pred = actual_idx;
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual_pred`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `normalized_train_data` and `normalized_test_data` are never used
[INFO] [stdout]   --> src/main.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl NetData {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn normalized_train_data(&self) -> (Matrix2d, Matrix2d) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub fn normalized_test_data(&self) -> (Matrix2d, Matrix2d) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_vec` is never used
[INFO] [stdout]  --> src/utils.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn sum_vec(vec: &[f64]) -> f64 {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `frobenius_norm` is never used
[INFO] [stdout]   --> src/utils.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn frobenius_norm(m: &Matrix2d) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unrolled_sum` is never used
[INFO] [stdout]   --> src/utils.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn unrolled_sum(mut xs: &[f64]) -> f64
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vec_bin_op` is never used
[INFO] [stdout]   --> src/utils.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn vec_bin_op<F>(u: &[f64], v: &[f64], f: F) -> Vec<f64>
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_params` is never used
[INFO] [stdout]   --> src/utils.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn set_params<NN: NeuralNet>(nn: &mut NN, params: Vec<f64>) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_params` is never used
[INFO] [stdout]   --> src/utils.rs:88:4
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn get_params<NN: NeuralNet>(nn: &NN) -> Vec<f64> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_gradients` is never used
[INFO] [stdout]   --> src/utils.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn compute_gradients<NN: NeuralNet, C: CostFunction>(nn: &mut NN, cost: &mut C,input: &Matrix2d, output: &Matrix2d) -> Vec<f64> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_numerical_gradients` is never used
[INFO] [stdout]    --> src/utils.rs:107:4
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn compute_numerical_gradients<NN: NeuralNet, C: CostFunction>(nn: &mut NN, cost: &mut C, x: &Matrix2d, y: &Matrix2d) -> Vec<f64> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_gradient` is never used
[INFO] [stdout]    --> src/utils.rs:132:8
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub fn check_gradient<NN: NeuralNet, C: CostFunction>(nn: &mut NN, cost: &mut C, x: &Matrix2d, y: &Matrix2d) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_activity` is never used
[INFO] [stdout]  --> src/layer.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub trait Layer {
[INFO] [stdout]   |           ----- method in this trait
[INFO] [stdout] 7 |     fn set_activity(&mut self, x: &Matrix2d, w: &Matrix2d) -> Result<(), NNetError>;
[INFO] [stdout] 8 |     fn get_activity(&self) -> &Matrix2d;
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FastExp` is never used
[INFO] [stdout]  --> src/activation_function.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | trait FastExp {
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sigmoid` is never constructed
[INFO] [stdout]   --> src/activation_function.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Sigmoid;
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReLU` is never constructed
[INFO] [stdout]   --> src/activation_function.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct ReLU;
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `djdws` is never read
[INFO] [stdout]   --> src/trainer.rs:40:40
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let mut djdws: Vec<Matrix2d> = Vec::new();
[INFO] [stdout]    |                                        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SoftPlus` is never constructed
[INFO] [stdout]   --> src/activation_function.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub struct SoftPlus;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SoftMax` is never constructed
[INFO] [stdout]    --> src/activation_function.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub struct SoftMax;
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]  --> src/utils.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut mc = vec.clone();
[INFO] [stdout]   |                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]   |
[INFO] [stdout]   = note: the type `[f64]` does not implement `Clone`, so calling `clone` on `&[f64]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]   = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/trainer.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 |             if i >= 0 {
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/main.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let res: isize = enl.par_iter().map(|&(i, line)| {
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nn_pred`
[INFO] [stdout]    --> src/main.rs:193:13
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let nn_pred = max_pred_idx;
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nn_pred`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `actual_pred`
[INFO] [stdout]    --> src/main.rs:194:13
[INFO] [stdout]     |
[INFO] [stdout] 194 |         let actual_pred = actual_idx;
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual_pred`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `normalized_train_data` and `normalized_test_data` are never used
[INFO] [stdout]   --> src/main.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl NetData {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn normalized_train_data(&self) -> (Matrix2d, Matrix2d) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub fn normalized_test_data(&self) -> (Matrix2d, Matrix2d) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_params` is never used
[INFO] [stdout]   --> src/utils.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn set_params<NN: NeuralNet>(nn: &mut NN, params: Vec<f64>) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_params` is never used
[INFO] [stdout]   --> src/utils.rs:88:4
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn get_params<NN: NeuralNet>(nn: &NN) -> Vec<f64> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_gradients` is never used
[INFO] [stdout]   --> src/utils.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn compute_gradients<NN: NeuralNet, C: CostFunction>(nn: &mut NN, cost: &mut C,input: &Matrix2d, output: &Matrix2d) -> Vec<f64> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_numerical_gradients` is never used
[INFO] [stdout]    --> src/utils.rs:107:4
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn compute_numerical_gradients<NN: NeuralNet, C: CostFunction>(nn: &mut NN, cost: &mut C, x: &Matrix2d, y: &Matrix2d) -> Vec<f64> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_gradient` is never used
[INFO] [stdout]    --> src/utils.rs:132:8
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub fn check_gradient<NN: NeuralNet, C: CostFunction>(nn: &mut NN, cost: &mut C, x: &Matrix2d, y: &Matrix2d) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_activity` is never used
[INFO] [stdout]  --> src/layer.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub trait Layer {
[INFO] [stdout]   |           ----- method in this trait
[INFO] [stdout] 7 |     fn set_activity(&mut self, x: &Matrix2d, w: &Matrix2d) -> Result<(), NNetError>;
[INFO] [stdout] 8 |     fn get_activity(&self) -> &Matrix2d;
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FastExp` is never used
[INFO] [stdout]  --> src/activation_function.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | trait FastExp {
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sigmoid` is never constructed
[INFO] [stdout]   --> src/activation_function.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Sigmoid;
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReLU` is never constructed
[INFO] [stdout]   --> src/activation_function.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct ReLU;
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SoftPlus` is never constructed
[INFO] [stdout]   --> src/activation_function.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub struct SoftPlus;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SoftMax` is never constructed
[INFO] [stdout]    --> src/activation_function.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub struct SoftMax;
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]  --> src/utils.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut mc = vec.clone();
[INFO] [stdout]   |                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]   |
[INFO] [stdout]   = note: the type `[f64]` does not implement `Clone`, so calling `clone` on `&[f64]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]   = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/trainer.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 |             if i >= 0 {
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.76s
[INFO] running `Command { std: "docker" "inspect" "05ec681a72e4a2f4aada78765bffcea4b36bb918cab819bfcab575a69c390d08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05ec681a72e4a2f4aada78765bffcea4b36bb918cab819bfcab575a69c390d08", kill_on_drop: false }`
[INFO] [stdout] 05ec681a72e4a2f4aada78765bffcea4b36bb918cab819bfcab575a69c390d08
