[INFO] cloning repository https://github.com/jaroslaw-weber/rust-ml-from-scratch
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jaroslaw-weber/rust-ml-from-scratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaroslaw-weber%2Frust-ml-from-scratch", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaroslaw-weber%2Frust-ml-from-scratch'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6eaecb746eae46b8964018a9846b1aa6f911d3b7
[INFO] checking jaroslaw-weber/rust-ml-from-scratch/6eaecb746eae46b8964018a9846b1aa6f911d3b7 against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-150727
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaroslaw-weber%2Frust-ml-from-scratch" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jaroslaw-weber/rust-ml-from-scratch
[INFO] finished tweaking git repo https://github.com/jaroslaw-weber/rust-ml-from-scratch
[INFO] tweaked toml for git repo https://github.com/jaroslaw-weber/rust-ml-from-scratch written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jaroslaw-weber/rust-ml-from-scratch on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jaroslaw-weber/rust-ml-from-scratch 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-rational v0.1.36
[INFO] [stderr]   Downloaded num-integer v0.1.34
[INFO] [stderr]   Downloaded num-iter v0.1.33
[INFO] [stderr]   Downloaded num_cpus v1.5.1
[INFO] [stderr]   Downloaded color_quant v1.0.0
[INFO] [stderr]   Downloaded num-traits v0.1.37
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.12
[INFO] [stderr]   Downloaded gif v0.9.1
[INFO] [stderr]   Downloaded rayon-core v1.0.2
[INFO] [stderr]   Downloaded libc v0.2.23
[INFO] [stderr]   Downloaded deque v0.3.2
[INFO] [stderr]   Downloaded deflate v0.7.11
[INFO] [stderr]   Downloaded scoped_threadpool v0.1.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d6d0237c09cd47fff90e81cb2613d5de2ec6112bb1640c6fb043ebe27f1d36aa
[INFO] running `Command { std: "docker" "start" "-a" "d6d0237c09cd47fff90e81cb2613d5de2ec6112bb1640c6fb043ebe27f1d36aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d6d0237c09cd47fff90e81cb2613d5de2ec6112bb1640c6fb043ebe27f1d36aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6d0237c09cd47fff90e81cb2613d5de2ec6112bb1640c6fb043ebe27f1d36aa", kill_on_drop: false }`
[INFO] [stdout] d6d0237c09cd47fff90e81cb2613d5de2ec6112bb1640c6fb043ebe27f1d36aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d574e8be837ac0580b4e71eb3f05a731aaa409f75d631c7c6746ddea9ad0dec3
[INFO] running `Command { std: "docker" "start" "-a" "d574e8be837ac0580b4e71eb3f05a731aaa409f75d631c7c6746ddea9ad0dec3", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking libc v0.2.23
[INFO] [stderr]     Checking num-traits v0.1.37
[INFO] [stderr]    Compiling rayon-core v1.0.2
[INFO] [stderr]     Checking lazy_static v0.2.8
[INFO] [stderr]     Checking deque v0.3.2
[INFO] [stderr]     Checking byteorder v1.0.0
[INFO] [stderr]     Checking adler32 v1.0.0
[INFO] [stderr]     Checking inflate v0.2.0
[INFO] [stderr]     Checking color_quant v1.0.0
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.7
[INFO] [stderr]     Checking num_cpus v1.5.1
[INFO] [stderr]     Checking rand v0.3.15
[INFO] [stderr]     Checking gif v0.9.1
[INFO] [stderr]     Checking deflate v0.7.11
[INFO] [stderr]     Checking num-integer v0.1.34
[INFO] [stderr]     Checking enum_primitive v0.1.1
[INFO] [stderr]     Checking num-iter v0.1.33
[INFO] [stderr]     Checking num-rational v0.1.36
[INFO] [stderr]     Checking rayon v0.7.1
[INFO] [stderr]     Checking png v0.7.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.12
[INFO] [stderr]     Checking image v0.13.0
[INFO] [stderr]     Checking rust_machine_learning v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/matrix.rs:42:3
[INFO] [stdout]    |
[INFO] [stdout] 42 |         (index as usize)
[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] 42 -         (index as usize)
[INFO] [stdout] 42 +         index as usize 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/matrix.rs:248:83
[INFO] [stdout]     |
[INFO] [stdout] 248 |     pub fn matrix_on_matrix_operation(&self, other_matrix:&Matrix, combine_function:&Fn(f32,f32)->f32)->Matrix
[INFO] [stdout]     |                                                                                      ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 248 |     pub fn matrix_on_matrix_operation(&self, other_matrix:&Matrix, combine_function:&dyn Fn(f32,f32)->f32)->Matrix
[INFO] [stdout]     |                                                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/matrix.rs:261:37
[INFO] [stdout]     |
[INFO] [stdout] 261 |     pub fn map(&self, function_to_map:&Fn(f32)->f32)->Matrix
[INFO] [stdout]     |                                        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 261 |     pub fn map(&self, function_to_map:&dyn Fn(f32)->f32)->Matrix
[INFO] [stdout]     |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `sum`, `max`, and `divn` are never used
[INFO] [stdout]    --> src/matrix.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl Matrix
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn sum(&self)->f32
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn max(&self)->f32
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |     pub fn divn(&self, number:f32)->Matrix
[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 `softmax` is never used
[INFO] [stdout]   --> src/activations.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn softmax(x:&Matrix)->Matrix
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `softmax_stable` is never used
[INFO] [stdout]   --> src/activations.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn softmax_stable(x:&Matrix)->Matrix
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `relu` is never used
[INFO] [stdout]   --> src/activations.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn relu(x:&Matrix, derivative:bool)->Matrix
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/matrix.rs:42:3
[INFO] [stdout]    |
[INFO] [stdout] 42 |         (index as usize)
[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] 42 -         (index as usize)
[INFO] [stdout] 42 +         index as usize 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/matrix.rs:248:83
[INFO] [stdout]     |
[INFO] [stdout] 248 |     pub fn matrix_on_matrix_operation(&self, other_matrix:&Matrix, combine_function:&Fn(f32,f32)->f32)->Matrix
[INFO] [stdout]     |                                                                                      ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 248 |     pub fn matrix_on_matrix_operation(&self, other_matrix:&Matrix, combine_function:&dyn Fn(f32,f32)->f32)->Matrix
[INFO] [stdout]     |                                                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.41s
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/matrix.rs:261:37
[INFO] [stdout]     |
[INFO] [stdout] 261 |     pub fn map(&self, function_to_map:&Fn(f32)->f32)->Matrix
[INFO] [stdout]     |                                        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 261 |     pub fn map(&self, function_to_map:&dyn Fn(f32)->f32)->Matrix
[INFO] [stdout]     |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `sum`, `max`, and `divn` are never used
[INFO] [stdout]    --> src/matrix.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl Matrix
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn sum(&self)->f32
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn max(&self)->f32
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |     pub fn divn(&self, number:f32)->Matrix
[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 `softmax` is never used
[INFO] [stdout]   --> src/activations.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn softmax(x:&Matrix)->Matrix
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `softmax_stable` is never used
[INFO] [stdout]   --> src/activations.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn softmax_stable(x:&Matrix)->Matrix
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `relu` is never used
[INFO] [stdout]   --> src/activations.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn relu(x:&Matrix, derivative:bool)->Matrix
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "d574e8be837ac0580b4e71eb3f05a731aaa409f75d631c7c6746ddea9ad0dec3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d574e8be837ac0580b4e71eb3f05a731aaa409f75d631c7c6746ddea9ad0dec3", kill_on_drop: false }`
[INFO] [stdout] d574e8be837ac0580b4e71eb3f05a731aaa409f75d631c7c6746ddea9ad0dec3
