[INFO] fetching crate lb-tantivy 0.24.0... [INFO] testing lb-tantivy-0.24.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate lb-tantivy 0.24.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate lb-tantivy 0.24.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate lb-tantivy 0.24.0 [INFO] tweaked toml for crates.io crate lb-tantivy 0.24.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lb-tantivy 0.24.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lb-tantivy 0.24.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07aa753560faafda8e35fd7b57a7dcb9af15ebefa423c69cd31dfa73269637e9 [INFO] running `Command { std: "docker" "start" "-a" "07aa753560faafda8e35fd7b57a7dcb9af15ebefa423c69cd31dfa73269637e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07aa753560faafda8e35fd7b57a7dcb9af15ebefa423c69cd31dfa73269637e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07aa753560faafda8e35fd7b57a7dcb9af15ebefa423c69cd31dfa73269637e9", kill_on_drop: false }` [INFO] [stdout] 07aa753560faafda8e35fd7b57a7dcb9af15ebefa423c69cd31dfa73269637e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be600d67ba0d06944b03a1a02602b6d405a79c32b2c5418611da9e2f736b5df6 [INFO] running `Command { std: "docker" "start" "-a" "be600d67ba0d06944b03a1a02602b6d405a79c32b2c5418611da9e2f736b5df6", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling ownedbytes v0.9.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling bitpacking v0.9.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling murmurhash32 v0.3.1 [INFO] [stderr] Compiling tantivy-fst v0.5.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling downcast-rs v2.0.1 [INFO] [stderr] Compiling fastdivide v0.4.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling measure_time v0.9.0 [INFO] [stderr] Compiling tantivy-bitpacker v0.8.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling census v0.4.2 [INFO] [stderr] Compiling oneshot v0.1.11 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling levenshtein_automata v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling memmap2 v0.9.7 [INFO] [stderr] Compiling lz4_flex v0.11.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling fs4 v0.13.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling darling_core v0.21.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling darling_macro v0.21.0 [INFO] [stderr] Compiling darling v0.21.0 [INFO] [stderr] Compiling bon-macros v3.6.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bon v3.6.5 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling tantivy-tokenizer-api v0.5.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling sketches-ddsketch v0.3.0 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling hyperloglogplus v0.4.1 [INFO] [stderr] Compiling tantivy-query-grammar v0.24.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling tantivy-common v0.9.0 [INFO] [stderr] Compiling tantivy-stacker v0.5.0 [INFO] [stderr] Compiling lb-tantivy-sstable v0.5.0 [INFO] [stderr] Compiling lb-tantivy-columnar v0.5.0 [INFO] [stderr] Compiling lb-tantivy v0.24.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/aggregation/bucket/histogram/histogram.rs:304:36 [INFO] [stdout] | [INFO] [stdout] 304 | let get_bucket_pos = |val| (get_bucket_pos_f64(val, interval, offset) as i64); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - let get_bucket_pos = |val| (get_bucket_pos_f64(val, interval, offset) as i64); [INFO] [stdout] 304 + let get_bucket_pos = |val| get_bucket_pos_f64(val, interval, offset) as i64 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/postings/serializer.rs:129:30 [INFO] [stdout] | [INFO] [stdout] 129 | .map(|ff_reader| (total_num_tokens as Score / ff_reader.num_docs() as Score)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 129 - .map(|ff_reader| (total_num_tokens as Score / ff_reader.num_docs() as Score)) [INFO] [stdout] 129 + .map(|ff_reader| total_num_tokens as Score / ff_reader.num_docs() as Score ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/query/range_query/range_query_fastfield.rs:261:50 [INFO] [stdout] | [INFO] [stdout] 261 | let bounds = bounds.map_bound(|term| (term.as_i64().unwrap())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 261 - let bounds = bounds.map_bound(|term| (term.as_i64().unwrap())); [INFO] [stdout] 261 + let bounds = bounds.map_bound(|term| term.as_i64().unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/query/range_query/range_query_fastfield.rs:285:50 [INFO] [stdout] | [INFO] [stdout] 285 | let bounds = bounds.map_bound(|term| (term.as_u64().unwrap())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 285 - let bounds = bounds.map_bound(|term| (term.as_u64().unwrap())); [INFO] [stdout] 285 + let bounds = bounds.map_bound(|term| term.as_u64().unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/query/range_query/range_query_fastfield.rs:309:50 [INFO] [stdout] | [INFO] [stdout] 309 | let bounds = bounds.map_bound(|term| (term.as_f64().unwrap())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 309 - let bounds = bounds.map_bound(|term| (term.as_f64().unwrap())); [INFO] [stdout] 309 + let bounds = bounds.map_bound(|term| term.as_f64().unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bm25Params` is never constructed [INFO] [stdout] --> src/query/bm25.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Bm25Params { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/indexer/index_writer.rs:618:27 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn prepare_commit(&mut self) -> crate::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 618 | pub fn prepare_commit(&mut self) -> crate::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/postings/serializer.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 78 | ) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 78 | ) -> io::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "be600d67ba0d06944b03a1a02602b6d405a79c32b2c5418611da9e2f736b5df6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be600d67ba0d06944b03a1a02602b6d405a79c32b2c5418611da9e2f736b5df6", kill_on_drop: false }` [INFO] [stdout] be600d67ba0d06944b03a1a02602b6d405a79c32b2c5418611da9e2f736b5df6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a978f21338280874dcae3a86b1fb10dd78a59e59e05231787329ba9795813385 [INFO] running `Command { std: "docker" "start" "-a" "a978f21338280874dcae3a86b1fb10dd78a59e59e05231787329ba9795813385", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling bpu_trasher v0.2.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling mini-internal v0.1.42 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling perf-event-open-sys v4.0.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling perf-event v0.4.8 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling miniserde v0.1.42 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling cobs v0.3.0 [INFO] [stderr] Compiling measure_time v0.9.0 [INFO] [stderr] Compiling test-log-macros v0.2.18 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling rustop v1.1.4 [INFO] [stderr] Compiling peakmem-alloc v0.3.0 [INFO] [stderr] Compiling test-log v0.2.18 [INFO] [stderr] Compiling postcard v1.1.2 [INFO] [stderr] Compiling fail v0.5.1 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling more-asserts v0.3.1 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling tantivy-query-grammar v0.24.0 [INFO] [stderr] Compiling binggan v0.14.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tantivy-common v0.9.0 [INFO] [stderr] Compiling lb-tantivy-sstable v0.5.0 [INFO] [stderr] Compiling tantivy-stacker v0.5.0 [INFO] [stderr] Compiling lb-tantivy-columnar v0.5.0 [INFO] [stderr] Compiling lb-tantivy v0.24.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/aggregation/bucket/histogram/histogram.rs:304:36 [INFO] [stdout] | [INFO] [stdout] 304 | let get_bucket_pos = |val| (get_bucket_pos_f64(val, interval, offset) as i64); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - let get_bucket_pos = |val| (get_bucket_pos_f64(val, interval, offset) as i64); [INFO] [stdout] 304 + let get_bucket_pos = |val| get_bucket_pos_f64(val, interval, offset) as i64 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/postings/serializer.rs:129:30 [INFO] [stdout] | [INFO] [stdout] 129 | .map(|ff_reader| (total_num_tokens as Score / ff_reader.num_docs() as Score)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 129 - .map(|ff_reader| (total_num_tokens as Score / ff_reader.num_docs() as Score)) [INFO] [stdout] 129 + .map(|ff_reader| total_num_tokens as Score / ff_reader.num_docs() as Score ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/query/range_query/range_query_fastfield.rs:261:50 [INFO] [stdout] | [INFO] [stdout] 261 | let bounds = bounds.map_bound(|term| (term.as_i64().unwrap())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 261 - let bounds = bounds.map_bound(|term| (term.as_i64().unwrap())); [INFO] [stdout] 261 + let bounds = bounds.map_bound(|term| term.as_i64().unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/query/range_query/range_query_fastfield.rs:285:50 [INFO] [stdout] | [INFO] [stdout] 285 | let bounds = bounds.map_bound(|term| (term.as_u64().unwrap())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 285 - let bounds = bounds.map_bound(|term| (term.as_u64().unwrap())); [INFO] [stdout] 285 + let bounds = bounds.map_bound(|term| term.as_u64().unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/query/range_query/range_query_fastfield.rs:309:50 [INFO] [stdout] | [INFO] [stdout] 309 | let bounds = bounds.map_bound(|term| (term.as_f64().unwrap())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 309 - let bounds = bounds.map_bound(|term| (term.as_f64().unwrap())); [INFO] [stdout] 309 + let bounds = bounds.map_bound(|term| term.as_f64().unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/tokenizer/ascii_folding_filter.rs:1564:9 [INFO] [stdout] | [INFO] [stdout] 1564 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/aggregation/bucket/histogram/histogram.rs:304:36 [INFO] [stdout] | [INFO] [stdout] 304 | let get_bucket_pos = |val| (get_bucket_pos_f64(val, interval, offset) as i64); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - let get_bucket_pos = |val| (get_bucket_pos_f64(val, interval, offset) as i64); [INFO] [stdout] 304 + let get_bucket_pos = |val| get_bucket_pos_f64(val, interval, offset) as i64 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DocSetCollector` [INFO] [stdout] --> src/collector/top_score_collector.rs:1057:39 [INFO] [stdout] | [INFO] [stdout] 1057 | use crate::collector::{Collector, DocSetCollector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/collector/facet_collector.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/positions/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/postings/serializer.rs:129:30 [INFO] [stdout] | [INFO] [stdout] 129 | .map(|ff_reader| (total_num_tokens as Score / ff_reader.num_docs() as Score)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 129 - .map(|ff_reader| (total_num_tokens as Score / ff_reader.num_docs() as Score)) [INFO] [stdout] 129 + .map(|ff_reader| total_num_tokens as Score / ff_reader.num_docs() as Score ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/query/boolean_query/block_wand.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/query/range_query/range_query_fastfield.rs:261:50 [INFO] [stdout] | [INFO] [stdout] 261 | let bounds = bounds.map_bound(|term| (term.as_i64().unwrap())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 261 - let bounds = bounds.map_bound(|term| (term.as_i64().unwrap())); [INFO] [stdout] 261 + let bounds = bounds.map_bound(|term| term.as_i64().unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/query/range_query/range_query_fastfield.rs:285:50 [INFO] [stdout] | [INFO] [stdout] 285 | let bounds = bounds.map_bound(|term| (term.as_u64().unwrap())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 285 - let bounds = bounds.map_bound(|term| (term.as_u64().unwrap())); [INFO] [stdout] 285 + let bounds = bounds.map_bound(|term| term.as_u64().unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/query/range_query/range_query_fastfield.rs:309:50 [INFO] [stdout] | [INFO] [stdout] 309 | let bounds = bounds.map_bound(|term| (term.as_f64().unwrap())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 309 - let bounds = bounds.map_bound(|term| (term.as_f64().unwrap())); [INFO] [stdout] 309 + let bounds = bounds.map_bound(|term| term.as_f64().unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/termdict/fst_termdict/term_info_store.rs:345:26 [INFO] [stdout] | [INFO] [stdout] 345 | let offset = |i| (i * 13 + i * i); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 345 - let offset = |i| (i * 13 + i * i); [INFO] [stdout] 345 + let offset = |i| i * 13 + i * i ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bm25Params` is never constructed [INFO] [stdout] --> src/query/bm25.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Bm25Params { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/indexer/index_writer.rs:618:27 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn prepare_commit(&mut self) -> crate::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 618 | pub fn prepare_commit(&mut self) -> crate::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/postings/serializer.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 78 | ) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 78 | ) -> io::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bm25Params` is never constructed [INFO] [stdout] --> src/query/bm25.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Bm25Params { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/indexer/index_writer.rs:618:27 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn prepare_commit(&mut self) -> crate::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 618 | pub fn prepare_commit(&mut self) -> crate::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/postings/serializer.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 78 | ) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 78 | ) -> io::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/integer_range_search.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tantivy::collector::Count; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/integer_range_search.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tantivy::query::RangeQuery; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/integer_range_search.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tantivy::schema::{Schema, INDEXED}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/custom_tokenizer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tantivy::schema::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/custom_tokenizer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tantivy::collector::TopDocs; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/custom_tokenizer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tantivy::query::QueryParser; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/custom_tokenizer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tantivy::tokenizer::NgramTokenizer; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/json_field.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tantivy::collector::{Count, TopDocs}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/json_field.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tantivy::query::QueryParser; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/json_field.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tantivy::schema::{Schema, FAST, STORED, STRING, TEXT}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tantivy::schema::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tantivy::collector::TopDocs; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tantivy::query::BooleanQuery; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/fuzzy_search.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tantivy::schema::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/fuzzy_search.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tantivy::collector::{Count, TopDocs}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/fuzzy_search.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tantivy::query::FuzzyTermQuery; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/stop_words.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tantivy::collector::TopDocs; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/stop_words.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tantivy::query::QueryParser; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/stop_words.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tantivy::schema::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/stop_words.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tantivy::tokenizer::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/index_with_json.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tantivy::schema::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/index_from_multiple_threads.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use tantivy::schema::{Schema, STORED, TEXT}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/basic_search.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tantivy::schema::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/basic_search.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tantivy::collector::TopDocs; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/basic_search.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tantivy::query::QueryParser; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/date_time_field.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tantivy::collector::TopDocs; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/date_time_field.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tantivy::query::QueryParser; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/date_time_field.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tantivy::schema::{DateOptions, Document, Schema, Value, INDEXED, STORED, STRING}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/iterating_docs_and_positions.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tantivy::schema::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/iterating_docs_and_positions.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tantivy::postings::Postings; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/json_field.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tantivy::{Index, IndexWriter, TantivyDocument}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/faceted_search.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tantivy::schema::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/faceted_search.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tantivy::collector::FacetCollector; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/faceted_search.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tantivy::query::{AllQuery, TermQuery}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/basic_search.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tantivy::{doc, Index, IndexWriter, ReloadPolicy}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/date_time_field.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tantivy::{Index, IndexWriter, TantivyDocument}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/custom_tokenizer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tantivy::{doc, Index, IndexWriter}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/ip_field.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tantivy::collector::{Count, TopDocs}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/ip_field.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tantivy::query::QueryParser; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/ip_field.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tantivy::schema::{Schema, FAST, INDEXED, STORED, STRING}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/index_from_multiple_threads.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use tantivy::{doc, Index, IndexWriter, Opstamp, TantivyError}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tantivy::{doc, DocId, Index, IndexWriter, Score, SegmentReader}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/faceted_search.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use tantivy::{doc, Index, IndexWriter}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/deleting_updating_documents.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tantivy::schema::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/deleting_updating_documents.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tantivy::collector::TopDocs; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/deleting_updating_documents.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tantivy::query::TermQuery; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/warmer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tantivy::collector::TopDocs; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/json_field.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/iterating_docs_and_positions.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tantivy::{doc, DocSet, Index, IndexWriter, TERMINATED}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/warmer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tantivy::index::SegmentId; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/warmer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tantivy::query::QueryParser; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/warmer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tantivy::schema::{Schema, FAST, TEXT}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (example "json_field") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Schema` [INFO] [stdout] --> examples/iterating_docs_and_positions.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | let mut schema_builder = Schema::builder(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Schema` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::schema::Schema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/fuzzy_search.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tantivy::{doc, Index, IndexWriter, ReloadPolicy}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEXT` in this scope [INFO] [stdout] --> examples/iterating_docs_and_positions.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | let title = schema_builder.add_text_field("title", TEXT | STORED); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::schema::TEXT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STORED` in this scope [INFO] [stdout] --> examples/iterating_docs_and_positions.rs:23:63 [INFO] [stdout] | [INFO] [stdout] 23 | let title = schema_builder.add_text_field("title", TEXT | STORED); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::schema::STORED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Term` [INFO] [stdout] --> examples/iterating_docs_and_positions.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | let term_the = Term::from_field_text(title, "the"); [INFO] [stdout] | ^^^^ use of undeclared type `Term` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::Term; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IndexRecordOption` [INFO] [stdout] --> examples/iterating_docs_and_positions.rs:62:53 [INFO] [stdout] | [INFO] [stdout] 62 | inverted_index.read_postings(&term_the, IndexRecordOption::WithFreqsAndPositions)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `IndexRecordOption` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::schema::IndexRecordOption; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Term` [INFO] [stdout] --> examples/iterating_docs_and_positions.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | let term_the = Term::from_field_text(title, "the"); [INFO] [stdout] | ^^^^ use of undeclared type `Term` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::Term; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IndexRecordOption` [INFO] [stdout] --> examples/iterating_docs_and_positions.rs:119:59 [INFO] [stdout] | [INFO] [stdout] 119 | inverted_index.read_block_postings(&term_the, IndexRecordOption::Basic)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `IndexRecordOption` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::schema::IndexRecordOption; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Schema` [INFO] [stdout] --> examples/basic_search.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | let mut schema_builder = Schema::builder(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Schema` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use lb_tantivy::schema::Schema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEXT` in this scope [INFO] [stdout] --> examples/basic_search.rs:50:44 [INFO] [stdout] | [INFO] [stdout] 50 | schema_builder.add_text_field("title", TEXT | STORED); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use lb_tantivy::schema::TEXT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STORED` in this scope [INFO] [stdout] --> examples/basic_search.rs:50:51 [INFO] [stdout] | [INFO] [stdout] 50 | schema_builder.add_text_field("title", TEXT | STORED); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use lb_tantivy::schema::STORED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEXT` in this scope [INFO] [stdout] --> examples/basic_search.rs:58:43 [INFO] [stdout] | [INFO] [stdout] 58 | schema_builder.add_text_field("body", TEXT); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 15 + use lb_tantivy::schema::TEXT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TantivyDocument` [INFO] [stdout] --> examples/basic_search.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | let mut old_man_doc = TantivyDocument::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TantivyDocument` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use lb_tantivy::TantivyDocument; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TantivyDocument` in this scope [INFO] [stdout] --> examples/basic_search.rs:220:28 [INFO] [stdout] | [INFO] [stdout] 220 | let retrieved_doc: TantivyDocument = searcher.doc(doc_address)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use lb_tantivy::TantivyDocument; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/iterating_docs_and_positions.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | let inverted_index = segment_reader.inverted_index(title)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/basic_search.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/stop_words.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tantivy::{doc, Index, IndexWriter}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (example "basic_search") due to 11 previous errors [INFO] [stdout] error[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/integer_range_search.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tantivy::{doc, Index, IndexWriter, Result, Term}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/index_from_multiple_threads.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Schema` [INFO] [stdout] --> examples/index_with_json.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | let mut schema_builder = Schema::builder(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Schema` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use lb_tantivy::schema::Schema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEXT` in this scope [INFO] [stdout] --> examples/index_with_json.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | schema_builder.add_text_field("title", TEXT | STORED); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use lb_tantivy::schema::TEXT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STORED` in this scope [INFO] [stdout] --> examples/index_with_json.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | schema_builder.add_text_field("title", TEXT | STORED); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use lb_tantivy::schema::STORED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEXT` in this scope [INFO] [stdout] --> examples/index_with_json.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | schema_builder.add_text_field("body", TEXT); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use lb_tantivy::schema::TEXT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INDEXED` in this scope [INFO] [stdout] --> examples/index_with_json.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | schema_builder.add_u64_field("year", INDEXED); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use lb_tantivy::schema::INDEXED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TantivyDocument` [INFO] [stdout] --> examples/index_with_json.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | let _mice_and_men_doc = TantivyDocument::parse_json(&schema, mice_and_men_doc_json)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TantivyDocument` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use lb_tantivy::TantivyDocument; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TantivyDocument` [INFO] [stdout] --> examples/index_with_json.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | let _frankenstein_doc = TantivyDocument::parse_json(&schema, frankenstein_json)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TantivyDocument` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use lb_tantivy::TantivyDocument; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/index_with_json.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Schema` [INFO] [stdout] --> examples/custom_tokenizer.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | let mut schema_builder = Schema::builder(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Schema` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use lb_tantivy::schema::Schema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/iterating_docs_and_positions.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | let mut doc_id = segment_postings.doc(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextFieldIndexing` [INFO] [stdout] --> examples/custom_tokenizer.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | let text_field_indexing = TextFieldIndexing::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TextFieldIndexing` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use lb_tantivy::schema::TextFieldIndexing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (example "index_from_multiple_threads") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IndexRecordOption` [INFO] [stdout] --> examples/custom_tokenizer.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | .set_index_option(IndexRecordOption::WithFreqsAndPositions); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `IndexRecordOption` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use lb_tantivy::schema::IndexRecordOption; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextOptions` [INFO] [stdout] --> examples/custom_tokenizer.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | let text_options = TextOptions::default() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `TextOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use lb_tantivy::schema::TextOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEXT` in this scope [INFO] [stdout] --> examples/custom_tokenizer.rs:40:54 [INFO] [stdout] | [INFO] [stdout] 40 | let body = schema_builder.add_text_field("body", TEXT); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 5 + use lb_tantivy::schema::TEXT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TantivyDocument` in this scope [INFO] [stdout] --> examples/custom_tokenizer.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | let retrieved_doc: TantivyDocument = searcher.doc(doc_address)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use lb_tantivy::TantivyDocument; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (example "index_with_json") due to 9 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/iterating_docs_and_positions.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | let inverted_index = segment_reader.inverted_index(title)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/iterating_docs_and_positions.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | let docs = block_segment_postings.docs(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/date_time_field.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | .set_precision(tantivy::schema::DateTimePrecision::Seconds); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 5 + use common::DateTimePrecision; [INFO] [stdout] | [INFO] [stdout] 5 + use lb_tantivy::schema::DateTimePrecision; [INFO] [stdout] | [INFO] [stdout] help: if you import `DateTimePrecision`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 16 - .set_precision(tantivy::schema::DateTimePrecision::Seconds); [INFO] [stdout] 16 + .set_precision(DateTimePrecision::Seconds); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/custom_tokenizer.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/iterating_docs_and_positions.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/ip_field.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tantivy::{Index, IndexWriter, TantivyDocument}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/date_time_field.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (example "integer_range_search") due to 4 previous errors [INFO] [stdout] error[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/deleting_updating_documents.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tantivy::{doc, Index, IndexReader, IndexWriter}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (example "custom_tokenizer") due to 12 previous errors [INFO] [stderr] error: could not compile `lb-tantivy` (example "date_time_field") due to 6 previous errors [INFO] [stderr] error: could not compile `lb-tantivy` (example "iterating_docs_and_positions") due to 15 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Schema` [INFO] [stdout] --> examples/fuzzy_search.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let mut schema_builder = Schema::builder(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Schema` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 + use lb_tantivy::schema::Schema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEXT` in this scope [INFO] [stdout] --> examples/fuzzy_search.rs:49:56 [INFO] [stdout] | [INFO] [stdout] 49 | let title = schema_builder.add_text_field("title", TEXT | STORED); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 14 + use lb_tantivy::schema::TEXT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STORED` in this scope [INFO] [stdout] --> examples/fuzzy_search.rs:49:63 [INFO] [stdout] | [INFO] [stdout] 49 | let title = schema_builder.add_text_field("title", TEXT | STORED); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 14 + use lb_tantivy::schema::STORED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Term` [INFO] [stdout] --> examples/fuzzy_search.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | let term = Term::from_field_text(title, "Diary"); [INFO] [stdout] | ^^^^ use of undeclared type `Term` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 + use lb_tantivy::Term; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TantivyDocument` in this scope [INFO] [stdout] --> examples/fuzzy_search.rs:156:32 [INFO] [stdout] | [INFO] [stdout] 156 | let retrieved_doc: TantivyDocument = searcher.doc(doc_address)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 + use lb_tantivy::TantivyDocument; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Schema` [INFO] [stdout] --> examples/faceted_search.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let mut schema_builder = Schema::builder(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Schema` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use lb_tantivy::schema::Schema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEXT` in this scope [INFO] [stdout] --> examples/faceted_search.rs:26:54 [INFO] [stdout] | [INFO] [stdout] 26 | let name = schema_builder.add_text_field("name", TEXT | STORED); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 17 + use lb_tantivy::schema::TEXT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STORED` in this scope [INFO] [stdout] --> examples/faceted_search.rs:26:61 [INFO] [stdout] | [INFO] [stdout] 26 | let name = schema_builder.add_text_field("name", TEXT | STORED); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 17 + use lb_tantivy::schema::STORED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FacetOptions` [INFO] [stdout] --> examples/faceted_search.rs:28:75 [INFO] [stdout] | [INFO] [stdout] 28 | let classification = schema_builder.add_facet_field("classification", FacetOptions::default()); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FacetOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use lb_tantivy::schema::FacetOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Facet` in this scope [INFO] [stdout] --> examples/faceted_search.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | let facets: Vec<(&Facet, u64)> = facet_counts.get("/Felidae").collect(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use lb_tantivy::schema::Facet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Facet` [INFO] [stdout] --> examples/faceted_search.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | (&Facet::from("/Felidae/Felinae"), 3), [INFO] [stdout] | ^^^^^ use of undeclared type `Facet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use lb_tantivy::schema::Facet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Facet` [INFO] [stdout] --> examples/faceted_search.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | (&Facet::from("/Felidae/Pantherinae"), 4), [INFO] [stdout] | ^^^^^ use of undeclared type `Facet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use lb_tantivy::schema::Facet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Facet` [INFO] [stdout] --> examples/faceted_search.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let facet = Facet::from("/Felidae/Pantherinae"); [INFO] [stdout] | ^^^^^ use of undeclared type `Facet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use lb_tantivy::schema::Facet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Term` [INFO] [stdout] --> examples/faceted_search.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | let facet_term = Term::from_facet(classification, &facet); [INFO] [stdout] | ^^^^ use of undeclared type `Term` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use lb_tantivy::Term; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IndexRecordOption` [INFO] [stdout] --> examples/faceted_search.rs:99:59 [INFO] [stdout] | [INFO] [stdout] 99 | let facet_term_query = TermQuery::new(facet_term, IndexRecordOption::Basic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `IndexRecordOption` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 17 + use lb_tantivy::schema::IndexRecordOption; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Facet` in this scope [INFO] [stdout] --> examples/faceted_search.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | let facets: Vec<(&Facet, u64)> = facet_counts.get("/Felidae/Pantherinae").collect(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use lb_tantivy::schema::Facet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Facet` [INFO] [stdout] --> examples/faceted_search.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | (&Facet::from("/Felidae/Pantherinae/Neofelis"), 1), [INFO] [stdout] | ^^^^^ use of undeclared type `Facet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use lb_tantivy::schema::Facet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Facet` [INFO] [stdout] --> examples/faceted_search.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | (&Facet::from("/Felidae/Pantherinae/Panthera"), 3), [INFO] [stdout] | ^^^^^ use of undeclared type `Facet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use lb_tantivy::schema::Facet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/warmer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tantivy::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (example "faceted_search") due to 18 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/fuzzy_search.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(top_docs.len(), 3); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/faceted_search.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/fuzzy_search.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (example "fuzzy_search") due to 11 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Schema` [INFO] [stdout] --> examples/stop_words.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | let mut schema_builder = Schema::builder(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Schema` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 + use lb_tantivy::schema::Schema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextFieldIndexing` [INFO] [stdout] --> examples/stop_words.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | let text_field_indexing = TextFieldIndexing::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TextFieldIndexing` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 + use lb_tantivy::schema::TextFieldIndexing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IndexRecordOption` [INFO] [stdout] --> examples/stop_words.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | .set_index_option(IndexRecordOption::WithFreqsAndPositions); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `IndexRecordOption` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 14 + use lb_tantivy::schema::IndexRecordOption; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextOptions` [INFO] [stdout] --> examples/stop_words.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | let text_options = TextOptions::default() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `TextOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 + use lb_tantivy::schema::TextOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextFieldIndexing` [INFO] [stdout] --> examples/stop_words.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | let text_field_indexing = TextFieldIndexing::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TextFieldIndexing` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 + use lb_tantivy::schema::TextFieldIndexing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IndexRecordOption` [INFO] [stdout] --> examples/stop_words.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | .set_index_option(IndexRecordOption::WithFreqsAndPositions); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `IndexRecordOption` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 14 + use lb_tantivy::schema::IndexRecordOption; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextOptions` [INFO] [stdout] --> examples/stop_words.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | let text_options = TextOptions::default() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `TextOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 + use lb_tantivy::schema::TextOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextAnalyzer` [INFO] [stdout] --> examples/stop_words.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let tokenizer = TextAnalyzer::builder(SimpleTokenizer::default()) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `TextAnalyzer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 + use lb_tantivy::tokenizer::TextAnalyzer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SimpleTokenizer` [INFO] [stdout] --> examples/stop_words.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | let tokenizer = TextAnalyzer::builder(SimpleTokenizer::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SimpleTokenizer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 + use lb_tantivy::tokenizer::SimpleTokenizer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LowerCaser` in this scope [INFO] [stdout] --> examples/stop_words.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | .filter(LowerCaser) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 14 + use lb_tantivy::tokenizer::LowerCaser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StopWordFilter` [INFO] [stdout] --> examples/stop_words.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | .filter(StopWordFilter::remove(vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StopWordFilter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 + use lb_tantivy::tokenizer::StopWordFilter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TantivyDocument` in this scope [INFO] [stdout] --> examples/stop_words.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | let retrieved_doc: TantivyDocument = searcher.doc(doc_address)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 + use lb_tantivy::TantivyDocument; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/stop_words.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Term` in this scope [INFO] [stdout] --> examples/deleting_updating_documents.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | isbn_term: &Term, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use lb_tantivy::Term; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TantivyDocument` in this scope [INFO] [stdout] --> examples/deleting_updating_documents.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | ) -> tantivy::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use lb_tantivy::TantivyDocument; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IndexRecordOption` [INFO] [stdout] --> examples/deleting_updating_documents.rs:30:56 [INFO] [stdout] | [INFO] [stdout] 30 | let term_query = TermQuery::new(isbn_term.clone(), IndexRecordOption::Basic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `IndexRecordOption` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use lb_tantivy::schema::IndexRecordOption; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Schema` [INFO] [stdout] --> examples/deleting_updating_documents.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | let mut schema_builder = Schema::builder(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Schema` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use lb_tantivy::schema::Schema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STRING` in this scope [INFO] [stdout] --> examples/deleting_updating_documents.rs:66:54 [INFO] [stdout] | [INFO] [stdout] 66 | let isbn = schema_builder.add_text_field("isbn", STRING | STORED); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 11 + use lb_tantivy::schema::STRING; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STORED` in this scope [INFO] [stdout] --> examples/deleting_updating_documents.rs:66:63 [INFO] [stdout] | [INFO] [stdout] 66 | let isbn = schema_builder.add_text_field("isbn", STRING | STORED); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 11 + use lb_tantivy::schema::STORED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEXT` in this scope [INFO] [stdout] --> examples/deleting_updating_documents.rs:67:56 [INFO] [stdout] | [INFO] [stdout] 67 | let title = schema_builder.add_text_field("title", TEXT | STORED); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 11 + use lb_tantivy::schema::TEXT; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STORED` in this scope [INFO] [stdout] --> examples/deleting_updating_documents.rs:67:63 [INFO] [stdout] | [INFO] [stdout] 67 | let title = schema_builder.add_text_field("title", TEXT | STORED); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 11 + use lb_tantivy::schema::STORED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TantivyDocument` [INFO] [stdout] --> examples/deleting_updating_documents.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | let mut old_man_doc = TantivyDocument::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TantivyDocument` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use lb_tantivy::TantivyDocument; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Term` [INFO] [stdout] --> examples/deleting_updating_documents.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | let frankenstein_isbn = Term::from_field_text(isbn, "978-9176370711"); [INFO] [stdout] | ^^^^ use of undeclared type `Term` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use lb_tantivy::Term; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (example "stop_words") due to 18 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/deleting_updating_documents.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | ) -> tantivy::Result> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/deleting_updating_documents.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (example "deleting_updating_documents") due to 16 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/ip_field.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Schema` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | let mut schema_builder = Schema::builder(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Schema` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::schema::Schema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STORED` in this scope [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:20:56 [INFO] [stdout] | [INFO] [stdout] 20 | let title = schema_builder.add_text_field("title", STORED); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::schema::STORED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FacetOptions` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:21:67 [INFO] [stdout] | [INFO] [stdout] 21 | let ingredient = schema_builder.add_facet_field("ingredient", FacetOptions::default()); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FacetOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::schema::FacetOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (example "ip_field") due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Facet` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | Facet::from("/ingredient/egg"), [INFO] [stdout] | ^^^^^ use of undeclared type `Facet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::schema::Facet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Facet` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | Facet::from("/ingredient/oil"), [INFO] [stdout] | ^^^^^ use of undeclared type `Facet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::schema::Facet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Facet` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | Facet::from("/ingredient/garlic"), [INFO] [stdout] | ^^^^^ use of undeclared type `Facet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::schema::Facet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Facet` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | Facet::from("/ingredient/mushroom"), [INFO] [stdout] | ^^^^^ use of undeclared type `Facet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::schema::Facet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Term` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | .map(|key| Term::from_facet(ingredient, key)) [INFO] [stdout] | ^^^^ use of undeclared type `Term` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::Term; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TantivyDocument` in this scope [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | .doc::(*doc_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::TantivyDocument; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/warmer.rs:52:44 [INFO] [stdout] | [INFO] [stdout] 52 | fn warm(&self, searcher: &Searcher) -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/warmer.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | .filter_map(|key| facet_dict.term_ord(key.encoded_str()).unwrap()) [INFO] [stdout] | ^^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 74 | .filter_map(|key: /* Type */| facet_dict.term_ord(key.encoded_str()).unwrap()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (example "warmer") due to 7 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | .and_then(|v| v.as_str().map(|el| el.to_string())) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 97 | .and_then(|v: /* Type */| v.as_str().map(|el| el.to_string())) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:97:51 [INFO] [stdout] | [INFO] [stdout] 97 | .and_then(|v| v.as_str().map(|el| el.to_string())) [INFO] [stdout] | ^^ -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 97 | .and_then(|v| v.as_str().map(|el: /* Type */| el.to_string())) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (example "faceted_search_with_tweaked_score") due to 17 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (lib test); 14 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/c2e32f1c9652b13ed99608599c1e855462f421f3/bin/rustc --crate-name lb_tantivy --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="fs4"' --cfg 'feature="lz4-compression"' --cfg 'feature="lz4_flex"' --cfg 'feature="memmap2"' --cfg 'feature="mmap"' --cfg 'feature="stopwords"' --cfg 'feature="tempfile"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("columnar-zstd-compression", "compare_hash_only", "default", "fail", "failpoints", "fs4", "futures-channel", "futures-util", "lz4-compression", "lz4_flex", "memmap2", "mmap", "quickwit", "sstable", "stopwords", "tempfile", "unstable", "zstd", "zstd-compression"))' -C metadata=afc24c1bf770f90d -C extra-filename=-7bf8b89c94f4ce1b --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern aho_corasick=/opt/rustwide/target/debug/deps/libaho_corasick-45b1dc6e49ed3f0e.rlib --extern arc_swap=/opt/rustwide/target/debug/deps/libarc_swap-4d53f24db0759841.rlib --extern base64=/opt/rustwide/target/debug/deps/libbase64-2a03de3babadded3.rlib --extern binggan=/opt/rustwide/target/debug/deps/libbinggan-c91c599fb0bed900.rlib --extern bitpacking=/opt/rustwide/target/debug/deps/libbitpacking-cfe7d568ffe62e23.rlib --extern bon=/opt/rustwide/target/debug/deps/libbon-9fd5789828d38736.rlib --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-1efcbe4f07366651.rlib --extern census=/opt/rustwide/target/debug/deps/libcensus-04578044dd7cbc66.rlib --extern crc32fast=/opt/rustwide/target/debug/deps/libcrc32fast-84583fa265e26206.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-29d983a8626cfd15.rlib --extern crossbeam_channel=/opt/rustwide/target/debug/deps/libcrossbeam_channel-a5156ef294398bef.rlib --extern downcast_rs=/opt/rustwide/target/debug/deps/libdowncast_rs-10b1363822aa8852.rlib --extern fail=/opt/rustwide/target/debug/deps/libfail-0d70ef5c6eb50470.rlib --extern fastdivide=/opt/rustwide/target/debug/deps/libfastdivide-049a15134852a5bb.rlib --extern fnv=/opt/rustwide/target/debug/deps/libfnv-2d77ec4f6f971b24.rlib --extern fs4=/opt/rustwide/target/debug/deps/libfs4-a8047741473f6a41.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-06d98ee86671ab28.rlib --extern htmlescape=/opt/rustwide/target/debug/deps/libhtmlescape-de762f64d8f6e472.rlib --extern hyperloglogplus=/opt/rustwide/target/debug/deps/libhyperloglogplus-53babe0f3d1517bf.rlib --extern itertools=/opt/rustwide/target/debug/deps/libitertools-3db4797dc23645d3.rlib --extern columnar=/opt/rustwide/target/debug/deps/liblb_tantivy_columnar-ba04a3156267b8b3.rlib --extern levenshtein_automata=/opt/rustwide/target/debug/deps/liblevenshtein_automata-e59efb4cd3598815.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-ba604b77dad33fe2.rlib --extern lru=/opt/rustwide/target/debug/deps/liblru-9e951a12976d07fd.rlib --extern lz4_flex=/opt/rustwide/target/debug/deps/liblz4_flex-c48dbd486994321e.rlib --extern maplit=/opt/rustwide/target/debug/deps/libmaplit-019dc3e6fa39a754.rlib --extern matches=/opt/rustwide/target/debug/deps/libmatches-78daa3f1b5ec35b5.rlib --extern measure_time=/opt/rustwide/target/debug/deps/libmeasure_time-13dacc6fca091d0e.rlib --extern memmap2=/opt/rustwide/target/debug/deps/libmemmap2-51b06bace7176cd6.rlib --extern more_asserts=/opt/rustwide/target/debug/deps/libmore_asserts-f001e74054e64787.rlib --extern once_cell=/opt/rustwide/target/debug/deps/libonce_cell-0ba6aecba7086d38.rlib --extern oneshot=/opt/rustwide/target/debug/deps/liboneshot-4b5c02ae93818d0a.rlib --extern paste=/opt/rustwide/target/debug/deps/libpaste-de6dfd786916684a.so --extern postcard=/opt/rustwide/target/debug/deps/libpostcard-db6e5a3a9d8aded2.rlib --extern pretty_assertions=/opt/rustwide/target/debug/deps/libpretty_assertions-155811d71c8fad30.rlib --extern proptest=/opt/rustwide/target/debug/deps/libproptest-f7ab004abe1b3a70.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-5561ca2713f8312e.rlib --extern rand_distr=/opt/rustwide/target/debug/deps/librand_distr-c974ce308a6c3049.rlib --extern rayon=/opt/rustwide/target/debug/deps/librayon-8c9c043f71b8b9db.rlib --extern regex=/opt/rustwide/target/debug/deps/libregex-682032c5580d819a.rlib --extern rust_stemmers=/opt/rustwide/target/debug/deps/librust_stemmers-1318c12412bafaf4.rlib --extern rustc_hash=/opt/rustwide/target/debug/deps/librustc_hash-d7c9c021d0487117.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-d763e6aa1add552c.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-4625a660fca66760.rlib --extern sketches_ddsketch=/opt/rustwide/target/debug/deps/libsketches_ddsketch-06f7e6c201d0243a.rlib --extern smallvec=/opt/rustwide/target/debug/deps/libsmallvec-45f6e3b8047adea1.rlib --extern tantivy_bitpacker=/opt/rustwide/target/debug/deps/libtantivy_bitpacker-5ebc6d18e7a725db.rlib --extern common=/opt/rustwide/target/debug/deps/libtantivy_common-32a09f067fbc7385.rlib --extern tantivy_fst=/opt/rustwide/target/debug/deps/libtantivy_fst-3bb3ec2e581e1d45.rlib --extern query_grammar=/opt/rustwide/target/debug/deps/libtantivy_query_grammar-f810275f3a27c343.rlib --extern stacker=/opt/rustwide/target/debug/deps/libtantivy_stacker-48bc5e3c020f9115.rlib --extern tokenizer_api=/opt/rustwide/target/debug/deps/libtantivy_tokenizer_api-f3fcc240dd96d384.rlib --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-cdcc63e57b9abd83.rlib --extern test_log=/opt/rustwide/target/debug/deps/libtest_log-152915737310cc87.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-1ec5e2f68f9b169f.rlib --extern time=/opt/rustwide/target/debug/deps/libtime-414e63a8931de794.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-ae8bbb9460f96170.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/alloca-447296319367fd99/out` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "a978f21338280874dcae3a86b1fb10dd78a59e59e05231787329ba9795813385", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a978f21338280874dcae3a86b1fb10dd78a59e59e05231787329ba9795813385", kill_on_drop: false }` [INFO] [stdout] a978f21338280874dcae3a86b1fb10dd78a59e59e05231787329ba9795813385