[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 against master#03c609abb6638f9d7f49f34326d4137d07f5cd61 for pr-155945
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaroslaw-weber%2Frust-ml-from-scratch" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jaroslaw-weber/rust-ml-from-scratch on toolchain 03c609abb6638f9d7f49f34326d4137d07f5cd61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "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" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rand v0.3.15
[INFO] [stderr]   Downloaded image v0.13.0
[INFO] [stderr]   Downloaded num-rational v0.1.36
[INFO] [stderr]   Downloaded num_cpus v1.5.1
[INFO] [stderr]   Downloaded num-integer v0.1.34
[INFO] [stderr]   Downloaded inflate v0.2.0
[INFO] [stderr]   Downloaded adler32 v1.0.0
[INFO] [stderr]   Downloaded color_quant v1.0.0
[INFO] [stderr]   Downloaded enum_primitive v0.1.1
[INFO] [stderr]   Downloaded png v0.7.0
[INFO] [stderr]   Downloaded deque v0.3.2
[INFO] [stderr]   Downloaded num-traits v0.1.37
[INFO] [stderr]   Downloaded byteorder v1.0.0
[INFO] [stderr]   Downloaded gif v0.9.1
[INFO] [stderr]   Downloaded rayon-core v1.0.2
[INFO] [stderr]   Downloaded num-iter v0.1.33
[INFO] [stderr]   Downloaded rayon v0.7.1
[INFO] [stderr]   Downloaded deflate v0.7.11
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.12
[INFO] [stderr]   Downloaded libc v0.2.23
[INFO] [stderr]   Downloaded scoped_threadpool v0.1.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9c8cd888e58eb27ece9df48361e28dad528d5d5b2fccf8aadebc69cef03f6029
[INFO] running `Command { std: "docker" "start" "-a" "9c8cd888e58eb27ece9df48361e28dad528d5d5b2fccf8aadebc69cef03f6029", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9c8cd888e58eb27ece9df48361e28dad528d5d5b2fccf8aadebc69cef03f6029", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c8cd888e58eb27ece9df48361e28dad528d5d5b2fccf8aadebc69cef03f6029", kill_on_drop: false }`
[INFO] [stdout] 9c8cd888e58eb27ece9df48361e28dad528d5d5b2fccf8aadebc69cef03f6029
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9a373b40faa236b1fe334a24cca755b0d6299e0953e536e4a1560c09c7b2da00
[INFO] running `Command { std: "docker" "start" "-a" "9a373b40faa236b1fe334a24cca755b0d6299e0953e536e4a1560c09c7b2da00", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking num-traits v0.1.37
[INFO] [stderr]     Checking libc v0.2.23
[INFO] [stderr]    Compiling rayon-core v1.0.2
[INFO] [stderr]     Checking deque v0.3.2
[INFO] [stderr]     Checking lazy_static v0.2.8
[INFO] [stderr]     Checking byteorder v1.0.0
[INFO] [stderr]     Checking adler32 v1.0.0
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking inflate v0.2.0
[INFO] [stderr]     Checking color_quant v1.0.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.7
[INFO] [stderr]     Checking deflate v0.7.11
[INFO] [stderr]     Checking gif v0.9.1
[INFO] [stderr]     Checking rand v0.3.15
[INFO] [stderr]     Checking num_cpus v1.5.1
[INFO] [stderr]     Checking num-integer v0.1.34
[INFO] [stderr]     Checking enum_primitive v0.1.1
[INFO] [stderr]     Checking rayon v0.7.1
[INFO] [stderr]     Checking num-iter v0.1.33
[INFO] [stderr]     Checking num-rational v0.1.36
[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: 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: 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: 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.26s
[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 2`
[INFO] running `Command { std: "docker" "inspect" "9a373b40faa236b1fe334a24cca755b0d6299e0953e536e4a1560c09c7b2da00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a373b40faa236b1fe334a24cca755b0d6299e0953e536e4a1560c09c7b2da00", kill_on_drop: false }`
[INFO] [stdout] 9a373b40faa236b1fe334a24cca755b0d6299e0953e536e4a1560c09c7b2da00
