[INFO] cloning repository https://github.com/complexityclass/RustML [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/complexityclass/RustML" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomplexityclass%2FRustML", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomplexityclass%2FRustML'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da9a88d4d11402107965ee8a65aa02ccc4812ffe [INFO] checking complexityclass/RustML against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomplexityclass%2FRustML" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/complexityclass/RustML on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/complexityclass/RustML [INFO] finished tweaking git repo https://github.com/complexityclass/RustML [INFO] tweaked toml for git repo https://github.com/complexityclass/RustML written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/complexityclass/RustML 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matrixmultiply v0.3.2 [INFO] [stderr] Downloaded csv-core v0.1.10 [INFO] [stderr] Downloaded num-complex v0.4.3 [INFO] [stderr] Downloaded serde v1.0.158 [INFO] [stderr] Downloaded csv v1.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d07040b96dc4fb8863aa91800d0c8ad15a096e6fd97d33a1136d8e3ba67a0a18 [INFO] running `Command { std: "docker" "start" "-a" "d07040b96dc4fb8863aa91800d0c8ad15a096e6fd97d33a1136d8e3ba67a0a18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d07040b96dc4fb8863aa91800d0c8ad15a096e6fd97d33a1136d8e3ba67a0a18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d07040b96dc4fb8863aa91800d0c8ad15a096e6fd97d33a1136d8e3ba67a0a18", kill_on_drop: false }` [INFO] [stdout] d07040b96dc4fb8863aa91800d0c8ad15a096e6fd97d33a1136d8e3ba67a0a18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 407c35c6c4f9b2fbcf3496c609cc7f6e9d8b9c9b75c0fd1f4973a5100038701c [INFO] running `Command { std: "docker" "start" "-a" "407c35c6c4f9b2fbcf3496c609cc7f6e9d8b9c9b75c0fd1f4973a5100038701c", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde v1.0.158 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking csv v1.2.1 [INFO] [stderr] Checking RustML v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f64::consts` [INFO] [stdout] --> src/shallow/gradient_descent_single_param.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::consts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::repeat` [INFO] [stdout] --> src/shallow/gradient_descent_single_param.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::repeat; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/shallow/gradient_descent_single_param.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArrayView2` [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{s, Array2, ArrayView2}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts` [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f64::consts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::array` [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | use ndarray::array; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts` [INFO] [stdout] --> src/shallow/gradient_descent_single_param.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::consts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::repeat` [INFO] [stdout] --> src/shallow/gradient_descent_single_param.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::repeat; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArrayView2` [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{s, Array2, ArrayView2}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts` [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f64::consts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gradient_descent` is never used [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn gradient_descent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_cost` is never used [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn compute_cost( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_gradient` is never used [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn compute_gradient( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/kaggle/house_pricing.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | predict(w, b); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = predict(w, b); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/kaggle/house_pricing.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | predict(w, b); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = predict(w, b); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.98s [INFO] running `Command { std: "docker" "inspect" "407c35c6c4f9b2fbcf3496c609cc7f6e9d8b9c9b75c0fd1f4973a5100038701c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "407c35c6c4f9b2fbcf3496c609cc7f6e9d8b9c9b75c0fd1f4973a5100038701c", kill_on_drop: false }` [INFO] [stdout] 407c35c6c4f9b2fbcf3496c609cc7f6e9d8b9c9b75c0fd1f4973a5100038701c [INFO] checking complexityclass/RustML against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomplexityclass%2FRustML" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/complexityclass/RustML on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/complexityclass/RustML [INFO] finished tweaking git repo https://github.com/complexityclass/RustML [INFO] tweaked toml for git repo https://github.com/complexityclass/RustML written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/complexityclass/RustML 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1afbaef1a5067b1b2e3bceea7bf9a0afe6f1b704a1b8c5db53f42104ef41d6f [INFO] running `Command { std: "docker" "start" "-a" "a1afbaef1a5067b1b2e3bceea7bf9a0afe6f1b704a1b8c5db53f42104ef41d6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1afbaef1a5067b1b2e3bceea7bf9a0afe6f1b704a1b8c5db53f42104ef41d6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1afbaef1a5067b1b2e3bceea7bf9a0afe6f1b704a1b8c5db53f42104ef41d6f", kill_on_drop: false }` [INFO] [stdout] a1afbaef1a5067b1b2e3bceea7bf9a0afe6f1b704a1b8c5db53f42104ef41d6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5abf8305fb99ab73277adbbcab4c180add0244490430c24ab9f46608a87553c [INFO] running `Command { std: "docker" "start" "-a" "b5abf8305fb99ab73277adbbcab4c180add0244490430c24ab9f46608a87553c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde v1.0.158 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking csv v1.2.1 [INFO] [stderr] Checking RustML v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/shallow/gradient_descent_multi.rs (2 fixes) [INFO] [stderr] Fixed src/shallow/gradient_descent_single_param.rs (2 fixes) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/kaggle/house_pricing.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | predict(w, b); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = predict(w, b); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/shallow/gradient_descent_multi.rs (2 fixes) [INFO] [stderr] Fixed src/shallow/gradient_descent_single_param.rs (1 fix) [INFO] [stdout] warning: function `gradient_descent` is never used [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn gradient_descent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_cost` is never used [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn compute_cost( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_gradient` is never used [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn compute_gradient( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/kaggle/house_pricing.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | predict(w, b); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = predict(w, b); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.13s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking RustML v0.1.0 (/tmp/fixit) [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:128:26 [INFO] [stdout] | [INFO] [stdout] 128 | let expected_w = array![[0.2, 0.0, -0.01, -0.07]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 73 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | let row_w = array![0.0, 0.0, 0.0, 0.0]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 73 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let row_y = array![460.0, 232.0, 178.0]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 73 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let x = array![ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 73 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | let expected_dj_dw = array![[-2.73e-03, -6.27e-06, -2.22e-06, -6.92e-05]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 73 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | let row_w = array![0.39133535, 18.75376741, -53.36032453, -26.42131618]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 73 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | let row_y = array![460.0, 232.0, 178.0]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 73 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let x = array![ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 73 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | let row_w = array![0.39133535, 18.75376741, -53.36032453, -26.42131618]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 73 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | let row_y = array![460.0, 232.0, 178.0]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 73 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let x = array![ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 73 + use ndarray::array; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compute_cost` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_single_param.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | let cost = compute_cost(&x, &y, w, b); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 62 + use crate::shallow::gradient_descent_single_param::compute_cost; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compute_gradient` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_single_param.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | let (dj_dw, dj_db) = compute_gradient(&x, &y, w, b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 62 + use crate::shallow::gradient_descent_single_param::compute_gradient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gradient_descent` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_single_param.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 89 | let (w_f, b_f) = gradient_descent(&x, &y, w, b, 0.01, 10000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 62 + use crate::shallow::gradient_descent_multi::gradient_descent; [INFO] [stdout] | [INFO] [stdout] 62 + use crate::shallow::gradient_descent_single_param::gradient_descent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Array2` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | let y: Array2 = row_y.into_shape((3, 1)).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 73 + use crate::shallow::gradient_descent_multi::Array2; [INFO] [stdout] | [INFO] [stdout] 73 + use ndarray::Array2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Array2` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let w: Array2 = row_w.into_shape((1, 4)).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 73 + use crate::shallow::gradient_descent_multi::Array2; [INFO] [stdout] | [INFO] [stdout] 73 + use ndarray::Array2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compute_cost` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | let cost = compute_cost(&x, &y, &w, b); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 73 + use crate::shallow::gradient_descent_multi::compute_cost; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Array2` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | let y: Array2 = row_y.into_shape((3, 1)).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 73 + use crate::shallow::gradient_descent_multi::Array2; [INFO] [stdout] | [INFO] [stdout] 73 + use ndarray::Array2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gradient_descent` is never used [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn gradient_descent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Array2` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | let w: Array2 = row_w.into_shape((1, 4)).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 73 + use crate::shallow::gradient_descent_multi::Array2; [INFO] [stdout] | [INFO] [stdout] 73 + use ndarray::Array2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_cost` is never used [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn compute_cost( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compute_gradient` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | let (dj_dw, dj_db) = compute_gradient(&x, &y, &w, b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 73 + use crate::shallow::gradient_descent_multi::compute_gradient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_gradient` is never used [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn compute_gradient( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Array2` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | let y: Array2 = row_y.into_shape((3, 1)).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 73 + use crate::shallow::gradient_descent_multi::Array2; [INFO] [stdout] | [INFO] [stdout] 73 + use ndarray::Array2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Array2` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | let w: Array2 = row_w.into_shape((1, 4)).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 73 + use crate::shallow::gradient_descent_multi::Array2; [INFO] [stdout] | [INFO] [stdout] 73 + use ndarray::Array2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gradient_descent` in this scope [INFO] [stdout] --> src/shallow/gradient_descent_multi.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | let (w, b) = gradient_descent(&x, &y, &w, b, alpha, num_iters); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 73 + use crate::shallow::gradient_descent_multi::gradient_descent; [INFO] [stdout] | [INFO] [stdout] 73 + use crate::shallow::gradient_descent_single_param::gradient_descent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/kaggle/house_pricing.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | predict(w, b); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = predict(w, b); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `RustML` (bin "RustML" test) due to 24 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "b5abf8305fb99ab73277adbbcab4c180add0244490430c24ab9f46608a87553c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5abf8305fb99ab73277adbbcab4c180add0244490430c24ab9f46608a87553c", kill_on_drop: false }` [INFO] [stdout] b5abf8305fb99ab73277adbbcab4c180add0244490430c24ab9f46608a87553c