[INFO] fetching crate fast-kd 0.1.1...
[INFO] testing fast-kd-0.1.1 against beta-2022-04-10 for beta-1.61-1
[INFO] extracting crate fast-kd 0.1.1 into /workspace/builds/worker-10/source
[INFO] validating manifest of crates.io crate fast-kd 0.1.1 on toolchain beta-2022-04-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate fast-kd 0.1.1
[INFO] finished tweaking crates.io crate fast-kd 0.1.1
[INFO] tweaked toml for crates.io crate fast-kd 0.1.1 written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f9dbd71389447ac706800b4b57ba82b5b643650d004775430e0d9ffa08553c5d
[INFO] running `Command { std: "docker" "start" "-a" "f9dbd71389447ac706800b4b57ba82b5b643650d004775430e0d9ffa08553c5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f9dbd71389447ac706800b4b57ba82b5b643650d004775430e0d9ffa08553c5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9dbd71389447ac706800b4b57ba82b5b643650d004775430e0d9ffa08553c5d", kill_on_drop: false }`
[INFO] [stdout] f9dbd71389447ac706800b4b57ba82b5b643650d004775430e0d9ffa08553c5d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 286a1bb79f8f257017e9c020bead470a72cb71af7fdf13f9b97797300fe47e68
[INFO] running `Command { std: "docker" "start" "-a" "286a1bb79f8f257017e9c020bead470a72cb71af7fdf13f9b97797300fe47e68", kill_on_drop: false }`
[INFO] [stderr] Compiling libm v0.2.2
[INFO] [stderr] Compiling num-traits v0.2.14
[INFO] [stderr] Compiling ordered-float v2.10.0
[INFO] [stderr] Compiling fast-kd v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.08s
[INFO] running `Command { std: "docker" "inspect" "286a1bb79f8f257017e9c020bead470a72cb71af7fdf13f9b97797300fe47e68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "286a1bb79f8f257017e9c020bead470a72cb71af7fdf13f9b97797300fe47e68", kill_on_drop: false }`
[INFO] [stdout] 286a1bb79f8f257017e9c020bead470a72cb71af7fdf13f9b97797300fe47e68
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] db3f3fffd346a5b61cdecafcb1cc327e4c23cd1858a11e576661668a0c1d50b8
[INFO] running `Command { std: "docker" "start" "-a" "db3f3fffd346a5b61cdecafcb1cc327e4c23cd1858a11e576661668a0c1d50b8", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Compiling semver v1.0.7
[INFO] [stderr] Compiling memchr v2.4.1
[INFO] [stderr] Compiling syn v1.0.91
[INFO] [stderr] Compiling plotters-backend v0.3.2
[INFO] [stderr] Compiling stable_deref_trait v1.2.0
[INFO] [stderr] Compiling same-file v1.0.6
[INFO] [stderr] Compiling oorandom v11.1.3
[INFO] [stderr] Compiling clap v2.34.0
[INFO] [stderr] Compiling serde_json v1.0.79
[INFO] [stderr] Compiling serde_cbor v0.11.2
[INFO] [stderr] Compiling kdtree v0.6.0
[INFO] [stderr] Compiling rayon v1.5.1
[INFO] [stderr] Compiling rand_distr v0.4.3
[INFO] [stderr] Compiling as-slice v0.2.1
[INFO] [stderr] Compiling walkdir v2.3.2
[INFO] [stderr] Compiling aligned v0.4.0
[INFO] [stderr] Compiling plotters-svg v0.3.1
[INFO] [stderr] Compiling plotters v0.3.1
[INFO] [stderr] Compiling rustc_version v0.4.0
[INFO] [stderr] Compiling bstr v0.2.17
[INFO] [stderr] Compiling csv-core v0.1.10
[INFO] [stderr] Compiling tinytemplate v1.2.1
[INFO] [stderr] Compiling cast v0.2.7
[INFO] [stderr] Compiling csv v1.1.6
[INFO] [stderr] Compiling criterion-plot v0.4.4
[INFO] [stderr] Compiling serde_derive v1.0.136
[INFO] [stderr] Compiling criterion v0.3.5
[INFO] [stderr] Compiling fast-kd v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.12s
[INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/fast_kd-d615f79aaa60a06e)
[INFO] running `Command { std: "docker" "inspect" "db3f3fffd346a5b61cdecafcb1cc327e4c23cd1858a11e576661668a0c1d50b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db3f3fffd346a5b61cdecafcb1cc327e4c23cd1858a11e576661668a0c1d50b8", kill_on_drop: false }`
[INFO] [stdout] db3f3fffd346a5b61cdecafcb1cc327e4c23cd1858a11e576661668a0c1d50b8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] fb35322c9a34cf6aebca5c242f71956600663c25789f86c83895ef42ce684325
[INFO] running `Command { std: "docker" "start" "-a" "fb35322c9a34cf6aebca5c242f71956600663c25789f86c83895ef42ce684325", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.10s
[INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fast_kd-d615f79aaa60a06e)
[INFO] [stdout]
[INFO] [stdout] running 5 tests
[INFO] [stdout] test util::tests::distance_to_half_space ... ok
[INFO] [stdout] test util::tests::test_distance_inside_normal ... ok
[INFO] [stdout] test util::tests::test_distance_inside_inf ... ok
[INFO] [stdout] test util::tests::test_distance_outside_inf ... ok
[INFO] [stdout] test util::tests::test_normal_distance_to_space ... ok
[INFO] [stdout]
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout]
[INFO] [stderr] Doc-tests fast-kd
[INFO] [stdout]
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/kdtree.rs - kdtree::KdTree::add (line 171) ... FAILED
[INFO] [stdout] test src/distance.rs - distance::squared_euclidean (line 23) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 21) ... FAILED
[INFO] [stdout]
[INFO] [stdout] failures:
[INFO] [stdout]
[INFO] [stdout] ---- src/kdtree.rs - kdtree::KdTree::add (line 171) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `kiddo`
[INFO] [stdout] --> src/kdtree.rs:172:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use kiddo::KdTree;
[INFO] [stdout] | ^^^^^ use of undeclared crate or module `kiddo`
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout] --> src/kdtree.rs:176:27
[INFO] [stdout] |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_kdtree_rs_171_0() {
[INFO] [stdout] | ______________________________________-
[INFO] [stdout] 3 | | use kiddo::KdTree;
[INFO] [stdout] 4 | |
[INFO] [stdout] 5 | | let mut tree: KdTree = KdTree::new();
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | tree.add(&[1.0, 2.0, 5.0])?;
[INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ... |
[INFO] [stdout] 10 | | assert_eq!(tree.size(), 2);
[INFO] [stdout] 11 | | } _doctest_main_src_kdtree_rs_171_0() }
[INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout] --> src/kdtree.rs:177:27
[INFO] [stdout] |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_kdtree_rs_171_0() {
[INFO] [stdout] | ______________________________________-
[INFO] [stdout] 3 | | use kiddo::KdTree;
[INFO] [stdout] 4 | |
[INFO] [stdout] 5 | | let mut tree: KdTree = KdTree::new();
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | tree.add(&[1.1, 2.1, 5.1])?;
[INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | |
[INFO] [stdout] 10 | | assert_eq!(tree.size(), 2);
[INFO] [stdout] 11 | | } _doctest_main_src_kdtree_rs_171_0() }
[INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/distance.rs - distance::squared_euclidean (line 23) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kiddo`
[INFO] [stdout] --> src/distance.rs:24:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use kiddo::distance::squared_euclidean;
[INFO] [stdout] | ^^^^^ use of undeclared crate or module `kiddo`
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function `squared_euclidean` in this scope
[INFO] [stdout] --> src/distance.rs:26:16
[INFO] [stdout] |
[INFO] [stdout] 5 | assert!(0.0 == squared_euclidean(&[0.0, 0.0], &[0.0, 0.0]));
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout] |
[INFO] [stdout] 2 | use fast_kd::distance::squared_euclidean;
[INFO] [stdout] |
[INFO] [stdout] 2 | use kdtree::distance::squared_euclidean;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function `squared_euclidean` in this scope
[INFO] [stdout] --> src/distance.rs:27:16
[INFO] [stdout] |
[INFO] [stdout] 6 | assert!(2.0 == squared_euclidean(&[0.0, 0.0], &[1.0, 1.0]));
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout] |
[INFO] [stdout] 2 | use fast_kd::distance::squared_euclidean;
[INFO] [stdout] |
[INFO] [stdout] 2 | use kdtree::distance::squared_euclidean;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function `squared_euclidean` in this scope
[INFO] [stdout] --> src/distance.rs:28:16
[INFO] [stdout] |
[INFO] [stdout] 7 | assert!(1.0 == squared_euclidean(&[0.0, 0.0], &[1.0, 0.0]));
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout] |
[INFO] [stdout] 2 | use fast_kd::distance::squared_euclidean;
[INFO] [stdout] |
[INFO] [stdout] 2 | use kdtree::distance::squared_euclidean;
[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/lib.rs - (line 21) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `kiddo`
[INFO] [stdout] --> src/lib.rs:22:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use kiddo::KdTree;
[INFO] [stdout] | ^^^^^ use of undeclared crate or module `kiddo`
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kiddo`
[INFO] [stdout] --> src/lib.rs:24:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use kiddo::distance::squared_euclidean;
[INFO] [stdout] | ^^^^^ use of undeclared crate or module `kiddo`
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved import `kiddo`
[INFO] [stdout] --> src/lib.rs:23:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use kiddo::ErrorKind;
[INFO] [stdout] | ^^^^^ use of undeclared crate or module `kiddo`
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kiddo`
[INFO] [stdout] --> src/lib.rs:67:10
[INFO] [stdout] |
[INFO] [stdout] 48 | Ok::<(), kiddo::ErrorKind>(())
[INFO] [stdout] | ^^^^^ use of undeclared crate or module `kiddo`
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `squared_euclidean` in this scope
[INFO] [stdout] --> src/lib.rs:40:30
[INFO] [stdout] |
[INFO] [stdout] 21 | kdtree.nearest(&a.0, 0, &squared_euclidean)?,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout] |
[INFO] [stdout] 2 | use fast_kd::distance::squared_euclidean;
[INFO] [stdout] |
[INFO] [stdout] 2 | use kdtree::distance::squared_euclidean;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `squared_euclidean` in this scope
[INFO] [stdout] --> src/lib.rs:44:30
[INFO] [stdout] |
[INFO] [stdout] 25 | kdtree.nearest(&a.0, 1, &squared_euclidean)?,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout] |
[INFO] [stdout] 2 | use fast_kd::distance::squared_euclidean;
[INFO] [stdout] |
[INFO] [stdout] 2 | use kdtree::distance::squared_euclidean;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `squared_euclidean` in this scope
[INFO] [stdout] --> src/lib.rs:48:30
[INFO] [stdout] |
[INFO] [stdout] 29 | kdtree.nearest(&a.0, 2, &squared_euclidean)?,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout] |
[INFO] [stdout] 2 | use fast_kd::distance::squared_euclidean;
[INFO] [stdout] |
[INFO] [stdout] 2 | use kdtree::distance::squared_euclidean;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `squared_euclidean` in this scope
[INFO] [stdout] --> src/lib.rs:52:30
[INFO] [stdout] |
[INFO] [stdout] 33 | kdtree.nearest(&a.0, 3, &squared_euclidean)?,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout] |
[INFO] [stdout] 2 | use fast_kd::distance::squared_euclidean;
[INFO] [stdout] |
[INFO] [stdout] 2 | use kdtree::distance::squared_euclidean;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `squared_euclidean` in this scope
[INFO] [stdout] --> src/lib.rs:56:30
[INFO] [stdout] |
[INFO] [stdout] 37 | kdtree.nearest(&a.0, 4, &squared_euclidean)?,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout] |
[INFO] [stdout] 2 | use fast_kd::distance::squared_euclidean;
[INFO] [stdout] |
[INFO] [stdout] 2 | use kdtree::distance::squared_euclidean;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `squared_euclidean` in this scope
[INFO] [stdout] --> src/lib.rs:60:30
[INFO] [stdout] |
[INFO] [stdout] 41 | kdtree.nearest(&a.0, 5, &squared_euclidean)?,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout] |
[INFO] [stdout] 2 | use fast_kd::distance::squared_euclidean;
[INFO] [stdout] |
[INFO] [stdout] 2 | use kdtree::distance::squared_euclidean;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `squared_euclidean` in this scope
[INFO] [stdout] --> src/lib.rs:64:30
[INFO] [stdout] |
[INFO] [stdout] 45 | kdtree.nearest(&b.0, 4, &squared_euclidean)?,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout] |
[INFO] [stdout] 2 | use fast_kd::distance::squared_euclidean;
[INFO] [stdout] |
[INFO] [stdout] 2 | use kdtree::distance::squared_euclidean;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout]
[INFO] [stdout] failures:
[INFO] [stdout] src/distance.rs - distance::squared_euclidean (line 23)
[INFO] [stdout] src/kdtree.rs - kdtree::KdTree::add (line 171)
[INFO] [stdout] src/lib.rs - (line 21)
[INFO] [stdout]
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
[INFO] [stdout]
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "fb35322c9a34cf6aebca5c242f71956600663c25789f86c83895ef42ce684325", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb35322c9a34cf6aebca5c242f71956600663c25789f86c83895ef42ce684325", kill_on_drop: false }`
[INFO] [stdout] fb35322c9a34cf6aebca5c242f71956600663c25789f86c83895ef42ce684325