[INFO] fetching crate seekstorm 0.8.0...
[INFO] testing seekstorm-0.8.0 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate seekstorm 0.8.0 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate seekstorm 0.8.0 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml
[INFO] started tweaking crates.io crate seekstorm 0.8.0
[INFO] finished tweaking crates.io crate seekstorm 0.8.0
[INFO] tweaked toml for crates.io crate seekstorm 0.8.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate crates.io crate seekstorm 0.8.0 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" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 60290e431641c89ec8eea7faf9a899c48f4e67eff10fea5a6da1527e8c00af79
[INFO] running `Command { std: "docker" "start" "-a" "60290e431641c89ec8eea7faf9a899c48f4e67eff10fea5a6da1527e8c00af79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "60290e431641c89ec8eea7faf9a899c48f4e67eff10fea5a6da1527e8c00af79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "60290e431641c89ec8eea7faf9a899c48f4e67eff10fea5a6da1527e8c00af79", kill_on_drop: false }`
[INFO] [stdout] 60290e431641c89ec8eea7faf9a899c48f4e67eff10fea5a6da1527e8c00af79
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5f64ce95444ad8c13f274c1e09460ece61268303bcf8193ff92aaeba800e4f82
[INFO] running `Command { std: "docker" "start" "-a" "5f64ce95444ad8c13f274c1e09460ece61268303bcf8193ff92aaeba800e4f82", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling serde v1.0.213
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling colored v2.1.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.13
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling num-format v0.4.4
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling finl_unicode v1.2.0
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling memmap2 v0.9.5
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling ctrlc v3.4.5
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.213
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling async-recursion v1.1.1
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling zstd v0.13.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling hyper v0.14.31
[INFO] [stderr]    Compiling seekstorm v0.8.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.28s
[INFO] running `Command { std: "docker" "inspect" "5f64ce95444ad8c13f274c1e09460ece61268303bcf8193ff92aaeba800e4f82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f64ce95444ad8c13f274c1e09460ece61268303bcf8193ff92aaeba800e4f82", kill_on_drop: false }`
[INFO] [stdout] 5f64ce95444ad8c13f274c1e09460ece61268303bcf8193ff92aaeba800e4f82
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d2e8c94ff2db9788d0ce6dd101c8ae5bc5a3b74bf75cb974402ccd850909ee76
[INFO] running `Command { std: "docker" "start" "-a" "d2e8c94ff2db9788d0ce6dd101c8ae5bc5a3b74bf75cb974402ccd850909ee76", kill_on_drop: false }`
[INFO] [stderr]    Compiling seekstorm v0.8.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.33s
[INFO] running `Command { std: "docker" "inspect" "d2e8c94ff2db9788d0ce6dd101c8ae5bc5a3b74bf75cb974402ccd850909ee76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2e8c94ff2db9788d0ce6dd101c8ae5bc5a3b74bf75cb974402ccd850909ee76", kill_on_drop: false }`
[INFO] [stdout] d2e8c94ff2db9788d0ce6dd101c8ae5bc5a3b74bf75cb974402ccd850909ee76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e9593866a62de285f2359c256121ddfec69cc5e627f66239b6913314892fd0c4
[INFO] running `Command { std: "docker" "start" "-a" "e9593866a62de285f2359c256121ddfec69cc5e627f66239b6913314892fd0c4", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/seekstorm/lib.rs (/opt/rustwide/target/debug/deps/seekstorm-84e37c416dbbb51e)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/seekstorm_server/main.rs (/opt/rustwide/target/debug/deps/seekstorm_server-703b57a1b1446355)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests seekstorm
[INFO] [stdout] 
[INFO] [stdout] running 21 tests
[INFO] [stdout] test src/seekstorm/lib.rs - (line 136) ... FAILED
[INFO] [stdout] test src/seekstorm/lib.rs - (line 128) ... FAILED
[INFO] [stdout] test src/seekstorm/lib.rs - (line 132) ... FAILED
[INFO] [stdout] test src/seekstorm/lib.rs - (line 256) ... FAILED
[INFO] [stdout] test src/seekstorm/lib.rs - (line 140) ... FAILED
[INFO] [stdout] test src/seekstorm/lib.rs - (line 60) ... FAILED
[INFO] [stdout] test src/seekstorm/lib.rs - (line 207) ... FAILED
[INFO] [stdout] test src/seekstorm/lib.rs - (line 55) ... FAILED
[INFO] [stdout] test src/seekstorm/lib.rs - (line 217) ... FAILED
[INFO] [stdout] test src/seekstorm/lib.rs - (line 183) ... FAILED
[INFO] [stdout] test src/seekstorm/lib.rs - (line 32) ... FAILED
[INFO] [stdout] test src/seekstorm/lib.rs - (line 221) ... FAILED
[INFO] [stdout] test src/seekstorm/lib.rs - (line 236) ... FAILED
[INFO] [stdout] test src/seekstorm/lib.rs - (line 108) ... FAILED
[INFO] [stdout] test src/seekstorm/lib.rs - (line 170) ... ok
[INFO] [stdout] test src/seekstorm/lib.rs - (line 19) ... ok
[INFO] [stdout] test src/seekstorm/lib.rs - (line 93) ... FAILED
[INFO] [stdout] test src/seekstorm/lib.rs - (line 85) ... FAILED
[INFO] [stdout] test src/seekstorm/lib.rs - (line 70) ... FAILED
[INFO] [stdout] test src/seekstorm/lib.rs - (line 97) ... FAILED
[INFO] [stdout] test src/seekstorm/lib.rs - (line 75) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/seekstorm/lib.rs - (line 136) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `index` in this scope
[INFO] [stdout]  --> src/seekstorm/lib.rs:137:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | index.close_index();
[INFO] [stdout]   | ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/seekstorm/lib.rs - (line 128) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `index` in this scope
[INFO] [stdout]  --> src/seekstorm/lib.rs:129:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | index.clear_index();
[INFO] [stdout]   | ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/seekstorm/lib.rs - (line 132) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `index` in this scope
[INFO] [stdout]  --> src/seekstorm/lib.rs:133:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | index.delete_index();
[INFO] [stdout]   | ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/seekstorm/lib.rs - (line 256) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `result_object` in this scope
[INFO] [stdout]  --> src/seekstorm/lib.rs:257:46
[INFO] [stdout]   |
[INFO] [stdout] 3 | println!("{}", serde_json::to_string_pretty(&result_object.facets).unwrap());
[INFO] [stdout]   |                                              ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/seekstorm/lib.rs - (line 140) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `version` in this scope
[INFO] [stdout]  --> src/seekstorm/lib.rs:141:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let version=version();
[INFO] [stdout]   |             ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use seekstorm::index::version;
[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 E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/seekstorm/lib.rs - (line 60) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `index_arc` in this scope
[INFO] [stdout]  --> src/seekstorm/lib.rs:67:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | index_arc.index_documents(documents_vec).await;
[INFO] [stdout]   | ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/seekstorm/lib.rs:67:42
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_seekstorm_lib_rs_60_0() {
[INFO] [stdout]   |                                      -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | index_arc.index_documents(documents_vec).await;
[INFO] [stdout]   |                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/seekstorm/lib.rs - (line 207) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `index_arc` in this scope
[INFO] [stdout]  --> src/seekstorm/lib.rs:214:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | index_arc.index_documents(documents_vec).await;
[INFO] [stdout]   | ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/seekstorm/lib.rs:214:42
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_seekstorm_lib_rs_207_0() {
[INFO] [stdout]   |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | index_arc.index_documents(documents_vec).await;
[INFO] [stdout]   |                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/seekstorm/lib.rs - (line 55) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]  --> src/seekstorm/lib.rs:56:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let index_path=Path::new("C:/index/");
[INFO] [stdout]   |                ^^^^ use of undeclared type `Path`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::path::Path;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `open_index` in this scope
[INFO] [stdout]  --> src/seekstorm/lib.rs:57:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | let index_arc=open_index(index_path).await.unwrap();
[INFO] [stdout]   |               ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use seekstorm::index::open_index;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/seekstorm/lib.rs:57:38
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_seekstorm_lib_rs_55_0() {
[INFO] [stdout]   |                                      -------------------------------------------- this is not `async`
[INFO] [stdout] 3 | let index_path=Path::new("C:/index/");
[INFO] [stdout] 4 | let index_arc=open_index(index_path).await.unwrap();
[INFO] [stdout]   |                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/seekstorm/lib.rs - (line 217) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `index_arc` in this scope
[INFO] [stdout]  --> src/seekstorm/lib.rs:218:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | index_arc.commit().await;
[INFO] [stdout]   | ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/seekstorm/lib.rs:218:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_seekstorm_lib_rs_217_0() {
[INFO] [stdout]   |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] 3 | index_arc.commit().await;
[INFO] [stdout]   |                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/seekstorm/lib.rs - (line 183) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]  --> src/seekstorm/lib.rs:184:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let index_path=Path::new("C:/index/");//x
[INFO] [stdout]   |                ^^^^ use of undeclared type `Path`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::path::Path;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IndexMetaObject` in this scope
[INFO] [stdout]   --> src/seekstorm/lib.rs:193:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | let meta = IndexMetaObject {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use seekstorm::index::IndexMetaObject;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SimilarityType`
[INFO] [stdout]   --> src/seekstorm/lib.rs:196:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |     similarity:SimilarityType::Bm25f,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ use of undeclared type `SimilarityType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use seekstorm::index::SimilarityType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenizerType`
[INFO] [stdout]   --> src/seekstorm/lib.rs:197:15
[INFO] [stdout]    |
[INFO] [stdout] 16 |     tokenizer:TokenizerType::AsciiAlphabetic,
[INFO] [stdout]    |               ^^^^^^^^^^^^^ use of undeclared type `TokenizerType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use seekstorm::index::TokenizerType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccessType`
[INFO] [stdout]   --> src/seekstorm/lib.rs:198:18
[INFO] [stdout]    |
[INFO] [stdout] 17 |     access_type: AccessType::Mmap,
[INFO] [stdout]    |                  ^^^^^^^^^^ use of undeclared type `AccessType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use seekstorm::index::AccessType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_index` in this scope
[INFO] [stdout]   --> src/seekstorm/lib.rs:203:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | let index=create_index(index_path,meta,&schema,serialize_schema,segment_number_bits1,false).unwrap();
[INFO] [stdout]    |           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use seekstorm::index::create_index;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/seekstorm/lib.rs:204:21
[INFO] [stdout]    |
[INFO] [stdout] 23 | let mut index_arc = Arc::new(RwLock::new(index));
[INFO] [stdout]    |                     ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RwLock`
[INFO] [stdout]   --> src/seekstorm/lib.rs:204:30
[INFO] [stdout]    |
[INFO] [stdout] 23 | let mut index_arc = Arc::new(RwLock::new(index));
[INFO] [stdout]    |                              ^^^^^^ use of undeclared type `RwLock`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::sync::RwLock;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tokio::sync::RwLock;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/seekstorm/lib.rs - (line 32) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]  --> src/seekstorm/lib.rs:33:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let index_path=Path::new("C:/index/");
[INFO] [stdout]   |                ^^^^ use of undeclared type `Path`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::path::Path;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IndexMetaObject` in this scope
[INFO] [stdout]   --> src/seekstorm/lib.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | let meta = IndexMetaObject {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use seekstorm::index::IndexMetaObject;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SimilarityType`
[INFO] [stdout]   --> src/seekstorm/lib.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | similarity:SimilarityType::Bm25f,
[INFO] [stdout]    |            ^^^^^^^^^^^^^^ use of undeclared type `SimilarityType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use seekstorm::index::SimilarityType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenizerType`
[INFO] [stdout]   --> src/seekstorm/lib.rs:45:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | tokenizer:TokenizerType::AsciiAlphabetic,
[INFO] [stdout]    |           ^^^^^^^^^^^^^ use of undeclared type `TokenizerType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use seekstorm::index::TokenizerType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccessType`
[INFO] [stdout]   --> src/seekstorm/lib.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | access_type: AccessType::Mmap,
[INFO] [stdout]    |              ^^^^^^^^^^ use of undeclared type `AccessType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use seekstorm::index::AccessType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_index` in this scope
[INFO] [stdout]   --> src/seekstorm/lib.rs:51:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | let index=create_index(index_path,meta,&schema,serialize_schema,segment_number_bits1).unwrap();
[INFO] [stdout]    |           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use seekstorm::index::create_index;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/seekstorm/lib.rs:52:18
[INFO] [stdout]    |
[INFO] [stdout] 22 | let _index_arc = Arc::new(RwLock::new(index));
[INFO] [stdout]    |                  ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RwLock`
[INFO] [stdout]   --> src/seekstorm/lib.rs:52:27
[INFO] [stdout]    |
[INFO] [stdout] 22 | let _index_arc = Arc::new(RwLock::new(index));
[INFO] [stdout]    |                           ^^^^^^ use of undeclared type `RwLock`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::sync::RwLock;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tokio::sync::RwLock;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/seekstorm/lib.rs - (line 221) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryType`
[INFO] [stdout]  --> src/seekstorm/lib.rs:225:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | let query_type=QueryType::Intersection;
[INFO] [stdout]   |                ^^^^^^^^^ use of undeclared type `QueryType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use seekstorm::search::QueryType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResultType`
[INFO] [stdout]  --> src/seekstorm/lib.rs:226:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | let result_type=ResultType::TopkCount;
[INFO] [stdout]   |                 ^^^^^^^^^^ use of undeclared type `ResultType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use seekstorm::search::ResultType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryFacet`
[INFO] [stdout]   --> src/seekstorm/lib.rs:229:25
[INFO] [stdout]    |
[INFO] [stdout] 10 | let query_facets = vec![QueryFacet::String {field: "town".to_string(),prefix: "".to_string(),length: u16::MAX}];
[INFO] [stdout]    |                         ^^^^^^^^^^ use of undeclared type `QueryFacet`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use seekstorm::search::QueryFacet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `index_arc` in this scope
[INFO] [stdout]   --> src/seekstorm/lib.rs:233:21
[INFO] [stdout]    |
[INFO] [stdout] 14 | let result_object = index_arc.search(query, query_type, offset, length, result_type,include_uncommitted,field_filter,query_facets,facet_f...
[INFO] [stdout]    |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/seekstorm/lib.rs:233:145
[INFO] [stdout]    |
[INFO] [stdout] 2  | ...e_case)] fn _doctest_main_src_seekstorm_lib_rs_221_0() {
[INFO] [stdout]    |             --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 14 | ...c.search(query, query_type, offset, length, result_type,include_uncommitted,field_filter,query_facets,facet_filter).await;
[INFO] [stdout]    |                                                                                                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/seekstorm/lib.rs - (line 236) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Highlight` in this scope
[INFO] [stdout]  --> src/seekstorm/lib.rs:237:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | let highlights:Vec<Highlight>= vec![
[INFO] [stdout]   |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use seekstorm::highlighter::Highlight;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Highlight` in this scope
[INFO] [stdout]  --> src/seekstorm/lib.rs:238:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |         Highlight {
[INFO] [stdout]   |         ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use seekstorm::highlighter::Highlight;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `highlighter` in this scope
[INFO] [stdout]   --> src/seekstorm/lib.rs:247:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | let highlighter2=Some(highlighter(highlights, result_object.query_terms));
[INFO] [stdout]    |                       ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 13 | let highlighter2=Some(highlights(highlights, result_object.query_terms));
[INFO] [stdout]    |                       ~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use seekstorm::highlighter::highlighter;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `result_object` in this scope
[INFO] [stdout]   --> src/seekstorm/lib.rs:247:47
[INFO] [stdout]    |
[INFO] [stdout] 13 | let highlighter2=Some(highlighter(highlights, result_object.query_terms));
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashSet`
[INFO] [stdout]   --> src/seekstorm/lib.rs:248:27
[INFO] [stdout]    |
[INFO] [stdout] 14 | let return_fields_filter= HashSet::new();
[INFO] [stdout]    |                           ^^^^^^^ use of undeclared type `HashSet`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::collections::HashSet;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use ahash::HashSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `index_arc` in this scope
[INFO] [stdout]   --> src/seekstorm/lib.rs:249:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | let index=index_arc.write().await;
[INFO] [stdout]    |           ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `result_object` in this scope
[INFO] [stdout]   --> src/seekstorm/lib.rs:250:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | for result in result_object.results.iter() {
[INFO] [stdout]    |               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/seekstorm/lib.rs:249:29
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_seekstorm_lib_rs_236_0() {
[INFO] [stdout]    |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | let index=index_arc.write().await;
[INFO] [stdout]    |                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/seekstorm/lib.rs - (line 108) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Highlight` in this scope
[INFO] [stdout]  --> src/seekstorm/lib.rs:109:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | let highlights:Vec<Highlight>= vec![
[INFO] [stdout]   |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use seekstorm::highlighter::Highlight;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Highlight` in this scope
[INFO] [stdout]  --> src/seekstorm/lib.rs:110:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | Highlight {
[INFO] [stdout]   | ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use seekstorm::highlighter::Highlight;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `highlighter` in this scope
[INFO] [stdout]   --> src/seekstorm/lib.rs:119:22
[INFO] [stdout]    |
[INFO] [stdout] 13 | let highlighter=Some(highlighter(highlights, result_object.query_term_strings));
[INFO] [stdout]    |                      ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 13 | let highlighter=Some(highlights(highlights, result_object.query_term_strings));
[INFO] [stdout]    |                      ~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use seekstorm::highlighter::highlighter;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `result_object` in this scope
[INFO] [stdout]   --> src/seekstorm/lib.rs:119:46
[INFO] [stdout]    |
[INFO] [stdout] 13 | let highlighter=Some(highlighter(highlights, result_object.query_term_strings));
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashSet`
[INFO] [stdout]   --> src/seekstorm/lib.rs:120:27
[INFO] [stdout]    |
[INFO] [stdout] 14 | let return_fields_filter= HashSet::new();
[INFO] [stdout]    |                           ^^^^^^^ use of undeclared type `HashSet`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::collections::HashSet;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use ahash::HashSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `index_arc` in this scope
[INFO] [stdout]   --> src/seekstorm/lib.rs:121:15
[INFO] [stdout]    |
[INFO] [stdout] 15 | let mut index=index_arc.write().await;
[INFO] [stdout]    |               ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `result_object` in this scope
[INFO] [stdout]   --> src/seekstorm/lib.rs:122:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | for result in result_object.results.iter() {
[INFO] [stdout]    |               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/seekstorm/lib.rs:121:33
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_seekstorm_lib_rs_108_0() {
[INFO] [stdout]    |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | let mut index=index_arc.write().await;
[INFO] [stdout]    |                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/seekstorm/lib.rs - (line 93) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `index_arc` in this scope
[INFO] [stdout]  --> src/seekstorm/lib.rs:94:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | index_arc.commit().await;
[INFO] [stdout]   | ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/seekstorm/lib.rs:94:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_seekstorm_lib_rs_93_0() {
[INFO] [stdout]   |                                      -------------------------------------------- this is not `async`
[INFO] [stdout] 3 | index_arc.commit().await;
[INFO] [stdout]   |                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/seekstorm/lib.rs - (line 85) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `index_arc` in this scope
[INFO] [stdout]  --> src/seekstorm/lib.rs:90:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | index_arc.update_documents(id_document_vec).await;
[INFO] [stdout]   | ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/seekstorm/lib.rs:90:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_seekstorm_lib_rs_85_0() {
[INFO] [stdout]   |                                      -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | index_arc.update_documents(id_document_vec).await;
[INFO] [stdout]   |                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/seekstorm/lib.rs - (line 70) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `index_arc` in this scope
[INFO] [stdout]  --> src/seekstorm/lib.rs:72:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | index_arc.delete_documents(docid_vec).await;
[INFO] [stdout]   | ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/seekstorm/lib.rs:72:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_seekstorm_lib_rs_70_0() {
[INFO] [stdout]   |                                      -------------------------------------------- this is not `async`
[INFO] [stdout] 3 | let docid_vec=vec![1,2];
[INFO] [stdout] 4 | index_arc.delete_documents(docid_vec).await;
[INFO] [stdout]   |                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/seekstorm/lib.rs - (line 97) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryType`
[INFO] [stdout]  --> src/seekstorm/lib.rs:101:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | let query_type=QueryType::Intersection;
[INFO] [stdout]   |                ^^^^^^^^^ use of undeclared type `QueryType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use seekstorm::search::QueryType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResultType`
[INFO] [stdout]  --> src/seekstorm/lib.rs:102:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | let result_type=ResultType::TopkCount;
[INFO] [stdout]   |                 ^^^^^^^^^^ use of undeclared type `ResultType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use seekstorm::search::ResultType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `index_arc` in this scope
[INFO] [stdout]   --> src/seekstorm/lib.rs:105:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | let result_object = index_arc.search(query, query_type, offset, length, result_type,include_uncommitted,field_filter).await;
[INFO] [stdout]    |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/seekstorm/lib.rs:105:119
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_seekstorm_lib_rs_97_0() {
[INFO] [stdout]    |                                      -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | let result_object = index_arc.search(query, query_type, offset, length, result_type,include_uncommitted,field_filter).await;
[INFO] [stdout]    |                                                                                                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/seekstorm/lib.rs - (line 75) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryType`
[INFO] [stdout]  --> src/seekstorm/lib.rs:79:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | let query_type=QueryType::Intersection;
[INFO] [stdout]   |                ^^^^^^^^^ use of undeclared type `QueryType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use seekstorm::search::QueryType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `index_arc` in this scope
[INFO] [stdout]  --> src/seekstorm/lib.rs:82:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | index_arc.delete_documents_by_query(query, query_type, offset, length, include_uncommitted,field_filter).await;
[INFO] [stdout]   | ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/seekstorm/lib.rs:82:106
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_seekstorm_lib_rs_75_0() {
[INFO] [stdout]   |                                      -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | index_arc.delete_documents_by_query(query, query_type, offset, length, include_uncommitted,field_filter).await;
[INFO] [stdout]   |                                                                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/seekstorm/lib.rs - (line 108)
[INFO] [stdout]     src/seekstorm/lib.rs - (line 128)
[INFO] [stdout]     src/seekstorm/lib.rs - (line 132)
[INFO] [stdout]     src/seekstorm/lib.rs - (line 136)
[INFO] [stdout]     src/seekstorm/lib.rs - (line 140)
[INFO] [stdout]     src/seekstorm/lib.rs - (line 183)
[INFO] [stdout]     src/seekstorm/lib.rs - (line 207)
[INFO] [stdout]     src/seekstorm/lib.rs - (line 217)
[INFO] [stdout]     src/seekstorm/lib.rs - (line 221)
[INFO] [stdout]     src/seekstorm/lib.rs - (line 236)
[INFO] [stdout]     src/seekstorm/lib.rs - (line 256)
[INFO] [stdout]     src/seekstorm/lib.rs - (line 32)
[INFO] [stdout]     src/seekstorm/lib.rs - (line 55)
[INFO] [stdout]     src/seekstorm/lib.rs - (line 60)
[INFO] [stdout]     src/seekstorm/lib.rs - (line 70)
[INFO] [stdout]     src/seekstorm/lib.rs - (line 75)
[INFO] [stdout]     src/seekstorm/lib.rs - (line 85)
[INFO] [stdout]     src/seekstorm/lib.rs - (line 93)
[INFO] [stdout]     src/seekstorm/lib.rs - (line 97)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 19 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "e9593866a62de285f2359c256121ddfec69cc5e627f66239b6913314892fd0c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9593866a62de285f2359c256121ddfec69cc5e627f66239b6913314892fd0c4", kill_on_drop: false }`
[INFO] [stdout] e9593866a62de285f2359c256121ddfec69cc5e627f66239b6913314892fd0c4
