[INFO] fetching crate hora 0.1.1... [INFO] testing hora-0.1.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate hora 0.1.1 into /workspace/builds/worker-16/source [INFO] validating manifest of crates.io crate hora 0.1.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-16/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.127 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.75 [INFO] [stderr] Downloaded serde_json v1.0.66 [INFO] [stderr] Downloaded ahash v0.7.4 [INFO] [stderr] Downloaded serde v1.0.127 [INFO] [stderr] Downloaded num v0.4.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.75 [INFO] [stderr] Downloaded proc-macro2 v1.0.28 [INFO] [stderr] Downloaded once_cell v1.8.0 [INFO] [stderr] Downloaded memoffset v0.6.4 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.75 [INFO] [stderr] Downloaded libm v0.1.4 [INFO] [stderr] Downloaded syn v1.0.74 [INFO] [stderr] Downloaded js-sys v0.3.52 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.75 [INFO] [stderr] Downloaded packed_simd_2 v0.3.5 [INFO] [stderr] Downloaded fixedbitset v0.4.0 [INFO] [stderr] Downloaded bumpalo v3.7.0 [INFO] [stderr] Downloaded web-sys v0.3.52 [INFO] [stderr] Downloaded wasm-bindgen v0.2.75 [INFO] [stderr] Downloaded num-bigint v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3dd5be7f553ca197ee6b467233a1477c5b6cfb65d201ced04c6691487956d261 [INFO] running `Command { std: "docker" "start" "-a" "3dd5be7f553ca197ee6b467233a1477c5b6cfb65d201ced04c6691487956d261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3dd5be7f553ca197ee6b467233a1477c5b6cfb65d201ced04c6691487956d261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dd5be7f553ca197ee6b467233a1477c5b6cfb65d201ced04c6691487956d261", kill_on_drop: false }` [INFO] [stdout] 3dd5be7f553ca197ee6b467233a1477c5b6cfb65d201ced04c6691487956d261 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d991907caf8b11507ed84b608a1d79b80cb58c2f33d2ef04c90962920b0f12e0 [INFO] running `Command { std: "docker" "start" "-a" "d991907caf8b11507ed84b608a1d79b80cb58c2f33d2ef04c90962920b0f12e0", 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 unicode-xid v0.2.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling log v0.4.14 [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-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [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 crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.3.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 14.84s [INFO] running `Command { std: "docker" "inspect" "d991907caf8b11507ed84b608a1d79b80cb58c2f33d2ef04c90962920b0f12e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d991907caf8b11507ed84b608a1d79b80cb58c2f33d2ef04c90962920b0f12e0", kill_on_drop: false }` [INFO] [stdout] d991907caf8b11507ed84b608a1d79b80cb58c2f33d2ef04c90962920b0f12e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9699355f31c1d52dfb4205ae7e67c6361540796bd0f49fc12e25c5fe301a51ad [INFO] running `Command { std: "docker" "start" "-a" "9699355f31c1d52dfb4205ae7e67c6361540796bd0f49fc12e25c5fe301a51ad", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling half v1.7.1 [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.29s [INFO] running `Command { std: "docker" "inspect" "9699355f31c1d52dfb4205ae7e67c6361540796bd0f49fc12e25c5fe301a51ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9699355f31c1d52dfb4205ae7e67c6361540796bd0f49fc12e25c5fe301a51ad", kill_on_drop: false }` [INFO] [stdout] 9699355f31c1d52dfb4205ae7e67c6361540796bd0f49fc12e25c5fe301a51ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 16eb0de9363e1da003febbc97e43ddfc86e540cdc0d4359e492a9ff58de12648 [INFO] running `Command { std: "docker" "start" "-a" "16eb0de9363e1da003febbc97e43ddfc86e540cdc0d4359e492a9ff58de12648", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hora-d2d89058345cb96f) [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 211.41s [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::SerializableIndex (line 132) ... FAILED [INFO] [stdout] test src/core/ann_index.rs - core::ann_index::ANNIndex (line 15) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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::::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] [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::::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] [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::::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::::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() { [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::::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] [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::::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] [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::::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] ---- 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::::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] [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::::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] [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::::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::::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() { [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::::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] [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.13s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "16eb0de9363e1da003febbc97e43ddfc86e540cdc0d4359e492a9ff58de12648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16eb0de9363e1da003febbc97e43ddfc86e540cdc0d4359e492a9ff58de12648", kill_on_drop: false }` [INFO] [stdout] 16eb0de9363e1da003febbc97e43ddfc86e540cdc0d4359e492a9ff58de12648