[INFO] fetching crate hnsw_rs_thousand_birds 0.1.20...
[INFO] checking hnsw_rs_thousand_birds-0.1.20 against master#4d1bd0db7f489b22c6d8aa2385937a95412c015b for pr-114682
[INFO] extracting crate hnsw_rs_thousand_birds 0.1.20 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate hnsw_rs_thousand_birds 0.1.20 on toolchain 4d1bd0db7f489b22c6d8aa2385937a95412c015b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate hnsw_rs_thousand_birds 0.1.20
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate hnsw_rs_thousand_birds 0.1.20
[INFO] tweaked toml for crates.io crate hnsw_rs_thousand_birds 0.1.20 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate crates.io crate hnsw_rs_thousand_birds 0.1.20 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" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sysctl v0.5.4
[INFO] [stderr]   Downloaded hdf5-derive v0.8.1
[INFO] [stderr]   Downloaded hdf5-types v0.8.1
[INFO] [stderr]   Downloaded thiserror-impl v1.0.44
[INFO] [stderr]   Downloaded thiserror v1.0.44
[INFO] [stderr]   Downloaded cpu-time v1.0.0
[INFO] [stderr]   Downloaded hdf5-sys v0.8.1
[INFO] [stderr]   Downloaded serde v1.0.177
[INFO] [stderr]   Downloaded simdeez v1.0.8
[INFO] [stderr]   Downloaded syn v2.0.27
[INFO] [stderr]   Downloaded serde_derive v1.0.177
[INFO] [stderr]   Downloaded regex-automata v0.3.3
[INFO] [stderr]   Downloaded libm v0.1.4
[INFO] [stderr]   Downloaded hdf5 v0.8.1
[INFO] [stderr]   Downloaded packed_simd_2 v0.3.8
[INFO] [stderr]   Downloaded skiplist v0.3.0
[INFO] [stderr]   Downloaded ascii v1.1.0
[INFO] [stderr]   Downloaded mmap-rs v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aace03d5234702e49ab4401e92e49d01fa5d3fd2c4930930765c30ba2e098d92
[INFO] running `Command { std: "docker" "start" "-a" "aace03d5234702e49ab4401e92e49d01fa5d3fd2c4930930765c30ba2e098d92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aace03d5234702e49ab4401e92e49d01fa5d3fd2c4930930765c30ba2e098d92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aace03d5234702e49ab4401e92e49d01fa5d3fd2c4930930765c30ba2e098d92", kill_on_drop: false }`
[INFO] [stdout] aace03d5234702e49ab4401e92e49d01fa5d3fd2c4930930765c30ba2e098d92
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 00fd11fa306f72cdd84623bb00b89d6453c9b87790414e575156470e27993ce7
[INFO] running `Command { std: "docker" "start" "-a" "00fd11fa306f72cdd84623bb00b89d6453c9b87790414e575156470e27993ce7", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling regex-syntax v0.7.4
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]     Checking smallvec v1.11.0
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling thiserror v1.0.44
[INFO] [stderr]    Compiling rustix v0.38.4
[INFO] [stderr]    Compiling ahash v0.8.3
[INFO] [stderr]    Compiling aho-corasick v1.0.2
[INFO] [stderr]     Checking lock_api v0.4.10
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling matrixmultiply v0.3.7
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling syn v2.0.27
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking bitflags v2.3.3
[INFO] [stderr]    Compiling serde v1.0.177
[INFO] [stderr]     Checking linux-raw-sys v0.4.3
[INFO] [stderr]    Compiling regex-automata v0.3.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_pcg v0.2.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking walkdir v2.3.3
[INFO] [stderr]     Checking crossbeam-channel v0.5.8
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking bytes v1.4.0
[INFO] [stderr]    Compiling hdf5-types v0.8.1
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]    Compiling serde_derive v1.0.177
[INFO] [stderr]     Checking nix v0.26.2
[INFO] [stderr]     Checking combine v4.6.6
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]    Compiling thiserror-impl v1.0.44
[INFO] [stderr]     Checking regex v1.9.1
[INFO] [stderr]    Compiling enum-as-inner v0.5.1
[INFO] [stderr]     Checking parking_lot_core v0.9.8
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking num-complex v0.4.3
[INFO] [stderr]     Checking ascii v1.1.0
[INFO] [stderr]     Checking allocator-api2 v0.2.16
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking sysctl v0.5.4
[INFO] [stderr]     Checking log v0.4.19
[INFO] [stderr]    Compiling hdf5 v0.8.1
[INFO] [stderr]     Checking termcolor v1.2.0
[INFO] [stderr]     Checking rayon v1.7.0
[INFO] [stderr]     Checking hashbrown v0.14.0
[INFO] [stderr]     Checking skiplist v0.3.0
[INFO] [stderr]     Checking env_logger v0.10.0
[INFO] [stderr]    Compiling hdf5-sys v0.8.1
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking ndarray v0.15.6
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]    Compiling hdf5-derive v0.8.1
[INFO] [stderr]     Checking cpu-time v1.0.0
[INFO] [stderr]     Checking mmap-rs v0.6.0
[INFO] [stderr]     Checking hnsw_rs_thousand_birds v0.1.20 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/hnswio.rs:613:16
[INFO] [stdout]     |
[INFO] [stdout] 613 |                ///  value is 1 for Full 0 for Light
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 614 |             dumpmode : dumpmode,
[INFO] [stdout]     |             ------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::filter::*`
[INFO] [stdout]  --> src/prelude.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use crate::filter::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]  --> examples/levensthein.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hnsw_rs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]  --> examples/levensthein.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hnsw_rs::dist::{DistLevenshtein};
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `hnsw_rs::dist::DistLevenshtein`
[INFO] [stdout]  --> examples/levensthein.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hnsw_rs::dist::{DistLevenshtein};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]   --> examples/ann-glove/ann-glove25-angular.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | use hnsw_rs::prelude::*;
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]   --> examples/ann-sift1m/ann-sift1m-128-euclidean.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use hnsw_rs::prelude::*;
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]   --> examples/ann-mnist/ann-mnist-784-euclidean.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use hnsw_rs::prelude::*;
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]  --> examples/random.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use hnsw_rs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]  --> tests/filtertest.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hnsw_rs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]  --> tests/filtertest.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hnsw_rs::dist::{DistLevenshtein};
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `hnsw_rs::dist::DistLevenshtein`
[INFO] [stdout]  --> tests/filtertest.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hnsw_rs::dist::{DistLevenshtein};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]   --> examples/ann-mnist/ann-mnist-784-euclidean.rs:47:21
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut hnsw =  Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                     ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DistL2` in this scope
[INFO] [stdout]   --> examples/ann-mnist/ann-mnist-784-euclidean.rs:47:33
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut hnsw =  Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                                 ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DistL2` in this scope
[INFO] [stdout]   --> examples/ann-mnist/ann-mnist-784-euclidean.rs:47:90
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut hnsw =  Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                                                                                          ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Neighbour` in this scope
[INFO] [stdout]   --> examples/ann-mnist/ann-mnist-784-euclidean.rs:74:50
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let mut knn_neighbours_for_tests = Vec::<Vec<Neighbour>>::with_capacity(nb_elem);
[INFO] [stdout]    |                                                  ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::Neighbour;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Neighbour` in this scope
[INFO] [stdout]   --> examples/ann-mnist/ann-mnist-784-euclidean.rs:89:36
[INFO] [stdout]    |
[INFO] [stdout] 89 |           let knn_neighbours : Vec<Neighbour> = hnsw.search(&anndata.test_data[i], knbn, ef_c);
[INFO] [stdout]    |                                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::Neighbour;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]   --> examples/levensthein.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let hns = Hnsw::<u16, DistLevenshtein>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistLevenshtein{});
[INFO] [stdout]    |               ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]    --> examples/ann-glove/annhdf5.rs:185:13
[INFO] [stdout]     |
[INFO] [stdout] 185 |             hnsw_rs::dist::l2_normalize(&mut self.test_data[i]);
[INFO] [stdout]     |             ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 8   + use hnsw_rs_thousand_birds::dist;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `dist`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 185 -             hnsw_rs::dist::l2_normalize(&mut self.test_data[i]);
[INFO] [stdout] 185 +             dist::l2_normalize(&mut self.test_data[i]);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]   --> tests/serpar.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use hnsw_rs::prelude::*;
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]    --> examples/ann-glove/annhdf5.rs:188:13
[INFO] [stdout]     |
[INFO] [stdout] 188 |             hnsw_rs::dist::l2_normalize(&mut self.train_data[i].0);
[INFO] [stdout]     |             ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 8   + use hnsw_rs_thousand_birds::dist;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `dist`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 188 -             hnsw_rs::dist::l2_normalize(&mut self.train_data[i].0);
[INFO] [stdout] 188 +             dist::l2_normalize(&mut self.train_data[i].0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]   --> examples/ann-glove/ann-glove25-angular.rs:84:21
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let mut hnsw =  Hnsw::<f32, DistDot>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistDot{});
[INFO] [stdout]    |                     ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DistDot` in this scope
[INFO] [stdout]   --> examples/ann-glove/ann-glove25-angular.rs:84:33
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let mut hnsw =  Hnsw::<f32, DistDot>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistDot{});
[INFO] [stdout]    |                                 ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::DistDot;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DistDot` in this scope
[INFO] [stdout]   --> examples/ann-glove/ann-glove25-angular.rs:84:91
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let mut hnsw =  Hnsw::<f32, DistDot>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistDot{});
[INFO] [stdout]    |                                                                                           ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::DistDot;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Distance` in this scope
[INFO] [stdout]    --> examples/ann-glove/ann-glove25-angular.rs:119:19
[INFO] [stdout]     |
[INFO] [stdout] 119 |      where Dist : Distance<f32> + Send + Sync {
[INFO] [stdout]     |                   ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 1   + use hnsw_rs_thousand_birds::prelude::Distance;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Hnsw` in this scope
[INFO] [stdout]    --> examples/ann-glove/ann-glove25-angular.rs:118:32
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub fn search<Dist>(hnsw: &mut Hnsw<f32, Dist>, knbn : usize, ef_search: usize, anndata : & AnnBenchmarkData) 
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Hnsw` in this scope
[INFO] [stdout]   --> tests/filtertest.rs:20:44
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn search_closure_filter(word: &str, hns: &Hnsw<u16, DistLevenshtein>, words: &Vec<String>, filter_vector : &Vec<usize>) {
[INFO] [stdout]    |                                            ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]   --> tests/filtertest.rs:51:15
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let hns = Hnsw::<u16, DistLevenshtein>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistLevenshtein{});
[INFO] [stdout]    |               ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]   --> tests/filtertest.rs:69:24
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let filtered_hns = Hnsw::<u16, DistLevenshtein>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistLevenshtein{});
[INFO] [stdout]    |                        ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Neighbour` in this scope
[INFO] [stdout]   --> tests/filtertest.rs:91:18
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let res: Vec<Neighbour> = filtered_hns.search(&vec, knbn, ef_search);
[INFO] [stdout]    |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hnsw_rs_thousand_birds::prelude::Neighbour;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]    --> tests/filtertest.rs:142:16
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let hnsw = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]     |                ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 2   + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DistL2` in this scope
[INFO] [stdout]    --> tests/filtertest.rs:142:28
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let hnsw = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]     |                            ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 2   + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DistL2` in this scope
[INFO] [stdout]    --> tests/filtertest.rs:142:85
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let hnsw = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]     |                                                                                     ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 2   + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]    --> tests/filtertest.rs:152:24
[INFO] [stdout]     |
[INFO] [stdout] 152 |     let filtered_hns = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]     |                        ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 2   + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DistL2` in this scope
[INFO] [stdout]    --> tests/filtertest.rs:152:36
[INFO] [stdout]     |
[INFO] [stdout] 152 |     let filtered_hns = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]     |                                    ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 2   + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Neighbour` in this scope
[INFO] [stdout]    --> examples/ann-glove/ann-glove25-angular.rs:130:50
[INFO] [stdout]     |
[INFO] [stdout] 130 |     let mut knn_neighbours_for_tests = Vec::<Vec<Neighbour>>::with_capacity(nb_elem);
[INFO] [stdout]     |                                                  ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use hnsw_rs_thousand_birds::prelude::Neighbour;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DistL2` in this scope
[INFO] [stdout]    --> tests/filtertest.rs:152:93
[INFO] [stdout]     |
[INFO] [stdout] 152 |     let filtered_hns = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]     |                                                                                             ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 2   + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Neighbour` in this scope
[INFO] [stdout]    --> tests/filtertest.rs:166:18
[INFO] [stdout]     |
[INFO] [stdout] 166 |     let res: Vec<Neighbour> = filtered_hns.search(&vec_tosearch, knbn, ef_search);
[INFO] [stdout]     |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 2   + use hnsw_rs_thousand_birds::prelude::Neighbour;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Neighbour` in this scope
[INFO] [stdout]    --> examples/ann-glove/ann-glove25-angular.rs:142:38
[INFO] [stdout]     |
[INFO] [stdout] 142 |             let knn_neighbours : Vec<Neighbour> = hnsw.search(&anndata.test_data[i], knbn, ef_search);
[INFO] [stdout]     |                                      ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use hnsw_rs_thousand_birds::prelude::Neighbour;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]   --> examples/ann-sift1m/ann-sift1m-128-euclidean.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let mut hnsw =  Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                     ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DistL2` in this scope
[INFO] [stdout]   --> examples/ann-sift1m/ann-sift1m-128-euclidean.rs:56:33
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let mut hnsw =  Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                                 ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DistL2` in this scope
[INFO] [stdout]   --> examples/ann-sift1m/ann-sift1m-128-euclidean.rs:56:90
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let mut hnsw =  Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                                                                                          ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Distance` in this scope
[INFO] [stdout]   --> examples/ann-sift1m/ann-sift1m-128-euclidean.rs:96:19
[INFO] [stdout]    |
[INFO] [stdout] 96 |      where Dist : Distance<f32> + Send + Sync {
[INFO] [stdout]    |                   ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::Distance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Hnsw` in this scope
[INFO] [stdout]   --> examples/ann-sift1m/ann-sift1m-128-euclidean.rs:95:32
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub fn search<Dist>(hnsw: &mut Hnsw<f32, Dist>, knbn : usize, ef_search: usize, anndata : & AnnBenchmarkData) 
[INFO] [stdout]    |                                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Neighbour` in this scope
[INFO] [stdout]    --> examples/ann-sift1m/ann-sift1m-128-euclidean.rs:107:50
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let mut knn_neighbours_for_tests = Vec::<Vec<Neighbour>>::with_capacity(nb_elem);
[INFO] [stdout]     |                                                  ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use hnsw_rs_thousand_birds::prelude::Neighbour;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Neighbour` in this scope
[INFO] [stdout]    --> examples/ann-sift1m/ann-sift1m-128-euclidean.rs:119:38
[INFO] [stdout]     |
[INFO] [stdout] 119 |             let knn_neighbours : Vec<Neighbour> = hnsw.search(&anndata.test_data[i], knbn, ef_search);
[INFO] [stdout]     |                                      ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use hnsw_rs_thousand_birds::prelude::Neighbour;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]   --> examples/random.rs:32:15
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let hns = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |               ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DistL2` in this scope
[INFO] [stdout]   --> examples/random.rs:32:27
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let hns = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                           ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DistL2` in this scope
[INFO] [stdout]   --> examples/random.rs:32:84
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let hns = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                                                                                    ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]   --> examples/random.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let hns = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |               ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DistL2` in this scope
[INFO] [stdout]   --> examples/random.rs:44:27
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let hns = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                           ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DistL2` in this scope
[INFO] [stdout]   --> examples/random.rs:44:84
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let hns = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                                                                                    ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hnsw_rs_thousand_birds` (example "ann-sift1m") due to 9 previous errors
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]   --> tests/serpar.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 75 | use hnsw_rs::dist::l2_normalize;
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `hnsw_rs`
[INFO] [stdout]   --> tests/serpar.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use hnsw_rs::dist;
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hnsw_rs_thousand_birds` (example "ann-glove") due to 11 previous errors
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hnsw_rs_thousand_birds` (example "levenshtein") due to 5 previous errors
[INFO] [stdout] error[E0412]: cannot find type `PointIndexation` in this scope
[INFO] [stdout]   --> tests/serpar.rs:42:104
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...opy+Send+Sync>(nb_neighbours: usize, refdata: &PointIndexation<T>, distance: PointDistance<T>,  data : &Vec<T>) -> OrderedSkipList<Poi...
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 7  + use hnsw_rs_thousand_birds::prelude::PointIndexation;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hnsw_rs_thousand_birds` (example "random") due to 8 previous errors
[INFO] [stdout] error[E0412]: cannot find type `PointDistance` in this scope
[INFO] [stdout]   --> tests/serpar.rs:42:134
[INFO] [stdout]    |
[INFO] [stdout] 42 | ... usize, refdata: &PointIndexation<T>, distance: PointDistance<T>,  data : &Vec<T>) -> OrderedSkipList<PointIdWithOrder> {
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 7  + use hnsw_rs_thousand_birds::prelude::PointDistance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PointIdWithOrder` in this scope
[INFO] [stdout]   --> tests/serpar.rs:42:188
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...stance<T>,  data : &Vec<T>) -> OrderedSkipList<PointIdWithOrder> {
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 7  + use hnsw_rs_thousand_birds::prelude::PointIdWithOrder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PointIdWithOrder` in this scope
[INFO] [stdout]   --> tests/serpar.rs:44:44
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let mut neighbours = OrderedSkipList::<PointIdWithOrder>::with_capacity(refdata.get_nb_point());
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 7  + use hnsw_rs_thousand_birds::prelude::PointIdWithOrder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PointIdWithOrder`
[INFO] [stdout]   --> tests/serpar.rs:51:33
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let ordered_point = PointIdWithOrder::new(point.get_point_id(), dist_p);
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^ use of undeclared type `PointIdWithOrder`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 7  + use hnsw_rs_thousand_birds::prelude::PointIdWithOrder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]   --> tests/serpar.rs:95:19
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let mut hns = Hnsw::<f32, dist::DistL1>::new(max_nb_connection, nb_elem, nb_layer, ef_c, dist::DistL1{});
[INFO] [stdout]    |                   ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 7  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]    --> tests/serpar.rs:192:19
[INFO] [stdout]     |
[INFO] [stdout] 192 |     let mut hns = Hnsw::<f32, dist::DistDot>::new(max_nb_connection, nb_elem, nb_layer, ef_c, dist::DistDot{});
[INFO] [stdout]     |                   ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 7   + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PointId` in this scope
[INFO] [stdout]    --> tests/serpar.rs:261:41
[INFO] [stdout]     |
[INFO] [stdout] 261 |         let mut knn_neighbours_id : Vec<PointId> = knn_neighbours.iter().map(|p| p.p_id).collect();
[INFO] [stdout]     |                                         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 7   + use hnsw_rs_thousand_birds::prelude::PointId;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hnsw_rs_thousand_birds` (example "ann-mnist") due to 7 previous errors
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/hnswio.rs:613:16
[INFO] [stdout]     |
[INFO] [stdout] 613 |                ///  value is 1 for Full 0 for Light
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 614 |             dumpmode : dumpmode,
[INFO] [stdout]     |             ------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::filter::*`
[INFO] [stdout]  --> src/prelude.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use crate::filter::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0689]: can't call method `abs` on ambiguous numeric type `{float}`
[INFO] [stdout]    --> tests/filtertest.rs:176:64
[INFO] [stdout]     |
[INFO] [stdout] 176 |             assert!(( 1. - n.distance/found.unwrap().distance).abs() < 1.0e-5);
[INFO] [stdout]     |                                                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433, E0689.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hnsw_rs_thousand_birds` (test "filtertest") due to 16 previous errors
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hnsw_rs_thousand_birds` (test "serpar") due to 12 previous errors
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "00fd11fa306f72cdd84623bb00b89d6453c9b87790414e575156470e27993ce7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00fd11fa306f72cdd84623bb00b89d6453c9b87790414e575156470e27993ce7", kill_on_drop: false }`
[INFO] [stdout] 00fd11fa306f72cdd84623bb00b89d6453c9b87790414e575156470e27993ce7
[INFO] checking hnsw_rs_thousand_birds-0.1.20 against try#785364c7e5e0804473a3fddfb579798ea14e3493 for pr-114682
[INFO] extracting crate hnsw_rs_thousand_birds 0.1.20 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate hnsw_rs_thousand_birds 0.1.20 on toolchain 785364c7e5e0804473a3fddfb579798ea14e3493
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate hnsw_rs_thousand_birds 0.1.20
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate hnsw_rs_thousand_birds 0.1.20
[INFO] tweaked toml for crates.io crate hnsw_rs_thousand_birds 0.1.20 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate crates.io crate hnsw_rs_thousand_birds 0.1.20 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" "+785364c7e5e0804473a3fddfb579798ea14e3493" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e61b31c73a11b1dae758ad1808e96022b985b64ca205e08681a53e65ee6259e3
[INFO] running `Command { std: "docker" "start" "-a" "e61b31c73a11b1dae758ad1808e96022b985b64ca205e08681a53e65ee6259e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e61b31c73a11b1dae758ad1808e96022b985b64ca205e08681a53e65ee6259e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e61b31c73a11b1dae758ad1808e96022b985b64ca205e08681a53e65ee6259e3", kill_on_drop: false }`
[INFO] [stdout] e61b31c73a11b1dae758ad1808e96022b985b64ca205e08681a53e65ee6259e3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9dc298be4cfe1ba69212206eaa7ebde00b25decd7abeca678659598c394ed26b
[INFO] running `Command { std: "docker" "start" "-a" "9dc298be4cfe1ba69212206eaa7ebde00b25decd7abeca678659598c394ed26b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling regex-syntax v0.7.4
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]     Checking smallvec v1.11.0
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling thiserror v1.0.44
[INFO] [stderr]    Compiling rustix v0.38.4
[INFO] [stderr]    Compiling ahash v0.8.3
[INFO] [stderr]    Compiling aho-corasick v1.0.2
[INFO] [stderr]     Checking lock_api v0.4.10
[INFO] [stderr]    Compiling matrixmultiply v0.3.7
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling syn v2.0.27
[INFO] [stderr]     Checking linux-raw-sys v0.4.3
[INFO] [stderr]     Checking bitflags v2.3.3
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling regex-automata v0.3.3
[INFO] [stderr]    Compiling serde v1.0.177
[INFO] [stderr]     Checking rand_pcg v0.2.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking walkdir v2.3.3
[INFO] [stderr]     Checking crossbeam-channel v0.5.8
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking bytes v1.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.177
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]    Compiling hdf5-types v0.8.1
[INFO] [stderr]     Checking combine v4.6.6
[INFO] [stderr]     Checking nix v0.26.2
[INFO] [stderr]    Compiling regex v1.9.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.44
[INFO] [stderr]     Checking parking_lot_core v0.9.8
[INFO] [stderr]    Compiling enum-as-inner v0.5.1
[INFO] [stderr]     Checking is-terminal v0.4.9
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking num-complex v0.4.3
[INFO] [stderr]     Checking log v0.4.19
[INFO] [stderr]     Checking termcolor v1.2.0
[INFO] [stderr]     Checking allocator-api2 v0.2.16
[INFO] [stderr]    Compiling hdf5 v0.8.1
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking ascii v1.1.0
[INFO] [stderr]     Checking env_logger v0.10.0
[INFO] [stderr]     Checking rayon v1.7.0
[INFO] [stderr]    Compiling hdf5-sys v0.8.1
[INFO] [stderr]     Checking hashbrown v0.14.0
[INFO] [stderr]     Checking skiplist v0.3.0
[INFO] [stderr]     Checking sysctl v0.5.4
[INFO] [stderr]     Checking ndarray v0.15.6
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling hdf5-derive v0.8.1
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking cpu-time v1.0.0
[INFO] [stderr]     Checking mmap-rs v0.6.0
[INFO] [stderr]     Checking hnsw_rs_thousand_birds v0.1.20 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/hnswio.rs:613:16
[INFO] [stdout]     |
[INFO] [stdout] 613 |                ///  value is 1 for Full 0 for Light
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 614 |             dumpmode : dumpmode,
[INFO] [stdout]     |             ------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::filter::*`
[INFO] [stdout]  --> src/prelude.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use crate::filter::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]  --> tests/filtertest.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hnsw_rs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]  --> tests/filtertest.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hnsw_rs::dist::{DistLevenshtein};
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]   --> examples/ann-mnist/ann-mnist-784-euclidean.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use hnsw_rs::prelude::*;
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `hnsw_rs::dist::DistLevenshtein`
[INFO] [stdout]  --> tests/filtertest.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hnsw_rs::dist::{DistLevenshtein};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]   --> examples/ann-glove/ann-glove25-angular.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | use hnsw_rs::prelude::*;
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]   --> examples/ann-sift1m/ann-sift1m-128-euclidean.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use hnsw_rs::prelude::*;
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]  --> tests/deallocation_test.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hnsw_rs::dist::DistL1;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]  --> tests/deallocation_test.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use hnsw_rs::hnsw::Hnsw;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]  --> examples/levensthein.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hnsw_rs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]  --> examples/levensthein.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hnsw_rs::dist::{DistLevenshtein};
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `hnsw_rs::dist::DistLevenshtein`
[INFO] [stdout]  --> examples/levensthein.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hnsw_rs::dist::{DistLevenshtein};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]  --> examples/random.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use hnsw_rs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]   --> examples/ann-sift1m/ann-sift1m-128-euclidean.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let mut hnsw =  Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                     ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DistL2` in this scope
[INFO] [stdout]   --> examples/ann-sift1m/ann-sift1m-128-euclidean.rs:56:33
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let mut hnsw =  Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                                 ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DistL2` in this scope
[INFO] [stdout]   --> examples/ann-sift1m/ann-sift1m-128-euclidean.rs:56:90
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let mut hnsw =  Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                                                                                          ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Distance` in this scope
[INFO] [stdout]   --> examples/ann-sift1m/ann-sift1m-128-euclidean.rs:96:19
[INFO] [stdout]    |
[INFO] [stdout] 96 |      where Dist : Distance<f32> + Send + Sync {
[INFO] [stdout]    |                   ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::Distance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Hnsw` in this scope
[INFO] [stdout]   --> examples/ann-sift1m/ann-sift1m-128-euclidean.rs:95:32
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub fn search<Dist>(hnsw: &mut Hnsw<f32, Dist>, knbn : usize, ef_search: usize, anndata : & AnnBenchmarkData) 
[INFO] [stdout]    |                                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Neighbour` in this scope
[INFO] [stdout]    --> examples/ann-sift1m/ann-sift1m-128-euclidean.rs:107:50
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let mut knn_neighbours_for_tests = Vec::<Vec<Neighbour>>::with_capacity(nb_elem);
[INFO] [stdout]     |                                                  ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use hnsw_rs_thousand_birds::prelude::Neighbour;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Neighbour` in this scope
[INFO] [stdout]    --> examples/ann-sift1m/ann-sift1m-128-euclidean.rs:119:38
[INFO] [stdout]     |
[INFO] [stdout] 119 |             let knn_neighbours : Vec<Neighbour> = hnsw.search(&anndata.test_data[i], knbn, ef_search);
[INFO] [stdout]     |                                      ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use hnsw_rs_thousand_birds::prelude::Neighbour;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]    --> examples/ann-glove/annhdf5.rs:185:13
[INFO] [stdout]     |
[INFO] [stdout] 185 |             hnsw_rs::dist::l2_normalize(&mut self.test_data[i]);
[INFO] [stdout]     |             ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 8   + use hnsw_rs_thousand_birds::dist;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `dist`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 185 -             hnsw_rs::dist::l2_normalize(&mut self.test_data[i]);
[INFO] [stdout] 185 +             dist::l2_normalize(&mut self.test_data[i]);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]    --> examples/ann-glove/annhdf5.rs:188:13
[INFO] [stdout]     |
[INFO] [stdout] 188 |             hnsw_rs::dist::l2_normalize(&mut self.train_data[i].0);
[INFO] [stdout]     |             ^^^^^^^ use of undeclared crate or module `hnsw_rs`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 8   + use hnsw_rs_thousand_birds::dist;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `dist`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 188 -             hnsw_rs::dist::l2_normalize(&mut self.train_data[i].0);
[INFO] [stdout] 188 +             dist::l2_normalize(&mut self.train_data[i].0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]   --> examples/ann-glove/ann-glove25-angular.rs:84:21
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let mut hnsw =  Hnsw::<f32, DistDot>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistDot{});
[INFO] [stdout]    |                     ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DistDot` in this scope
[INFO] [stdout]   --> examples/ann-glove/ann-glove25-angular.rs:84:33
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let mut hnsw =  Hnsw::<f32, DistDot>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistDot{});
[INFO] [stdout]    |                                 ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::DistDot;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DistDot` in this scope
[INFO] [stdout]   --> examples/ann-glove/ann-glove25-angular.rs:84:91
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let mut hnsw =  Hnsw::<f32, DistDot>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistDot{});
[INFO] [stdout]    |                                                                                           ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::DistDot;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Distance` in this scope
[INFO] [stdout]    --> examples/ann-glove/ann-glove25-angular.rs:119:19
[INFO] [stdout]     |
[INFO] [stdout] 119 |      where Dist : Distance<f32> + Send + Sync {
[INFO] [stdout]     |                   ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 1   + use hnsw_rs_thousand_birds::prelude::Distance;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Hnsw` in this scope
[INFO] [stdout]    --> examples/ann-glove/ann-glove25-angular.rs:118:32
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub fn search<Dist>(hnsw: &mut Hnsw<f32, Dist>, knbn : usize, ef_search: usize, anndata : & AnnBenchmarkData) 
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Neighbour` in this scope
[INFO] [stdout]    --> examples/ann-glove/ann-glove25-angular.rs:130:50
[INFO] [stdout]     |
[INFO] [stdout] 130 |     let mut knn_neighbours_for_tests = Vec::<Vec<Neighbour>>::with_capacity(nb_elem);
[INFO] [stdout]     |                                                  ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use hnsw_rs_thousand_birds::prelude::Neighbour;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Neighbour` in this scope
[INFO] [stdout]    --> examples/ann-glove/ann-glove25-angular.rs:142:38
[INFO] [stdout]     |
[INFO] [stdout] 142 |             let knn_neighbours : Vec<Neighbour> = hnsw.search(&anndata.test_data[i], knbn, ef_search);
[INFO] [stdout]     |                                      ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use hnsw_rs_thousand_birds::prelude::Neighbour;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Hnsw` in this scope
[INFO] [stdout]   --> tests/filtertest.rs:20:44
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn search_closure_filter(word: &str, hns: &Hnsw<u16, DistLevenshtein>, words: &Vec<String>, filter_vector : &Vec<usize>) {
[INFO] [stdout]    |                                            ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]   --> tests/filtertest.rs:51:15
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let hns = Hnsw::<u16, DistLevenshtein>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistLevenshtein{});
[INFO] [stdout]    |               ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]   --> tests/filtertest.rs:69:24
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let filtered_hns = Hnsw::<u16, DistLevenshtein>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistLevenshtein{});
[INFO] [stdout]    |                        ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Neighbour` in this scope
[INFO] [stdout]   --> tests/filtertest.rs:91:18
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let res: Vec<Neighbour> = filtered_hns.search(&vec, knbn, ef_search);
[INFO] [stdout]    |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hnsw_rs_thousand_birds::prelude::Neighbour;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]    --> tests/filtertest.rs:142:16
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let hnsw = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]     |                ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 2   + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DistL2` in this scope
[INFO] [stdout]    --> tests/filtertest.rs:142:28
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let hnsw = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]     |                            ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 2   + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DistL2` in this scope
[INFO] [stdout]    --> tests/filtertest.rs:142:85
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let hnsw = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]     |                                                                                     ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 2   + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]    --> tests/filtertest.rs:152:24
[INFO] [stdout]     |
[INFO] [stdout] 152 |     let filtered_hns = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]     |                        ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 2   + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]   --> examples/levensthein.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let hns = Hnsw::<u16, DistLevenshtein>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistLevenshtein{});
[INFO] [stdout]    |               ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DistL2` in this scope
[INFO] [stdout]    --> tests/filtertest.rs:152:36
[INFO] [stdout]     |
[INFO] [stdout] 152 |     let filtered_hns = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]     |                                    ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 2   + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DistL2` in this scope
[INFO] [stdout]    --> tests/filtertest.rs:152:93
[INFO] [stdout]     |
[INFO] [stdout] 152 |     let filtered_hns = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]     |                                                                                             ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 2   + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Neighbour` in this scope
[INFO] [stdout]    --> tests/filtertest.rs:166:18
[INFO] [stdout]     |
[INFO] [stdout] 166 |     let res: Vec<Neighbour> = filtered_hns.search(&vec_tosearch, knbn, ef_search);
[INFO] [stdout]     |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 2   + use hnsw_rs_thousand_birds::prelude::Neighbour;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]   --> examples/ann-mnist/ann-mnist-784-euclidean.rs:47:21
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut hnsw =  Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                     ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DistL2` in this scope
[INFO] [stdout]   --> examples/ann-mnist/ann-mnist-784-euclidean.rs:47:33
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut hnsw =  Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                                 ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DistL2` in this scope
[INFO] [stdout]   --> examples/ann-mnist/ann-mnist-784-euclidean.rs:47:90
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut hnsw =  Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                                                                                          ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Neighbour` in this scope
[INFO] [stdout]   --> examples/ann-mnist/ann-mnist-784-euclidean.rs:74:50
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let mut knn_neighbours_for_tests = Vec::<Vec<Neighbour>>::with_capacity(nb_elem);
[INFO] [stdout]    |                                                  ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::Neighbour;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Neighbour` in this scope
[INFO] [stdout]   --> examples/ann-mnist/ann-mnist-784-euclidean.rs:89:36
[INFO] [stdout]    |
[INFO] [stdout] 89 |           let knn_neighbours : Vec<Neighbour> = hnsw.search(&anndata.test_data[i], knbn, ef_c);
[INFO] [stdout]    |                                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use hnsw_rs_thousand_birds::prelude::Neighbour;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hnsw_rs_thousand_birds` (example "ann-glove") due to 11 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]   --> examples/random.rs:32:15
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let hns = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |               ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DistL2` in this scope
[INFO] [stdout]   --> examples/random.rs:32:27
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let hns = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                           ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DistL2` in this scope
[INFO] [stdout]   --> examples/random.rs:32:84
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let hns = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                                                                                    ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hnsw`
[INFO] [stdout]   --> examples/random.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let hns = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |               ^^^^ use of undeclared type `Hnsw`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use hnsw_rs_thousand_birds::prelude::Hnsw;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DistL2` in this scope
[INFO] [stdout]   --> examples/random.rs:44:27
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let hns = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                           ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DistL2` in this scope
[INFO] [stdout]   --> examples/random.rs:44:84
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let hns = Hnsw::<f32, DistL2>::new(max_nb_connection, nb_elem, nb_layer, ef_c, DistL2{});
[INFO] [stdout]    |                                                                                    ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use hnsw_rs_thousand_birds::prelude::DistL2;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hnsw_rs_thousand_birds` (example "ann-sift1m") due to 9 previous errors
[INFO] [stderr] error: could not compile `hnsw_rs_thousand_birds` (test "deallocation_test") due to 3 previous errors
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hnsw_rs_thousand_birds` (example "levenshtein") due to 5 previous errors
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hnsw_rs_thousand_birds` (example "random") due to 8 previous errors
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error[E0689]: can't call method `abs` on ambiguous numeric type `{float}`
[INFO] [stdout]    --> tests/filtertest.rs:176:64
[INFO] [stdout]     |
[INFO] [stdout] 176 |             assert!(( 1. - n.distance/found.unwrap().distance).abs() < 1.0e-5);
[INFO] [stdout]     |                                                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hnsw_rs_thousand_birds` (example "ann-mnist") due to 7 previous errors
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433, E0689.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hnsw_rs_thousand_birds` (test "filtertest") due to 16 previous errors
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/hnswio.rs:613:16
[INFO] [stdout]     |
[INFO] [stdout] 613 |                ///  value is 1 for Full 0 for Light
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 614 |             dumpmode : dumpmode,
[INFO] [stdout]     |             ------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::filter::*`
[INFO] [stdout]  --> src/prelude.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use crate::filter::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "9dc298be4cfe1ba69212206eaa7ebde00b25decd7abeca678659598c394ed26b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9dc298be4cfe1ba69212206eaa7ebde00b25decd7abeca678659598c394ed26b", kill_on_drop: false }`
[INFO] [stdout] 9dc298be4cfe1ba69212206eaa7ebde00b25decd7abeca678659598c394ed26b
