[INFO] fetching crate lb-tantivy 0.24.0... [INFO] checking lb-tantivy-0.24.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate lb-tantivy 0.24.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lb-tantivy 0.24.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fs4 v0.13.1 [INFO] [stderr] Downloaded perf-event v0.4.8 [INFO] [stderr] Downloaded rustop v1.1.4 [INFO] [stderr] Downloaded fail v0.5.1 [INFO] [stderr] Downloaded binggan v0.14.2 [INFO] [stderr] Downloaded alloca v0.4.0 [INFO] [stderr] Downloaded bpu_trasher v0.2.0 [INFO] [stderr] Downloaded peakmem-alloc v0.3.0 [INFO] [stderr] Downloaded lb-tantivy-sstable v0.5.0 [INFO] [stderr] Downloaded perf-event-open-sys v4.0.0 [INFO] [stderr] Downloaded bon v3.6.5 [INFO] [stderr] Downloaded lb-tantivy-columnar v0.5.0 [INFO] [stderr] Downloaded bon-macros v3.6.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2dc48db4e0b3d157a6382e0ae3af0883c27a3ea474be054fdb0c7c22e9aebbaa [INFO] running `Command { std: "docker" "start" "-a" "2dc48db4e0b3d157a6382e0ae3af0883c27a3ea474be054fdb0c7c22e9aebbaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dc48db4e0b3d157a6382e0ae3af0883c27a3ea474be054fdb0c7c22e9aebbaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dc48db4e0b3d157a6382e0ae3af0883c27a3ea474be054fdb0c7c22e9aebbaa", kill_on_drop: false }` [INFO] [stdout] 2dc48db4e0b3d157a6382e0ae3af0883c27a3ea474be054fdb0c7c22e9aebbaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33f2c4cdcc0bafb0953af16f01f1a47cbf02b59c2cb4d5a5b9e774afbc7069cf [INFO] running `Command { std: "docker" "start" "-a" "33f2c4cdcc0bafb0953af16f01f1a47cbf02b59c2cb4d5a5b9e774afbc7069cf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking ownedbytes v0.9.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Checking bitpacking v0.9.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking tantivy-fst v0.5.0 [INFO] [stderr] Checking tantivy-bitpacker v0.8.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking murmurhash32 v0.3.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling bpu_trasher v0.2.0 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking perf-event-open-sys v4.0.0 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking downcast-rs v2.0.1 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking fastdivide v0.4.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking perf-event v0.4.8 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Compiling darling_core v0.21.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking fs4 v0.13.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking measure_time v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking memmap2 v0.9.7 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking levenshtein_automata v0.2.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking htmlescape v0.3.1 [INFO] [stderr] Checking peakmem-alloc v0.3.0 [INFO] [stderr] Checking rustop v1.1.4 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking census v0.4.2 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking lz4_flex v0.11.5 [INFO] [stderr] Checking oneshot v0.1.11 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Checking fail v0.5.1 [INFO] [stderr] Checking more-asserts v0.3.1 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling mini-internal v0.1.42 [INFO] [stderr] Compiling test-log-macros v0.2.18 [INFO] [stderr] Compiling darling_macro v0.21.0 [INFO] [stderr] Compiling darling v0.21.0 [INFO] [stderr] Compiling bon-macros v3.6.5 [INFO] [stderr] Checking test-log v0.2.18 [INFO] [stderr] Checking miniserde v0.1.42 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking binggan v0.14.2 [INFO] [stderr] Checking cobs v0.3.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking bon v3.6.5 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking hyperloglogplus v0.4.1 [INFO] [stderr] Checking tantivy-tokenizer-api v0.5.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking sketches-ddsketch v0.3.0 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking rust-stemmers v1.2.0 [INFO] [stderr] Checking postcard v1.1.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 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/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/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/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: couldn't read `benches/hdfs.json`: No such file or directory (os error 2) [INFO] [stdout] --> benches/index-bench.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | const HDFS_LOGS: &str = include_str!("hdfs.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `benches/gh.json`: No such file or directory (os error 2) [INFO] [stdout] --> benches/index-bench.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | const GH_LOGS: &str = include_str!("gh.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `benches/wiki.json`: No such file or directory (os error 2) [INFO] [stdout] --> benches/index-bench.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | const WIKI: &str = include_str!("wiki.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> benches/index-bench.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tantivy::schema::{TantivyDocument, FAST, INDEXED, STORED, STRING, TEXT}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tantivy::schema::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tantivy::collector::TopDocs; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tantivy::query::BooleanQuery; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] --> 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/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] --> benches/index-bench.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tantivy::{tokenizer, 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] --> benches/index-bench.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | tantivy::doc!(json_field=>json_val) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [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/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[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tantivy::{doc, DocId, Index, IndexWriter, Score, SegmentReader}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tantivy` [INFO] [stdout] --> examples/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[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/ip_field.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Schema` [INFO] [stdout] --> examples/faceted_search.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[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[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] [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[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/faceted_search.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Schema` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | let mut schema_builder = Schema::builder(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Schema` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::schema::Schema; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STORED` in this scope [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:20:56 [INFO] [stdout] | [INFO] [stdout] 20 | let title = schema_builder.add_text_field("title", STORED); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::schema::STORED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FacetOptions` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:21:67 [INFO] [stdout] | [INFO] [stdout] 21 | let ingredient = schema_builder.add_facet_field("ingredient", FacetOptions::default()); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `FacetOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::schema::FacetOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Facet` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | Facet::from("/ingredient/egg"), [INFO] [stdout] | ^^^^^ use of undeclared type `Facet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::schema::Facet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Facet` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | Facet::from("/ingredient/oil"), [INFO] [stdout] | ^^^^^ use of undeclared type `Facet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::schema::Facet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Facet` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | Facet::from("/ingredient/garlic"), [INFO] [stdout] | ^^^^^ use of undeclared type `Facet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::schema::Facet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Facet` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | Facet::from("/ingredient/mushroom"), [INFO] [stdout] | ^^^^^ use of undeclared type `Facet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::schema::Facet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Term` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | .map(|key| Term::from_facet(ingredient, key)) [INFO] [stdout] | ^^^^ use of undeclared type `Term` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::Term; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TantivyDocument` in this scope [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | .doc::(*doc_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use lb_tantivy::TantivyDocument; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (example "custom_tokenizer") due to 12 previous errors [INFO] [stderr] error: could not compile `lb-tantivy` (example "faceted_search") due to 18 previous errors [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/faceted_search_with_tweaked_score.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (example "iterating_docs_and_positions") due to 11 previous errors [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (example "faceted_search_with_tweaked_score") due to 14 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lb-tantivy` (example "warmer") due to 7 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> benches/index-bench.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | schema: tantivy::schema::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] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use lb_tantivy::schema; [INFO] [stdout] | [INFO] [stdout] help: if you import `schema`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 12 - schema: tantivy::schema::Schema, [INFO] [stdout] 12 + schema: schema::Schema, [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: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] --> benches/index-bench.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | fn get_index(schema: tantivy::schema::Schema) -> Index { [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 module [INFO] [stdout] | [INFO] [stdout] 1 + use lb_tantivy::schema; [INFO] [stdout] | [INFO] [stdout] help: if you import `schema`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 26 - fn get_index(schema: tantivy::schema::Schema) -> Index { [INFO] [stdout] 26 + fn get_index(schema: schema::Schema) -> Index { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> benches/index-bench.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | schema: tantivy::schema::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] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use lb_tantivy::schema; [INFO] [stdout] | [INFO] [stdout] help: if you import `schema`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 42 - schema: tantivy::schema::Schema, [INFO] [stdout] 42 + schema: schema::Schema, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> benches/index-bench.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | create_doc: impl Fn(&tantivy::schema::Schema, &str) -> 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] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use lb_tantivy::schema; [INFO] [stdout] | [INFO] [stdout] help: if you import `schema`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 45 - create_doc: impl Fn(&tantivy::schema::Schema, &str) -> TantivyDocument, [INFO] [stdout] 45 + create_doc: impl Fn(&schema::Schema, &str) -> TantivyDocument, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> benches/index-bench.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | schema: tantivy::schema::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] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use lb_tantivy::schema; [INFO] [stdout] | [INFO] [stdout] help: if you import `schema`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 87 - schema: tantivy::schema::Schema, [INFO] [stdout] 87 + schema: schema::Schema, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> benches/index-bench.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | let mut schema_builder = tantivy::schema::SchemaBuilder::new(); [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::SchemaBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `SchemaBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 100 - let mut schema_builder = tantivy::schema::SchemaBuilder::new(); [INFO] [stdout] 100 + let mut schema_builder = SchemaBuilder::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> benches/index-bench.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | let mut schema_builder = tantivy::schema::SchemaBuilder::new(); [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::SchemaBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `SchemaBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 107 - let mut schema_builder = tantivy::schema::SchemaBuilder::new(); [INFO] [stdout] 107 + let mut schema_builder = SchemaBuilder::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> benches/index-bench.rs:114:34 [INFO] [stdout] | [INFO] [stdout] 114 | let mut schema_builder = tantivy::schema::SchemaBuilder::new(); [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::SchemaBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `SchemaBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 114 - let mut schema_builder = tantivy::schema::SchemaBuilder::new(); [INFO] [stdout] 114 + let mut schema_builder = SchemaBuilder::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> benches/index-bench.rs:121:34 [INFO] [stdout] | [INFO] [stdout] 121 | let mut schema_builder = tantivy::schema::SchemaBuilder::new(); [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::SchemaBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `SchemaBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 121 - let mut schema_builder = tantivy::schema::SchemaBuilder::new(); [INFO] [stdout] 121 + let mut schema_builder = SchemaBuilder::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> benches/index-bench.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | let mut schema_builder = tantivy::schema::SchemaBuilder::new(); [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::SchemaBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `SchemaBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 160 - let mut schema_builder = tantivy::schema::SchemaBuilder::new(); [INFO] [stdout] 160 + let mut schema_builder = SchemaBuilder::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> benches/index-bench.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | let mut schema_builder = tantivy::schema::SchemaBuilder::new(); [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::SchemaBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `SchemaBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 165 - let mut schema_builder = tantivy::schema::SchemaBuilder::new(); [INFO] [stdout] 165 + let mut schema_builder = SchemaBuilder::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> benches/index-bench.rs:187:34 [INFO] [stdout] | [INFO] [stdout] 187 | let mut schema_builder = tantivy::schema::SchemaBuilder::new(); [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::SchemaBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `SchemaBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 187 - let mut schema_builder = tantivy::schema::SchemaBuilder::new(); [INFO] [stdout] 187 + let mut schema_builder = SchemaBuilder::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/warmer.rs:52:44 [INFO] [stdout] | [INFO] [stdout] 52 | fn warm(&self, searcher: &Searcher) -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] --> examples/warmer.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | fn main() -> tantivy::Result<()> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tantivy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tantivy`, use `cargo add tantivy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] 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 "index-bench") due to 18 previous errors [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" "33f2c4cdcc0bafb0953af16f01f1a47cbf02b59c2cb4d5a5b9e774afbc7069cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33f2c4cdcc0bafb0953af16f01f1a47cbf02b59c2cb4d5a5b9e774afbc7069cf", kill_on_drop: false }` [INFO] [stdout] 33f2c4cdcc0bafb0953af16f01f1a47cbf02b59c2cb4d5a5b9e774afbc7069cf