[INFO] fetching crate rml 0.1.1... [INFO] testing rml-0.1.1 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate rml 0.1.1 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rml 0.1.1 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d267659b59fb266c5edc90a14d8f28e4b7f5bce70ab858cb05d9c68b14aa2ff [INFO] running `Command { std: "docker" "start" "-a" "8d267659b59fb266c5edc90a14d8f28e4b7f5bce70ab858cb05d9c68b14aa2ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d267659b59fb266c5edc90a14d8f28e4b7f5bce70ab858cb05d9c68b14aa2ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d267659b59fb266c5edc90a14d8f28e4b7f5bce70ab858cb05d9c68b14aa2ff", kill_on_drop: false }` [INFO] [stdout] 8d267659b59fb266c5edc90a14d8f28e4b7f5bce70ab858cb05d9c68b14aa2ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 420ba820bbe8b98f117afe428efee514dc14012c2a8abf33909be8c1e2780077 [INFO] running `Command { std: "docker" "start" "-a" "420ba820bbe8b98f117afe428efee514dc14012c2a8abf33909be8c1e2780077", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling ryu v1.0.5 [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 memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [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 9.63s [INFO] running `Command { std: "docker" "inspect" "420ba820bbe8b98f117afe428efee514dc14012c2a8abf33909be8c1e2780077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "420ba820bbe8b98f117afe428efee514dc14012c2a8abf33909be8c1e2780077", kill_on_drop: false }` [INFO] [stdout] 420ba820bbe8b98f117afe428efee514dc14012c2a8abf33909be8c1e2780077 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20a329d487e052319cdd734c482e53bb0785e0c53f31ac4148837413ff72289f [INFO] running `Command { std: "docker" "start" "-a" "20a329d487e052319cdd734c482e53bb0785e0c53f31ac4148837413ff72289f", 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.13s [INFO] running `Command { std: "docker" "inspect" "20a329d487e052319cdd734c482e53bb0785e0c53f31ac4148837413ff72289f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20a329d487e052319cdd734c482e53bb0785e0c53f31ac4148837413ff72289f", kill_on_drop: false }` [INFO] [stdout] 20a329d487e052319cdd734c482e53bb0785e0c53f31ac4148837413ff72289f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f74e50c85d59a5028c6c7824975ec751a505d36570eaa749aaf0e2705161019a [INFO] running `Command { std: "docker" "start" "-a" "f74e50c85d59a5028c6c7824975ec751a505d36570eaa749aaf0e2705161019a", 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.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rml-69aae593c33db45e) [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::distance::tests::euclidean_distance_test ... ok [INFO] [stdout] test knn::tests::normalize_data_test ... ok [INFO] [stdout] test math::norm::tests::normalize_vector_test ... ok [INFO] [stdout] test math::norm::tests::l2_norm_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.02s [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/distance.rs - math::distance::manhattan_distance (line 48) ... FAILED [INFO] [stdout] test src/math/norm.rs - math::norm::normalize_vector (line 53) ... 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] test src/math/distance.rs - math::distance::euclidean_distance (line 31) ... 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] 4 | println!("{}", l1_norm(&p)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + 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/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] 5 | 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] 2 + 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/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] 4 | 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] 2 + 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] 4 | 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] 2 + 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/knn.rs - knn (line 23) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `CSVOutput` in this scope [INFO] [stdout] --> src/knn.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 6 | let training_data: CSVOutput = (Vec::new, Vec::new); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CSVOutput` in this scope [INFO] [stdout] --> src/knn.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 10 | 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] 2 + mod knn; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rml::knn::KNN; [INFO] [stdout] | [INFO] [stdout] help: if you import `KNN`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 10 - let knn = knn::KNN::new( [INFO] [stdout] 10 + 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] 15 | 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] 2 + mod math; [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use rml::math::norm::Norm; [INFO] [stdout] | [INFO] [stdout] help: if you import `Norm`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 15 - Some(math::norm::Norm::L2), // L2 Normalization [INFO] [stdout] 15 + 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: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] 4 | println!("{}", l2_norm(&p)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + 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] 5 | 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] 2 + 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.27s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f74e50c85d59a5028c6c7824975ec751a505d36570eaa749aaf0e2705161019a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f74e50c85d59a5028c6c7824975ec751a505d36570eaa749aaf0e2705161019a", kill_on_drop: false }` [INFO] [stdout] f74e50c85d59a5028c6c7824975ec751a505d36570eaa749aaf0e2705161019a