[INFO] fetching crate lb-tantivy 0.24.0... [INFO] testing lb-tantivy-0.24.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate lb-tantivy 0.24.0 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lb-tantivy 0.24.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded measure_time v0.9.0 [INFO] [stderr] Downloaded more-asserts v0.3.1 [INFO] [stderr] Downloaded ownedbytes v0.9.0 [INFO] [stderr] Downloaded tantivy-query-grammar v0.24.0 [INFO] [stderr] Downloaded tantivy-tokenizer-api v0.5.0 [INFO] [stderr] Downloaded postcard v1.1.2 [INFO] [stderr] Downloaded tantivy-bitpacker v0.8.0 [INFO] [stderr] Downloaded tantivy-stacker v0.5.0 [INFO] [stderr] Downloaded alloca v0.4.0 [INFO] [stderr] Downloaded peakmem-alloc v0.3.0 [INFO] [stderr] Downloaded miniserde v0.1.42 [INFO] [stderr] Downloaded bpu_trasher v0.2.0 [INFO] [stderr] Downloaded perf-event-open-sys v4.0.0 [INFO] [stderr] Downloaded bon v3.6.5 [INFO] [stderr] Downloaded bon-macros v3.6.5 [INFO] [stderr] Downloaded lb-tantivy-sstable v0.5.0 [INFO] [stderr] Downloaded lb-tantivy-columnar v0.5.0 [INFO] [stderr] Downloaded rustop v1.1.4 [INFO] [stderr] Downloaded binggan v0.14.2 [INFO] [stderr] Downloaded mini-internal v0.1.42 [INFO] [stderr] Downloaded perf-event v0.4.8 [INFO] [stderr] Downloaded fail v0.5.1 [INFO] [stderr] Downloaded tantivy-common v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 818938c9c7dc9cba446aa3304c3e238a9992f198ba60d5a1d076ac0143317e32 [INFO] running `Command { std: "docker" "start" "-a" "818938c9c7dc9cba446aa3304c3e238a9992f198ba60d5a1d076ac0143317e32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "818938c9c7dc9cba446aa3304c3e238a9992f198ba60d5a1d076ac0143317e32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "818938c9c7dc9cba446aa3304c3e238a9992f198ba60d5a1d076ac0143317e32", kill_on_drop: false }` [INFO] [stdout] 818938c9c7dc9cba446aa3304c3e238a9992f198ba60d5a1d076ac0143317e32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14fc3c19c08e13a6b041d2edd0bc70cd4f2c3e7330b91ecfa56443c6a9977f6b [INFO] running `Command { std: "docker" "start" "-a" "14fc3c19c08e13a6b041d2edd0bc70cd4f2c3e7330b91ecfa56443c6a9977f6b", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling murmurhash32 v0.3.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ownedbytes v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling fastdivide v0.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bitpacking v0.9.2 [INFO] [stderr] Compiling tantivy-fst v0.5.0 [INFO] [stderr] Compiling measure_time v0.9.0 [INFO] [stderr] Compiling memmap2 v0.9.7 [INFO] [stderr] Compiling darling_core v0.21.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tantivy-bitpacker v0.8.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling census v0.4.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lz4_flex v0.11.5 [INFO] [stderr] Compiling levenshtein_automata v0.2.1 [INFO] [stderr] Compiling oneshot v0.1.11 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling fs4 v0.13.1 [INFO] [stderr] Compiling darling_macro v0.21.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling sketches-ddsketch v0.3.0 [INFO] [stderr] Compiling tantivy-tokenizer-api v0.5.0 [INFO] [stderr] Compiling hyperloglogplus v0.4.1 [INFO] [stderr] Compiling darling v0.21.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bon-macros v3.6.5 [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 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 bon v3.6.5 [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 37.15s [INFO] running `Command { std: "docker" "inspect" "14fc3c19c08e13a6b041d2edd0bc70cd4f2c3e7330b91ecfa56443c6a9977f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14fc3c19c08e13a6b041d2edd0bc70cd4f2c3e7330b91ecfa56443c6a9977f6b", kill_on_drop: false }` [INFO] [stdout] 14fc3c19c08e13a6b041d2edd0bc70cd4f2c3e7330b91ecfa56443c6a9977f6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e523a6b61971fb84de418496ac7e6c1cf103689766ce30ea7a7fa57757b3a68c [INFO] running `Command { std: "docker" "start" "-a" "e523a6b61971fb84de418496ac7e6c1cf103689766ce30ea7a7fa57757b3a68c", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling bpu_trasher v0.2.0 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling mini-internal v0.1.42 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling perf-event-open-sys v4.0.0 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling perf-event v0.4.8 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling miniserde v0.1.42 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling cobs v0.3.0 [INFO] [stderr] Compiling test-log-macros v0.2.18 [INFO] [stderr] Compiling measure_time v0.9.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustop v1.1.4 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling peakmem-alloc v0.3.0 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling postcard v1.1.2 [INFO] [stderr] Compiling fail v0.5.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling tantivy-query-grammar v0.24.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling test-log v0.2.18 [INFO] [stderr] Compiling more-asserts v0.3.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling time v0.3.41 [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 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: 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] 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/snippet.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | 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/snippet.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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/snippet.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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/snippet.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tantivy::snippet::{Snippet, SnippetGenerator}; [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/pre_tokenized_text.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: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/pre_tokenized_text.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | 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/pre_tokenized_text.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | 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/pre_tokenized_text.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tantivy::tokenizer::{PreTokenizedString, SimpleTokenizer, Token, TokenStream, 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/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/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[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[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[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/snippet.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | 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/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[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/pre_tokenized_text.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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/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] 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[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/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/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[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[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/aggregation.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tantivy::aggregation::agg_req::Aggregations; [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/aggregation.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tantivy::aggregation::agg_result::AggregationResults; [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/aggregation.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tantivy::aggregation::AggregationCollector; [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/aggregation.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tantivy::query::AllQuery; [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/phrase_prefix_search.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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/phrase_prefix_search.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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/phrase_prefix_search.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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/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 undeclared type `Schema` [INFO] [stdout] --> examples/pre_tokenized_text.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | 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] 12 + 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/pre_tokenized_text.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 34 | 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] 12 + 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/pre_tokenized_text.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | 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] 12 + 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/pre_tokenized_text.rs:35:43 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 12 + 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/pre_tokenized_text.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | let short_man_doc = TantivyDocument::parse_json(&schema, short_man_json)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `TantivyDocument` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + 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/pre_tokenized_text.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | Term::from_field_text(title, "Man"), [INFO] [stdout] | ^^^^ use of undeclared type `Term` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + 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/pre_tokenized_text.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | IndexRecordOption::Basic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `IndexRecordOption` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 12 + use lb_tantivy::schema::IndexRecordOption; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TantivyDocument` in this scope [INFO] [stdout] --> examples/pre_tokenized_text.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | 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] 12 + 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/pre_tokenized_text.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | Term::from_field_text(title, "man"), [INFO] [stdout] | ^^^^ use of undeclared type `Term` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + 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/pre_tokenized_text.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | IndexRecordOption::Basic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `IndexRecordOption` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 12 + use lb_tantivy::schema::IndexRecordOption; [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[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/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[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/snippet.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | 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/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] [stdout] error[E0425]: cannot find value `TEXT` in this scope [INFO] [stdout] --> examples/snippet.rs:24:56 [INFO] [stdout] | [INFO] [stdout] 24 | 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/snippet.rs:24:63 [INFO] [stdout] | [INFO] [stdout] 24 | 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[E0425]: cannot find value `TEXT` in this scope [INFO] [stdout] --> examples/snippet.rs:25:54 [INFO] [stdout] | [INFO] [stdout] 25 | let body = schema_builder.add_text_field("body", 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/snippet.rs:25:61 [INFO] [stdout] | [INFO] [stdout] 25 | let body = schema_builder.add_text_field("body", 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[E0412]: cannot find type `TantivyDocument` in this scope [INFO] [stdout] --> examples/snippet.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | let doc = searcher.doc::(doc_address)?; [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/aggregation.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tantivy::schema::{self, IndexRecordOption, Schema, TextFieldIndexing, FAST}; [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/aggregation.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tantivy::schema::{self, IndexRecordOption, Schema, TextFieldIndexing, FAST}; [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 "ip_field") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/aggregation.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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 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[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[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/snippet.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] [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] Some errors have detailed explanations: E0425, E0432, 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 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[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] [stderr] error: could not compile `lb-tantivy` (example "snippet") due to 12 previous errors [INFO] [stderr] error: could not compile `lb-tantivy` (example "iterating_docs_and_positions") due to 11 previous errors [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[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/phrase_prefix_search.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tantivy::{doc, Index, IndexWriter, ReloadPolicy, 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 "index_from_multiple_threads") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/pre_tokenized_text.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | 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/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] [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 "pre_tokenized_text") due to 16 previous errors [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[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] 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] 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 "json_field") due to 5 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 "basic_search") due to 11 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Schema` [INFO] [stdout] --> examples/phrase_prefix_search.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | 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/phrase_prefix_search.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 11 | 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/phrase_prefix_search.rs:11:51 [INFO] [stdout] | [INFO] [stdout] 11 | 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/phrase_prefix_search.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | 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[E0412]: cannot find type `TantivyDocument` in this scope [INFO] [stdout] --> examples/phrase_prefix_search.rs:70:38 [INFO] [stdout] | [INFO] [stdout] 70 | let doc = searcher.doc::(doc_address)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [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 `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[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] [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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/aggregation.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] [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 "deleting_updating_documents") due to 16 previous errors [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[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 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] 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[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] [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] [stderr] error: could not compile `lb-tantivy` (example "aggregation") due to 8 previous errors [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/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[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[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] [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 "phrase_prefix_search") due to 9 previous errors [INFO] [stderr] error: could not compile `lb-tantivy` (example "faceted_search_with_tweaked_score") due to 14 previous errors [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/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] [stderr] error: could not compile `lb-tantivy` (example "faceted_search") due to 18 previous errors [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/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/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] [stderr] error: could not compile `lb-tantivy` (example "custom_tokenizer") due to 12 previous errors [INFO] [stderr] error: could not compile `lb-tantivy` (example "index_with_json") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "e523a6b61971fb84de418496ac7e6c1cf103689766ce30ea7a7fa57757b3a68c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e523a6b61971fb84de418496ac7e6c1cf103689766ce30ea7a7fa57757b3a68c", kill_on_drop: false }` [INFO] [stdout] e523a6b61971fb84de418496ac7e6c1cf103689766ce30ea7a7fa57757b3a68c