[INFO] cloning repository https://github.com/JanisBoegershausen/Rust_NeuralNetwork
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JanisBoegershausen/Rust_NeuralNetwork" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanisBoegershausen%2FRust_NeuralNetwork", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanisBoegershausen%2FRust_NeuralNetwork'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] be0819e7e4170423a6290993edc025cc7aaf491f
[INFO] building JanisBoegershausen/Rust_NeuralNetwork against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanisBoegershausen%2FRust_NeuralNetwork" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JanisBoegershausen/Rust_NeuralNetwork
[INFO] finished tweaking git repo https://github.com/JanisBoegershausen/Rust_NeuralNetwork
[INFO] tweaked toml for git repo https://github.com/JanisBoegershausen/Rust_NeuralNetwork written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JanisBoegershausen/Rust_NeuralNetwork on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JanisBoegershausen/Rust_NeuralNetwork 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro2 v1.0.19
[INFO] [stderr]   Downloaded pistoncore-window v0.47.0
[INFO] [stderr]   Downloaded piston-graphics_api_version v1.0.0
[INFO] [stderr]   Downloaded piston-viewport v1.0.0
[INFO] [stderr]   Downloaded piston-float v1.0.0
[INFO] [stderr]   Downloaded interpolation v0.2.0
[INFO] [stderr]   Downloaded pistoncore-input v1.0.0
[INFO] [stderr]   Downloaded pistoncore-event_loop v0.52.0
[INFO] [stderr]   Downloaded piston v0.52.0
[INFO] [stderr]   Downloaded either v1.6.0
[INFO] [stderr]   Downloaded piston2d-opengl_graphics v0.74.0
[INFO] [stderr]   Downloaded bytemuck v1.4.0
[INFO] [stderr]   Downloaded crossbeam-channel v0.4.3
[INFO] [stderr]   Downloaded rayon-core v1.8.0
[INFO] [stderr]   Downloaded glutin v0.21.2
[INFO] [stderr]   Downloaded png v0.16.7
[INFO] [stderr]   Downloaded syn v1.0.39
[INFO] [stderr]   Downloaded tiff v0.5.0
[INFO] [stderr]   Downloaded gl_generator v0.10.0
[INFO] [stderr]   Downloaded piston2d-graphics v0.37.0
[INFO] [stderr]   Downloaded num-rational v0.3.0
[INFO] [stderr]   Downloaded pistoncore-glutin_window v0.66.0
[INFO] [stderr]   Downloaded rayon v1.4.0
[INFO] [stderr]   Downloaded piston-shaders_graphics2d v0.3.1
[INFO] [stderr]   Downloaded gl v0.11.0
[INFO] [stderr]   Downloaded piston-texture v0.8.0
[INFO] [stderr]   Downloaded image v0.23.9
[INFO] [stderr]   Downloaded libc v0.2.76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d2b3a7d03fc6e57ad9f3cb0b10039a9c4b3dd656727be3751479d37ecbe2de1b
[INFO] running `Command { std: "docker" "start" "-a" "d2b3a7d03fc6e57ad9f3cb0b10039a9c4b3dd656727be3751479d37ecbe2de1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d2b3a7d03fc6e57ad9f3cb0b10039a9c4b3dd656727be3751479d37ecbe2de1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2b3a7d03fc6e57ad9f3cb0b10039a9c4b3dd656727be3751479d37ecbe2de1b", kill_on_drop: false }`
[INFO] [stdout] d2b3a7d03fc6e57ad9f3cb0b10039a9c4b3dd656727be3751479d37ecbe2de1b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9adf09d44ceabe38de017e399307a83891b47befd567c0c95969b2397ac209e2
[INFO] running `Command { std: "docker" "start" "-a" "9adf09d44ceabe38de017e399307a83891b47befd567c0c95969b2397ac209e2", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling libloading v0.6.3
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling memoffset v0.5.5
[INFO] [stderr]    Compiling piston-float v1.0.0
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]    Compiling piston-viewport v1.0.0
[INFO] [stderr]    Compiling serde v1.0.115
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling rayon-core v1.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.115
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling piston-graphics_api_version v1.0.0
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling wayland-sys v0.21.13
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling rayon v1.4.0
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling cc v1.0.59
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling crossbeam-channel v0.4.3
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling stb_truetype v0.3.1
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling ordered-float v1.1.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling rusttype v0.8.3
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling either v1.6.0
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling tiff v0.5.0
[INFO] [stderr]    Compiling shader_version v0.7.0
[INFO] [stderr]    Compiling png v0.16.7
[INFO] [stderr]    Compiling vecmath v1.0.0
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling bytemuck v1.4.0
[INFO] [stderr]    Compiling interpolation v0.2.0
[INFO] [stderr]    Compiling read_color v1.0.0
[INFO] [stderr]    Compiling piston-texture v0.8.0
[INFO] [stderr]    Compiling piston2d-graphics v0.37.0
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling piston-shaders_graphics2d v0.3.1
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling jpeg-decoder v0.1.20
[INFO] [stderr]    Compiling wayland-commons v0.21.13
[INFO] [stderr]    Compiling image v0.23.9
[INFO] [stderr]    Compiling pistoncore-input v1.0.0
[INFO] [stderr]    Compiling pistoncore-window v0.47.0
[INFO] [stderr]    Compiling pistoncore-event_loop v0.52.0
[INFO] [stderr]    Compiling piston v0.52.0
[INFO] [stderr]    Compiling piston2d-opengl_graphics v0.74.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.4.6
[INFO] [stderr]    Compiling winit v0.19.5
[INFO] [stderr]    Compiling glutin v0.21.2
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.66.0
[INFO] [stderr]    Compiling neuralNet v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `MouseCursorEvent`
[INFO] [stdout]   --> src/main.rs:17:84
[INFO] [stdout]    |
[INFO] [stdout] 17 | use piston::input::{RenderArgs, UpdateArgs, UpdateEvent, Button, ButtonState, Key, MouseCursorEvent};
[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 variable: `training_set`
[INFO] [stdout]   --> src/trainer.rs:83:88
[INFO] [stdout]    |
[INFO] [stdout] 83 | ...etwork::NeuralNetwork, training_set : &Vec<TrainingData>,  generations : usize) -> TrainingResult {
[INFO] [stdout]    |                           ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_training_set`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `generations`
[INFO] [stdout]   --> src/trainer.rs:83:124
[INFO] [stdout]    |
[INFO] [stdout] 83 | ... : &Vec<TrainingData>,  generations : usize) -> TrainingResult {
[INFO] [stdout]    |                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `g`
[INFO] [stdout]   --> src/examples.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     for g in 0..20 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_g`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/examples.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         for i in 0..network.nodes[0].len() {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `training_set`
[INFO] [stdout]   --> src/examples.rs:27:28
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn evaluate_copy_input(training_set : &Vec<super::trainer::TrainingData>, network : &mut super::network::NeuralNetwork) -> f64{
[INFO] [stdout]    |                            ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_training_set`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trainer`
[INFO] [stdout]   --> src/examples.rs:57:26
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn run_example_three(trainer : &mut super::trainer::Trainer) {
[INFO] [stdout]    |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trainer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `evaluate_with_training_data`, `train_genetic_algorithm_dataset`, `train_backpropagation`, and `calculate_errors` are never used
[INFO] [stdout]   --> src/trainer.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Trainer {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn evaluate_with_training_data(training_set : &Vec<TrainingData>, network : &mut super::network::NeuralNetwork) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn train_genetic_algorithm_dataset (&mut self, network : &super::network::NeuralNetwork, training_set : &Vec<TrainingData>, gener...
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn train_backpropagation (&mut self, network : &super::network::NeuralNetwork, training_set : &Vec<TrainingData>,  generations : ...
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub fn calculate_errors(&mut self, network : &super::network::NeuralNetwork, expected_outputs : Vec<f64>) -> Vec<Vec<f64>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `input` and `output` are never read
[INFO] [stdout]    --> src/trainer.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub struct TrainingData {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 119 |     input: Vec<f64>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 120 |     output: Vec<f64>
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/trainer.rs:131:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl TrainingData {
[INFO] [stdout]     | ----------------- associated function in this implementation
[INFO] [stdout] 131 |     pub fn new(inputs : Vec<f64>, output : Vec<f64>) -> TrainingData {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_example_one` is never used
[INFO] [stdout]  --> src/examples.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn run_example_one(trainer : &mut super::trainer::Trainer) -> super::trainer::TrainingResult {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_example_three` is never used
[INFO] [stdout]   --> src/examples.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn run_example_three(trainer : &mut super::trainer::Trainer) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `weightSum` should have a snake case name
[INFO] [stdout]    --> src/trainer.rs:103:29
[INFO] [stdout]     |
[INFO] [stdout] 103 |                     let mut weightSum = 0.0;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `weight_sum`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 43s
[INFO] running `Command { std: "docker" "inspect" "9adf09d44ceabe38de017e399307a83891b47befd567c0c95969b2397ac209e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9adf09d44ceabe38de017e399307a83891b47befd567c0c95969b2397ac209e2", kill_on_drop: false }`
[INFO] [stdout] 9adf09d44ceabe38de017e399307a83891b47befd567c0c95969b2397ac209e2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 03cf5819269cf8cecca8f87c7ae598a14559d5fd59ddd3191960e5e67ec857a4
[INFO] running `Command { std: "docker" "start" "-a" "03cf5819269cf8cecca8f87c7ae598a14559d5fd59ddd3191960e5e67ec857a4", kill_on_drop: false }`
[INFO] [stderr]    Compiling neuralNet v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `MouseCursorEvent`
[INFO] [stdout]   --> src/main.rs:17:84
[INFO] [stdout]    |
[INFO] [stdout] 17 | use piston::input::{RenderArgs, UpdateArgs, UpdateEvent, Button, ButtonState, Key, MouseCursorEvent};
[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 variable: `training_set`
[INFO] [stdout]   --> src/trainer.rs:83:88
[INFO] [stdout]    |
[INFO] [stdout] 83 | ...etwork::NeuralNetwork, training_set : &Vec<TrainingData>,  generations : usize) -> TrainingResult {
[INFO] [stdout]    |                           ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_training_set`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `generations`
[INFO] [stdout]   --> src/trainer.rs:83:124
[INFO] [stdout]    |
[INFO] [stdout] 83 | ... : &Vec<TrainingData>,  generations : usize) -> TrainingResult {
[INFO] [stdout]    |                            ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `g`
[INFO] [stdout]   --> src/examples.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     for g in 0..20 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_g`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/examples.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         for i in 0..network.nodes[0].len() {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `training_set`
[INFO] [stdout]   --> src/examples.rs:27:28
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn evaluate_copy_input(training_set : &Vec<super::trainer::TrainingData>, network : &mut super::network::NeuralNetwork) -> f64{
[INFO] [stdout]    |                            ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_training_set`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trainer`
[INFO] [stdout]   --> src/examples.rs:57:26
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn run_example_three(trainer : &mut super::trainer::Trainer) {
[INFO] [stdout]    |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trainer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `evaluate_with_training_data`, `train_genetic_algorithm_dataset`, `train_backpropagation`, and `calculate_errors` are never used
[INFO] [stdout]   --> src/trainer.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Trainer {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn evaluate_with_training_data(training_set : &Vec<TrainingData>, network : &mut super::network::NeuralNetwork) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn train_genetic_algorithm_dataset (&mut self, network : &super::network::NeuralNetwork, training_set : &Vec<TrainingData>, gener...
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn train_backpropagation (&mut self, network : &super::network::NeuralNetwork, training_set : &Vec<TrainingData>,  generations : ...
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub fn calculate_errors(&mut self, network : &super::network::NeuralNetwork, expected_outputs : Vec<f64>) -> Vec<Vec<f64>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `input` and `output` are never read
[INFO] [stdout]    --> src/trainer.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub struct TrainingData {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 119 |     input: Vec<f64>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 120 |     output: Vec<f64>
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/trainer.rs:131:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl TrainingData {
[INFO] [stdout]     | ----------------- associated function in this implementation
[INFO] [stdout] 131 |     pub fn new(inputs : Vec<f64>, output : Vec<f64>) -> TrainingData {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_example_one` is never used
[INFO] [stdout]  --> src/examples.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn run_example_one(trainer : &mut super::trainer::Trainer) -> super::trainer::TrainingResult {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_example_three` is never used
[INFO] [stdout]   --> src/examples.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn run_example_three(trainer : &mut super::trainer::Trainer) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `weightSum` should have a snake case name
[INFO] [stdout]    --> src/trainer.rs:103:29
[INFO] [stdout]     |
[INFO] [stdout] 103 |                     let mut weightSum = 0.0;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `weight_sum`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s
[INFO] running `Command { std: "docker" "inspect" "03cf5819269cf8cecca8f87c7ae598a14559d5fd59ddd3191960e5e67ec857a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03cf5819269cf8cecca8f87c7ae598a14559d5fd59ddd3191960e5e67ec857a4", kill_on_drop: false }`
[INFO] [stdout] 03cf5819269cf8cecca8f87c7ae598a14559d5fd59ddd3191960e5e67ec857a4
