[INFO] fetching crate rml 0.1.1...
[INFO] testing rml-0.1.1 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate rml 0.1.1 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate rml 0.1.1
[INFO] removed 1 missing examples
[INFO] finished tweaking crates.io crate rml 0.1.1
[INFO] tweaked toml for crates.io crate rml 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rml 0.1.1 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rml 0.1.1 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded itoa v0.4.7
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.5
[INFO] [stderr]   Downloaded crossbeam-deque v0.8.1
[INFO] [stderr]   Downloaded csv-core v0.1.10
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.5
[INFO] [stderr]   Downloaded serde v1.0.127
[INFO] [stderr]   Downloaded ryu v1.0.5
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.1
[INFO] [stderr]   Downloaded rayon v1.5.1
[INFO] [stderr]   Downloaded rayon-core v1.9.1
[INFO] [stderr]   Downloaded bstr v0.2.16
[INFO] [stderr]   Downloaded libc v0.2.100
[INFO] [stderr]   Downloaded csv v1.1.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a6e6f59a96c51ed86c9d38748384782b2350f6cfb8a3a7a0990bc8909e075176
[INFO] running `Command { std: "docker" "start" "-a" "a6e6f59a96c51ed86c9d38748384782b2350f6cfb8a3a7a0990bc8909e075176", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a6e6f59a96c51ed86c9d38748384782b2350f6cfb8a3a7a0990bc8909e075176", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6e6f59a96c51ed86c9d38748384782b2350f6cfb8a3a7a0990bc8909e075176", kill_on_drop: false }`
[INFO] [stdout] a6e6f59a96c51ed86c9d38748384782b2350f6cfb8a3a7a0990bc8909e075176
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 06783defcc15ca2336039a38827a1732207a3893e65a4b8f81a947394a02dcbf
[INFO] running `Command { std: "docker" "start" "-a" "06783defcc15ca2336039a38827a1732207a3893e65a4b8f81a947394a02dcbf", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling libc v0.2.100
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling serde v1.0.127
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling bstr v0.2.16
[INFO] [stderr]    Compiling csv v1.1.6
[INFO] [stderr]    Compiling rml v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> src/math/distance.rs:37:56
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let distance: f64 = q.iter().zip(p).map(|(&q, &p)| (f64::powi(q - p, 2))).sum();
[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] 37 -     let distance: f64 = q.iter().zip(p).map(|(&q, &p)| (f64::powi(q - p, 2))).sum();
[INFO] [stdout] 37 +     let distance: f64 = q.iter().zip(p).map(|(&q, &p)| f64::powi(q - p, 2)).sum();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.69s
[INFO] running `Command { std: "docker" "inspect" "06783defcc15ca2336039a38827a1732207a3893e65a4b8f81a947394a02dcbf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "06783defcc15ca2336039a38827a1732207a3893e65a4b8f81a947394a02dcbf", kill_on_drop: false }`
[INFO] [stdout] 06783defcc15ca2336039a38827a1732207a3893e65a4b8f81a947394a02dcbf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c82b94183c028e2ad2f6abb1caa355da88dc61a108a9800cd1c3e3d6c7abb4fb
[INFO] running `Command { std: "docker" "start" "-a" "c82b94183c028e2ad2f6abb1caa355da88dc61a108a9800cd1c3e3d6c7abb4fb", kill_on_drop: false }`
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> src/math/distance.rs:37:56
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let distance: f64 = q.iter().zip(p).map(|(&q, &p)| (f64::powi(q - p, 2))).sum();
[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] 37 -     let distance: f64 = q.iter().zip(p).map(|(&q, &p)| (f64::powi(q - p, 2))).sum();
[INFO] [stdout] 37 +     let distance: f64 = q.iter().zip(p).map(|(&q, &p)| f64::powi(q - p, 2)).sum();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rml v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> src/math/distance.rs:37:56
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let distance: f64 = q.iter().zip(p).map(|(&q, &p)| (f64::powi(q - p, 2))).sum();
[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] 37 -     let distance: f64 = q.iter().zip(p).map(|(&q, &p)| (f64::powi(q - p, 2))).sum();
[INFO] [stdout] 37 +     let distance: f64 = q.iter().zip(p).map(|(&q, &p)| f64::powi(q - p, 2)).sum();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.87s
[INFO] running `Command { std: "docker" "inspect" "c82b94183c028e2ad2f6abb1caa355da88dc61a108a9800cd1c3e3d6c7abb4fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c82b94183c028e2ad2f6abb1caa355da88dc61a108a9800cd1c3e3d6c7abb4fb", kill_on_drop: false }`
[INFO] [stdout] c82b94183c028e2ad2f6abb1caa355da88dc61a108a9800cd1c3e3d6c7abb4fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ab3e04a7393465ee0849155bd51efa3f18cba66c93cd986395d86dd905eaeeb5
[INFO] running `Command { std: "docker" "start" "-a" "ab3e04a7393465ee0849155bd51efa3f18cba66c93cd986395d86dd905eaeeb5", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]   --> src/math/distance.rs:37:56
[INFO] [stderr]    |
[INFO] [stderr] 37 |     let distance: f64 = q.iter().zip(p).map(|(&q, &p)| (f64::powi(q - p, 2))).sum();
[INFO] [stderr]    |                                                        ^                   ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 37 -     let distance: f64 = q.iter().zip(p).map(|(&q, &p)| (f64::powi(q - p, 2))).sum();
[INFO] [stderr] 37 +     let distance: f64 = q.iter().zip(p).map(|(&q, &p)| f64::powi(q - p, 2)).sum();
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: `rml` (lib) generated 1 warning (run `cargo fix --lib -p rml` to apply 1 suggestion)
[INFO] [stderr] warning: `rml` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rml-2a463814278b4b65)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test knn::tests::normalize_data_test ... ok
[INFO] [stdout] test math::distance::tests::euclidean_distance_test ... ok
[INFO] [stdout] test math::distance::tests::manhattan_distance_test ... ok
[INFO] [stdout] test math::norm::tests::l1_norm_test ... ok
[INFO] [stdout] test math::norm::tests::l2_norm_test ... ok
[INFO] [stdout] test math::norm::tests::normalize_vector_test ... ok
[INFO] [stdout] test knn::tests::calculate_distances_test ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rml
[INFO] [stdout] 
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stdout] running 6 tests
[INFO] [stderr]   --> src/math/distance.rs:37:56
[INFO] [stderr]    |
[INFO] [stderr] 37 |     let distance: f64 = q.iter().zip(p).map(|(&q, &p)| (f64::powi(q - p, 2))).sum();
[INFO] [stderr]    |                                                        ^                   ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 37 -     let distance: f64 = q.iter().zip(p).map(|(&q, &p)| (f64::powi(q - p, 2))).sum();
[INFO] [stderr] 37 +     let distance: f64 = q.iter().zip(p).map(|(&q, &p)| f64::powi(q - p, 2)).sum();
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] test src/math/distance.rs - math::distance::manhattan_distance (line 48) ... FAILED
[INFO] [stdout] test src/knn.rs - knn (line 23) ... FAILED
[INFO] [stdout] test src/math/norm.rs - math::norm::l1_norm (line 41) ... FAILED
[INFO] [stdout] test src/math/norm.rs - math::norm::normalize_vector (line 53) ... FAILED
[INFO] [stdout] test src/math/norm.rs - math::norm::l2_norm (line 29) ... FAILED
[INFO] [stdout] test src/math/distance.rs - math::distance::euclidean_distance (line 31) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/math/distance.rs - math::distance::manhattan_distance (line 48) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `manhattan_distance` in this scope
[INFO] [stdout]   --> src/math/distance.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 51 | println!("{}", manhattan_distance(&x, &y))
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 48 + use rml::math::distance::manhattan_distance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/knn.rs - knn (line 23) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `CSVOutput` in this scope
[INFO] [stdout]   --> src/knn.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 | let training_data: CSVOutput = (Vec::new, Vec::new);
[INFO] [stdout]    |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CSVOutput` in this scope
[INFO] [stdout]   --> src/knn.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 | let testing_data: CSVOutput = (Vec::new, Vec::new);
[INFO] [stdout]    |                   ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `knn`
[INFO] [stdout]   --> src/knn.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | let knn = knn::KNN::new(
[INFO] [stdout]    |           ^^^ use of unresolved module or unlinked crate `knn`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/knn.rs, use `mod knn` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 23 + mod knn;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 23 + use rml::knn::KNN;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `KNN`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 31 - let knn = knn::KNN::new(
[INFO] [stdout] 31 + let knn = KNN::new(
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `math`
[INFO] [stdout]   --> src/knn.rs:36:6
[INFO] [stdout]    |
[INFO] [stdout] 36 | Some(math::norm::Norm::L2), // L2 Normalization
[INFO] [stdout]    |      ^^^^ use of unresolved module or unlinked crate `math`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/math/mod.rs, use `mod math` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 23 + mod math;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 23 + use rml::math::norm::Norm;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Norm`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 36 - Some(math::norm::Norm::L2), // L2 Normalization
[INFO] [stdout] 36 + Some(Norm::L2), // L2 Normalization
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/norm.rs - math::norm::l1_norm (line 41) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `l1_norm` in this scope
[INFO] [stdout]   --> src/math/norm.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 | println!("{}", l1_norm(&p));
[INFO] [stdout]    |                ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 41 + use rml::math::norm::l1_norm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/norm.rs - math::norm::normalize_vector (line 53) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `normalize_vector` in this scope
[INFO] [stdout]   --> src/math/norm.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 55 | println!("{:?}", normalize_vector(&mut p, &Norm::L2));
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 53 + use rml::math::norm::normalize_vector;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Norm`
[INFO] [stdout]   --> src/math/norm.rs:55:44
[INFO] [stdout]    |
[INFO] [stdout] 55 | println!("{:?}", normalize_vector(&mut p, &Norm::L2));
[INFO] [stdout]    |                                            ^^^^ use of undeclared type `Norm`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 53 + use rml::math::norm::Norm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/norm.rs - math::norm::l2_norm (line 29) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `l2_norm` in this scope
[INFO] [stdout]   --> src/math/norm.rs:31:16
[INFO] [stdout]    |
[INFO] [stdout] 31 | println!("{}", l2_norm(&p));
[INFO] [stdout]    |                ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 29 + use rml::math::norm::l2_norm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/math/distance.rs - math::distance::euclidean_distance (line 31) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `euclidean_distance` in this scope
[INFO] [stdout]   --> src/math/distance.rs:34:16
[INFO] [stdout]    |
[INFO] [stdout] 34 | println!("{}", euclidean_distance(&x, &y))
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 31 + use rml::math::distance::euclidean_distance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/knn.rs - knn (line 23)
[INFO] [stdout]     src/math/distance.rs - math::distance::euclidean_distance (line 31)
[INFO] [stdout]     src/math/distance.rs - math::distance::manhattan_distance (line 48)
[INFO] [stdout]     src/math/norm.rs - math::norm::l1_norm (line 41)
[INFO] [stdout]     src/math/norm.rs - math::norm::l2_norm (line 29)
[INFO] [stdout]     src/math/norm.rs - math::norm::normalize_vector (line 53)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ab3e04a7393465ee0849155bd51efa3f18cba66c93cd986395d86dd905eaeeb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab3e04a7393465ee0849155bd51efa3f18cba66c93cd986395d86dd905eaeeb5", kill_on_drop: false }`
[INFO] [stdout] ab3e04a7393465ee0849155bd51efa3f18cba66c93cd986395d86dd905eaeeb5
