[INFO] fetching crate arkgan 0.0.8...
[INFO] checking arkgan-0.0.8 against try#47af3d0de9d26c7deba4cfb203b710cc3f764e91 for pr-130443
[INFO] extracting crate arkgan 0.0.8 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate arkgan 0.0.8 on toolchain 47af3d0de9d26c7deba4cfb203b710cc3f764e91
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47af3d0de9d26c7deba4cfb203b710cc3f764e91" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate arkgan 0.0.8
[INFO] finished tweaking crates.io crate arkgan 0.0.8
[INFO] tweaked toml for crates.io crate arkgan 0.0.8 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47af3d0de9d26c7deba4cfb203b710cc3f764e91" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47af3d0de9d26c7deba4cfb203b710cc3f764e91" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+47af3d0de9d26c7deba4cfb203b710cc3f764e91" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e6b8c751940962d08d502103de0c857a927ed33e489539d0e7ef2790de30c526
[INFO] running `Command { std: "docker" "start" "-a" "e6b8c751940962d08d502103de0c857a927ed33e489539d0e7ef2790de30c526", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e6b8c751940962d08d502103de0c857a927ed33e489539d0e7ef2790de30c526", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6b8c751940962d08d502103de0c857a927ed33e489539d0e7ef2790de30c526", kill_on_drop: false }`
[INFO] [stdout] e6b8c751940962d08d502103de0c857a927ed33e489539d0e7ef2790de30c526
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+47af3d0de9d26c7deba4cfb203b710cc3f764e91" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e296d92138be339c9507078d9ab401218b3ecd733e1ad399d859c4e78609b35b
[INFO] running `Command { std: "docker" "start" "-a" "e296d92138be339c9507078d9ab401218b3ecd733e1ad399d859c4e78609b35b", kill_on_drop: false }`
[INFO] [stderr]     Checking arkgan v0.0.8 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/adv_loss.rs:50:58
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let log_arg2 = if (constant - generator) > 0.0 { (constant - generator) } else { f64::EPSILON };
[INFO] [stdout]    |                                                          ^                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 50 -         let log_arg2 = if (constant - generator) > 0.0 { (constant - generator) } else { f64::EPSILON };
[INFO] [stdout] 50 +         let log_arg2 = if (constant - generator) > 0.0 { constant - generator } else { f64::EPSILON };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/adv_loss.rs:50:58
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let log_arg2 = if (constant - generator) > 0.0 { (constant - generator) } else { f64::EPSILON };
[INFO] [stdout]    |                                                          ^                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 50 -         let log_arg2 = if (constant - generator) > 0.0 { (constant - generator) } else { f64::EPSILON };
[INFO] [stdout] 50 +         let log_arg2 = if (constant - generator) > 0.0 { constant - generator } else { f64::EPSILON };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/adv_loss.rs:62:58
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let log_arg2 = if (constant - generator) > 0.0 { (constant - generator) } else { f64::EPSILON };
[INFO] [stdout]    |                                                          ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 62 -         let log_arg2 = if (constant - generator) > 0.0 { (constant - generator) } else { f64::EPSILON };
[INFO] [stdout] 62 +         let log_arg2 = if (constant - generator) > 0.0 { constant - generator } else { f64::EPSILON };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/adv_loss.rs:62:58
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let log_arg2 = if (constant - generator) > 0.0 { (constant - generator) } else { f64::EPSILON };
[INFO] [stdout]    |                                                          ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 62 -         let log_arg2 = if (constant - generator) > 0.0 { (constant - generator) } else { f64::EPSILON };
[INFO] [stdout] 62 +         let log_arg2 = if (constant - generator) > 0.0 { constant - generator } else { f64::EPSILON };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/objective.rs:50:58
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let log_arg2 = if (constant - generator) > 0.0 { (constant - generator) } else { f64::EPSILON };
[INFO] [stdout]    |                                                          ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 50 -         let log_arg2 = if (constant - generator) > 0.0 { (constant - generator) } else { f64::EPSILON };
[INFO] [stdout] 50 +         let log_arg2 = if (constant - generator) > 0.0 { constant - generator } else { f64::EPSILON };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/objective.rs:62:58
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let log_arg2 = if (constant - generator) > 0.0 { (constant - generator) } else { f64::EPSILON };
[INFO] [stdout]    |                                                          ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 62 -         let log_arg2 = if (constant - generator) > 0.0 { (constant - generator) } else { f64::EPSILON };
[INFO] [stdout] 62 +         let log_arg2 = if (constant - generator) > 0.0 { constant - generator } else { f64::EPSILON };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/objective.rs:50:58
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let log_arg2 = if (constant - generator) > 0.0 { (constant - generator) } else { f64::EPSILON };
[INFO] [stdout]    |                                                          ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 50 -         let log_arg2 = if (constant - generator) > 0.0 { (constant - generator) } else { f64::EPSILON };
[INFO] [stdout] 50 +         let log_arg2 = if (constant - generator) > 0.0 { constant - generator } else { f64::EPSILON };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/rmsprop.rs:43:34
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let loss_calc: f64 = ((y[idx]) - ((slope * elements) + intercept));
[INFO] [stdout]    |                                  ^                                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 43 -             let loss_calc: f64 = ((y[idx]) - ((slope * elements) + intercept));
[INFO] [stdout] 43 +             let loss_calc: f64 = (y[idx]) - ((slope * elements) + intercept);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/objective.rs:62:58
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let log_arg2 = if (constant - generator) > 0.0 { (constant - generator) } else { f64::EPSILON };
[INFO] [stdout]    |                                                          ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 62 -         let log_arg2 = if (constant - generator) > 0.0 { (constant - generator) } else { f64::EPSILON };
[INFO] [stdout] 62 +         let log_arg2 = if (constant - generator) > 0.0 { constant - generator } else { f64::EPSILON };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/rmsprop.rs:71:59
[INFO] [stdout]    |
[INFO] [stdout] 71 |             let slope_calc: f64 = slope - (lr / f64::sqrt((elements + ep))) * elements as f64;
[INFO] [stdout]    |                                                           ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 71 -             let slope_calc: f64 = slope - (lr / f64::sqrt((elements + ep))) * elements as f64;
[INFO] [stdout] 71 +             let slope_calc: f64 = slope - (lr / f64::sqrt(elements + ep)) * elements as f64;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/rmsprop.rs:75:67
[INFO] [stdout]    |
[INFO] [stdout] 75 |             let intercept_calc: f64 = intercept - (lr / f64::sqrt((elements + ep))) * elements as f64;
[INFO] [stdout]    |                                                                   ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 75 -             let intercept_calc: f64 = intercept - (lr / f64::sqrt((elements + ep))) * elements as f64;
[INFO] [stdout] 75 +             let intercept_calc: f64 = intercept - (lr / f64::sqrt(elements + ep)) * elements as f64;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/rmsprop.rs:43:34
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let loss_calc: f64 = ((y[idx]) - ((slope * elements) + intercept));
[INFO] [stdout]    |                                  ^                                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 43 -             let loss_calc: f64 = ((y[idx]) - ((slope * elements) + intercept));
[INFO] [stdout] 43 +             let loss_calc: f64 = (y[idx]) - ((slope * elements) + intercept);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/rmsprop.rs:71:59
[INFO] [stdout]    |
[INFO] [stdout] 71 |             let slope_calc: f64 = slope - (lr / f64::sqrt((elements + ep))) * elements as f64;
[INFO] [stdout]    |                                                           ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 71 -             let slope_calc: f64 = slope - (lr / f64::sqrt((elements + ep))) * elements as f64;
[INFO] [stdout] 71 +             let slope_calc: f64 = slope - (lr / f64::sqrt(elements + ep)) * elements as f64;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/rmsprop.rs:75:67
[INFO] [stdout]    |
[INFO] [stdout] 75 |             let intercept_calc: f64 = intercept - (lr / f64::sqrt((elements + ep))) * elements as f64;
[INFO] [stdout]    |                                                                   ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 75 -             let intercept_calc: f64 = intercept - (lr / f64::sqrt((elements + ep))) * elements as f64;
[INFO] [stdout] 75 +             let intercept_calc: f64 = intercept - (lr / f64::sqrt(elements + ep)) * elements as f64;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `x_discriminator_out` is assigned to, but never used
[INFO] [stdout]  --> src/adv_loss.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut x_discriminator_out: f64 = 0.0;
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider using `_x_discriminator_out` instead
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `y_discriminator_out` is assigned to, but never used
[INFO] [stdout]  --> src/adv_loss.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut y_discriminator_out: f64 = 0.0;
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider using `_y_discriminator_out` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `x_discriminator_out` is assigned to, but never used
[INFO] [stdout]  --> src/adv_loss.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut x_discriminator_out: f64 = 0.0;
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider using `_x_discriminator_out` instead
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `y_discriminator_out` is assigned to, but never used
[INFO] [stdout]  --> src/adv_loss.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut y_discriminator_out: f64 = 0.0;
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider using `_y_discriminator_out` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `x_discriminator_out` is assigned to, but never used
[INFO] [stdout]  --> src/objective.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut x_discriminator_out: f64 = 0.0;
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider using `_x_discriminator_out` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `y_discriminator_out` is assigned to, but never used
[INFO] [stdout]  --> src/objective.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut y_discriminator_out: f64 = 0.0;
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider using `_y_discriminator_out` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_gen`
[INFO] [stdout]   --> src/objective.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let log_gen = if generator > 0.0 {generator} else {f64::EPSILON};
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_gen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `x_discriminator_out` is assigned to, but never used
[INFO] [stdout]  --> src/objective.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut x_discriminator_out: f64 = 0.0;
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider using `_x_discriminator_out` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `y_discriminator_out` is assigned to, but never used
[INFO] [stdout]  --> src/objective.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut y_discriminator_out: f64 = 0.0;
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider using `_y_discriminator_out` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_gen`
[INFO] [stdout]   --> src/objective.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let log_gen = if generator > 0.0 {generator} else {f64::EPSILON};
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_gen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loss`
[INFO] [stdout]   --> src/adam.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let loss: f64 = (1.0 / ((2.0 * x.len() as f64) * loss_val)) as f64; 
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_loss`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b_loss`
[INFO] [stdout]   --> src/adam.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let b_loss: f64 = (1.0 / x.len() as f64) * b_intercept_val as f64;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_loss`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loss`
[INFO] [stdout]   --> src/adam.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let loss: f64 = (1.0 / ((2.0 * x.len() as f64) * loss_val)) as f64; 
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_loss`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b_loss`
[INFO] [stdout]   --> src/adam.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let b_loss: f64 = (1.0 / x.len() as f64) * b_intercept_val as f64;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_loss`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `grad_slope`
[INFO] [stdout]   --> src/rmsprop.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let mut grad_slope: Vec<f64> = vec![];
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_slope`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `grad_intercept`
[INFO] [stdout]   --> src/rmsprop.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut grad_intercept: Vec<f64> = vec![];
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_intercept`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loss`
[INFO] [stdout]   --> src/rmsprop.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let loss: f64 = 1.0 / (2.0 * x.len() as f64) * loss_val as f64;
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_loss`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `m_v_org` is never read
[INFO] [stdout]   --> src/rmsprop.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |         m_v_org = upd_m_v_org;
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sqrd_grd_m` is never read
[INFO] [stdout]   --> src/rmsprop.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |         sqrd_grd_m = m_rms_m_calc;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `b_v_org` is never read
[INFO] [stdout]    --> src/rmsprop.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |         b_v_org = upd_b_v_org;
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sqrd_grd_b` is never read
[INFO] [stdout]    --> src/rmsprop.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |         sqrd_grd_b = b_rms_m_calc;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `grad_slope`
[INFO] [stdout]   --> src/rmsprop.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let mut grad_slope: Vec<f64> = vec![];
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_slope`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `grad_intercept`
[INFO] [stdout]   --> src/rmsprop.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut grad_intercept: Vec<f64> = vec![];
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_intercept`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loss`
[INFO] [stdout]   --> src/rmsprop.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let loss: f64 = 1.0 / (2.0 * x.len() as f64) * loss_val as f64;
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_loss`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `m_v_org` is never read
[INFO] [stdout]   --> src/rmsprop.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |         m_v_org = upd_m_v_org;
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sqrd_grd_m` is never read
[INFO] [stdout]   --> src/rmsprop.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |         sqrd_grd_m = m_rms_m_calc;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `b_v_org` is never read
[INFO] [stdout]    --> src/rmsprop.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |         b_v_org = upd_b_v_org;
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sqrd_grd_b` is never read
[INFO] [stdout]    --> src/rmsprop.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |         sqrd_grd_b = b_rms_m_calc;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rmsprop.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let mut grad_slope: Vec<f64> = vec![];
[INFO] [stdout]    |         ----^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rmsprop.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut grad_intercept: Vec<f64> = vec![];
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rmsprop.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut slope:f64 = nom / denom as f64;
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rmsprop.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let mut intercept: f64 = y_mean * (slope * x_mean) as f64;
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rmsprop.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let mut grad_m_g: f64 = (1.0/x.len() as f64) * grad_sum_m as f64;
[INFO] [stdout]    |             ----^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rmsprop.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let mut grad_slope: Vec<f64> = vec![];
[INFO] [stdout]    |         ----^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rmsprop.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut upd_m_v_org: f64 = (decay * m_v_org) + ((1.0 - decay) * grad_sum_m) as f64;
[INFO] [stdout]    |             ----^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rmsprop.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let mut m_rmd_grad: f64 = f64::sqrt(upd_m_v_org);
[INFO] [stdout]    |             ----^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rmsprop.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let mut m_rms_m_calc: f64 = (slope  - (lr / (m_rmd_grad + ep))) * grad_m_g as f64; 
[INFO] [stdout]    |             ----^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rmsprop.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut grad_intercept: Vec<f64> = vec![];
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rmsprop.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut slope:f64 = nom / denom as f64;
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rmsprop.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let mut intercept: f64 = y_mean * (slope * x_mean) as f64;
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rmsprop.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let mut grad_b_g: f64 = (1.0/x.len() as f64) * grad_sum_b as f64;
[INFO] [stdout]    |             ----^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rmsprop.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let mut grad_m_g: f64 = (1.0/x.len() as f64) * grad_sum_m as f64;
[INFO] [stdout]    |             ----^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rmsprop.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut upd_m_v_org: f64 = (decay * m_v_org) + ((1.0 - decay) * grad_sum_m) as f64;
[INFO] [stdout]    |             ----^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rmsprop.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let mut upd_b_v_org: f64 = (decay * b_v_org) + ((1.0 - decay) * grad_sum_b) as f64;
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rmsprop.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let mut m_rmd_grad: f64 = f64::sqrt(upd_m_v_org);
[INFO] [stdout]    |             ----^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rmsprop.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let mut m_rms_m_calc: f64 = (slope  - (lr / (m_rmd_grad + ep))) * grad_m_g as f64; 
[INFO] [stdout]    |             ----^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rmsprop.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let mut b_rmd_grad: f64 = f64::sqrt(upd_b_v_org);
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rmsprop.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let mut grad_b_g: f64 = (1.0/x.len() as f64) * grad_sum_b as f64;
[INFO] [stdout]    |             ----^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rmsprop.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let mut upd_b_v_org: f64 = (decay * b_v_org) + ((1.0 - decay) * grad_sum_b) as f64;
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rmsprop.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let mut b_rms_m_calc: f64 = (slope  - (lr / (b_rmd_grad + ep))) * grad_b_g as f64; 
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rmsprop.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let mut b_rmd_grad: f64 = f64::sqrt(upd_b_v_org);
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rmsprop.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let mut b_rms_m_calc: f64 = (slope  - (lr / (b_rmd_grad + ep))) * grad_b_g as f64; 
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sort_q`
[INFO] [stdout]  --> src/wasserstein_dist.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut sort_q: Vec<f64> = vec![];
[INFO] [stdout]   |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sort_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sort_q`
[INFO] [stdout]  --> src/wasserstein_dist.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut sort_q: Vec<f64> = vec![];
[INFO] [stdout]   |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sort_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/wasserstein_dist.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut sort_q: Vec<f64> = vec![];
[INFO] [stdout]   |         ----^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/wasserstein_dist.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut sort_q: Vec<f64> = vec![];
[INFO] [stdout]   |         ----^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/momentum.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut gen_old: f64 = 1.0;
[INFO] [stdout]   |         ----^^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/momentum.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut gen_old: f64 = 1.0;
[INFO] [stdout]   |         ----^^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 36 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 36 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] running `Command { std: "docker" "inspect" "e296d92138be339c9507078d9ab401218b3ecd733e1ad399d859c4e78609b35b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e296d92138be339c9507078d9ab401218b3ecd733e1ad399d859c4e78609b35b", kill_on_drop: false }`
[INFO] [stdout] e296d92138be339c9507078d9ab401218b3ecd733e1ad399d859c4e78609b35b
