[INFO] cloning repository https://github.com/HarshitMakwana/Rust_machine_learning
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HarshitMakwana/Rust_machine_learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarshitMakwana%2FRust_machine_learning", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarshitMakwana%2FRust_machine_learning'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5803404ee87c4087c6ed41c0312a17bc0f963db9
[INFO] checking HarshitMakwana/Rust_machine_learning against 165655a2f1981fef27b31c547ad7631979fc5139 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarshitMakwana%2FRust_machine_learning" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/HarshitMakwana/Rust_machine_learning
[INFO] finished tweaking git repo https://github.com/HarshitMakwana/Rust_machine_learning
[INFO] tweaked toml for git repo https://github.com/HarshitMakwana/Rust_machine_learning written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HarshitMakwana/Rust_machine_learning on toolchain 165655a2f1981fef27b31c547ad7631979fc5139
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/HarshitMakwana/Rust_machine_learning 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" "+165655a2f1981fef27b31c547ad7631979fc5139" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b9b32f42b8987944f7d0dcbfea7a8f40d75fb1bd90557aba772f7b0dcf3c8cd4
[INFO] running `Command { std: "docker" "start" "b9b32f42b8987944f7d0dcbfea7a8f40d75fb1bd90557aba772f7b0dcf3c8cd4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b9b32f42b8987944f7d0dcbfea7a8f40d75fb1bd90557aba772f7b0dcf3c8cd4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9b32f42b8987944f7d0dcbfea7a8f40d75fb1bd90557aba772f7b0dcf3c8cd4" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b9b32f42b8987944f7d0dcbfea7a8f40d75fb1bd90557aba772f7b0dcf3c8cd4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9b32f42b8987944f7d0dcbfea7a8f40d75fb1bd90557aba772f7b0dcf3c8cd4" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking linear_regression_baremetal v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> src/linear_regression.rs:75:27
[INFO] [stdout]    |
[INFO] [stdout] 75 |         x.iter().map(|xi| ((xi * slope) + intercept)).collect()
[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] 75 -         x.iter().map(|xi| ((xi * slope) + intercept)).collect()
[INFO] [stdout] 75 +         x.iter().map(|xi| (xi * slope) + intercept).collect()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> src/linear_regression.rs:75:27
[INFO] [stdout]    |
[INFO] [stdout] 75 |         x.iter().map(|xi| ((xi * slope) + intercept)).collect()
[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] 75 -         x.iter().map(|xi| ((xi * slope) + intercept)).collect()
[INFO] [stdout] 75 +         x.iter().map(|xi| (xi * slope) + intercept).collect()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> src/linear_regression.rs:94:29
[INFO] [stdout]    |
[INFO] [stdout] 94 |             .map(|(yt, yp)| ((yt - yp).powi(2)))
[INFO] [stdout]    |                             ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 94 -             .map(|(yt, yp)| ((yt - yp).powi(2)))
[INFO] [stdout] 94 +             .map(|(yt, yp)| (yt - yp).powi(2))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> src/linear_regression.rs:94:29
[INFO] [stdout]    |
[INFO] [stdout] 94 |             .map(|(yt, yp)| ((yt - yp).powi(2)))
[INFO] [stdout]    |                             ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 94 -             .map(|(yt, yp)| ((yt - yp).powi(2)))
[INFO] [stdout] 94 +             .map(|(yt, yp)| (yt - yp).powi(2))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MultipleLinearRegression` is never constructed
[INFO] [stdout]    --> src/linear_regression.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub struct MultipleLinearRegression;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `transpose`, `matrix_multiplication`, `invert_matrix`, `train`, and `predict` are never used
[INFO] [stdout]    --> src/linear_regression.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl MultipleLinearRegression{
[INFO] [stdout]     | ----------------------------- associated functions in this implementation
[INFO] [stdout] 105 |     pub fn transpose() {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub fn matrix_multiplication(){
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn invert_matrix(){
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn train(){
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn predict(){
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MultipleLinearRegression` is never constructed
[INFO] [stdout]    --> src/linear_regression.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub struct MultipleLinearRegression;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `transpose`, `matrix_multiplication`, `invert_matrix`, `train`, and `predict` are never used
[INFO] [stdout]    --> src/linear_regression.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl MultipleLinearRegression{
[INFO] [stdout]     | ----------------------------- associated functions in this implementation
[INFO] [stdout] 105 |     pub fn transpose() {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub fn matrix_multiplication(){
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn invert_matrix(){
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn train(){
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn predict(){
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] running `Command { std: "docker" "inspect" "b9b32f42b8987944f7d0dcbfea7a8f40d75fb1bd90557aba772f7b0dcf3c8cd4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9b32f42b8987944f7d0dcbfea7a8f40d75fb1bd90557aba772f7b0dcf3c8cd4", kill_on_drop: false }`
[INFO] [stdout] b9b32f42b8987944f7d0dcbfea7a8f40d75fb1bd90557aba772f7b0dcf3c8cd4
