[INFO] cloning repository https://github.com/philipandwaffle/neural_net
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/philipandwaffle/neural_net" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilipandwaffle%2Fneural_net"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilipandwaffle%2Fneural_net'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 2c056e4a267d345ed7c7533e7a69e4a7e0133e37
[INFO] testing philipandwaffle/neural_net against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilipandwaffle%2Fneural_net" "/workspace/builds/worker-7-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/philipandwaffle/neural_net
[INFO] finished tweaking git repo https://github.com/philipandwaffle/neural_net
[INFO] tweaked toml for git repo https://github.com/philipandwaffle/neural_net written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/philipandwaffle/neural_net on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/philipandwaffle/neural_net already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] f2249f190573a7d8747bafe0da52fd0b6adda29ce0d1b9c3e5bb16fb0e1a3863
[INFO] running `"docker" "start" "f2249f190573a7d8747bafe0da52fd0b6adda29ce0d1b9c3e5bb16fb0e1a3863"`
[INFO] running `"docker" "inspect" "f2249f190573a7d8747bafe0da52fd0b6adda29ce0d1b9c3e5bb16fb0e1a3863"`
[INFO] running `"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" "f2249f190573a7d8747bafe0da52fd0b6adda29ce0d1b9c3e5bb16fb0e1a3863" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "f2249f190573a7d8747bafe0da52fd0b6adda29ce0d1b9c3e5bb16fb0e1a3863"`
[INFO] running `"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" "f2249f190573a7d8747bafe0da52fd0b6adda29ce0d1b9c3e5bb16fb0e1a3863" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.133
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.4
[INFO] [stderr]    Compiling syn v1.0.100
[INFO] [stderr]    Compiling once_cell v1.15.0
[INFO] [stderr]    Compiling libloading v0.7.3
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling smallvec v1.9.0
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling xml-rs v0.8.4
[INFO] [stderr]    Compiling thiserror v1.0.37
[INFO] [stderr]    Compiling bytemuck v1.12.1
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling cty v0.2.2
[INFO] [stderr]    Compiling scoped-tls v1.0.0
[INFO] [stderr]    Compiling dlib v0.5.0
[INFO] [stderr]    Compiling futures-core v0.3.24
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling miniz_oxide v0.5.4
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling futures-channel v0.3.24
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling futures-task v0.3.24
[INFO] [stderr]    Compiling khronos-egl v4.1.0
[INFO] [stderr]    Compiling ash v0.37.0+1.3.209
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling semver v1.0.14
[INFO] [stderr]    Compiling raw-window-handle v0.4.3
[INFO] [stderr]    Compiling spirv v0.2.0+1.5.4
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling servo-fontconfig-sys v5.1.0
[INFO] [stderr]    Compiling crossfont v0.5.0
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.0
[INFO] [stderr]    Compiling gpu-alloc-types v0.2.0
[INFO] [stderr]    Compiling gpu-descriptor-types v0.1.1
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling foreign-types-shared v0.3.1
[INFO] [stderr]    Compiling cmake v0.1.48
[INFO] [stderr]    Compiling futures-util v0.3.24
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]    Compiling futures-sink v0.3.24
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling wgpu-core v0.13.2
[INFO] [stderr]    Compiling gpu-alloc v0.5.3
[INFO] [stderr]    Compiling tiny-skia-path v0.7.0
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling flate2 v1.0.24
[INFO] [stderr]    Compiling x11-dl v2.20.0
[INFO] [stderr]    Compiling freetype-sys v0.13.1
[INFO] [stderr]    Compiling expat-sys v2.1.6
[INFO] [stderr]    Compiling safe_arch v0.5.2
[INFO] [stderr]    Compiling wgpu-types v0.13.2
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling profiling v1.0.6
[INFO] [stderr]    Compiling glow v0.11.2
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling renderdoc-sys v0.7.1
[INFO] [stderr]    Compiling inplace_it v0.3.5
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling nix v0.24.2
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling png v0.17.6
[INFO] [stderr]    Compiling memmap2 v0.5.7
[INFO] [stderr]    Compiling futures-io v0.3.24
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling servo-fontconfig v0.5.1
[INFO] [stderr]    Compiling freetype-rs v0.26.0
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling safe_arch v0.6.0
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling show-image v0.13.1
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling xcursor v0.3.4
[INFO] [stderr]    Compiling gpu-descriptor v0.2.3
[INFO] [stderr]    Compiling tiny-skia v0.7.0
[INFO] [stderr]    Compiling wide v0.7.4
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling raw-window-handle v0.5.0
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling num-complex v0.4.2
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling paste v1.0.9
[INFO] [stderr]    Compiling petgraph v0.6.2
[INFO] [stderr]    Compiling wayland-commons v0.29.5
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling matrixmultiply v0.3.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling glam v0.21.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling simba v0.7.2
[INFO] [stderr]    Compiling wayland-cursor v0.29.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.37
[INFO] [stderr]    Compiling foreign-types-macros v0.2.2
[INFO] [stderr]    Compiling nalgebra-macros v0.1.0
[INFO] [stderr]    Compiling show-image-macros v0.12.3
[INFO] [stderr]    Compiling foreign-types v0.5.0
[INFO] [stderr]    Compiling naga v0.9.0
[INFO] [stderr]    Compiling calloop v0.10.1
[INFO] [stderr]    Compiling futures-executor v0.3.24
[INFO] [stderr]    Compiling futures v0.3.24
[INFO] [stderr]    Compiling nalgebra v0.31.1
[INFO] [stderr]    Compiling wgpu-hal v0.13.2
[INFO] [stderr]    Compiling wgpu v0.13.1
[INFO] [stderr]    Compiling sctk-adwaita v0.4.2
[INFO] [stderr]    Compiling winit v0.27.3
[INFO] [stderr]    Compiling neural_net v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `any::TypeId` and `ops::Mul`
[INFO] [stdout]  --> src/layer.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use std::{any::TypeId, ops::Mul};
[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: `Const`, `DimMax`, `OMatrix`, `SliceStorage`, and `ToTypenum`
[INFO] [stdout]  --> src/layer.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use na::{DMatrix, OMatrix, Dynamic, ToTypenum, Matrix, DimMax, Const, SliceStorage, RowDVector, DVector};
[INFO] [stdout]   |                       ^^^^^^^           ^^^^^^^^^          ^^^^^^  ^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/layer.rs:50:58
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 looped_matrix = looped_matrix.insert_row((looped_rows - row), 1.);
[INFO] [stdout]    |                                                          ^                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 50 -                 looped_matrix = looped_matrix.insert_row((looped_rows - row), 1.);
[INFO] [stdout] 50 +                 looped_matrix = looped_matrix.insert_row(looped_rows - row, 1.);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/layer.rs:52:39
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 looped_matrix.set_row((looped_rows - row), &RowDVector::from_row_slice(&row_copy));
[INFO] [stdout]    |                                       ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 52 -                 looped_matrix.set_row((looped_rows - row), &RowDVector::from_row_slice(&row_copy));
[INFO] [stdout] 52 +                 looped_matrix.set_row(looped_rows - row, &RowDVector::from_row_slice(&row_copy));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/layer.rs:59:61
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 looped_matrix = looped_matrix.insert_column((looped_cols - col), 1.);
[INFO] [stdout]    |                                                             ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 59 -                 looped_matrix = looped_matrix.insert_column((looped_cols - col), 1.);
[INFO] [stdout] 59 +                 looped_matrix = looped_matrix.insert_column(looped_cols - col, 1.);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/layer.rs:61:42
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 looped_matrix.set_column((looped_cols - col), &DVector::from_column_slice(&col_copy));
[INFO] [stdout]    |                                          ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 61 -                 looped_matrix.set_column((looped_cols - col), &DVector::from_column_slice(&col_copy));
[INFO] [stdout] 61 +                 looped_matrix.set_column(looped_cols - col, &DVector::from_column_slice(&col_copy));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/main.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | /     loop {
[INFO] [stdout] 61 | |         let m = layer.hood_op(hood_filter.clone(), quadratic_fn);
[INFO] [stdout] 62 | |         
[INFO] [stdout] 63 | |         let layer_image_vec = layer.get_layer_image();
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | |         thread::sleep(Duration::new(1, 0));
[INFO] [stdout] 74 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 75 |
[INFO] [stdout] 76 | /     for event in window.event_channel().unwrap() {
[INFO] [stdout] 77 | |         if let event::WindowEvent::KeyboardInput(event) = event {
[INFO] [stdout] 78 | |             println!("{:#?}", event);
[INFO] [stdout] 79 | |             if event.input.key_code == Some(event::VirtualKeyCode::Escape) && event.input.state.is_pressed() {
[INFO] [stdout] ...  |
[INFO] [stdout] 83 | |     }      
[INFO] [stdout]    | |_____^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node_id`
[INFO] [stdout]    --> src/ann.rs:128:18
[INFO] [stdout]     |
[INFO] [stdout] 128 |     fn node_info(node_id: u32) -> Vec<f32>{
[INFO] [stdout]     |                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `conway_fn` is never used
[INFO] [stdout]   --> src/main.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn conway_fn(m: &DMatrix<f32>) -> f32 {        
[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 `avg_fn` is never used
[INFO] [stdout]   --> src/main.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn avg_fn(m: &DMatrix<f32>) -> f32 {        
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `func` is never used
[INFO] [stdout]   --> src/main.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn func(m: &DMatrix<f32>) -> f32 {        
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sin_fn` is never used
[INFO] [stdout]   --> src/main.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn sin_fn(m: &DMatrix<f32>) -> f32 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main1` is never used
[INFO] [stdout]   --> src/main.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn main1() {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `evolve` is never used
[INFO] [stdout]    --> src/main.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn evolve(ann: ANN, total_gen: i32, gen_pop: u32, fitness_fn: fn(&mut ANN) -> f32){
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `evolve_seq` is never used
[INFO] [stdout]    --> src/main.rs:194:4
[INFO] [stdout]     |
[INFO] [stdout] 194 | fn evolve_seq(ann: ANN, total_gen: i32, gen_pop: u32, fitness_fn: fn(&mut ANN) -> f32){
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fitness_test` is never used
[INFO] [stdout]    --> src/main.rs:221:4
[INFO] [stdout]     |
[INFO] [stdout] 221 | fn fitness_test(ann: &mut ANN) -> f32{
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ANN` is never constructed
[INFO] [stdout]  --> src/ann.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct ANN{
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `propagate`, `sigma_dest_node`, `mutate`, and `node_info` are never used
[INFO] [stdout]    --> src/ann.rs:30:12
[INFO] [stdout]     |
[INFO] [stdout]  29 | impl ANN{
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout]  30 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn propagate(&mut self, input: Vec<f32>) -> Vec<f32>{
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     fn sigma_dest_node(&self, dest_id: u32, start_i: u32, end_i: u32) -> f32{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn mutate(&mut self){
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     fn node_info(node_id: u32) -> Vec<f32>{
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_point` is never used
[INFO] [stdout]   --> src/layer.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     impl Layer{
[INFO] [stdout]    |     ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |         pub fn get_point(&self, row: usize, col: usize) -> f32{
[INFO] [stdout]    |                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |         window.set_image("image", &image);
[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: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let _ = window.set_image("image", &image);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 | /         debug_w.set_image("debug", ImageView::new(
[INFO] [stdout] 69 | |                 ImageInfo::mono8(102, 102), 
[INFO] [stdout] 70 | |                 &m.1.data.as_vec().clone().iter().map(|x| return (x * 255.) as u8).collect::<Vec<u8>>())
[INFO] [stdout] 71 | |             );
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let _ = debug_w.set_image("debug", ImageView::new(
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 2m 57s
[INFO] running `"docker" "inspect" "f2249f190573a7d8747bafe0da52fd0b6adda29ce0d1b9c3e5bb16fb0e1a3863"`
[INFO] running `"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" "f2249f190573a7d8747bafe0da52fd0b6adda29ce0d1b9c3e5bb16fb0e1a3863" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling neural_net v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `any::TypeId` and `ops::Mul`
[INFO] [stdout]  --> src/layer.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use std::{any::TypeId, ops::Mul};
[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: `Const`, `DimMax`, `OMatrix`, `SliceStorage`, and `ToTypenum`
[INFO] [stdout]  --> src/layer.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use na::{DMatrix, OMatrix, Dynamic, ToTypenum, Matrix, DimMax, Const, SliceStorage, RowDVector, DVector};
[INFO] [stdout]   |                       ^^^^^^^           ^^^^^^^^^          ^^^^^^  ^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/layer.rs:50:58
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 looped_matrix = looped_matrix.insert_row((looped_rows - row), 1.);
[INFO] [stdout]    |                                                          ^                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 50 -                 looped_matrix = looped_matrix.insert_row((looped_rows - row), 1.);
[INFO] [stdout] 50 +                 looped_matrix = looped_matrix.insert_row(looped_rows - row, 1.);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/layer.rs:52:39
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 looped_matrix.set_row((looped_rows - row), &RowDVector::from_row_slice(&row_copy));
[INFO] [stdout]    |                                       ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 52 -                 looped_matrix.set_row((looped_rows - row), &RowDVector::from_row_slice(&row_copy));
[INFO] [stdout] 52 +                 looped_matrix.set_row(looped_rows - row, &RowDVector::from_row_slice(&row_copy));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/layer.rs:59:61
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 looped_matrix = looped_matrix.insert_column((looped_cols - col), 1.);
[INFO] [stdout]    |                                                             ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 59 -                 looped_matrix = looped_matrix.insert_column((looped_cols - col), 1.);
[INFO] [stdout] 59 +                 looped_matrix = looped_matrix.insert_column(looped_cols - col, 1.);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/layer.rs:61:42
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 looped_matrix.set_column((looped_cols - col), &DVector::from_column_slice(&col_copy));
[INFO] [stdout]    |                                          ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 61 -                 looped_matrix.set_column((looped_cols - col), &DVector::from_column_slice(&col_copy));
[INFO] [stdout] 61 +                 looped_matrix.set_column(looped_cols - col, &DVector::from_column_slice(&col_copy));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/main.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | /     loop {
[INFO] [stdout] 61 | |         let m = layer.hood_op(hood_filter.clone(), quadratic_fn);
[INFO] [stdout] 62 | |         
[INFO] [stdout] 63 | |         let layer_image_vec = layer.get_layer_image();
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | |         thread::sleep(Duration::new(1, 0));
[INFO] [stdout] 74 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 75 |
[INFO] [stdout] 76 | /     for event in window.event_channel().unwrap() {
[INFO] [stdout] 77 | |         if let event::WindowEvent::KeyboardInput(event) = event {
[INFO] [stdout] 78 | |             println!("{:#?}", event);
[INFO] [stdout] 79 | |             if event.input.key_code == Some(event::VirtualKeyCode::Escape) && event.input.state.is_pressed() {
[INFO] [stdout] ...  |
[INFO] [stdout] 83 | |     }      
[INFO] [stdout]    | |_____^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node_id`
[INFO] [stdout]    --> src/ann.rs:128:18
[INFO] [stdout]     |
[INFO] [stdout] 128 |     fn node_info(node_id: u32) -> Vec<f32>{
[INFO] [stdout]     |                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `conway_fn` is never used
[INFO] [stdout]   --> src/main.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn conway_fn(m: &DMatrix<f32>) -> f32 {        
[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 `avg_fn` is never used
[INFO] [stdout]   --> src/main.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn avg_fn(m: &DMatrix<f32>) -> f32 {        
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `func` is never used
[INFO] [stdout]   --> src/main.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn func(m: &DMatrix<f32>) -> f32 {        
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sin_fn` is never used
[INFO] [stdout]   --> src/main.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn sin_fn(m: &DMatrix<f32>) -> f32 {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main1` is never used
[INFO] [stdout]   --> src/main.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn main1() {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `evolve` is never used
[INFO] [stdout]    --> src/main.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn evolve(ann: ANN, total_gen: i32, gen_pop: u32, fitness_fn: fn(&mut ANN) -> f32){
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `evolve_seq` is never used
[INFO] [stdout]    --> src/main.rs:194:4
[INFO] [stdout]     |
[INFO] [stdout] 194 | fn evolve_seq(ann: ANN, total_gen: i32, gen_pop: u32, fitness_fn: fn(&mut ANN) -> f32){
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fitness_test` is never used
[INFO] [stdout]    --> src/main.rs:221:4
[INFO] [stdout]     |
[INFO] [stdout] 221 | fn fitness_test(ann: &mut ANN) -> f32{
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ANN` is never constructed
[INFO] [stdout]  --> src/ann.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct ANN{
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `propagate`, `sigma_dest_node`, `mutate`, and `node_info` are never used
[INFO] [stdout]    --> src/ann.rs:30:12
[INFO] [stdout]     |
[INFO] [stdout]  29 | impl ANN{
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout]  30 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn propagate(&mut self, input: Vec<f32>) -> Vec<f32>{
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     fn sigma_dest_node(&self, dest_id: u32, start_i: u32, end_i: u32) -> f32{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn mutate(&mut self){
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     fn node_info(node_id: u32) -> Vec<f32>{
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_point` is never used
[INFO] [stdout]   --> src/layer.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     impl Layer{
[INFO] [stdout]    |     ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |         pub fn get_point(&self, row: usize, col: usize) -> f32{
[INFO] [stdout]    |                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |         window.set_image("image", &image);
[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: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let _ = window.set_image("image", &image);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 | /         debug_w.set_image("debug", ImageView::new(
[INFO] [stdout] 69 | |                 ImageInfo::mono8(102, 102), 
[INFO] [stdout] 70 | |                 &m.1.data.as_vec().clone().iter().map(|x| return (x * 255.) as u8).collect::<Vec<u8>>())
[INFO] [stdout] 71 | |             );
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let _ = debug_w.set_image("debug", ImageView::new(
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.93s
[INFO] running `"docker" "inspect" "f2249f190573a7d8747bafe0da52fd0b6adda29ce0d1b9c3e5bb16fb0e1a3863"`
[INFO] running `"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" "f2249f190573a7d8747bafe0da52fd0b6adda29ce0d1b9c3e5bb16fb0e1a3863" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr] warning: unused imports: `any::TypeId` and `ops::Mul`
[INFO] [stderr]  --> src/layer.rs:3:15
[INFO] [stderr]   |
[INFO] [stderr] 3 |     use std::{any::TypeId, ops::Mul};
[INFO] [stderr]   |               ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Const`, `DimMax`, `OMatrix`, `SliceStorage`, and `ToTypenum`
[INFO] [stderr]  --> src/layer.rs:5:23
[INFO] [stderr]   |
[INFO] [stderr] 5 |     use na::{DMatrix, OMatrix, Dynamic, ToTypenum, Matrix, DimMax, Const, SliceStorage, RowDVector, DVector};
[INFO] [stderr]   |                       ^^^^^^^           ^^^^^^^^^          ^^^^^^  ^^^^^  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around method argument
[INFO] [stderr]   --> src/layer.rs:50:58
[INFO] [stderr]    |
[INFO] [stderr] 50 |                 looped_matrix = looped_matrix.insert_row((looped_rows - row), 1.);
[INFO] [stderr]    |                                                          ^                 ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 50 -                 looped_matrix = looped_matrix.insert_row((looped_rows - row), 1.);
[INFO] [stderr] 50 +                 looped_matrix = looped_matrix.insert_row(looped_rows - row, 1.);
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around method argument
[INFO] [stderr]   --> src/layer.rs:52:39
[INFO] [stderr]    |
[INFO] [stderr] 52 |                 looped_matrix.set_row((looped_rows - row), &RowDVector::from_row_slice(&row_copy));
[INFO] [stderr]    |                                       ^                 ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 52 -                 looped_matrix.set_row((looped_rows - row), &RowDVector::from_row_slice(&row_copy));
[INFO] [stderr] 52 +                 looped_matrix.set_row(looped_rows - row, &RowDVector::from_row_slice(&row_copy));
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around method argument
[INFO] [stderr]   --> src/layer.rs:59:61
[INFO] [stderr]    |
[INFO] [stderr] 59 |                 looped_matrix = looped_matrix.insert_column((looped_cols - col), 1.);
[INFO] [stderr]    |                                                             ^                 ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 59 -                 looped_matrix = looped_matrix.insert_column((looped_cols - col), 1.);
[INFO] [stderr] 59 +                 looped_matrix = looped_matrix.insert_column(looped_cols - col, 1.);
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around method argument
[INFO] [stderr]   --> src/layer.rs:61:42
[INFO] [stderr]    |
[INFO] [stderr] 61 |                 looped_matrix.set_column((looped_cols - col), &DVector::from_column_slice(&col_copy));
[INFO] [stderr]    |                                          ^                 ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 61 -                 looped_matrix.set_column((looped_cols - col), &DVector::from_column_slice(&col_copy));
[INFO] [stderr] 61 +                 looped_matrix.set_column(looped_cols - col, &DVector::from_column_slice(&col_copy));
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable expression
[INFO] [stderr]   --> src/main.rs:76:5
[INFO] [stderr]    |
[INFO] [stderr] 60 | /     loop {
[INFO] [stderr] 61 | |         let m = layer.hood_op(hood_filter.clone(), quadratic_fn);
[INFO] [stderr] 62 | |         
[INFO] [stderr] 63 | |         let layer_image_vec = layer.get_layer_image();
[INFO] [stderr] ...  |
[INFO] [stderr] 73 | |         thread::sleep(Duration::new(1, 0));
[INFO] [stderr] 74 | |     }
[INFO] [stderr]    | |_____- any code following this expression is unreachable
[INFO] [stderr] 75 |
[INFO] [stderr] 76 | /     for event in window.event_channel().unwrap() {
[INFO] [stderr] 77 | |         if let event::WindowEvent::KeyboardInput(event) = event {
[INFO] [stderr] 78 | |             println!("{:#?}", event);
[INFO] [stderr] 79 | |             if event.input.key_code == Some(event::VirtualKeyCode::Escape) && event.input.state.is_pressed() {
[INFO] [stderr] ...  |
[INFO] [stderr] 83 | |     }      
[INFO] [stderr]    | |_____^ unreachable expression
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `node_id`
[INFO] [stderr]    --> src/ann.rs:128:18
[INFO] [stderr]     |
[INFO] [stderr] 128 |     fn node_info(node_id: u32) -> Vec<f32>{
[INFO] [stderr]     |                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `conway_fn` is never used
[INFO] [stderr]   --> src/main.rs:27:8
[INFO] [stderr]    |
[INFO] [stderr] 27 |     fn conway_fn(m: &DMatrix<f32>) -> f32 {        
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `avg_fn` is never used
[INFO] [stderr]   --> src/main.rs:38:8
[INFO] [stderr]    |
[INFO] [stderr] 38 |     fn avg_fn(m: &DMatrix<f32>) -> f32 {        
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `func` is never used
[INFO] [stderr]   --> src/main.rs:42:8
[INFO] [stderr]    |
[INFO] [stderr] 42 |     fn func(m: &DMatrix<f32>) -> f32 {        
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `sin_fn` is never used
[INFO] [stderr]   --> src/main.rs:50:8
[INFO] [stderr]    |
[INFO] [stderr] 50 |     fn sin_fn(m: &DMatrix<f32>) -> f32 {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main1` is never used
[INFO] [stderr]   --> src/main.rs:90:4
[INFO] [stderr]    |
[INFO] [stderr] 90 | fn main1() {
[INFO] [stderr]    |    ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `evolve` is never used
[INFO] [stderr]    --> src/main.rs:142:4
[INFO] [stderr]     |
[INFO] [stderr] 142 | fn evolve(ann: ANN, total_gen: i32, gen_pop: u32, fitness_fn: fn(&mut ANN) -> f32){
[INFO] [stderr]     |    ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `evolve_seq` is never used
[INFO] [stderr]    --> src/main.rs:194:4
[INFO] [stderr]     |
[INFO] [stderr] 194 | fn evolve_seq(ann: ANN, total_gen: i32, gen_pop: u32, fitness_fn: fn(&mut ANN) -> f32){
[INFO] [stderr]     |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `fitness_test` is never used
[INFO] [stderr]    --> src/main.rs:221:4
[INFO] [stderr]     |
[INFO] [stderr] 221 | fn fitness_test(ann: &mut ANN) -> f32{
[INFO] [stderr]     |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ANN` is never constructed
[INFO] [stderr]  --> src/ann.rs:8:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub struct ANN{
[INFO] [stderr]   |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `propagate`, `sigma_dest_node`, `mutate`, and `node_info` are never used
[INFO] [stderr]    --> src/ann.rs:30:12
[INFO] [stderr]     |
[INFO] [stderr]  29 | impl ANN{
[INFO] [stderr]     | -------- associated items in this implementation
[INFO] [stderr]  30 |     pub fn new(
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr]  77 |     pub fn propagate(&mut self, input: Vec<f32>) -> Vec<f32>{
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 106 |     fn sigma_dest_node(&self, dest_id: u32, start_i: u32, end_i: u32) -> f32{
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 118 |     pub fn mutate(&mut self){
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 128 |     fn node_info(node_id: u32) -> Vec<f32>{
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_point` is never used
[INFO] [stderr]   --> src/layer.rs:19:16
[INFO] [stderr]    |
[INFO] [stderr] 12 |     impl Layer{
[INFO] [stderr]    |     ---------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 19 |         pub fn get_point(&self, row: usize, col: usize) -> f32{
[INFO] [stderr]    |                ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/main.rs:66:9
[INFO] [stderr]    |
[INFO] [stderr] 66 |         window.set_image("image", &image);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let _ = window.set_image("image", &image);
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/main.rs:68:9
[INFO] [stderr]    |
[INFO] [stderr] 68 | /         debug_w.set_image("debug", ImageView::new(
[INFO] [stderr] 69 | |                 ImageInfo::mono8(102, 102), 
[INFO] [stderr] 70 | |                 &m.1.data.as_vec().clone().iter().map(|x| return (x * 255.) as u8).collect::<Vec<u8>>())
[INFO] [stderr] 71 | |             );
[INFO] [stderr]    | |_____________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stderr]    |
[INFO] [stderr] 68 |         let _ = debug_w.set_image("debug", ImageView::new(
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `neural_net` (bin "neural_net" test) generated 21 warnings (run `cargo fix --bin "neural_net" -p neural_net --tests` to apply 7 suggestions)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.21s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/build/neural_net/40f3b3fdb802b6f2/out/neural_net-40f3b3fdb802b6f2)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "f2249f190573a7d8747bafe0da52fd0b6adda29ce0d1b9c3e5bb16fb0e1a3863"`
[INFO] running `"docker" "rm" "-f" "f2249f190573a7d8747bafe0da52fd0b6adda29ce0d1b9c3e5bb16fb0e1a3863"`
[INFO] [stdout] f2249f190573a7d8747bafe0da52fd0b6adda29ce0d1b9c3e5bb16fb0e1a3863
