[INFO] cloning repository https://github.com/jackcooperusesvim/rust-ml-lib
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jackcooperusesvim/rust-ml-lib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackcooperusesvim%2Frust-ml-lib", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackcooperusesvim%2Frust-ml-lib'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a0d3eba7ce97cee525f7ba2e065333456115dfca
[INFO] testing jackcooperusesvim/rust-ml-lib against try#b8e88e5ddf5521a9f43ee3f62a702388c713e4bb for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackcooperusesvim%2Frust-ml-lib" "/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/jackcooperusesvim/rust-ml-lib
[INFO] finished tweaking git repo https://github.com/jackcooperusesvim/rust-ml-lib
[INFO] tweaked toml for git repo https://github.com/jackcooperusesvim/rust-ml-lib written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jackcooperusesvim/rust-ml-lib on toolchain b8e88e5ddf5521a9f43ee3f62a702388c713e4bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jackcooperusesvim/rust-ml-lib 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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c37ce74773c9057ecd44320914cb57fe2948e43ab49551a60840302b2d809781
[INFO] running `Command { std: "docker" "start" "-a" "c37ce74773c9057ecd44320914cb57fe2948e43ab49551a60840302b2d809781", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c37ce74773c9057ecd44320914cb57fe2948e43ab49551a60840302b2d809781", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c37ce74773c9057ecd44320914cb57fe2948e43ab49551a60840302b2d809781", kill_on_drop: false }`
[INFO] [stdout] c37ce74773c9057ecd44320914cb57fe2948e43ab49551a60840302b2d809781
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f0f80f3c8607b3cbcef1c30be8a3c3cfe68b7604fdbc0ac00b8ffb00d0ad2d56
[INFO] running `Command { std: "docker" "start" "-a" "f0f80f3c8607b3cbcef1c30be8a3c3cfe68b7604fdbc0ac00b8ffb00d0ad2d56", kill_on_drop: false }`
[INFO] [stderr]    Compiling fastrand v2.2.0
[INFO] [stderr]    Compiling ml v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/models/mlp.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             SingleDimGrad::Dense(grad_dta) => {}
[INFO] [stdout]    |             ------------------------------ matches all the relevant values
[INFO] [stdout] 82 |             _ => panic!("improper gradient type applied to Dense"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opt_alg`
[INFO] [stdout]   --> src/models/mlp.rs:79:57
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn apply_gradients(&mut self, grads: SingleDimGrad, opt_alg: &mut dyn Optimizer) {
[INFO] [stdout]    |                                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_alg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `grad_dta`
[INFO] [stdout]   --> src/models/mlp.rs:81:34
[INFO] [stdout]    |
[INFO] [stdout] 81 |             SingleDimGrad::Dense(grad_dta) => {}
[INFO] [stdout]    |                                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_dta`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Sigmoid` is more private than the item `Activations::Sigmoid::0`
[INFO] [stdout]  --> src/models/mlp/activation.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Sigmoid(Sigmoid),
[INFO] [stdout]   |             ^^^^^^^ field `Activations::Sigmoid::0` is reachable at visibility `pub`
[INFO] [stdout]   |
[INFO] [stdout] note: but type `Sigmoid` is only usable at visibility `pub(self)`
[INFO] [stdout]  --> src/models/mlp/activation.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Sigmoid {}
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout]   = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MeanSquaredError` is never constructed
[INFO] [stdout]  --> src/loss.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct MeanSquaredError {}
[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 `Knn` is never constructed
[INFO] [stdout]  --> src/models/classification/knn.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Knn<C: Eq + Hash + Clone> {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `train`, and `eval` are never used
[INFO] [stdout]   --> src/models/classification/knn.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<C: Clone + Eq + Hash> Knn<C> {
[INFO] [stdout]    | --------------------------------- associated items in this implementation
[INFO] [stdout] 12 |     fn new(k: usize) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn train(&mut self, data: Vec<(Vec<f32>, C)>) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn eval(&self, input: &Vec<f32>) -> Option<C> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `weights`, `biases`, and `activation` are never read
[INFO] [stdout]   --> src/models/mlp.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Dense<'a, const INPUT_SIZE: usize, const OUTPUT_SIZE: usize> {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 13 |     weights: Vec<Vec<f32>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 14 |     biases: Vec<f32>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 15 |     activation: &'a mut dyn ActFunc,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DenseGradient` is never constructed
[INFO] [stdout]   --> src/models/mlp.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct DenseGradient {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SingleDimGrad` is never used
[INFO] [stdout]   --> src/models/mlp.rs:23:6
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum SingleDimGrad {
[INFO] [stdout]    |      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SingleDimLayer` is never used
[INFO] [stdout]   --> src/models/mlp.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | trait SingleDimLayer<const INPUT_SIZE: usize, const OUTPUT_SIZE: usize> {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/models/mlp.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl<const INPUT_SIZE: usize, const OUTPUT_SIZE: usize> Dense<'_, INPUT_SIZE, OUTPUT_SIZE> {
[INFO] [stdout]    | ------------------------------------------------------------------------------------------ associated function in this implementation
[INFO] [stdout] 36 |     fn new<'a>(
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Relu` is never constructed
[INFO] [stdout]  --> src/models/mlp/activation.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Relu {}
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: const parameter `len` should have an upper case name
[INFO] [stdout]  --> src/models/mlp/vec_math.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn slice_dot<const len: usize>(vec1: [f32; len], vec2: [f32; len]) -> f32 {
[INFO] [stdout]   |                        ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 2 - pub fn slice_dot<const len: usize>(vec1: [f32; len], vec2: [f32; len]) -> f32 {
[INFO] [stdout] 2 + pub fn slice_dot<const LEN: usize>(vec1: [f32; len], vec2: [f32; len]) -> f32 {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.59s
[INFO] running `Command { std: "docker" "inspect" "f0f80f3c8607b3cbcef1c30be8a3c3cfe68b7604fdbc0ac00b8ffb00d0ad2d56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0f80f3c8607b3cbcef1c30be8a3c3cfe68b7604fdbc0ac00b8ffb00d0ad2d56", kill_on_drop: false }`
[INFO] [stdout] f0f80f3c8607b3cbcef1c30be8a3c3cfe68b7604fdbc0ac00b8ffb00d0ad2d56
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3b1210685e4f71a80307493ca6b6fbc545b4b742983855e360c6fd765843ace2
[INFO] running `Command { std: "docker" "start" "-a" "3b1210685e4f71a80307493ca6b6fbc545b4b742983855e360c6fd765843ace2", kill_on_drop: false }`
[INFO] [stderr]    Compiling ml v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/models/mlp.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             SingleDimGrad::Dense(grad_dta) => {}
[INFO] [stdout]    |             ------------------------------ matches all the relevant values
[INFO] [stdout] 82 |             _ => panic!("improper gradient type applied to Dense"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opt_alg`
[INFO] [stdout]   --> src/models/mlp.rs:79:57
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn apply_gradients(&mut self, grads: SingleDimGrad, opt_alg: &mut dyn Optimizer) {
[INFO] [stdout]    |                                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_alg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `grad_dta`
[INFO] [stdout]   --> src/models/mlp.rs:81:34
[INFO] [stdout]    |
[INFO] [stdout] 81 |             SingleDimGrad::Dense(grad_dta) => {}
[INFO] [stdout]    |                                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_dta`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Sigmoid` is more private than the item `Activations::Sigmoid::0`
[INFO] [stdout]  --> src/models/mlp/activation.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Sigmoid(Sigmoid),
[INFO] [stdout]   |             ^^^^^^^ field `Activations::Sigmoid::0` is reachable at visibility `pub`
[INFO] [stdout]   |
[INFO] [stdout] note: but type `Sigmoid` is only usable at visibility `pub(self)`
[INFO] [stdout]  --> src/models/mlp/activation.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Sigmoid {}
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout]   = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MeanSquaredError` is never constructed
[INFO] [stdout]  --> src/loss.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct MeanSquaredError {}
[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 `Knn` is never constructed
[INFO] [stdout]  --> src/models/classification/knn.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Knn<C: Eq + Hash + Clone> {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `train`, and `eval` are never used
[INFO] [stdout]   --> src/models/classification/knn.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<C: Clone + Eq + Hash> Knn<C> {
[INFO] [stdout]    | --------------------------------- associated items in this implementation
[INFO] [stdout] 12 |     fn new(k: usize) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn train(&mut self, data: Vec<(Vec<f32>, C)>) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn eval(&self, input: &Vec<f32>) -> Option<C> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `weights`, `biases`, and `activation` are never read
[INFO] [stdout]   --> src/models/mlp.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Dense<'a, const INPUT_SIZE: usize, const OUTPUT_SIZE: usize> {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 13 |     weights: Vec<Vec<f32>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 14 |     biases: Vec<f32>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 15 |     activation: &'a mut dyn ActFunc,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DenseGradient` is never constructed
[INFO] [stdout]   --> src/models/mlp.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct DenseGradient {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SingleDimGrad` is never used
[INFO] [stdout]   --> src/models/mlp.rs:23:6
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum SingleDimGrad {
[INFO] [stdout]    |      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SingleDimLayer` is never used
[INFO] [stdout]   --> src/models/mlp.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | trait SingleDimLayer<const INPUT_SIZE: usize, const OUTPUT_SIZE: usize> {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/models/mlp.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl<const INPUT_SIZE: usize, const OUTPUT_SIZE: usize> Dense<'_, INPUT_SIZE, OUTPUT_SIZE> {
[INFO] [stdout]    | ------------------------------------------------------------------------------------------ associated function in this implementation
[INFO] [stdout] 36 |     fn new<'a>(
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Relu` is never constructed
[INFO] [stdout]  --> src/models/mlp/activation.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Relu {}
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: const parameter `len` should have an upper case name
[INFO] [stdout]  --> src/models/mlp/vec_math.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn slice_dot<const len: usize>(vec1: [f32; len], vec2: [f32; len]) -> f32 {
[INFO] [stdout]   |                        ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 2 - pub fn slice_dot<const len: usize>(vec1: [f32; len], vec2: [f32; len]) -> f32 {
[INFO] [stdout] 2 + pub fn slice_dot<const LEN: usize>(vec1: [f32; len], vec2: [f32; len]) -> f32 {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/models/mlp.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             SingleDimGrad::Dense(grad_dta) => {}
[INFO] [stdout]    |             ------------------------------ matches all the relevant values
[INFO] [stdout] 82 |             _ => panic!("improper gradient type applied to Dense"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opt_alg`
[INFO] [stdout]   --> src/models/mlp.rs:79:57
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn apply_gradients(&mut self, grads: SingleDimGrad, opt_alg: &mut dyn Optimizer) {
[INFO] [stdout]    |                                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_alg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `grad_dta`
[INFO] [stdout]   --> src/models/mlp.rs:81:34
[INFO] [stdout]    |
[INFO] [stdout] 81 |             SingleDimGrad::Dense(grad_dta) => {}
[INFO] [stdout]    |                                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_dta`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Sigmoid` is more private than the item `Activations::Sigmoid::0`
[INFO] [stdout]  --> src/models/mlp/activation.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Sigmoid(Sigmoid),
[INFO] [stdout]   |             ^^^^^^^ field `Activations::Sigmoid::0` is reachable at visibility `pub`
[INFO] [stdout]   |
[INFO] [stdout] note: but type `Sigmoid` is only usable at visibility `pub(self)`
[INFO] [stdout]  --> src/models/mlp/activation.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Sigmoid {}
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout]   = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `weights`, `biases`, and `activation` are never read
[INFO] [stdout]   --> src/models/mlp.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Dense<'a, const INPUT_SIZE: usize, const OUTPUT_SIZE: usize> {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 13 |     weights: Vec<Vec<f32>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 14 |     biases: Vec<f32>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 15 |     activation: &'a mut dyn ActFunc,
[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 `DenseGradient` is never constructed
[INFO] [stdout]   --> src/models/mlp.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct DenseGradient {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SingleDimGrad` is never used
[INFO] [stdout]   --> src/models/mlp.rs:23:6
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum SingleDimGrad {
[INFO] [stdout]    |      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SingleDimLayer` is never used
[INFO] [stdout]   --> src/models/mlp.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | trait SingleDimLayer<const INPUT_SIZE: usize, const OUTPUT_SIZE: usize> {
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/models/mlp.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl<const INPUT_SIZE: usize, const OUTPUT_SIZE: usize> Dense<'_, INPUT_SIZE, OUTPUT_SIZE> {
[INFO] [stdout]    | ------------------------------------------------------------------------------------------ associated function in this implementation
[INFO] [stdout] 36 |     fn new<'a>(
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Relu` is never constructed
[INFO] [stdout]  --> src/models/mlp/activation.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Relu {}
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: const parameter `len` should have an upper case name
[INFO] [stdout]  --> src/models/mlp/vec_math.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn slice_dot<const len: usize>(vec1: [f32; len], vec2: [f32; len]) -> f32 {
[INFO] [stdout]   |                        ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 2 - pub fn slice_dot<const len: usize>(vec1: [f32; len], vec2: [f32; len]) -> f32 {
[INFO] [stdout] 2 + pub fn slice_dot<const LEN: usize>(vec1: [f32; len], vec2: [f32; len]) -> f32 {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s
[INFO] running `Command { std: "docker" "inspect" "3b1210685e4f71a80307493ca6b6fbc545b4b742983855e360c6fd765843ace2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b1210685e4f71a80307493ca6b6fbc545b4b742983855e360c6fd765843ace2", kill_on_drop: false }`
[INFO] [stdout] 3b1210685e4f71a80307493ca6b6fbc545b4b742983855e360c6fd765843ace2
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 05dc0cf3819da3eb2d9416822542204cb14eabd4759ce7a4c30f231d60ac91ca
[INFO] running `Command { std: "docker" "start" "-a" "05dc0cf3819da3eb2d9416822542204cb14eabd4759ce7a4c30f231d60ac91ca", kill_on_drop: false }`
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/models/mlp.rs:82:13
[INFO] [stderr]    |
[INFO] [stderr] 81 |             SingleDimGrad::Dense(grad_dta) => {}
[INFO] [stderr]    |             ------------------------------ matches all the relevant values
[INFO] [stderr] 82 |             _ => panic!("improper gradient type applied to Dense"),
[INFO] [stderr]    |             ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `opt_alg`
[INFO] [stderr]   --> src/models/mlp.rs:79:57
[INFO] [stderr]    |
[INFO] [stderr] 79 |     fn apply_gradients(&mut self, grads: SingleDimGrad, opt_alg: &mut dyn Optimizer) {
[INFO] [stderr]    |                                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_alg`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `grad_dta`
[INFO] [stderr]   --> src/models/mlp.rs:81:34
[INFO] [stderr]    |
[INFO] [stderr] 81 |             SingleDimGrad::Dense(grad_dta) => {}
[INFO] [stderr]    |                                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_dta`
[INFO] [stderr] 
[INFO] [stderr] warning: type `Sigmoid` is more private than the item `Activations::Sigmoid::0`
[INFO] [stderr]  --> src/models/mlp/activation.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 |     Sigmoid(Sigmoid),
[INFO] [stderr]   |             ^^^^^^^ field `Activations::Sigmoid::0` is reachable at visibility `pub`
[INFO] [stderr]   |
[INFO] [stderr] note: but type `Sigmoid` is only usable at visibility `pub(self)`
[INFO] [stderr]  --> src/models/mlp/activation.rs:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct Sigmoid {}
[INFO] [stderr]   | ^^^^^^^^^^^^^^
[INFO] [stderr]   = note: `#[warn(private_interfaces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MeanSquaredError` is never constructed
[INFO] [stderr]  --> src/loss.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct MeanSquaredError {}
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Knn` is never constructed
[INFO] [stderr]  --> src/models/classification/knn.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct Knn<C: Eq + Hash + Clone> {
[INFO] [stderr]   |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `train`, and `eval` are never used
[INFO] [stderr]   --> src/models/classification/knn.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 11 | impl<C: Clone + Eq + Hash> Knn<C> {
[INFO] [stderr]    | --------------------------------- associated items in this implementation
[INFO] [stderr] 12 |     fn new(k: usize) -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 20 |     fn train(&mut self, data: Vec<(Vec<f32>, C)>) {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 30 |     fn eval(&self, input: &Vec<f32>) -> Option<C> {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `weights`, `biases`, and `activation` are never read
[INFO] [stderr]   --> src/models/mlp.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub struct Dense<'a, const INPUT_SIZE: usize, const OUTPUT_SIZE: usize> {
[INFO] [stderr]    |            ----- fields in this struct
[INFO] [stderr] 13 |     weights: Vec<Vec<f32>>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 14 |     biases: Vec<f32>,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 15 |     activation: &'a mut dyn ActFunc,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DenseGradient` is never constructed
[INFO] [stderr]   --> src/models/mlp.rs:18:8
[INFO] [stderr]    |
[INFO] [stderr] 18 | struct DenseGradient {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `SingleDimGrad` is never used
[INFO] [stderr]   --> src/models/mlp.rs:23:6
[INFO] [stderr]    |
[INFO] [stderr] 23 | enum SingleDimGrad {
[INFO] [stderr]    |      ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `SingleDimLayer` is never used
[INFO] [stderr]   --> src/models/mlp.rs:27:7
[INFO] [stderr]    |
[INFO] [stderr] 27 | trait SingleDimLayer<const INPUT_SIZE: usize, const OUTPUT_SIZE: usize> {
[INFO] [stderr]    |       ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/models/mlp.rs:36:8
[INFO] [stderr]    |
[INFO] [stderr] 35 | impl<const INPUT_SIZE: usize, const OUTPUT_SIZE: usize> Dense<'_, INPUT_SIZE, OUTPUT_SIZE> {
[INFO] [stderr]    | ------------------------------------------------------------------------------------------ associated function in this implementation
[INFO] [stderr] 36 |     fn new<'a>(
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Relu` is never constructed
[INFO] [stderr]  --> src/models/mlp/activation.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | struct Relu {}
[INFO] [stderr]   |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: const parameter `len` should have an upper case name
[INFO] [stderr]  --> src/models/mlp/vec_math.rs:2:24
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub fn slice_dot<const len: usize>(vec1: [f32; len], vec2: [f32; len]) -> f32 {
[INFO] [stderr]   |                        ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] help: convert the identifier to upper case
[INFO] [stderr]   |
[INFO] [stderr] 2 - pub fn slice_dot<const len: usize>(vec1: [f32; len], vec2: [f32; len]) -> f32 {
[INFO] [stderr] 2 + pub fn slice_dot<const LEN: usize>(vec1: [f32; len], vec2: [f32; len]) -> f32 {
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: `ml` (lib) generated 14 warnings (run `cargo fix --lib -p ml` to apply 3 suggestions)
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/lib.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr] 11 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `weights`, `biases`, and `activation` are never read
[INFO] [stderr]   --> src/models/mlp.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub struct Dense<'a, const INPUT_SIZE: usize, const OUTPUT_SIZE: usize> {
[INFO] [stderr]    |            ----- fields in this struct
[INFO] [stderr] 13 |     weights: Vec<Vec<f32>>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 14 |     biases: Vec<f32>,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 15 |     activation: &'a mut dyn ActFunc,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `ml` (lib test) generated 12 warnings (10 duplicates) (run `cargo fix --lib -p ml --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ml-9720dad79d26134a)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test loss::tests::mse_eval ... ok
[INFO] [stdout] test loss::tests::mse_grads ... ok
[INFO] [stdout] test models::classification::knn::tests::k1_basic_knn ... ok
[INFO] [stdout] test tests::it_works ... ok
[INFO] [stdout] test models::classification::knn::tests::k2_basic_knn ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- models::classification::knn::tests::k2_basic_knn stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'models::classification::knn::tests::k2_basic_knn' (21) panicked at src/models/classification/knn.rs:107:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 3
[INFO] [stdout]  right: 1
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x600b017f686a - std[fce30c26ee6459b]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x600b017f686a - std[fce30c26ee6459b]::backtrace_rs::backtrace::trace_unsynchronized::<std[fce30c26ee6459b]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x600b017f686a - std[fce30c26ee6459b]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x600b017f686a - <<std[fce30c26ee6459b]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[d17f6591d688f3bd]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x600b0180b16a - <core[d17f6591d688f3bd]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x600b0180b16a - core[d17f6591d688f3bd]::fmt::write
[INFO] [stdout]    6:     0x600b017fb0a2 - std[fce30c26ee6459b]::io::default_write_fmt::<alloc[dad09f3a48280dba]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/io/mod.rs:621:11
[INFO] [stdout]    7:     0x600b017fb0a2 - <alloc[dad09f3a48280dba]::vec::Vec<u8> as std[fce30c26ee6459b]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/io/mod.rs:1976:13
[INFO] [stdout]    8:     0x600b017d56df - <std[fce30c26ee6459b]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x600b017d56df - std[fce30c26ee6459b]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x600b017eec59 - std[fce30c26ee6459b]::panicking::default_hook
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x600b0178a2bc - <alloc[dad09f3a48280dba]::boxed::Box<dyn for<'a, 'b> core[d17f6591d688f3bd]::ops::function::Fn<(&'a std[fce30c26ee6459b]::panic::PanicHookInfo<'b>,), Output = ()> + core[d17f6591d688f3bd]::marker::Sync + core[d17f6591d688f3bd]::marker::Send> as core[d17f6591d688f3bd]::ops::function::Fn<(&std[fce30c26ee6459b]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   12:     0x600b0178a2bc - test[9653f4f1d2ca1489]::test_main_inner::<test[9653f4f1d2ca1489]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x600b017eee12 - <alloc[dad09f3a48280dba]::boxed::Box<dyn for<'a, 'b> core[d17f6591d688f3bd]::ops::function::Fn<(&'a std[fce30c26ee6459b]::panic::PanicHookInfo<'b>,), Output = ()> + core[d17f6591d688f3bd]::marker::Sync + core[d17f6591d688f3bd]::marker::Send> as core[d17f6591d688f3bd]::ops::function::Fn<(&std[fce30c26ee6459b]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/alloc/src/boxed.rs:2285:9
[INFO] [stdout]   14:     0x600b017eee12 - std[fce30c26ee6459b]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x600b017d5798 - std[fce30c26ee6459b]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x600b017ca9a9 - std[fce30c26ee6459b]::sys::backtrace::__rust_end_short_backtrace::<std[fce30c26ee6459b]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x600b017d64ad - __rustc[de152adb51f02556]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x600b0180b8bc - core[d17f6591d688f3bd]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x600b0180b773 - core[d17f6591d688f3bd]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x600b017ca925 - core[d17f6591d688f3bd]::panicking::assert_failed::<i32, i32>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x600b01774604 - ml[517032bb89c63714]::models::classification::knn::tests::k2_basic_knn
[INFO] [stdout]                                at /opt/rustwide/workdir/src/models/classification/knn.rs:107:9
[INFO] [stdout]   22:     0x600b0176eb27 - ml[517032bb89c63714]::models::classification::knn::tests::k2_basic_knn::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/models/classification/knn.rs:91:22
[INFO] [stdout]   23:     0x600b0177d436 - <ml[517032bb89c63714]::models::classification::knn::tests::k2_basic_knn::{closure#0} as core[d17f6591d688f3bd]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x600b0177d59b - <fn() -> core[d17f6591d688f3bd]::result::Result<(), alloc[dad09f3a48280dba]::string::String> as core[d17f6591d688f3bd]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x600b0177d59b - test[9653f4f1d2ca1489]::__rust_begin_short_backtrace::<core[d17f6591d688f3bd]::result::Result<(), alloc[dad09f3a48280dba]::string::String>, fn() -> core[d17f6591d688f3bd]::result::Result<(), alloc[dad09f3a48280dba]::string::String>>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/test/src/lib.rs:724:18
[INFO] [stdout]   26:     0x600b0178ad8b - test[9653f4f1d2ca1489]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/test/src/lib.rs:747:74
[INFO] [stdout]   27:     0x600b0178ad8b - <core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<test[9653f4f1d2ca1489]::run_test_in_process::{closure#0}> as core[d17f6591d688f3bd]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   28:     0x600b0178ad8b - std[fce30c26ee6459b]::panicking::catch_unwind::do_call::<core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<test[9653f4f1d2ca1489]::run_test_in_process::{closure#0}>, core[d17f6591d688f3bd]::result::Result<(), alloc[dad09f3a48280dba]::string::String>>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x600b0178ad8b - std[fce30c26ee6459b]::panicking::catch_unwind::<core[d17f6591d688f3bd]::result::Result<(), alloc[dad09f3a48280dba]::string::String>, core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<test[9653f4f1d2ca1489]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x600b0178ad8b - std[fce30c26ee6459b]::panic::catch_unwind::<core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<test[9653f4f1d2ca1489]::run_test_in_process::{closure#0}>, core[d17f6591d688f3bd]::result::Result<(), alloc[dad09f3a48280dba]::string::String>>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x600b0178ad8b - test[9653f4f1d2ca1489]::run_test_in_process
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/test/src/lib.rs:747:27
[INFO] [stdout]   32:     0x600b0178ad8b - test[9653f4f1d2ca1489]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/test/src/lib.rs:668:43
[INFO] [stdout]   33:     0x600b017844a4 - test[9653f4f1d2ca1489]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/test/src/lib.rs:698:41
[INFO] [stdout]   34:     0x600b017844a4 - std[fce30c26ee6459b]::sys::backtrace::__rust_begin_short_backtrace::<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x600b0178d992 - std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked::<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   36:     0x600b0178d992 - <core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[d17f6591d688f3bd]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   37:     0x600b0178d992 - std[fce30c26ee6459b]::panicking::catch_unwind::do_call::<core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x600b0178d992 - std[fce30c26ee6459b]::panicking::catch_unwind::<(), core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x600b0178d992 - std[fce30c26ee6459b]::panic::catch_unwind::<core[d17f6591d688f3bd]::panic::unwind_safe::AssertUnwindSafe<std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x600b0178d992 - std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked::<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   41:     0x600b0178d992 - <std[fce30c26ee6459b]::thread::lifecycle::spawn_unchecked<test[9653f4f1d2ca1489]::run_test::{closure#1}, ()>::{closure#1} as core[d17f6591d688f3bd]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x600b017f617f - <alloc[dad09f3a48280dba]::boxed::Box<dyn core[d17f6591d688f3bd]::ops::function::FnOnce<(), Output = ()> + core[d17f6591d688f3bd]::marker::Send> as core[d17f6591d688f3bd]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/alloc/src/boxed.rs:2271:9
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout]   43:     0x600b017f617f - <std[fce30c26ee6459b]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/b8e88e5ddf5521a9f43ee3f62a702388c713e4bb/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   44:     0x7b00706e7aa4 - <unknown>
[INFO] [stdout]   45:     0x7b0070774a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     models::classification::knn::tests::k2_basic_knn
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "05dc0cf3819da3eb2d9416822542204cb14eabd4759ce7a4c30f231d60ac91ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05dc0cf3819da3eb2d9416822542204cb14eabd4759ce7a4c30f231d60ac91ca", kill_on_drop: false }`
[INFO] [stdout] 05dc0cf3819da3eb2d9416822542204cb14eabd4759ce7a4c30f231d60ac91ca
