[INFO] fetching crate hora-new 0.0.3...
[INFO] testing hora-new-0.0.3 against 1.75.0 for beta-1.76-1
[INFO] extracting crate hora-new 0.0.3 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate hora-new 0.0.3 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate hora-new 0.0.3
[INFO] finished tweaking crates.io crate hora-new 0.0.3
[INFO] tweaked toml for crates.io crate hora-new 0.0.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate crates.io crate hora-new 0.0.3 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.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded packed_simd_2 v0.3.8
[INFO] [stderr]   Downloaded clap v3.2.24
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 39f7961b3d2656bc0b26b23bf967ec4375657caee7e002cb907ebbfac237f556
[INFO] running `Command { std: "docker" "start" "-a" "39f7961b3d2656bc0b26b23bf967ec4375657caee7e002cb907ebbfac237f556", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "39f7961b3d2656bc0b26b23bf967ec4375657caee7e002cb907ebbfac237f556", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "39f7961b3d2656bc0b26b23bf967ec4375657caee7e002cb907ebbfac237f556", kill_on_drop: false }`
[INFO] [stdout] 39f7961b3d2656bc0b26b23bf967ec4375657caee7e002cb907ebbfac237f556
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] df139d8423a0b8406176c3688d7ebbf86df7d16773bc6f48c958f618bcd632f6
[INFO] running `Command { std: "docker" "start" "-a" "df139d8423a0b8406176c3688d7ebbf86df7d16773bc6f48c958f618bcd632f6", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling crossbeam-utils v0.8.15
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.160
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling memoffset v0.8.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.14
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling getrandom v0.2.9
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-complex v0.4.3
[INFO] [stderr]    Compiling rayon v1.7.0
[INFO] [stderr]    Compiling num v0.4.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling hora-new v0.0.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 8.26s
[INFO] running `Command { std: "docker" "inspect" "df139d8423a0b8406176c3688d7ebbf86df7d16773bc6f48c958f618bcd632f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df139d8423a0b8406176c3688d7ebbf86df7d16773bc6f48c958f618bcd632f6", kill_on_drop: false }`
[INFO] [stdout] df139d8423a0b8406176c3688d7ebbf86df7d16773bc6f48c958f618bcd632f6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1ec3b49121a518e34541de885c03fbea84159e7ab47353dda46b67c913a59678
[INFO] running `Command { std: "docker" "start" "-a" "1ec3b49121a518e34541de885c03fbea84159e7ab47353dda46b67c913a59678", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling ciborium-io v0.2.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling half v1.8.2
[INFO] [stderr]    Compiling plotters-backend v0.3.4
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling os_str_bytes v6.5.0
[INFO] [stderr]    Compiling itoa v1.0.6
[INFO] [stderr]    Compiling textwrap v0.16.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling regex-syntax v0.7.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling walkdir v2.3.3
[INFO] [stderr]    Compiling rayon v1.7.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling ciborium-ll v0.2.0
[INFO] [stderr]    Compiling plotters-svg v0.3.3
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling oorandom v11.1.3
[INFO] [stderr]    Compiling clap v3.2.24
[INFO] [stderr]    Compiling regex v1.8.1
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-complex v0.4.3
[INFO] [stderr]    Compiling plotters v0.3.4
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling ciborium v0.2.0
[INFO] [stderr]    Compiling num v0.4.0
[INFO] [stderr]    Compiling hora-new v0.0.3 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.4.0
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 7.11s
[INFO] running `Command { std: "docker" "inspect" "1ec3b49121a518e34541de885c03fbea84159e7ab47353dda46b67c913a59678", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ec3b49121a518e34541de885c03fbea84159e7ab47353dda46b67c913a59678", kill_on_drop: false }`
[INFO] [stdout] 1ec3b49121a518e34541de885c03fbea84159e7ab47353dda46b67c913a59678
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bf672da2c3883ae2fab64e1bdfc6771ceb6c827eeefd5ff26fafe238f8b32f56
[INFO] running `Command { std: "docker" "start" "-a" "bf672da2c3883ae2fab64e1bdfc6771ceb6c827eeefd5ff26fafe238f8b32f56", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hora_new-165b2ae32d943a75)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test core::calc::tests::test_dot ... ok
[INFO] [stdout] test core::node::node_test ... ok
[INFO] [stdout] test core::kmeans::tests::test_general_kmeans ... ok
[INFO] [stdout] test tests::test_all_index has been running for over 60 seconds
[INFO] [stdout] test tests::test_all_index ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 69.08s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests hora-new
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/core/ann_index.rs - core::ann_index::ANNIndex (line 18) ... FAILED
[INFO] [stdout] test src/core/ann_index.rs - core::ann_index::SerializableIndex (line 135) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/core/ann_index.rs - core::ann_index::ANNIndex (line 18) stdout ----
[INFO] [stdout] error: invalid format string: expected `'}'`, found `'{'`
[INFO] [stdout]  --> src/core/ann_index.rs:24:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | println!("{embedding {}'s nearest neighbor is {}}", 0, bf_idx.search(embs[0]));
[INFO] [stdout]   |           -          ^ expected `'}'` in format string
[INFO] [stdout]   |           |
[INFO] [stdout]   |           because of this opening brace
[INFO] [stdout]   |
[INFO] [stdout]   = note: if you intended to print `{`, you can escape it using `{{`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bf`
[INFO] [stdout]  --> src/core/ann_index.rs:19:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut bf_idx = Box::new(bf::bf::BruteForceIndex::<f32, usize>::new()); // use BruteForceIndex
[INFO] [stdout]   |                           ^^ use of undeclared crate or module `bf`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hora_new::index::bruteforce_idx::BruteForceIndex;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `BruteForceIndex`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - let mut bf_idx = Box::new(bf::bf::BruteForceIndex::<f32, usize>::new()); // use BruteForceIndex
[INFO] [stdout] 3 + let mut bf_idx = Box::new(BruteForceIndex::<f32, usize>::new()); // use BruteForceIndex
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `embs` in this scope
[INFO] [stdout]  --> src/core/ann_index.rs:20:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | for i in 0..embs.len() {
[INFO] [stdout]   |             ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to write `.` instead of `..`
[INFO] [stdout]   |
[INFO] [stdout] 4 - for i in 0..embs.len() {
[INFO] [stdout] 4 + for i in 0.embs.len() {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `node` in `core`
[INFO] [stdout]  --> src/core/ann_index.rs:21:27
[INFO] [stdout]   |
[INFO] [stdout] 5 |    bf_idx.add_node(&core::node::Node::<E, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout]   |                           ^^^^ could not find `node` in `core`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hora_new::core::node::Node;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Node`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 -    bf_idx.add_node(&core::node::Node::<E, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout] 5 +    bf_idx.add_node(&Node::<E, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `E` in this scope
[INFO] [stdout]  --> src/core/ann_index.rs:21:40
[INFO] [stdout]   |
[INFO] [stdout] 5 |    bf_idx.add_node(&core::node::Node::<E, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout]   |                                        ^
[INFO] [stdout]  --> /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/cmp.rs:305:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named trait `Eq` defined here
[INFO] [stdout]   |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 5 |    bf_idx.add_node(&core::node::Node::<Eq, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout]   |                                        ~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_ann_index_rs_18_0<E>() {
[INFO] [stdout]   |                                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `embs` in this scope
[INFO] [stdout]  --> src/core/ann_index.rs:21:65
[INFO] [stdout]   |
[INFO] [stdout] 5 |    bf_idx.add_node(&core::node::Node::<E, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout]   |                                                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `metrics` in `core`
[INFO] [stdout]  --> src/core/ann_index.rs:23:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | bf_idx.build(core::metrics::Metric::Euclidean).unwrap(); // build up index
[INFO] [stdout]   |                    ^^^^^^^ could not find `metrics` in `core`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hora_new::core::metrics::Metric;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Metric`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 7 - bf_idx.build(core::metrics::Metric::Euclidean).unwrap(); // build up index
[INFO] [stdout] 7 + bf_idx.build(Metric::Euclidean).unwrap(); // build up index
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/core/ann_index.rs - core::ann_index::SerializableIndex (line 135) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bf`
[INFO] [stdout]  --> src/core/ann_index.rs:136:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut bf_idx = Box::new(bf::bf::BruteForceIndex::<f32, usize>::new()); // use BruteForceIndex
[INFO] [stdout]   |                           ^^ use of undeclared crate or module `bf`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hora_new::index::bruteforce_idx::BruteForceIndex;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `BruteForceIndex`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - let mut bf_idx = Box::new(bf::bf::BruteForceIndex::<f32, usize>::new()); // use BruteForceIndex
[INFO] [stdout] 3 + let mut bf_idx = Box::new(BruteForceIndex::<f32, usize>::new()); // use BruteForceIndex
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `embs` in this scope
[INFO] [stdout]  --> src/core/ann_index.rs:137:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | for i in 0..embs.len() {
[INFO] [stdout]   |             ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to write `.` instead of `..`
[INFO] [stdout]   |
[INFO] [stdout] 4 - for i in 0..embs.len() {
[INFO] [stdout] 4 + for i in 0.embs.len() {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `node` in `core`
[INFO] [stdout]  --> src/core/ann_index.rs:138:27
[INFO] [stdout]   |
[INFO] [stdout] 5 |    bf_idx.add_node(&core::node::Node::<E, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout]   |                           ^^^^ could not find `node` in `core`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hora_new::core::node::Node;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Node`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 -    bf_idx.add_node(&core::node::Node::<E, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout] 5 +    bf_idx.add_node(&Node::<E, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `E` in this scope
[INFO] [stdout]  --> src/core/ann_index.rs:138:40
[INFO] [stdout]   |
[INFO] [stdout] 5 |    bf_idx.add_node(&core::node::Node::<E, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout]   |                                        ^
[INFO] [stdout]  --> /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/cmp.rs:305:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named trait `Eq` defined here
[INFO] [stdout]   |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 5 |    bf_idx.add_node(&core::node::Node::<Eq, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout]   |                                        ~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_ann_index_rs_135_0<E>() {
[INFO] [stdout]   |                                                                                  +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `embs` in this scope
[INFO] [stdout]  --> src/core/ann_index.rs:138:65
[INFO] [stdout]   |
[INFO] [stdout] 5 |    bf_idx.add_node(&core::node::Node::<E, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout]   |                                                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arguments`
[INFO] [stdout]  --> src/core/ann_index.rs:140:28
[INFO] [stdout]   |
[INFO] [stdout] 7 | bf_idx.dump("bf_idx.idx", &arguments::Args::new());
[INFO] [stdout]   |                            ^^^^^^^^^ use of undeclared crate or module `arguments`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::env::Args;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Args`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 7 - bf_idx.dump("bf_idx.idx", &arguments::Args::new());
[INFO] [stdout] 7 + bf_idx.dump("bf_idx.idx", &Args::new());
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bf`
[INFO] [stdout]  --> src/core/ann_index.rs:141:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | let bf_idx2 = Box::new(bf::bf::BruteForceIndex::<f32, usize>::load("bf_idx.idx", &argument).unwrap());
[INFO] [stdout]   |                        ^^ use of undeclared crate or module `bf`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hora_new::index::bruteforce_idx::BruteForceIndex;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `BruteForceIndex`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 8 - let bf_idx2 = Box::new(bf::bf::BruteForceIndex::<f32, usize>::load("bf_idx.idx", &argument).unwrap());
[INFO] [stdout] 8 + let bf_idx2 = Box::new(BruteForceIndex::<f32, usize>::load("bf_idx.idx", &argument).unwrap());
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `argument` in this scope
[INFO] [stdout]  --> src/core/ann_index.rs:141:83
[INFO] [stdout]   |
[INFO] [stdout] 8 | let bf_idx2 = Box::new(bf::bf::BruteForceIndex::<f32, usize>::load("bf_idx.idx", &argument).unwrap());
[INFO] [stdout]   |                                                                                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/core/ann_index.rs - core::ann_index::ANNIndex (line 18)
[INFO] [stdout]     src/core/ann_index.rs - core::ann_index::SerializableIndex (line 135)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "bf672da2c3883ae2fab64e1bdfc6771ceb6c827eeefd5ff26fafe238f8b32f56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf672da2c3883ae2fab64e1bdfc6771ceb6c827eeefd5ff26fafe238f8b32f56", kill_on_drop: false }`
[INFO] [stdout] bf672da2c3883ae2fab64e1bdfc6771ceb6c827eeefd5ff26fafe238f8b32f56
