[INFO] fetching crate hnsw_rs_thousand_birds 0.1.20...
[INFO] testing hnsw_rs_thousand_birds-0.1.20 against 1.90.0 for beta-1.91-3
[INFO] extracting crate hnsw_rs_thousand_birds 0.1.20 into /workspace/builds/worker-5-tc1/source
[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-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate hnsw_rs_thousand_birds 0.1.20 on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows-targets v0.48.1
[INFO] [stderr]   Downloaded getrandom v0.2.10
[INFO] [stderr]   Downloaded hdf5-derive v0.8.1
[INFO] [stderr]   Downloaded cpu-time v1.0.0
[INFO] [stderr]   Downloaded sysctl v0.5.4
[INFO] [stderr]   Downloaded hdf5-sys v0.8.1
[INFO] [stderr]   Downloaded mmap-rs v0.6.0
[INFO] [stderr]   Downloaded matrixmultiply v0.3.7
[INFO] [stderr]   Downloaded serde v1.0.177
[INFO] [stderr]   Downloaded widestring v1.0.2
[INFO] [stderr]   Downloaded packed_simd_2 v0.3.8
[INFO] [stderr]   Downloaded hashbrown v0.14.0
[INFO] [stderr]   Downloaded hdf5 v0.8.1
[INFO] [stderr]   Downloaded num-traits v0.2.16
[INFO] [stderr]   Downloaded num-complex v0.4.3
[INFO] [stderr]   Downloaded syn v2.0.27
[INFO] [stderr]   Downloaded simdeez v1.0.8
[INFO] [stderr]   Downloaded skiplist v0.3.0
[INFO] [stderr]   Downloaded hdf5-types v0.8.1
[INFO] [stderr]   Downloaded rustix v0.38.4
[INFO] [stderr]   Downloaded enum-as-inner v0.5.1
[INFO] [stderr]   Downloaded thiserror v1.0.44
[INFO] [stderr]   Downloaded thiserror-impl v1.0.44
[INFO] [stderr]   Downloaded serde_derive v1.0.177
[INFO] [stderr]   Downloaded linux-raw-sys v0.4.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3ced758a85c5f1f3e846a6c2bc13cdae9f8f02d755ed248b05d2dd620ac0087c
[INFO] running `Command { std: "docker" "start" "-a" "3ced758a85c5f1f3e846a6c2bc13cdae9f8f02d755ed248b05d2dd620ac0087c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ced758a85c5f1f3e846a6c2bc13cdae9f8f02d755ed248b05d2dd620ac0087c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ced758a85c5f1f3e846a6c2bc13cdae9f8f02d755ed248b05d2dd620ac0087c", kill_on_drop: false }`
[INFO] [stdout] 3ced758a85c5f1f3e846a6c2bc13cdae9f8f02d755ed248b05d2dd620ac0087c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 60c7d91fc2d1fed6cb7b56a8e2f6263b8da0bd5251830c612132a2fae4f8d8b6
[INFO] running `Command { std: "docker" "start" "-a" "60c7d91fc2d1fed6cb7b56a8e2f6263b8da0bd5251830c612132a2fae4f8d8b6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling thiserror v1.0.44
[INFO] [stderr]    Compiling rustix v0.38.4
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling ahash v0.8.3
[INFO] [stderr]    Compiling serde v1.0.177
[INFO] [stderr]    Compiling bitflags v2.3.3
[INFO] [stderr]    Compiling aho-corasick v1.0.2
[INFO] [stderr]    Compiling linux-raw-sys v0.4.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling regex-syntax v0.7.4
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling walkdir v2.3.3
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling smallvec v1.11.0
[INFO] [stderr]    Compiling serde_derive v1.0.177
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling combine v4.6.6
[INFO] [stderr]    Compiling allocator-api2 v0.2.16
[INFO] [stderr]    Compiling log v0.4.19
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling is-terminal v0.4.9
[INFO] [stderr]    Compiling syn v2.0.27
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling hashbrown v0.14.0
[INFO] [stderr]    Compiling regex-automata v0.3.3
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling nix v0.26.2
[INFO] [stderr]    Compiling cpu-time v1.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.44
[INFO] [stderr]    Compiling rayon v1.7.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling skiplist v0.3.0
[INFO] [stderr]    Compiling enum-as-inner v0.5.1
[INFO] [stderr]    Compiling sysctl v0.5.4
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling regex v1.9.1
[INFO] [stderr]    Compiling env_logger v0.10.0
[INFO] [stderr]    Compiling mmap-rs v0.6.0
[INFO] [stderr]    Compiling hnsw_rs_thousand_birds v0.1.20 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/dist.rs:369:98
[INFO] [stdout]     |
[INFO] [stdout] 369 |         let dot = 1. - va.iter().zip(vb.iter()).map(|t| (*t.0 * *t.1) as f32).fold(0., |acc , t| (acc + t));
[INFO] [stdout]     |                                                                                                  ^       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 369 -         let dot = 1. - va.iter().zip(vb.iter()).map(|t| (*t.0 * *t.1) as f32).fold(0., |acc , t| (acc + t));
[INFO] [stdout] 369 +         let dot = 1. - va.iter().zip(vb.iter()).map(|t| (*t.0 * *t.1) as f32).fold(0., |acc , t| acc + t);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/dist.rs:464:116
[INFO] [stdout]     |
[INFO] [stdout] 464 |         let mut dist = va.iter().zip(vb.iter()).map(|t| ((*t.0).sqrt() * (*t.1).sqrt()) as f32).fold(0., |acc , t| (acc + t));
[INFO] [stdout]     |                                                                                                                    ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 464 -         let mut dist = va.iter().zip(vb.iter()).map(|t| ((*t.0).sqrt() * (*t.1).sqrt()) as f32).fold(0., |acc , t| (acc + t));
[INFO] [stdout] 464 +         let mut dist = va.iter().zip(vb.iter()).map(|t| ((*t.0).sqrt() * (*t.1).sqrt()) as f32).fold(0., |acc , t| acc + t);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/dist.rs:566:140
[INFO] [stdout]     |
[INFO] [stdout] 566 | ...ax(M_MIN)/ (*t.1).max(M_MIN)).ln() as f32).fold(0., |acc , t| (acc + t));
[INFO] [stdout]     |                                                                  ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 566 -         let dist = va.iter().zip(vb.iter()).map(|t| (*t.0 - *t.1) * ((*t.0).max(M_MIN)/ (*t.1).max(M_MIN)).ln() as f32).fold(0., |acc , t| (acc + t));
[INFO] [stdout] 566 +         let dist = va.iter().zip(vb.iter()).map(|t| (*t.0 - *t.1) * ((*t.0).max(M_MIN)/ (*t.1).max(M_MIN)).ln() as f32).fold(0., |acc , t| acc + t);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[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: function `init_log` is never used
[INFO] [stdout]   --> src/lib.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn init_log() -> u64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/hnsw.rs:567:31
[INFO] [stdout]     |
[INFO] [stdout] 567 |     pub fn get_layer_iterator(&self, layer : usize) -> IterPointLayer<T> {
[INFO] [stdout]     |                               ^^^^^                    ----------------- the same lifetime is hidden here
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 567 |     pub fn get_layer_iterator(&self, layer : usize) -> IterPointLayer<'_, T> {
[INFO] [stdout]     |                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.02s
[INFO] running `Command { std: "docker" "inspect" "60c7d91fc2d1fed6cb7b56a8e2f6263b8da0bd5251830c612132a2fae4f8d8b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "60c7d91fc2d1fed6cb7b56a8e2f6263b8da0bd5251830c612132a2fae4f8d8b6", kill_on_drop: false }`
[INFO] [stdout] 60c7d91fc2d1fed6cb7b56a8e2f6263b8da0bd5251830c612132a2fae4f8d8b6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0142db64b5975b9822cba707b4e05666159723762a641e6a2b03d63478d22818
[INFO] running `Command { std: "docker" "start" "-a" "0142db64b5975b9822cba707b4e05666159723762a641e6a2b03d63478d22818", kill_on_drop: false }`
[INFO] [stderr]    Compiling regex-syntax v0.7.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling matrixmultiply v0.3.7
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling hdf5-types v0.8.1
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling hdf5 v0.8.1
[INFO] [stderr]    Compiling ascii v1.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling num-complex v0.4.3
[INFO] [stderr]    Compiling regex-automata v0.3.3
[INFO] [stderr]    Compiling ndarray v0.15.6
[INFO] [stderr]    Compiling enum-as-inner v0.5.1
[INFO] [stderr]    Compiling hdf5-derive v0.8.1
[INFO] [stderr]    Compiling sysctl v0.5.4
[INFO] [stderr]    Compiling mmap-rs v0.6.0
[INFO] [stderr]    Compiling hnsw_rs_thousand_birds v0.1.20 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/dist.rs:369:98
[INFO] [stdout]     |
[INFO] [stdout] 369 |         let dot = 1. - va.iter().zip(vb.iter()).map(|t| (*t.0 * *t.1) as f32).fold(0., |acc , t| (acc + t));
[INFO] [stdout]     |                                                                                                  ^       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 369 -         let dot = 1. - va.iter().zip(vb.iter()).map(|t| (*t.0 * *t.1) as f32).fold(0., |acc , t| (acc + t));
[INFO] [stdout] 369 +         let dot = 1. - va.iter().zip(vb.iter()).map(|t| (*t.0 * *t.1) as f32).fold(0., |acc , t| acc + t);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/dist.rs:464:116
[INFO] [stdout]     |
[INFO] [stdout] 464 |         let mut dist = va.iter().zip(vb.iter()).map(|t| ((*t.0).sqrt() * (*t.1).sqrt()) as f32).fold(0., |acc , t| (acc + t));
[INFO] [stdout]     |                                                                                                                    ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 464 -         let mut dist = va.iter().zip(vb.iter()).map(|t| ((*t.0).sqrt() * (*t.1).sqrt()) as f32).fold(0., |acc , t| (acc + t));
[INFO] [stdout] 464 +         let mut dist = va.iter().zip(vb.iter()).map(|t| ((*t.0).sqrt() * (*t.1).sqrt()) as f32).fold(0., |acc , t| acc + t);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/dist.rs:566:140
[INFO] [stdout]     |
[INFO] [stdout] 566 | ...ax(M_MIN)/ (*t.1).max(M_MIN)).ln() as f32).fold(0., |acc , t| (acc + t));
[INFO] [stdout]     |                                                                  ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 566 -         let dist = va.iter().zip(vb.iter()).map(|t| (*t.0 - *t.1) * ((*t.0).max(M_MIN)/ (*t.1).max(M_MIN)).ln() as f32).fold(0., |acc , t| (acc + t));
[INFO] [stdout] 566 +         let dist = va.iter().zip(vb.iter()).map(|t| (*t.0 - *t.1) * ((*t.0).max(M_MIN)/ (*t.1).max(M_MIN)).ln() as f32).fold(0., |acc , t| acc + t);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[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] [stderr]    Compiling regex v1.9.1
[INFO] [stdout] warning: function `init_log` is never used
[INFO] [stdout]   --> src/lib.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn init_log() -> u64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/hnsw.rs:567:31
[INFO] [stdout]     |
[INFO] [stdout] 567 |     pub fn get_layer_iterator(&self, layer : usize) -> IterPointLayer<T> {
[INFO] [stdout]     |                               ^^^^^                    ----------------- the same lifetime is hidden here
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 567 |     pub fn get_layer_iterator(&self, layer : usize) -> IterPointLayer<'_, T> {
[INFO] [stdout]     |                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling hdf5-sys v0.8.1
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]  --> tests/deallocation_test.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hnsw_rs::dist::DistL1;
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hnsw_rs`, use `cargo add hnsw_rs` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]  --> tests/deallocation_test.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use hnsw_rs::hnsw::Hnsw;
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hnsw_rs`, use `cargo add hnsw_rs` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hnsw_rs_thousand_birds` (test "deallocation_test") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]  --> tests/filtertest.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hnsw_rs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hnsw_rs`, use `cargo add hnsw_rs` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]  --> tests/filtertest.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hnsw_rs::dist::{DistLevenshtein};
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hnsw_rs`, use `cargo add hnsw_rs` to add it to your `Cargo.toml`
[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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hnsw_rs`, use `cargo add hnsw_rs` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]   --> tests/serpar.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use hnsw_rs::prelude::*;
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hnsw_rs`, use `cargo add hnsw_rs` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hnsw_rs`, use `cargo add hnsw_rs` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]  --> examples/levensthein.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hnsw_rs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hnsw_rs`, use `cargo add hnsw_rs` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]  --> examples/levensthein.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hnsw_rs::dist::{DistLevenshtein};
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hnsw_rs`, use `cargo add hnsw_rs` to add it to your `Cargo.toml`
[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 unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]  --> examples/random.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use hnsw_rs::prelude::*;
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hnsw_rs`, use `cargo add hnsw_rs` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]   --> tests/serpar.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 75 | use hnsw_rs::dist::l2_normalize;
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hnsw_rs`, use `cargo add hnsw_rs` to add it to your `Cargo.toml`
[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 unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hnsw_rs`, use `cargo add hnsw_rs` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hnsw_rs`, use `cargo add hnsw_rs` to add it to your `Cargo.toml`
[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 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/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] 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 `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] [stderr] error: could not compile `hnsw_rs_thousand_birds` (example "ann-sift1m") due to 8 previous errors
[INFO] [stderr] error: could not compile `hnsw_rs_thousand_birds` (example "levenshtein") due to 4 previous errors
[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 `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] [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[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[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] 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[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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `hnsw_rs`, use `cargo add hnsw_rs` to add it to your `Cargo.toml`
[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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `hnsw_rs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `hnsw_rs`, use `cargo add hnsw_rs` to add it to your `Cargo.toml`
[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] 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[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] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/dist.rs:369:98
[INFO] [stdout]     |
[INFO] [stdout] 369 |         let dot = 1. - va.iter().zip(vb.iter()).map(|t| (*t.0 * *t.1) as f32).fold(0., |acc , t| (acc + t));
[INFO] [stdout]     |                                                                                                  ^       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 369 -         let dot = 1. - va.iter().zip(vb.iter()).map(|t| (*t.0 * *t.1) as f32).fold(0., |acc , t| (acc + t));
[INFO] [stdout] 369 +         let dot = 1. - va.iter().zip(vb.iter()).map(|t| (*t.0 * *t.1) as f32).fold(0., |acc , t| acc + t);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/dist.rs:464:116
[INFO] [stdout]     |
[INFO] [stdout] 464 |         let mut dist = va.iter().zip(vb.iter()).map(|t| ((*t.0).sqrt() * (*t.1).sqrt()) as f32).fold(0., |acc , t| (acc + t));
[INFO] [stdout]     |                                                                                                                    ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 464 -         let mut dist = va.iter().zip(vb.iter()).map(|t| ((*t.0).sqrt() * (*t.1).sqrt()) as f32).fold(0., |acc , t| (acc + t));
[INFO] [stdout] 464 +         let mut dist = va.iter().zip(vb.iter()).map(|t| ((*t.0).sqrt() * (*t.1).sqrt()) as f32).fold(0., |acc , t| acc + t);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/dist.rs:566:140
[INFO] [stdout]     |
[INFO] [stdout] 566 | ...ax(M_MIN)/ (*t.1).max(M_MIN)).ln() as f32).fold(0., |acc , t| (acc + t));
[INFO] [stdout]     |                                                                  ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 566 -         let dist = va.iter().zip(vb.iter()).map(|t| (*t.0 - *t.1) * ((*t.0).max(M_MIN)/ (*t.1).max(M_MIN)).ln() as f32).fold(0., |acc , t| (acc + t));
[INFO] [stdout] 566 +         let dist = va.iter().zip(vb.iter()).map(|t| (*t.0 - *t.1) * ((*t.0).max(M_MIN)/ (*t.1).max(M_MIN)).ln() as f32).fold(0., |acc , t| acc + t);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[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] 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 "random") due to 7 previous errors
[INFO] [stderr] error: could not compile `hnsw_rs_thousand_birds` (example "ann-glove") due to 10 previous errors
[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] 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 15 previous errors
[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] [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` (test "serpar") due to 11 previous errors
[INFO] [stderr] error: could not compile `hnsw_rs_thousand_birds` (example "ann-mnist") due to 6 previous errors
[INFO] [stdout] warning: function `init_log` is never used
[INFO] [stdout]   --> src/lib.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn init_log() -> u64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/hnsw.rs:567:31
[INFO] [stdout]     |
[INFO] [stdout] 567 |     pub fn get_layer_iterator(&self, layer : usize) -> IterPointLayer<T> {
[INFO] [stdout]     |                               ^^^^^                    ----------------- the same lifetime is hidden here
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 567 |     pub fn get_layer_iterator(&self, layer : usize) -> IterPointLayer<'_, T> {
[INFO] [stdout]     |                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0142db64b5975b9822cba707b4e05666159723762a641e6a2b03d63478d22818", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0142db64b5975b9822cba707b4e05666159723762a641e6a2b03d63478d22818", kill_on_drop: false }`
[INFO] [stdout] 0142db64b5975b9822cba707b4e05666159723762a641e6a2b03d63478d22818
