[INFO] fetching crate simple_ml 0.3.2...
[INFO] testing simple_ml-0.3.2 against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] extracting crate simple_ml 0.3.2 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate simple_ml 0.3.2
[INFO] finished tweaking crates.io crate simple_ml 0.3.2
[INFO] tweaked toml for crates.io crate simple_ml 0.3.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate simple_ml 0.3.2 on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate simple_ml 0.3.2 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b4261b0c77565f3cdcb35d2ce29d901afda24bb893a0a36ce7b0e78638547a28
[INFO] running `Command { std: "docker" "start" "-a" "b4261b0c77565f3cdcb35d2ce29d901afda24bb893a0a36ce7b0e78638547a28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b4261b0c77565f3cdcb35d2ce29d901afda24bb893a0a36ce7b0e78638547a28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4261b0c77565f3cdcb35d2ce29d901afda24bb893a0a36ce7b0e78638547a28", kill_on_drop: false }`
[INFO] [stdout] b4261b0c77565f3cdcb35d2ce29d901afda24bb893a0a36ce7b0e78638547a28
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a5262dfbcee525ddbbd1f541e30bb72351ead7138694bc6f8995e1eeee1931bb
[INFO] running `Command { std: "docker" "start" "-a" "a5262dfbcee525ddbbd1f541e30bb72351ead7138694bc6f8995e1eeee1931bb", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.70
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling ppv-lite86 v0.2.8
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling libmath v0.2.1
[INFO] [stderr]    Compiling simple_ml v0.3.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/lib.rs:543:35
[INFO] [stdout]     |
[INFO] [stdout] 543 |                     .map(|(a, b)| (a * b))
[INFO] [stdout]     |                                   ^     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 543 -                     .map(|(a, b)| (a * b))
[INFO] [stdout] 543 +                     .map(|(a, b)| a * b )
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/lib.rs:803:27
[INFO] [stdout]     |
[INFO] [stdout] 803 |             .map(|(a, b)| (*a * *b))
[INFO] [stdout]     |                           ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 803 -             .map(|(a, b)| (*a * *b))
[INFO] [stdout] 803 +             .map(|(a, b)| *a * *b )
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]     --> src/lib.rs:1858:13
[INFO] [stdout]      |
[INFO] [stdout] 1858 |             (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))
[INFO] [stdout]      |             ^
[INFO] [stdout] 1859 |                 * (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))))
[INFO] [stdout]      |                                                                                       ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1858 ~             a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))
[INFO] [stdout] 1859 ~                 * (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))) 
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]     --> src/lib.rs:3774:9
[INFO] [stdout]      |
[INFO] [stdout] 3774 |         (actual / larger as f64)
[INFO] [stdout]      |         ^                      ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 3774 -         (actual / larger as f64)
[INFO] [stdout] 3774 +         actual / larger as f64 
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:496:13
[INFO] [stdout]     |
[INFO] [stdout] 496 |         let X = [&b0_vec[..], &x[..]].concat(); // [1,1,1...,1,1,1]+X
[INFO] [stdout]     |             ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/lib.rs:2461:17
[INFO] [stdout]      |
[INFO] [stdout] 2461 |     pub fn sort(&self, col_type: &str, col_number: usize, ascending: bool) -> DataFrame {
[INFO] [stdout]      |                 ^^^^^ the lifetime is elided here                             ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]      = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 2461 |     pub fn sort(&self, col_type: &str, col_number: usize, ascending: bool) -> DataFrame<'_> {
[INFO] [stdout]      |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/lib.rs:2673:17
[INFO] [stdout]      |
[INFO] [stdout] 2673 |     pub fn sort(&self, col_type: &str, col_name: &str, ascending: bool) -> DataMap {
[INFO] [stdout]      |                 ^^^^^ the lifetime is elided here                          ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 2673 |     pub fn sort(&self, col_type: &str, col_name: &str, ascending: bool) -> DataMap<'_> {
[INFO] [stdout]      |                                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/lib.rs:543:35
[INFO] [stdout]     |
[INFO] [stdout] 543 |                     .map(|(a, b)| (a * b))
[INFO] [stdout]     |                                   ^     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 543 -                     .map(|(a, b)| (a * b))
[INFO] [stdout] 543 +                     .map(|(a, b)| a * b )
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/lib.rs:803:27
[INFO] [stdout]     |
[INFO] [stdout] 803 |             .map(|(a, b)| (*a * *b))
[INFO] [stdout]     |                           ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 803 -             .map(|(a, b)| (*a * *b))
[INFO] [stdout] 803 +             .map(|(a, b)| *a * *b )
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]     --> src/lib.rs:1858:13
[INFO] [stdout]      |
[INFO] [stdout] 1858 |             (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))
[INFO] [stdout]      |             ^
[INFO] [stdout] 1859 |                 * (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))))
[INFO] [stdout]      |                                                                                       ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1858 ~             a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))
[INFO] [stdout] 1859 ~                 * (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))) 
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]     --> src/lib.rs:3774:9
[INFO] [stdout]      |
[INFO] [stdout] 3774 |         (actual / larger as f64)
[INFO] [stdout]      |         ^                      ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 3774 -         (actual / larger as f64)
[INFO] [stdout] 3774 +         actual / larger as f64 
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[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: `weights`
[INFO] [stdout]    --> src/main.rs:960:9
[INFO] [stdout]     |
[INFO] [stdout] 960 |     let weights = svm.fit();
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weights`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `impute_string` is never used
[INFO] [stdout]     --> src/lib.rs:1401:8
[INFO] [stdout]      |
[INFO] [stdout] 1401 | pub fn impute_string<'a>(list: &'a mut Vec<String>, impute_with: &'a str) -> Vec<&'a str> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `logistic_function_f` is never used
[INFO] [stdout]     --> src/lib.rs:1445:8
[INFO] [stdout]      |
[INFO] [stdout] 1445 | pub fn logistic_function_f(matrix: &Vec<Vec<f64>>, beta: &Vec<Vec<f64>>) -> Vec<Vec<f64>> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_gradient_f` is never used
[INFO] [stdout]     --> src/lib.rs:1462:8
[INFO] [stdout]      |
[INFO] [stdout] 1462 | pub fn log_gradient_f(
[INFO] [stdout]      |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `logistic_predict` is never used
[INFO] [stdout]     --> src/lib.rs:1507:8
[INFO] [stdout]      |
[INFO] [stdout] 1507 | pub fn logistic_predict(matrix1: &Vec<Vec<f64>>, beta: &Vec<Vec<f64>>) -> Vec<Vec<f64>> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `best_fit_line` is never used
[INFO] [stdout]     --> src/lib.rs:4568:8
[INFO] [stdout]      |
[INFO] [stdout] 4568 | pub fn best_fit_line(x: &Vec<f64>, y: &Vec<f64>) -> (f64, f64) {
[INFO] [stdout]      |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:327:5
[INFO] [stdout]     |
[INFO] [stdout] 327 |     &head(&join_matrix(&a, &b, "long"), 2);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 327 |     let _ = &head(&join_matrix(&a, &b, "long"), 2);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:328:5
[INFO] [stdout]     |
[INFO] [stdout] 328 |     &tail(&join_matrix(&a, &b, "long"), 2);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 328 |     let _ = &tail(&join_matrix(&a, &b, "long"), 2);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:496:13
[INFO] [stdout]     |
[INFO] [stdout] 496 |         let X = [&b0_vec[..], &x[..]].concat(); // [1,1,1...,1,1,1]+X
[INFO] [stdout]     |             ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/lib.rs:2461:17
[INFO] [stdout]      |
[INFO] [stdout] 2461 |     pub fn sort(&self, col_type: &str, col_number: usize, ascending: bool) -> DataFrame {
[INFO] [stdout]      |                 ^^^^^ the lifetime is elided here                             ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]      = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 2461 |     pub fn sort(&self, col_type: &str, col_number: usize, ascending: bool) -> DataFrame<'_> {
[INFO] [stdout]      |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/lib.rs:2673:17
[INFO] [stdout]      |
[INFO] [stdout] 2673 |     pub fn sort(&self, col_type: &str, col_name: &str, ascending: bool) -> DataMap {
[INFO] [stdout]      |                 ^^^^^ the lifetime is elided here                          ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 2673 |     pub fn sort(&self, col_type: &str, col_name: &str, ascending: bool) -> DataMap<'_> {
[INFO] [stdout]      |                                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.41s
[INFO] running `Command { std: "docker" "inspect" "a5262dfbcee525ddbbd1f541e30bb72351ead7138694bc6f8995e1eeee1931bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5262dfbcee525ddbbd1f541e30bb72351ead7138694bc6f8995e1eeee1931bb", kill_on_drop: false }`
[INFO] [stdout] a5262dfbcee525ddbbd1f541e30bb72351ead7138694bc6f8995e1eeee1931bb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8ba0eeccaebd877db935aa4cd2b2595cbe5eab8aa686eb3ee07e9107eec5cc95
[INFO] running `Command { std: "docker" "start" "-a" "8ba0eeccaebd877db935aa4cd2b2595cbe5eab8aa686eb3ee07e9107eec5cc95", kill_on_drop: false }`
[INFO] [stderr]    Compiling simple_ml v0.3.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/lib.rs:543:35
[INFO] [stdout]     |
[INFO] [stdout] 543 |                     .map(|(a, b)| (a * b))
[INFO] [stdout]     |                                   ^     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 543 -                     .map(|(a, b)| (a * b))
[INFO] [stdout] 543 +                     .map(|(a, b)| a * b )
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/lib.rs:803:27
[INFO] [stdout]     |
[INFO] [stdout] 803 |             .map(|(a, b)| (*a * *b))
[INFO] [stdout]     |                           ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 803 -             .map(|(a, b)| (*a * *b))
[INFO] [stdout] 803 +             .map(|(a, b)| *a * *b )
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]     --> src/lib.rs:1858:13
[INFO] [stdout]      |
[INFO] [stdout] 1858 |             (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))
[INFO] [stdout]      |             ^
[INFO] [stdout] 1859 |                 * (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))))
[INFO] [stdout]      |                                                                                       ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1858 ~             a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))
[INFO] [stdout] 1859 ~                 * (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))) 
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]     --> src/lib.rs:3774:9
[INFO] [stdout]      |
[INFO] [stdout] 3774 |         (actual / larger as f64)
[INFO] [stdout]      |         ^                      ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 3774 -         (actual / larger as f64)
[INFO] [stdout] 3774 +         actual / larger as f64 
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:496:13
[INFO] [stdout]     |
[INFO] [stdout] 496 |         let X = [&b0_vec[..], &x[..]].concat(); // [1,1,1...,1,1,1]+X
[INFO] [stdout]     |             ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/lib.rs:2461:17
[INFO] [stdout]      |
[INFO] [stdout] 2461 |     pub fn sort(&self, col_type: &str, col_number: usize, ascending: bool) -> DataFrame {
[INFO] [stdout]      |                 ^^^^^ the lifetime is elided here                             ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]      = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 2461 |     pub fn sort(&self, col_type: &str, col_number: usize, ascending: bool) -> DataFrame<'_> {
[INFO] [stdout]      |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/lib.rs:2673:17
[INFO] [stdout]      |
[INFO] [stdout] 2673 |     pub fn sort(&self, col_type: &str, col_name: &str, ascending: bool) -> DataMap {
[INFO] [stdout]      |                 ^^^^^ the lifetime is elided here                          ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 2673 |     pub fn sort(&self, col_type: &str, col_name: &str, ascending: bool) -> DataMap<'_> {
[INFO] [stdout]      |                                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/lib.rs:543:35
[INFO] [stdout]     |
[INFO] [stdout] 543 |                     .map(|(a, b)| (a * b))
[INFO] [stdout]     |                                   ^     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 543 -                     .map(|(a, b)| (a * b))
[INFO] [stdout] 543 +                     .map(|(a, b)| a * b )
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/lib.rs:803:27
[INFO] [stdout]     |
[INFO] [stdout] 803 |             .map(|(a, b)| (*a * *b))
[INFO] [stdout]     |                           ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 803 -             .map(|(a, b)| (*a * *b))
[INFO] [stdout] 803 +             .map(|(a, b)| *a * *b )
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]     --> src/lib.rs:1858:13
[INFO] [stdout]      |
[INFO] [stdout] 1858 |             (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))
[INFO] [stdout]      |             ^
[INFO] [stdout] 1859 |                 * (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))))
[INFO] [stdout]      |                                                                                       ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1858 ~             a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))
[INFO] [stdout] 1859 ~                 * (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))) 
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]     --> src/lib.rs:3774:9
[INFO] [stdout]      |
[INFO] [stdout] 3774 |         (actual / larger as f64)
[INFO] [stdout]      |         ^                      ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 3774 -         (actual / larger as f64)
[INFO] [stdout] 3774 +         actual / larger as f64 
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/lib.rs:543:35
[INFO] [stdout]     |
[INFO] [stdout] 543 |                     .map(|(a, b)| (a * b))
[INFO] [stdout]     |                                   ^     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 543 -                     .map(|(a, b)| (a * b))
[INFO] [stdout] 543 +                     .map(|(a, b)| a * b )
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/lib.rs:803:27
[INFO] [stdout]     |
[INFO] [stdout] 803 |             .map(|(a, b)| (*a * *b))
[INFO] [stdout]     |                           ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 803 -             .map(|(a, b)| (*a * *b))
[INFO] [stdout] 803 +             .map(|(a, b)| *a * *b )
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]     --> src/lib.rs:1858:13
[INFO] [stdout]      |
[INFO] [stdout] 1858 |             (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))
[INFO] [stdout]      |             ^
[INFO] [stdout] 1859 |                 * (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))))
[INFO] [stdout]      |                                                                                       ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1858 ~             a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))
[INFO] [stdout] 1859 ~                 * (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))) 
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]     --> src/lib.rs:3774:9
[INFO] [stdout]      |
[INFO] [stdout] 3774 |         (actual / larger as f64)
[INFO] [stdout]      |         ^                      ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 3774 -         (actual / larger as f64)
[INFO] [stdout] 3774 +         actual / larger as f64 
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:496:13
[INFO] [stdout]     |
[INFO] [stdout] 496 |         let X = [&b0_vec[..], &x[..]].concat(); // [1,1,1...,1,1,1]+X
[INFO] [stdout]     |             ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/lib.rs:2461:17
[INFO] [stdout]      |
[INFO] [stdout] 2461 |     pub fn sort(&self, col_type: &str, col_number: usize, ascending: bool) -> DataFrame {
[INFO] [stdout]      |                 ^^^^^ the lifetime is elided here                             ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]      = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 2461 |     pub fn sort(&self, col_type: &str, col_number: usize, ascending: bool) -> DataFrame<'_> {
[INFO] [stdout]      |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/lib.rs:2673:17
[INFO] [stdout]      |
[INFO] [stdout] 2673 |     pub fn sort(&self, col_type: &str, col_name: &str, ascending: bool) -> DataMap {
[INFO] [stdout]      |                 ^^^^^ the lifetime is elided here                          ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 2673 |     pub fn sort(&self, col_type: &str, col_name: &str, ascending: bool) -> DataMap<'_> {
[INFO] [stdout]      |                                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `weights`
[INFO] [stdout]    --> src/main.rs:960:9
[INFO] [stdout]     |
[INFO] [stdout] 960 |     let weights = svm.fit();
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weights`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `impute_string` is never used
[INFO] [stdout]     --> src/lib.rs:1401:8
[INFO] [stdout]      |
[INFO] [stdout] 1401 | pub fn impute_string<'a>(list: &'a mut Vec<String>, impute_with: &'a str) -> Vec<&'a str> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `logistic_function_f` is never used
[INFO] [stdout]     --> src/lib.rs:1445:8
[INFO] [stdout]      |
[INFO] [stdout] 1445 | pub fn logistic_function_f(matrix: &Vec<Vec<f64>>, beta: &Vec<Vec<f64>>) -> Vec<Vec<f64>> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_gradient_f` is never used
[INFO] [stdout]     --> src/lib.rs:1462:8
[INFO] [stdout]      |
[INFO] [stdout] 1462 | pub fn log_gradient_f(
[INFO] [stdout]      |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `logistic_predict` is never used
[INFO] [stdout]     --> src/lib.rs:1507:8
[INFO] [stdout]      |
[INFO] [stdout] 1507 | pub fn logistic_predict(matrix1: &Vec<Vec<f64>>, beta: &Vec<Vec<f64>>) -> Vec<Vec<f64>> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `best_fit_line` is never used
[INFO] [stdout]     --> src/lib.rs:4568:8
[INFO] [stdout]      |
[INFO] [stdout] 4568 | pub fn best_fit_line(x: &Vec<f64>, y: &Vec<f64>) -> (f64, f64) {
[INFO] [stdout]      |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:327:5
[INFO] [stdout]     |
[INFO] [stdout] 327 |     &head(&join_matrix(&a, &b, "long"), 2);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 327 |     let _ = &head(&join_matrix(&a, &b, "long"), 2);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/main.rs:328:5
[INFO] [stdout]     |
[INFO] [stdout] 328 |     &tail(&join_matrix(&a, &b, "long"), 2);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 328 |     let _ = &tail(&join_matrix(&a, &b, "long"), 2);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:496:13
[INFO] [stdout]     |
[INFO] [stdout] 496 |         let X = [&b0_vec[..], &x[..]].concat(); // [1,1,1...,1,1,1]+X
[INFO] [stdout]     |             ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/lib.rs:2461:17
[INFO] [stdout]      |
[INFO] [stdout] 2461 |     pub fn sort(&self, col_type: &str, col_number: usize, ascending: bool) -> DataFrame {
[INFO] [stdout]      |                 ^^^^^ the lifetime is elided here                             ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]      = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 2461 |     pub fn sort(&self, col_type: &str, col_number: usize, ascending: bool) -> DataFrame<'_> {
[INFO] [stdout]      |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/lib.rs:2673:17
[INFO] [stdout]      |
[INFO] [stdout] 2673 |     pub fn sort(&self, col_type: &str, col_name: &str, ascending: bool) -> DataMap {
[INFO] [stdout]      |                 ^^^^^ the lifetime is elided here                          ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 2673 |     pub fn sort(&self, col_type: &str, col_name: &str, ascending: bool) -> DataMap<'_> {
[INFO] [stdout]      |                                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.76s
[INFO] running `Command { std: "docker" "inspect" "8ba0eeccaebd877db935aa4cd2b2595cbe5eab8aa686eb3ee07e9107eec5cc95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ba0eeccaebd877db935aa4cd2b2595cbe5eab8aa686eb3ee07e9107eec5cc95", kill_on_drop: false }`
[INFO] [stdout] 8ba0eeccaebd877db935aa4cd2b2595cbe5eab8aa686eb3ee07e9107eec5cc95
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 669898cd6ee131dc0e62b539a16469c0c0ca4b47e92e470d49dfd6b5e032ac44
[INFO] running `Command { std: "docker" "start" "-a" "669898cd6ee131dc0e62b539a16469c0c0ca4b47e92e470d49dfd6b5e032ac44", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]    --> src/lib.rs:543:35
[INFO] [stderr]     |
[INFO] [stderr] 543 |                     .map(|(a, b)| (a * b))
[INFO] [stderr]     |                                   ^     ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 543 -                     .map(|(a, b)| (a * b))
[INFO] [stderr] 543 +                     .map(|(a, b)| a * b )
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]    --> src/lib.rs:803:27
[INFO] [stderr]     |
[INFO] [stderr] 803 |             .map(|(a, b)| (*a * *b))
[INFO] [stderr]     |                           ^       ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 803 -             .map(|(a, b)| (*a * *b))
[INFO] [stderr] 803 +             .map(|(a, b)| *a * *b )
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]     --> src/lib.rs:1858:13
[INFO] [stderr]      |
[INFO] [stderr] 1858 |             (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))
[INFO] [stderr]      |             ^
[INFO] [stderr] 1859 |                 * (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))))
[INFO] [stderr]      |                                                                                       ^
[INFO] [stderr]      |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]      |
[INFO] [stderr] 1858 ~             a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))
[INFO] [stderr] 1859 ~                 * (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))) 
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]     --> src/lib.rs:3774:9
[INFO] [stderr]      |
[INFO] [stderr] 3774 |         (actual / larger as f64)
[INFO] [stderr]      |         ^                      ^
[INFO] [stderr]      |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]      |
[INFO] [stderr] 3774 -         (actual / larger as f64)
[INFO] [stderr] 3774 +         actual / larger as f64 
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: variable `X` should have a snake case name
[INFO] [stderr]    --> src/lib.rs:496:13
[INFO] [stderr]     |
[INFO] [stderr] 496 |         let X = [&b0_vec[..], &x[..]].concat(); // [1,1,1...,1,1,1]+X
[INFO] [stderr]     |             ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]     --> src/lib.rs:2461:17
[INFO] [stderr]      |
[INFO] [stderr] 2461 |     pub fn sort(&self, col_type: &str, col_number: usize, ascending: bool) -> DataFrame {
[INFO] [stderr]      |                 ^^^^^ the lifetime is elided here                             ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]      |
[INFO] [stderr]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]      = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]      |
[INFO] [stderr] 2461 |     pub fn sort(&self, col_type: &str, col_number: usize, ascending: bool) -> DataFrame<'_> {
[INFO] [stderr]      |                                                                                        ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]     --> src/lib.rs:2673:17
[INFO] [stderr]      |
[INFO] [stderr] 2673 |     pub fn sort(&self, col_type: &str, col_name: &str, ascending: bool) -> DataMap {
[INFO] [stderr]      |                 ^^^^^ the lifetime is elided here                          ^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]      |
[INFO] [stderr]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]      |
[INFO] [stderr] 2673 |     pub fn sort(&self, col_type: &str, col_name: &str, ascending: bool) -> DataMap<'_> {
[INFO] [stderr]      |                                                                                   ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `simple_ml` (lib) generated 7 warnings (run `cargo fix --lib -p simple_ml` to apply 6 suggestions)
[INFO] [stderr] warning: found module declaration for lib.rs
[INFO] [stderr]  --> src/main.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | mod lib;
[INFO] [stderr]   | ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: lib.rs is the root of this crate's library target
[INFO] [stderr]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stderr]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `weights`
[INFO] [stderr]    --> src/main.rs:960:9
[INFO] [stderr]     |
[INFO] [stderr] 960 |     let weights = svm.fit();
[INFO] [stderr]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weights`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `impute_string` is never used
[INFO] [stderr]     --> src/lib.rs:1401:8
[INFO] [stderr]      |
[INFO] [stderr] 1401 | pub fn impute_string<'a>(list: &'a mut Vec<String>, impute_with: &'a str) -> Vec<&'a str> {
[INFO] [stderr]      |        ^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `logistic_function_f` is never used
[INFO] [stderr]     --> src/lib.rs:1445:8
[INFO] [stderr]      |
[INFO] [stderr] 1445 | pub fn logistic_function_f(matrix: &Vec<Vec<f64>>, beta: &Vec<Vec<f64>>) -> Vec<Vec<f64>> {
[INFO] [stderr]      |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `log_gradient_f` is never used
[INFO] [stderr]     --> src/lib.rs:1462:8
[INFO] [stderr]      |
[INFO] [stderr] 1462 | pub fn log_gradient_f(
[INFO] [stderr]      |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `logistic_predict` is never used
[INFO] [stderr]     --> src/lib.rs:1507:8
[INFO] [stderr]      |
[INFO] [stderr] 1507 | pub fn logistic_predict(matrix1: &Vec<Vec<f64>>, beta: &Vec<Vec<f64>>) -> Vec<Vec<f64>> {
[INFO] [stderr]      |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `best_fit_line` is never used
[INFO] [stderr]     --> src/lib.rs:4568:8
[INFO] [stderr]      |
[INFO] [stderr] 4568 | pub fn best_fit_line(x: &Vec<f64>, y: &Vec<f64>) -> (f64, f64) {
[INFO] [stderr]      |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused borrow that must be used
[INFO] [stderr]    --> src/main.rs:327:5
[INFO] [stderr]     |
[INFO] [stderr] 327 |     &head(&join_matrix(&a, &b, "long"), 2);
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 327 |     let _ = &head(&join_matrix(&a, &b, "long"), 2);
[INFO] [stderr]     |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused borrow that must be used
[INFO] [stderr]    --> src/main.rs:328:5
[INFO] [stderr]     |
[INFO] [stderr] 328 |     &tail(&join_matrix(&a, &b, "long"), 2);
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 328 |     let _ = &tail(&join_matrix(&a, &b, "long"), 2);
[INFO] [stderr]     |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `simple_ml` (bin "simple_ml" test) generated 17 warnings (7 duplicates) (run `cargo fix --bin "simple_ml" -p simple_ml --tests` to apply 2 suggestions)
[INFO] [stderr] warning: `simple_ml` (lib test) generated 7 warnings (7 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simple_ml-6e572ec6f1f58345)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/simple_ml-67a7180442b851fc)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests simple_ml
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]    --> src/lib.rs:543:35
[INFO] [stderr]     |
[INFO] [stderr] 543 |                     .map(|(a, b)| (a * b))
[INFO] [stderr]     |                                   ^     ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 543 -                     .map(|(a, b)| (a * b))
[INFO] [stderr] 543 +                     .map(|(a, b)| a * b )
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]    --> src/lib.rs:803:27
[INFO] [stderr]     |
[INFO] [stderr] 803 |             .map(|(a, b)| (*a * *b))
[INFO] [stderr]     |                           ^       ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 803 -             .map(|(a, b)| (*a * *b))
[INFO] [stderr] 803 +             .map(|(a, b)| *a * *b )
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]     --> src/lib.rs:1858:13
[INFO] [stderr]      |
[INFO] [stderr] 1858 |             (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))
[INFO] [stderr]      |             ^
[INFO] [stderr] 1859 |                 * (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))))
[INFO] [stderr]      |                                                                                       ^
[INFO] [stderr]      |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]      |
[INFO] [stderr] 1858 ~             a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))
[INFO] [stderr] 1859 ~                 * (a - (actual.iter().fold(0., |a, b| a + b) / (actual.len() as f64))) 
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]     --> src/lib.rs:3774:9
[INFO] [stderr]      |
[INFO] [stderr] 3774 |         (actual / larger as f64)
[INFO] [stderr]      |         ^                      ^
[INFO] [stderr]      |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]      |
[INFO] [stderr] 3774 -         (actual / larger as f64)
[INFO] [stderr] 3774 +         actual / larger as f64 
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "669898cd6ee131dc0e62b539a16469c0c0ca4b47e92e470d49dfd6b5e032ac44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "669898cd6ee131dc0e62b539a16469c0c0ca4b47e92e470d49dfd6b5e032ac44", kill_on_drop: false }`
[INFO] [stdout] 669898cd6ee131dc0e62b539a16469c0c0ca4b47e92e470d49dfd6b5e032ac44
