[INFO] fetching crate fast-hnsw 1.0.1... [INFO] testing fast-hnsw-1.0.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate fast-hnsw 1.0.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate fast-hnsw 1.0.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate fast-hnsw 1.0.1 [INFO] tweaked toml for crates.io crate fast-hnsw 1.0.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fast-hnsw 1.0.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fast-hnsw 1.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cpu-time v1.0.0 [INFO] [stderr] Downloaded space v0.17.0 [INFO] [stderr] Downloaded hnsw v0.11.0 [INFO] [stderr] Downloaded sysctl v0.5.5 [INFO] [stderr] Downloaded anndists v0.1.4 [INFO] [stderr] Downloaded mmap-rs v0.6.1 [INFO] [stderr] Downloaded hnsw_rs v0.3.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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3f34b4215bf0dc7a6c00d6b70106bb0a4b81f19445a05898845de7c16fcfff8 [INFO] running `Command { std: "docker" "start" "-a" "e3f34b4215bf0dc7a6c00d6b70106bb0a4b81f19445a05898845de7c16fcfff8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3f34b4215bf0dc7a6c00d6b70106bb0a4b81f19445a05898845de7c16fcfff8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3f34b4215bf0dc7a6c00d6b70106bb0a4b81f19445a05898845de7c16fcfff8", kill_on_drop: false }` [INFO] [stdout] e3f34b4215bf0dc7a6c00d6b70106bb0a4b81f19445a05898845de7c16fcfff8 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4eec43465e72f130237f4fef7d0d95939dde3a22d5d27e92e441bcb31027edf2 [INFO] running `Command { std: "docker" "start" "-a" "4eec43465e72f130237f4fef7d0d95939dde3a22d5d27e92e441bcb31027edf2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling memmap2 v0.9.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling fast-hnsw v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.43s [INFO] running `Command { std: "docker" "inspect" "4eec43465e72f130237f4fef7d0d95939dde3a22d5d27e92e441bcb31027edf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eec43465e72f130237f4fef7d0d95939dde3a22d5d27e92e441bcb31027edf2", kill_on_drop: false }` [INFO] [stdout] 4eec43465e72f130237f4fef7d0d95939dde3a22d5d27e92e441bcb31027edf2 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ffe672b29b3adc4d98dbc81b01627622b317f7b9033481a9cb2f34285c225f0 [INFO] running `Command { std: "docker" "start" "-a" "4ffe672b29b3adc4d98dbc81b01627622b317f7b9033481a9cb2f34285c225f0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling doc-comment v0.3.4 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling jiff v0.2.20 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling space v0.17.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cpu-time v1.0.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling env_filter v1.0.0 [INFO] [stderr] Compiling sysctl v0.5.5 [INFO] [stderr] Compiling memmap2 v0.9.10 [INFO] [stderr] Compiling env_logger v0.11.9 [INFO] [stderr] Compiling hnsw v0.11.0 [INFO] [stderr] Compiling anndists v0.1.4 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling fast-hnsw v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling mmap-rs v0.6.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling hnsw_rs v0.3.3 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "4ffe672b29b3adc4d98dbc81b01627622b317f7b9033481a9cb2f34285c225f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ffe672b29b3adc4d98dbc81b01627622b317f7b9033481a9cb2f34285c225f0", kill_on_drop: false }` [INFO] [stdout] 4ffe672b29b3adc4d98dbc81b01627622b317f7b9033481a9cb2f34285c225f0 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7dadbe02ce0c3431fab54d989922ae52a53667a85d1f5e9894fceac4677309a6 [INFO] running `Command { std: "docker" "start" "-a" "7dadbe02ce0c3431fab54d989922ae52a53667a85d1f5e9894fceac4677309a6", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fast_hnsw-c7b3e4e0d2adfba8) [INFO] [stdout] [INFO] [stdout] running 41 tests [INFO] [stdout] test heap::tests::candidate_heap_min_order ... ok [INFO] [stdout] test tests::cosine_distance_orthogonal_vectors ... ok [INFO] [stdout] test heap::tests::result_heap_bounded ... ok [INFO] [stdout] test tests::dim_is_tracked ... ok [INFO] [stdout] test tests::empty_index_returns_nothing ... ok [INFO] [stdout] test tests::labeled_insert_and_search_u32 ... ok [INFO] [stdout] test tests::labeled_insert_and_search_string ... ok [INFO] [stdout] test tests::labeled_save_load_string ... ok [INFO] [stdout] test tests::k_larger_than_index_returns_all ... ok [INFO] [stdout] test tests::labeled_search_returns_embedding ... ok [INFO] [stdout] test tests::ids_are_assigned_sequentially ... ok [INFO] [stdout] test tests::manhattan_metric_correct_order ... ok [INFO] [stdout] test tests::nearest_of_two_is_correct ... ok [INFO] [stdout] test tests::labeled_save_load_u32 ... ok [INFO] [stdout] test tests::labeled_save_load_vec_f32_payload ... ok [INFO] [stdout] test tests::labeled_mmap_load ... ok [INFO] [stdout] test tests::one_dimensional_vectors ... ok [INFO] [stdout] test tests::paired_cross_side_retrieval ... ok [INFO] [stdout] test tests::paired_insert_and_search_both_sides ... ok [INFO] [stdout] test tests::paired_len_consistent ... ok [INFO] [stdout] test tests::persist_empty_index ... ok [INFO] [stdout] test tests::paired_mmap_load ... ok [INFO] [stdout] test tests::prune_strategy_default_is_simple ... ok [INFO] [stdout] test tests::paired_save_load ... ok [INFO] [stdout] test tests::large_dimension_does_not_panic ... ok [INFO] [stdout] test tests::distances_are_non_negative_and_ordered ... ok [INFO] [stdout] test tests::persist_save_load_round_trip ... ok [INFO] [stdout] test tests::persist_mmap_load_round_trip ... ok [INFO] [stdout] test tests::simple_neighbour_selection_fallback ... ok [INFO] [stdout] test tests::squared_euclidean_finds_correct_neighbour ... ok [INFO] [stdout] test tests::single_vector_always_returned ... ok [INFO] [stdout] test tests::stored_vectors_are_retrievable ... ok [INFO] [stdout] test tests::two_identical_vectors ... ok [INFO] [stdout] test tests::wrong_dimension_panics - should panic ... ok [INFO] [stdout] test tests::prune_strategy_simple_gives_acceptable_recall ... ok [INFO] [stdout] test tests::stats_are_consistent ... ok [INFO] [stdout] test tests::recall_32d_high_ef_is_near_perfect ... ok [INFO] [stdout] test tests::prune_strategy_heuristic_gives_acceptable_recall ... ok [INFO] [stdout] test tests::recall_128d_is_acceptable ... ok [INFO] [stdout] test tests::max_level_grows_with_more_inserts ... ok [INFO] [stderr] Doc-tests fast_hnsw [INFO] [stdout] test tests::prune_strategy_heuristic_recall_ge_simple ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 41 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 35.44s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/labeled.rs - labeled (line 18) ... FAILED [INFO] [stdout] test src/builder.rs - builder::Builder::prune_strategy (line 110) ... FAILED [INFO] [stdout] test src/labeled.rs - labeled::Builder::build_labeled (line 231) ... FAILED [INFO] [stdout] test src/paired.rs - paired::PairedIndex::from_builder (line 129) ... FAILED [INFO] [stdout] test src/paired.rs - paired (line 37) ... FAILED [INFO] [stdout] test src/labeled.rs - labeled::LabeledIndex::from_builder (line 108) ... FAILED [INFO] [stdout] test src/labeled.rs - labeled (line 38) - compile ... FAILED [INFO] [stdout] test src/builder.rs - builder (line 3) ... FAILED [INFO] [stdout] test src/paired.rs - paired::PairedIndex::load (line 260) - compile ... FAILED [INFO] [stdout] test src/hnsw.rs - hnsw::Hnsw (line 464) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/paired.rs - paired::PairedIndex::save (line 242) - compile ... FAILED [INFO] [stdout] test src/paired.rs - paired::Builder::build_paired (line 309) ... FAILED [INFO] [stdout] test src/payload.rs - payload (line 9) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/labeled.rs - labeled (line 18) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/labeled.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use hnsw::labeled::LabeledIndex; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 18 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/labeled.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use hnsw::distance::Euclidean; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 18 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder::Builder::prune_strategy (line 110) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/builder.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | use hnsw::distance::Euclidean; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 110 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hnsw` [INFO] [stdout] --> src/builder.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | use hnsw::{Builder, PruneStrategy}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 111 | use hnsw_rs::hnsw::{Builder, PruneStrategy}; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/labeled.rs - labeled::Builder::build_labeled (line 231) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/labeled.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | use hnsw::{Builder, labeled::LabeledIndex}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 231 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/labeled.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | use hnsw::distance::Euclidean; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 231 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hnsw` [INFO] [stdout] --> src/labeled.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | use hnsw::{Builder, labeled::LabeledIndex}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 232 | use hnsw_rs::hnsw::{Builder, labeled::LabeledIndex}; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/paired.rs - paired::PairedIndex::from_builder (line 129) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/paired.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | use hnsw::{Builder, paired::PairedIndex}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 129 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/paired.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | use hnsw::distance::{Euclidean, Cosine}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 129 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hnsw` [INFO] [stdout] --> src/paired.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | use hnsw::{Builder, paired::PairedIndex}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 130 | use hnsw_rs::hnsw::{Builder, paired::PairedIndex}; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/paired.rs - paired (line 37) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/paired.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use hnsw::paired::PairedIndex; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 37 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/paired.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use hnsw::distance::Euclidean; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 37 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/labeled.rs - labeled::LabeledIndex::from_builder (line 108) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/labeled.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | use hnsw::{Builder, labeled::LabeledIndex}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 108 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/labeled.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | use hnsw::distance::Euclidean; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 108 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hnsw` [INFO] [stdout] --> src/labeled.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | use hnsw::{Builder, labeled::LabeledIndex}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 109 | use hnsw_rs::hnsw::{Builder, labeled::LabeledIndex}; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/labeled.rs - labeled (line 38) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/labeled.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use hnsw::labeled::LabeledIndex; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 38 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/labeled.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use hnsw::distance::Euclidean; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 38 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder (line 3) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/builder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hnsw::distance::Cosine; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 3 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hnsw` [INFO] [stdout] --> src/builder.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hnsw::{Builder, Hnsw}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 4 | use hnsw_rs::hnsw::{Builder, Hnsw}; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/paired.rs - paired::PairedIndex::load (line 260) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/paired.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | use hnsw::paired::PairedIndex; use hnsw::distance::Euclidean; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 260 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/paired.rs:261:36 [INFO] [stdout] | [INFO] [stdout] 261 | use hnsw::paired::PairedIndex; use hnsw::distance::Euclidean; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 260 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/hnsw.rs - hnsw::Hnsw (line 464) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/hnsw.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 466 | use hnsw::distance::Euclidean; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 464 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hnsw` [INFO] [stdout] --> src/hnsw.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 465 | use hnsw::{Hnsw, Config}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 465 | use hnsw_rs::hnsw::{Hnsw, Config}; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use hnsw::distance::Euclidean; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 12 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hnsw` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use hnsw::{Builder, Hnsw, SearchResult}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 13 | use hnsw_rs::hnsw::{Builder, Hnsw, SearchResult}; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/paired.rs - paired::PairedIndex::save (line 242) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/paired.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | use hnsw::paired::PairedIndex; use hnsw::distance::Euclidean; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 242 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/paired.rs:243:36 [INFO] [stdout] | [INFO] [stdout] 243 | use hnsw::paired::PairedIndex; use hnsw::distance::Euclidean; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 242 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/paired.rs - paired::Builder::build_paired (line 309) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/paired.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | use hnsw::{Builder, paired::PairedIndex}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 309 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/paired.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | use hnsw::distance::{Euclidean, Cosine}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 309 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hnsw` [INFO] [stdout] --> src/paired.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | use hnsw::{Builder, paired::PairedIndex}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 310 | use hnsw_rs::hnsw::{Builder, paired::PairedIndex}; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/payload.rs - payload (line 9) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `hnsw` in this scope [INFO] [stdout] --> src/payload.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use hnsw::payload::{Payload, DecodeError}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hnsw` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/hnsw.rs, use `mod hnsw` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 9 + mod hnsw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/builder.rs - builder (line 3) [INFO] [stdout] src/builder.rs - builder::Builder::prune_strategy (line 110) [INFO] [stdout] src/hnsw.rs - hnsw::Hnsw (line 464) [INFO] [stdout] src/labeled.rs - labeled (line 18) [INFO] [stdout] src/labeled.rs - labeled (line 38) [INFO] [stdout] src/labeled.rs - labeled::Builder::build_labeled (line 231) [INFO] [stdout] src/labeled.rs - labeled::LabeledIndex::from_builder (line 108) [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] src/paired.rs - paired (line 37) [INFO] [stdout] src/paired.rs - paired::Builder::build_paired (line 309) [INFO] [stdout] src/paired.rs - paired::PairedIndex::from_builder (line 129) [INFO] [stdout] src/paired.rs - paired::PairedIndex::load (line 260) [INFO] [stdout] src/paired.rs - paired::PairedIndex::save (line 242) [INFO] [stdout] src/payload.rs - payload (line 9) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.57s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7dadbe02ce0c3431fab54d989922ae52a53667a85d1f5e9894fceac4677309a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dadbe02ce0c3431fab54d989922ae52a53667a85d1f5e9894fceac4677309a6", kill_on_drop: false }` [INFO] [stdout] 7dadbe02ce0c3431fab54d989922ae52a53667a85d1f5e9894fceac4677309a6