[INFO] fetching crate lb-tantivy 0.24.0... [INFO] checking lb-tantivy-0.24.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate lb-tantivy 0.24.0 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lb-tantivy 0.24.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fail v0.5.1 [INFO] [stderr] Downloaded bon v3.6.5 [INFO] [stderr] Downloaded alloca v0.4.0 [INFO] [stderr] Downloaded bpu_trasher v0.2.0 [INFO] [stderr] Downloaded perf-event-open-sys v4.0.0 [INFO] [stderr] Downloaded lb-tantivy-sstable v0.5.0 [INFO] [stderr] Downloaded perf-event v0.4.8 [INFO] [stderr] Downloaded bon-macros v3.6.5 [INFO] [stderr] Downloaded lb-tantivy-columnar v0.5.0 [INFO] [stderr] Downloaded rustop v1.1.4 [INFO] [stderr] Downloaded peakmem-alloc v0.3.0 [INFO] [stderr] Downloaded binggan v0.14.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a53da30e8cf758377a9b3a663f492ceeb55e17f01b825aa2f59ac2d844d328e0 [INFO] running `Command { std: "docker" "start" "-a" "a53da30e8cf758377a9b3a663f492ceeb55e17f01b825aa2f59ac2d844d328e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a53da30e8cf758377a9b3a663f492ceeb55e17f01b825aa2f59ac2d844d328e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a53da30e8cf758377a9b3a663f492ceeb55e17f01b825aa2f59ac2d844d328e0", kill_on_drop: false }` [INFO] [stdout] a53da30e8cf758377a9b3a663f492ceeb55e17f01b825aa2f59ac2d844d328e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f13a2ebb3b5c6e1c4f94987af6b160d2f1053a58cd9d757cb5c4e0e9cafcebb6 [INFO] running `Command { std: "docker" "start" "-a" "f13a2ebb3b5c6e1c4f94987af6b160d2f1053a58cd9d757cb5c4e0e9cafcebb6", kill_on_drop: false }` [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Checking rustix v1.0.8 [INFO] [stderr] Compiling darling_core v0.21.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking ownedbytes v0.9.0 [INFO] [stderr] Checking bitpacking v0.9.2 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking tantivy-fst v0.5.0 [INFO] [stderr] Checking murmurhash32 v0.3.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling bpu_trasher v0.2.0 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking tantivy-bitpacker v0.8.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking perf-event-open-sys v4.0.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling mini-internal v0.1.42 [INFO] [stderr] Checking downcast-rs v2.0.1 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking fastdivide v0.4.2 [INFO] [stderr] Checking perf-event v0.4.8 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking cobs v0.3.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking measure_time v0.9.0 [INFO] [stderr] Checking memmap2 v0.9.7 [INFO] [stderr] Compiling test-log-macros v0.2.18 [INFO] [stderr] Checking oneshot v0.1.11 [INFO] [stderr] Checking miniserde v0.1.42 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking fs4 v0.13.1 [INFO] [stderr] Checking htmlescape v0.3.1 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking lz4_flex v0.11.5 [INFO] [stderr] Checking peakmem-alloc v0.3.0 [INFO] [stderr] Checking rustop v1.1.4 [INFO] [stderr] Checking levenshtein_automata v0.2.1 [INFO] [stderr] Checking census v0.4.2 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking fail v0.5.1 [INFO] [stderr] Checking more-asserts v0.3.1 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking test-log v0.2.18 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling darling_macro v0.21.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling darling v0.21.0 [INFO] [stderr] Compiling bon-macros v3.6.5 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tantivy-tokenizer-api v0.5.0 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking sketches-ddsketch v0.3.0 [INFO] [stderr] Checking rust-stemmers v1.2.0 [INFO] [stderr] Checking hyperloglogplus v0.4.1 [INFO] [stderr] Checking postcard v1.1.2 [INFO] [stderr] Checking binggan v0.14.2 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking tantivy-query-grammar v0.24.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking tantivy-common v0.9.0 [INFO] [stderr] Checking lb-tantivy-sstable v0.5.0 [INFO] [stderr] Checking tantivy-stacker v0.5.0 [INFO] [stderr] Checking lb-tantivy-columnar v0.5.0 [INFO] [stderr] Checking bon v3.6.5 [INFO] [stderr] Checking 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)]` 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/indexer/index_writer.rs:618:27 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn prepare_commit(&mut self) -> crate::Result> { [INFO] [stdout] | ^^^^^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 618 | pub fn prepare_commit(&mut self) -> crate::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/postings/serializer.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 78 | ) -> io::Result { [INFO] [stdout] | --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 78 | ) -> io::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/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/warmer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tantivy::collector::TopDocs; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/warmer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tantivy::index::SegmentId; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/warmer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tantivy::query::QueryParser; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/warmer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tantivy::schema::{Schema, FAST, TEXT}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/date_time_field.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tantivy::collector::TopDocs; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/date_time_field.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tantivy::query::QueryParser; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/date_time_field.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tantivy::schema::{DateOptions, Document, Schema, Value, INDEXED, STORED, STRING}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/deleting_updating_documents.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tantivy::schema::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/deleting_updating_documents.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tantivy::collector::TopDocs; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/deleting_updating_documents.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tantivy::query::TermQuery; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/integer_range_search.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tantivy::collector::Count; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/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/integer_range_search.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tantivy::query::RangeQuery; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/integer_range_search.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tantivy::schema::{Schema, INDEXED}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/warmer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tantivy::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [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/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: couldn't read `benches/alice.txt`: No such file or directory (os error 2) [INFO] [stdout] --> benches/analyzer.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | const ALICE_TXT: &str = include_str!("alice.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> benches/analyzer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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/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/iterating_docs_and_positions.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tantivy::schema::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/iterating_docs_and_positions.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tantivy::postings::Postings; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/warmer.rs:52:44 [INFO] [stdout] | [INFO] [stdout] 52 | fn warm(&self, searcher: &Searcher) -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/warmer.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[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/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] --> benches/agg_bench.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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] --> benches/agg_bench.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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] --> benches/agg_bench.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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/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] --> benches/agg_bench.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tantivy::schema::{IndexRecordOption, Schema, TextFieldIndexing, FAST, 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/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[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/integer_range_search.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tantivy::{doc, Index, IndexWriter, Result, Term}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (example "warmer") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/date_time_field.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tantivy::{Index, IndexWriter, TantivyDocument}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] [stderr] error: could not compile `lb-tantivy` (bench "analyzer") due to 2 previous errors [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[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[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] [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[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/custom_tokenizer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tantivy::{doc, Index, IndexWriter}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of 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[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] 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] 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/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/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] [stderr] error: could not compile `lb-tantivy` (example "snippet") due to 12 previous errors [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] [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 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: 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: 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 "integer_range_search") due to 4 previous errors [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] [stderr] error: could not compile `lb-tantivy` (example "index_with_json") due to 9 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [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/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[E0432]: unresolved import `tantivy` [INFO] [stdout] --> benches/agg_bench.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tantivy::{doc, Index, Term}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/date_time_field.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | .set_precision(tantivy::schema::DateTimePrecision::Seconds); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 5 + use common::DateTimePrecision; [INFO] [stdout] | [INFO] [stdout] 5 + use lb_tantivy::schema::DateTimePrecision; [INFO] [stdout] | [INFO] [stdout] help: if you import `DateTimePrecision`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 16 - .set_precision(tantivy::schema::DateTimePrecision::Seconds); [INFO] [stdout] 16 + .set_precision(DateTimePrecision::Seconds); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/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] [stderr] error: could not compile `lb-tantivy` (example "aggregation") due to 8 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/json_field.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[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] [stderr] error: could not compile `lb-tantivy` (example "json_field") due to 5 previous errors [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/date_time_field.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [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] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [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] For more information about an error, try `rustc --explain E0412`. [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 "custom_tokenizer") due to 12 previous errors [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] [stderr] error: could not compile `lb-tantivy` (example "date_time_field") due to 6 previous errors [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] [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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> benches/agg_bench.rs:382:26 [INFO] [stdout] | [INFO] [stdout] 382 | let text_fieldtype = tantivy::schema::TextOptions::default() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use lb_tantivy::schema::TextOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `TextOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 382 - let text_fieldtype = tantivy::schema::TextOptions::default() [INFO] [stdout] 382 + let text_fieldtype = TextOptions::default() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> benches/agg_bench.rs:391:27 [INFO] [stdout] | [INFO] [stdout] 391 | let score_fieldtype = tantivy::schema::NumericOptions::default().set_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] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use lb_tantivy::schema::NumericOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `NumericOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 391 - let score_fieldtype = tantivy::schema::NumericOptions::default().set_fast(); [INFO] [stdout] 391 + let score_fieldtype = NumericOptions::default().set_fast(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (example "deleting_updating_documents") due to 16 previous errors [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 "ip_field") due to 5 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] 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] warning: unused import: `rand_distr::Distribution` [INFO] [stdout] --> benches/agg_bench.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand_distr::Distribution; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> benches/agg_bench.rs:380:54 [INFO] [stdout] | [INFO] [stdout] 380 | fn get_test_index_bench(cardinality: Cardinality) -> 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` (bench "agg_bench") due to 8 previous errors; 1 warning emitted [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)]` 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] running `Command { std: "docker" "inspect" "f13a2ebb3b5c6e1c4f94987af6b160d2f1053a58cd9d757cb5c4e0e9cafcebb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f13a2ebb3b5c6e1c4f94987af6b160d2f1053a58cd9d757cb5c4e0e9cafcebb6", kill_on_drop: false }` [INFO] [stdout] f13a2ebb3b5c6e1c4f94987af6b160d2f1053a58cd9d757cb5c4e0e9cafcebb6