[INFO] cloning repository https://github.com/endybits/rust-ai
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/endybits/rust-ai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fendybits%2Frust-ai", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fendybits%2Frust-ai'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bcdbb0137a56413b4e81d7d1add705c82df7ce94
[INFO] checking endybits/rust-ai against d0ab665d12770dbaae620b539ee4319b83445f45 for pr-133502-25
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fendybits%2Frust-ai" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/endybits/rust-ai
[INFO] finished tweaking git repo https://github.com/endybits/rust-ai
[INFO] tweaked toml for git repo https://github.com/endybits/rust-ai written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/endybits/rust-ai on toolchain d0ab665d12770dbaae620b539ee4319b83445f45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/endybits/rust-ai 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" "+d0ab665d12770dbaae620b539ee4319b83445f45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3c6187a2b68c55d326a5d24f06d66001b4fc6879336fb970925d942b03a85706
[INFO] running `Command { std: "docker" "start" "3c6187a2b68c55d326a5d24f06d66001b4fc6879336fb970925d942b03a85706", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3c6187a2b68c55d326a5d24f06d66001b4fc6879336fb970925d942b03a85706", 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" "3c6187a2b68c55d326a5d24f06d66001b4fc6879336fb970925d942b03a85706" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3c6187a2b68c55d326a5d24f06d66001b4fc6879336fb970925d942b03a85706", 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" "3c6187a2b68c55d326a5d24f06d66001b4fc6879336fb970925d942b03a85706" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking rust-ai v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Dataset` is never constructed
[INFO] [stdout]  --> src/simple_regression/data.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Dataset {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RawRecord` is never constructed
[INFO] [stdout]   --> src/simple_regression/data.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct RawRecord {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_mock_records` is never used
[INFO] [stdout]   --> src/simple_regression/data.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn generate_mock_records(count: usize) -> Vec<RawRecord> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_training_data` is never used
[INFO] [stdout]   --> src/simple_regression/data.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn get_training_data() -> Dataset {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LinearRegresion` is never constructed
[INFO] [stdout]  --> src/simple_regression/linear_regression.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct LinearRegresion {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Dataset` is never constructed
[INFO] [stdout]  --> src/simple_regression/data.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Dataset {
[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 items `new`, `predict`, and `train` are never used
[INFO] [stdout]   --> src/simple_regression/linear_regression.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl LinearRegresion {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 12 |     // Constructor. It borns very fulished
[INFO] [stdout] 13 |     pub fn new() -> LinearRegresion {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn predict(&self, x: f64) -> f64 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn train(&mut self, x_data: &Vec<f64>, y_data: &Vec<f64>, epochs: usize, learning_rate: f64) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/simple_regression/linear_regression.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RawRecord` is never constructed
[INFO] [stdout]   --> src/simple_regression/data.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct RawRecord {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_mock_records` is never used
[INFO] [stdout]   --> src/simple_regression/data.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn generate_mock_records(count: usize) -> Vec<RawRecord> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_training_data` is never used
[INFO] [stdout]   --> src/simple_regression/data.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn get_training_data() -> Dataset {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LinearRegresion` is never constructed
[INFO] [stdout]  --> src/simple_regression/linear_regression.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct LinearRegresion {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `predict`, and `train` are never used
[INFO] [stdout]   --> src/simple_regression/linear_regression.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl LinearRegresion {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 12 |     // Constructor. It borns very fulished
[INFO] [stdout] 13 |     pub fn new() -> LinearRegresion {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn predict(&self, x: f64) -> f64 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn train(&mut self, x_data: &Vec<f64>, y_data: &Vec<f64>, epochs: usize, learning_rate: f64) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/simple_regression/linear_regression.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.99s
[INFO] running `Command { std: "docker" "inspect" "3c6187a2b68c55d326a5d24f06d66001b4fc6879336fb970925d942b03a85706", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c6187a2b68c55d326a5d24f06d66001b4fc6879336fb970925d942b03a85706", kill_on_drop: false }`
[INFO] [stdout] 3c6187a2b68c55d326a5d24f06d66001b4fc6879336fb970925d942b03a85706
