[INFO] fetching crate hora 0.1.1...
[INFO] testing hora-0.1.1 against beta-2022-07-10 for beta-1.63-1
[INFO] extracting crate hora 0.1.1 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate hora 0.1.1 on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate hora 0.1.1
[INFO] finished tweaking crates.io crate hora 0.1.1
[INFO] tweaked toml for crates.io crate hora 0.1.1 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate crates.io crate hora 0.1.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8526393f9639fe72a5071606e00a3bbf9a8d8f31c4de5efce7ac6460fa436655
[INFO] running `Command { std: "docker" "start" "-a" "8526393f9639fe72a5071606e00a3bbf9a8d8f31c4de5efce7ac6460fa436655", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8526393f9639fe72a5071606e00a3bbf9a8d8f31c4de5efce7ac6460fa436655", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8526393f9639fe72a5071606e00a3bbf9a8d8f31c4de5efce7ac6460fa436655", kill_on_drop: false }`
[INFO] [stdout] 8526393f9639fe72a5071606e00a3bbf9a8d8f31c4de5efce7ac6460fa436655
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c0fcd06bf62eb54199867a044f11804f4d41436eb0c30c280317f1cfc755ce8f
[INFO] running `Command { std: "docker" "start" "-a" "c0fcd06bf62eb54199867a044f11804f4d41436eb0c30c280317f1cfc755ce8f", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling proc-macro2 v1.0.28
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling serde_derive v1.0.127
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling serde v1.0.127
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling fixedbitset v0.4.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling num-bigint v0.4.0
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling num-complex v0.4.0
[INFO] [stderr]    Compiling num v0.4.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling hora v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 13.46s
[INFO] running `Command { std: "docker" "inspect" "c0fcd06bf62eb54199867a044f11804f4d41436eb0c30c280317f1cfc755ce8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0fcd06bf62eb54199867a044f11804f4d41436eb0c30c280317f1cfc755ce8f", kill_on_drop: false }`
[INFO] [stdout] c0fcd06bf62eb54199867a044f11804f4d41436eb0c30c280317f1cfc755ce8f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1a532605ff47d68baa71888f69bd45f95c26333cfdcb3b8170bb9d3cf4c8a569
[INFO] running `Command { std: "docker" "start" "-a" "1a532605ff47d68baa71888f69bd45f95c26333cfdcb3b8170bb9d3cf4c8a569", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver v1.0.4
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling serde_json v1.0.66
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling plotters-backend v0.3.2
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling half v1.7.1
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling oorandom v11.1.3
[INFO] [stderr]    Compiling itertools v0.10.1
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling serde_cbor v0.11.1
[INFO] [stderr]    Compiling plotters-svg v0.3.1
[INFO] [stderr]    Compiling plotters v0.3.1
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling bstr v0.2.16
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling csv v1.1.6
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion-plot v0.4.4
[INFO] [stderr]    Compiling criterion v0.3.5
[INFO] [stderr]    Compiling hora v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 11.90s
[INFO] running `Command { std: "docker" "inspect" "1a532605ff47d68baa71888f69bd45f95c26333cfdcb3b8170bb9d3cf4c8a569", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a532605ff47d68baa71888f69bd45f95c26333cfdcb3b8170bb9d3cf4c8a569", kill_on_drop: false }`
[INFO] [stdout] 1a532605ff47d68baa71888f69bd45f95c26333cfdcb3b8170bb9d3cf4c8a569
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9ef87985264db742fa02c5f038bd4115d83bdbc61074a4affac6b50b344abf1c
[INFO] running `Command { std: "docker" "start" "-a" "9ef87985264db742fa02c5f038bd4115d83bdbc61074a4affac6b50b344abf1c", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.30s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hora-194530242020aba4)
[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 266.10s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests hora
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/core/ann_index.rs - core::ann_index::ANNIndex (line 15) ... FAILED
[INFO] [stdout] test src/core/ann_index.rs - core::ann_index::SerializableIndex (line 132) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/core/ann_index.rs - core::ann_index::ANNIndex (line 15) stdout ----
[INFO] [stdout] error: mismatched closing delimiter: `}`
[INFO] [stdout]  --> src/core/ann_index.rs:21:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_ann_index_rs_15_0() {
[INFO] [stdout]   |                                                                                    - closing delimiter possibly meant for this
[INFO] [stdout] ...
[INFO] [stdout] 8 | println!("{embedding {}'s nearest neighbor is {}}", 0, bf_idx.search(embs[0]);
[INFO] [stdout]   |         ^ unclosed delimiter
[INFO] [stdout] 9 | } _doctest_main_src_core_ann_index_rs_15_0() }
[INFO] [stdout]   | ^ mismatched closing delimiter
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `,`, `.`, `?`, or an operator, found `;`
[INFO] [stdout]  --> src/core/ann_index.rs:21:78
[INFO] [stdout]   |
[INFO] [stdout] 8 | println!("{embedding {}'s nearest neighbor is {}}", 0, bf_idx.search(embs[0]);
[INFO] [stdout]   |                                                                              ^ expected one of `,`, `.`, `?`, or an operator
[INFO] [stdout] 
[INFO] [stdout] error: invalid format string: expected `'}'`, found `'{'`
[INFO] [stdout]  --> src/core/ann_index.rs:21: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: could not find `metrics` in `core`
[INFO] [stdout]  --> src/core/ann_index.rs:20:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | idx.build(core::metrics::Metric::Euclidean).unwrap(); // build up index
[INFO] [stdout]   |                 ^^^^^^^ could not find `metrics` in `core`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bf`
[INFO] [stdout]  --> src/core/ann_index.rs:16:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut bf_idx = Box::new(bf::bf::BruteForceIndex::<f32, usize>::new()); // use BruteForceIndex
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^ not found in `bf::bf`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hora::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:17:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | for i in 0..embs.len() {
[INFO] [stdout]   |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `node` in `core`
[INFO] [stdout]  --> src/core/ann_index.rs:18:33
[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 `core::node`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hora::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:18: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]   |
[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_15_0<E>() {
[INFO] [stdout]   |                                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `embs` in this scope
[INFO] [stdout]  --> src/core/ann_index.rs:18: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[E0425]: cannot find value `idx` in this scope
[INFO] [stdout]  --> src/core/ann_index.rs:20:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | idx.build(core::metrics::Metric::Euclidean).unwrap(); // build up index
[INFO] [stdout]   | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 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 132) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bf`
[INFO] [stdout]  --> src/core/ann_index.rs:133:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut bf_idx = Box::new(bf::bf::BruteForceIndex::<f32, usize>::new()); // use BruteForceIndex
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^ not found in `bf::bf`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hora::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:134:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | for i in 0..embs.len() {
[INFO] [stdout]   |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `node` in `core`
[INFO] [stdout]  --> src/core/ann_index.rs:135:33
[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 `core::node`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hora::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:135: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]   |
[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_132_0<E>() {
[INFO] [stdout]   |                                                                                  +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `embs` in this scope
[INFO] [stdout]  --> src/core/ann_index.rs:135: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:137:39
[INFO] [stdout]   |
[INFO] [stdout] 7 | bf_idx.dump("bf_idx.idx", &arguments::Args::new());
[INFO] [stdout]   |                                       ^^^^ not found in `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:138:32
[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 `bf::bf`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hora::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:138: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 15)
[INFO] [stdout]     src/core/ann_index.rs - core::ann_index::SerializableIndex (line 132)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.58s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "9ef87985264db742fa02c5f038bd4115d83bdbc61074a4affac6b50b344abf1c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ef87985264db742fa02c5f038bd4115d83bdbc61074a4affac6b50b344abf1c", kill_on_drop: false }`
[INFO] [stdout] 9ef87985264db742fa02c5f038bd4115d83bdbc61074a4affac6b50b344abf1c
