[INFO] fetching crate rml 0.1.1...
[INFO] testing rml-0.1.1 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate rml 0.1.1 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rml 0.1.1 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ae127545efd043d7bc1f2bd3851a631d078c97ab4c42f814e33019514b68820e
[INFO] running `Command { std: "docker" "start" "-a" "ae127545efd043d7bc1f2bd3851a631d078c97ab4c42f814e33019514b68820e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ae127545efd043d7bc1f2bd3851a631d078c97ab4c42f814e33019514b68820e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae127545efd043d7bc1f2bd3851a631d078c97ab4c42f814e33019514b68820e", kill_on_drop: false }`
[INFO] [stdout] ae127545efd043d7bc1f2bd3851a631d078c97ab4c42f814e33019514b68820e
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 595a6a9bc902ae88d22d7e0e099eacb372dbfab5be60667185420f894b21e92c
[INFO] running `Command { std: "docker" "start" "-a" "595a6a9bc902ae88d22d7e0e099eacb372dbfab5be60667185420f894b21e92c", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling libc v0.2.100
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling memchr v2.4.1
[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 csv-core v0.1.10
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[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 12.12s
[INFO] running `Command { std: "docker" "inspect" "595a6a9bc902ae88d22d7e0e099eacb372dbfab5be60667185420f894b21e92c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "595a6a9bc902ae88d22d7e0e099eacb372dbfab5be60667185420f894b21e92c", kill_on_drop: false }`
[INFO] [stdout] 595a6a9bc902ae88d22d7e0e099eacb372dbfab5be60667185420f894b21e92c
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 47c523ba02a29374098e3e09bca1fe7d208ae295297a38e65307b8da771eca3c
[INFO] running `Command { std: "docker" "start" "-a" "47c523ba02a29374098e3e09bca1fe7d208ae295297a38e65307b8da771eca3c", kill_on_drop: false }`
[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] [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 1.25s
[INFO] running `Command { std: "docker" "inspect" "47c523ba02a29374098e3e09bca1fe7d208ae295297a38e65307b8da771eca3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47c523ba02a29374098e3e09bca1fe7d208ae295297a38e65307b8da771eca3c", kill_on_drop: false }`
[INFO] [stdout] 47c523ba02a29374098e3e09bca1fe7d208ae295297a38e65307b8da771eca3c
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 64dc450345667f3a2b4b00a2a9b6782e2cb6cce3693b4117b591166e271772ee
[INFO] running `Command { std: "docker" "start" "-a" "64dc450345667f3a2b4b00a2a9b6782e2cb6cce3693b4117b591166e271772ee", 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.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/rml/2a463814278b4b65/deps/rml-2a463814278b4b65)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test math::norm::tests::l1_norm_test ... ok
[INFO] [stdout] test math::distance::tests::manhattan_distance_test ... ok
[INFO] [stdout] test math::norm::tests::l2_norm_test ... ok
[INFO] [stdout] test knn::tests::normalize_data_test ... ok
[INFO] [stdout] test math::norm::tests::normalize_vector_test ... ok
[INFO] [stdout] test knn::tests::calculate_distances_test ... ok
[INFO] [stdout] test math::distance::tests::euclidean_distance_test ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rml
[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: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[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/distance.rs - math::distance::manhattan_distance (line 48) ... FAILED
[INFO] [stdout] test src/math/distance.rs - math::distance::euclidean_distance (line 31) ... FAILED
[INFO] [stdout] test src/knn.rs - knn (line 23) ... FAILED
[INFO] [stdout] test src/math/norm.rs - math::norm::l2_norm (line 29) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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/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/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] ---- 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::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] 
[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.26s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "64dc450345667f3a2b4b00a2a9b6782e2cb6cce3693b4117b591166e271772ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64dc450345667f3a2b4b00a2a9b6782e2cb6cce3693b4117b591166e271772ee", kill_on_drop: false }`
[INFO] [stdout] 64dc450345667f3a2b4b00a2a9b6782e2cb6cce3693b4117b591166e271772ee
