[INFO] fetching crate arkgan 0.0.8...
[INFO] checking arkgan-0.0.8 against try#264a7c4a1c917c83d13895a31231f9d93c7b67e1 for pr-132289
[INFO] extracting crate arkgan 0.0.8 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate arkgan 0.0.8 on toolchain 264a7c4a1c917c83d13895a31231f9d93c7b67e1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "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-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "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" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 54969b0080a857cb6bda0f876fe32b60599f654b60e9b01bf26c5d43a359e61e
[INFO] running `Command { std: "docker" "start" "-a" "54969b0080a857cb6bda0f876fe32b60599f654b60e9b01bf26c5d43a359e61e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "54969b0080a857cb6bda0f876fe32b60599f654b60e9b01bf26c5d43a359e61e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "54969b0080a857cb6bda0f876fe32b60599f654b60e9b01bf26c5d43a359e61e", kill_on_drop: false }`
[INFO] [stdout] 54969b0080a857cb6bda0f876fe32b60599f654b60e9b01bf26c5d43a359e61e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d06964e4cb33d2ba33e7066f625790305110a57d4e7ace8ea2afaf3411eb2cc8
[INFO] running `Command { std: "docker" "start" "-a" "d06964e4cb33d2ba33e7066f625790305110a57d4e7ace8ea2afaf3411eb2cc8", 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: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: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 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 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: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 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 `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 `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 `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: 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: `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: `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: `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: 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: 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: 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: 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: 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 `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: 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: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: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: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: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: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: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: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: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: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: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: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: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: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/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/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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] running `Command { std: "docker" "inspect" "d06964e4cb33d2ba33e7066f625790305110a57d4e7ace8ea2afaf3411eb2cc8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d06964e4cb33d2ba33e7066f625790305110a57d4e7ace8ea2afaf3411eb2cc8", kill_on_drop: false }`
[INFO] [stdout] d06964e4cb33d2ba33e7066f625790305110a57d4e7ace8ea2afaf3411eb2cc8
