[INFO] cloning repository https://github.com/SSebigo/iris-classification
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SSebigo/iris-classification" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSSebigo%2Firis-classification", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSSebigo%2Firis-classification'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 49bdf25c8825328d541edd31a06875d882b6fd94
[INFO] checking SSebigo/iris-classification against try#163937523761cc0def32f1ba9ed63fdf65ad3478 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSSebigo%2Firis-classification" "/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/SSebigo/iris-classification
[INFO] finished tweaking git repo https://github.com/SSebigo/iris-classification
[INFO] tweaked toml for git repo https://github.com/SSebigo/iris-classification written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SSebigo/iris-classification on toolchain 163937523761cc0def32f1ba9ed63fdf65ad3478
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SSebigo/iris-classification already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3a019c63e440d797ad97f8be7cf832acc7cd9ab2c5dbd209de8437fd589a4b5d
[INFO] running `Command { std: "docker" "start" "3a019c63e440d797ad97f8be7cf832acc7cd9ab2c5dbd209de8437fd589a4b5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3a019c63e440d797ad97f8be7cf832acc7cd9ab2c5dbd209de8437fd589a4b5d" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3a019c63e440d797ad97f8be7cf832acc7cd9ab2c5dbd209de8437fd589a4b5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3a019c63e440d797ad97f8be7cf832acc7cd9ab2c5dbd209de8437fd589a4b5d" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling libc v0.2.48
[INFO] [stderr]    Compiling num-complex v0.2.1
[INFO] [stderr]    Compiling matrixmultiply v0.1.15
[INFO] [stderr]    Compiling ndarray v0.12.1
[INFO] [stderr]     Checking rawpointer v0.1.0
[INFO] [stderr]     Checking either v1.5.0
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]     Checking itertools v0.7.11
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand_os v0.1.1
[INFO] [stderr]     Checking ndarray-rand v0.9.0
[INFO] [stderr]     Checking iris-classification v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Array`
[INFO] [stdout]  --> src/model.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array, Array2};
[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 import: `Array`
[INFO] [stdout]  --> src/model.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array, Array2};
[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: `set_labels`
[INFO] [stdout]   --> src/model.rs:76:52
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn fit(&mut self, training_set: Vec<Iris>, set_labels: Vec<&str>, epochs: usize) {
[INFO] [stdout]    |                                                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_labels`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test_set`
[INFO] [stdout]    --> src/model.rs:132:21
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub fn evaluate(test_set: Vec<f64>, set_labels: Vec<&str>) -> (usize, usize) {
[INFO] [stdout]     |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_set`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `set_labels`
[INFO] [stdout]    --> src/model.rs:132:41
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub fn evaluate(test_set: Vec<f64>, set_labels: Vec<&str>) -> (usize, usize) {
[INFO] [stdout]     |                                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_labels`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prediction_set`
[INFO] [stdout]    --> src/model.rs:136:23
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn predict<T>(prediction_set: T) -> Array2<f64> {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prediction_set`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `learning_rate`
[INFO] [stdout]    --> src/model.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let learning_rate = 0.001;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_learning_rate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `beta_1`
[INFO] [stdout]    --> src/model.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let beta_1 = 0.9;
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_beta_1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `beta_2`
[INFO] [stdout]    --> src/model.rs:143:13
[INFO] [stdout]     |
[INFO] [stdout] 143 |         let beta_2 = 0.999;
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_beta_2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `epsilon`
[INFO] [stdout]    --> src/model.rs:144:13
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let epsilon = 10_f64.powf(-8_f64);
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_epsilon`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test_set`
[INFO] [stdout]   --> src/main.rs:26:21
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let (train_set, test_set) = (train_set.to_vec(), test_set.to_vec());
[INFO] [stdout]    |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_set`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `class_vec` is never read
[INFO] [stdout]  --> src/iris.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Iris {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 7 |     class_vec: Vec<f64>,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Iris` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `sigmoid_prime` is never used
[INFO] [stdout]   --> src/layer.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Layer {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 63 |     fn sigmoid_prime(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `evaluate`, `predict`, `adam_optimizer`, `gradient_descent`, and `mean_squared_error` are never used
[INFO] [stdout]    --> src/model.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout]  17 | impl Model {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn evaluate(test_set: Vec<f64>, set_labels: Vec<&str>) -> (usize, usize) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn predict<T>(prediction_set: T) -> Array2<f64> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     fn adam_optimizer(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn gradient_descent(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     fn mean_squared_error(&mut self, prediction: Array2<f64>, target: Array2<f64>) -> Array2<f64> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `set_labels`
[INFO] [stdout]   --> src/model.rs:76:52
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn fit(&mut self, training_set: Vec<Iris>, set_labels: Vec<&str>, epochs: usize) {
[INFO] [stdout]    |                                                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_labels`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test_set`
[INFO] [stdout]    --> src/model.rs:132:21
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub fn evaluate(test_set: Vec<f64>, set_labels: Vec<&str>) -> (usize, usize) {
[INFO] [stdout]     |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_set`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `set_labels`
[INFO] [stdout]    --> src/model.rs:132:41
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub fn evaluate(test_set: Vec<f64>, set_labels: Vec<&str>) -> (usize, usize) {
[INFO] [stdout]     |                                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_labels`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prediction_set`
[INFO] [stdout]    --> src/model.rs:136:23
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn predict<T>(prediction_set: T) -> Array2<f64> {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prediction_set`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `learning_rate`
[INFO] [stdout]    --> src/model.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let learning_rate = 0.001;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_learning_rate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `beta_1`
[INFO] [stdout]    --> src/model.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let beta_1 = 0.9;
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_beta_1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `beta_2`
[INFO] [stdout]    --> src/model.rs:143:13
[INFO] [stdout]     |
[INFO] [stdout] 143 |         let beta_2 = 0.999;
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_beta_2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `epsilon`
[INFO] [stdout]    --> src/model.rs:144:13
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let epsilon = 10_f64.powf(-8_f64);
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_epsilon`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test_set`
[INFO] [stdout]   --> src/main.rs:26:21
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let (train_set, test_set) = (train_set.to_vec(), test_set.to_vec());
[INFO] [stdout]    |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_set`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `class_vec` is never read
[INFO] [stdout]  --> src/iris.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Iris {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 7 |     class_vec: Vec<f64>,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Iris` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `sigmoid_prime` is never used
[INFO] [stdout]   --> src/layer.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Layer {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 63 |     fn sigmoid_prime(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `evaluate`, `predict`, `adam_optimizer`, `gradient_descent`, and `mean_squared_error` are never used
[INFO] [stdout]    --> src/model.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout]  17 | impl Model {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn evaluate(test_set: Vec<f64>, set_labels: Vec<&str>) -> (usize, usize) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn predict<T>(prediction_set: T) -> Array2<f64> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     fn adam_optimizer(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn gradient_descent(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     fn mean_squared_error(&mut self, prediction: Array2<f64>, target: Array2<f64>) -> Array2<f64> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.80s
[INFO] running `Command { std: "docker" "inspect" "3a019c63e440d797ad97f8be7cf832acc7cd9ab2c5dbd209de8437fd589a4b5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a019c63e440d797ad97f8be7cf832acc7cd9ab2c5dbd209de8437fd589a4b5d", kill_on_drop: false }`
[INFO] [stdout] 3a019c63e440d797ad97f8be7cf832acc7cd9ab2c5dbd209de8437fd589a4b5d
