[INFO] fetching crate izihawa-tantivy 0.25.1... [INFO] building izihawa-tantivy-0.25.1 against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] extracting crate izihawa-tantivy 0.25.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate izihawa-tantivy 0.25.1 on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate izihawa-tantivy 0.25.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate izihawa-tantivy 0.25.1 [INFO] tweaked toml for crates.io crate izihawa-tantivy 0.25.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 241 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.6.0) [INFO] [stderr] Adding fs4 v0.8.4 (available: v0.13.1) [INFO] [stderr] Adding lru v0.12.5 (available: v0.14.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] [stderr] Adding rand_distr v0.4.3 (available: v0.5.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tokio` dependency) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded test-log-macros v0.2.17 [INFO] [stderr] Downloaded rand_xorshift v0.4.0 [INFO] [stderr] Downloaded sketches-ddsketch v0.3.0 [INFO] [stderr] Downloaded izihawa-ownedbytes v0.25.0 [INFO] [stderr] Downloaded measure_time v0.9.0 [INFO] [stderr] Downloaded utf8-ranges v1.0.5 [INFO] [stderr] Downloaded izihawa-tantivy-tokenizer-api v0.25.0 [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 rustop v1.1.4 [INFO] [stderr] Downloaded miniserde v0.1.42 [INFO] [stderr] Downloaded perf-event-open-sys v4.0.0 [INFO] [stderr] Downloaded perf-event v0.4.8 [INFO] [stderr] Downloaded binggan v0.14.2 [INFO] [stderr] Downloaded proptest v1.7.0 [INFO] [stderr] Downloaded fail v0.5.1 [INFO] [stderr] Downloaded fs4 v0.8.4 [INFO] [stderr] Downloaded izihawa-tantivy-query-grammar v0.25.0 [INFO] [stderr] Downloaded bitpacking v0.9.2 [INFO] [stderr] Downloaded izihawa-tantivy-common v0.25.0 [INFO] [stderr] Downloaded izihawa-tantivy-stacker v0.25.0 [INFO] [stderr] Downloaded hyperloglogplus v0.4.1 [INFO] [stderr] Downloaded izihawa-tantivy-bitpacker v0.25.0 [INFO] [stderr] Downloaded levenshtein_automata v0.2.1 [INFO] [stderr] Downloaded more-asserts v0.3.1 [INFO] [stderr] Downloaded wait-timeout v0.2.1 [INFO] [stderr] Downloaded mini-internal v0.1.42 [INFO] [stderr] Downloaded census v0.4.2 [INFO] [stderr] Downloaded fastdivide v0.4.2 [INFO] [stderr] Downloaded murmurhash32 v0.3.1 [INFO] [stderr] Downloaded test-log v0.2.17 [INFO] [stderr] Downloaded tantivy-fst v0.5.0 [INFO] [stderr] Downloaded izihawa-tantivy-columnar v0.25.0 [INFO] [stderr] Downloaded oneshot v0.1.11 [INFO] [stderr] Downloaded izihawa-tantivy-sstable v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 718014c41d15ac529a20d9a58c6c8a4b16978d5a9f1a3de1512c266598e765d0 [INFO] running `Command { std: "docker" "start" "-a" "718014c41d15ac529a20d9a58c6c8a4b16978d5a9f1a3de1512c266598e765d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "718014c41d15ac529a20d9a58c6c8a4b16978d5a9f1a3de1512c266598e765d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "718014c41d15ac529a20d9a58c6c8a4b16978d5a9f1a3de1512c266598e765d0", kill_on_drop: false }` [INFO] [stdout] 718014c41d15ac529a20d9a58c6c8a4b16978d5a9f1a3de1512c266598e765d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da5180c10248d37109a2ab46b75cfa2d4bcf02257f9cd203098ec09c2964989a [INFO] running `Command { std: "docker" "start" "-a" "da5180c10248d37109a2ab46b75cfa2d4bcf02257f9cd203098ec09c2964989a", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tokio` dependency) [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling izihawa-ownedbytes v0.25.0 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling bitpacking v0.9.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling murmurhash32 v0.3.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling downcast-rs v2.0.1 [INFO] [stderr] Compiling izihawa-tantivy-bitpacker v0.25.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling fastdivide v0.4.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling measure_time v0.9.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling levenshtein_automata v0.2.1 [INFO] [stderr] Compiling census v0.4.2 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling oneshot v0.1.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling tantivy-fst v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling izihawa-tantivy-query-grammar v0.25.0 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling fs4 v0.8.4 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling prettyplease v0.2.33 [INFO] [stderr] Compiling regex v1.11.1 [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 futures-util v0.3.31 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling bon-macros v3.6.3 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bon v3.6.3 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling izihawa-tantivy-tokenizer-api v0.25.0 [INFO] [stderr] Compiling sketches-ddsketch v0.3.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling hyperloglogplus v0.4.1 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling izihawa-tantivy-common v0.25.0 [INFO] [stderr] Compiling izihawa-tantivy-stacker v0.25.0 [INFO] [stderr] Compiling izihawa-tantivy-sstable v0.25.0 [INFO] [stderr] Compiling izihawa-tantivy-columnar v0.25.0 [INFO] [stderr] Compiling izihawa-tantivy v0.25.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TermQuery` [INFO] [stdout] --> src/indexer/index_writer.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::query::{EnableScoring, Query, TermQuery}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/indexer/merger.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::JoinHandle` [INFO] [stdout] --> src/indexer/merger.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TerminatingWrite` [INFO] [stdout] --> src/indexer/merger.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use common::{ReadOnlyBitSet, TerminatingWrite}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TantivyError` [INFO] [stdout] --> src/index/segment_reader.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::{DocId, Opstamp, TantivyError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::join_all` [INFO] [stdout] --> src/query/phrase_query/phrase_weight.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HasLen` [INFO] [stdout] --> src/store/store_compressor.rs:7:50 [INFO] [stdout] | [INFO] [stdout] 7 | use common::{BinarySerializable, CountingWriter, HasLen, TerminatingWrite}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HasLen` [INFO] [stdout] --> src/store/reader.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | use common::{BinarySerializable, HasLen, OwnedBytes}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `return_true` is never used [INFO] [stdout] --> src/index/index_meta.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | fn return_true() -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_true` is never used [INFO] [stdout] --> src/index/index_meta.rs:276:4 [INFO] [stdout] | [INFO] [stdout] 276 | fn is_true(val: &bool) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open_async` and `get_async` are never used [INFO] [stdout] --> src/termdict/fst_termdict/termdict.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 124 | impl TermDictionary { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | pub async fn open_async(file: FileSlice) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub async fn get_async>(&self, key: K) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/indexer/index_writer.rs:652:27 [INFO] [stdout] | [INFO] [stdout] 652 | pub fn prepare_commit(&mut self) -> crate::Result> { [INFO] [stdout] | ^^^^^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 652 | pub fn prepare_commit(&mut self) -> crate::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/indexer/merge_operation.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn segment_attributes(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/collector/top_score_collector.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | / pub fn tweak_score( [INFO] [stdout] 436 | | self, [INFO] [stdout] 437 | | score_tweaker: TScoreTweaker, [INFO] [stdout] 438 | | ) -> impl Collector> [INFO] [stdout] ... | [INFO] [stdout] 441 | | TScoreSegmentTweaker: ScoreSegmentTweaker + 'static + Send, [INFO] [stdout] 442 | | TScoreTweaker: ScoreTweaker + Send + Sync, [INFO] [stdout] | |________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/collector/tweak_score_top_collector.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | async fn segment_tweaker_async(&self, segment_reader: &SegmentReader) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/directory/directory.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/directory/directory.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | fn underlying_directory(&self) -> Option<&dyn Directory> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/directory/directory.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | fn real_directory(&self) -> &dyn Directory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/directory/managed_directory.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn wrap(directory: Box) -> crate::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/postings/serializer.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 78 | ) -> io::Result { [INFO] [stdout] | --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 78 | ) -> io::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/query/bm25.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | async fn doc_freq_async(&self, term: &Term) -> crate::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/query/query.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | with_fieldnorms: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/query/query.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn enabled_from_searcher_without_fieldnorms(searcher: &'a Searcher) -> EnableScoring<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "da5180c10248d37109a2ab46b75cfa2d4bcf02257f9cd203098ec09c2964989a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da5180c10248d37109a2ab46b75cfa2d4bcf02257f9cd203098ec09c2964989a", kill_on_drop: false }` [INFO] [stdout] da5180c10248d37109a2ab46b75cfa2d4bcf02257f9cd203098ec09c2964989a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 416656871eed4049c484a323cd91ad5f6470a5c008c621adc1d11a55b93a6210 [INFO] running `Command { std: "docker" "start" "-a" "416656871eed4049c484a323cd91ad5f6470a5c008c621adc1d11a55b93a6210", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tokio` dependency) [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling bpu_trasher v0.2.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling mini-internal v0.1.42 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling perf-event-open-sys v4.0.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling measure_time v0.9.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling perf-event v0.4.8 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling test-log-macros v0.2.17 [INFO] [stderr] Compiling rustop v1.1.4 [INFO] [stderr] Compiling peakmem-alloc v0.3.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling miniserde v0.1.42 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling test-log v0.2.17 [INFO] [stderr] Compiling fail v0.5.1 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling more-asserts v0.3.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling postcard v1.1.1 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling binggan v0.14.2 [INFO] [stderr] Compiling izihawa-tantivy-common v0.25.0 [INFO] [stderr] Compiling izihawa-tantivy-sstable v0.25.0 [INFO] [stderr] Compiling izihawa-tantivy-stacker v0.25.0 [INFO] [stderr] Compiling izihawa-tantivy-columnar v0.25.0 [INFO] [stderr] Compiling izihawa-tantivy v0.25.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TermQuery` [INFO] [stdout] --> src/indexer/index_writer.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::query::{EnableScoring, Query, TermQuery}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/indexer/merger.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::JoinHandle` [INFO] [stdout] --> src/indexer/merger.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TerminatingWrite` [INFO] [stdout] --> src/indexer/merger.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use common::{ReadOnlyBitSet, TerminatingWrite}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TantivyError` [INFO] [stdout] --> src/index/segment_reader.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::{DocId, Opstamp, TantivyError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::join_all` [INFO] [stdout] --> src/query/phrase_query/phrase_weight.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TermQuery` [INFO] [stdout] --> src/indexer/index_writer.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::query::{EnableScoring, Query, TermQuery}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/indexer/merger.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::JoinHandle` [INFO] [stdout] --> src/indexer/merger.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TerminatingWrite` [INFO] [stdout] --> src/indexer/merger.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use common::{ReadOnlyBitSet, TerminatingWrite}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TantivyError` [INFO] [stdout] --> src/index/segment_reader.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::{DocId, Opstamp, TantivyError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::join_all` [INFO] [stdout] --> src/query/phrase_query/phrase_weight.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IndexWriter` [INFO] [stdout] --> src/store/index/mod.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | use crate::{DocAddress, DocId, Index, IndexWriter, TantivyDocument, Term}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HasLen` [INFO] [stdout] --> src/store/store_compressor.rs:7:50 [INFO] [stdout] | [INFO] [stdout] 7 | use common::{BinarySerializable, CountingWriter, HasLen, TerminatingWrite}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HasLen` [INFO] [stdout] --> src/store/reader.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | use common::{BinarySerializable, HasLen, OwnedBytes}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `return_true` is never used [INFO] [stdout] --> src/index/index_meta.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | fn return_true() -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_true` is never used [INFO] [stdout] --> src/index/index_meta.rs:276:4 [INFO] [stdout] | [INFO] [stdout] 276 | fn is_true(val: &bool) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open_async` and `get_async` are never used [INFO] [stdout] --> src/termdict/fst_termdict/termdict.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 124 | impl TermDictionary { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | pub async fn open_async(file: FileSlice) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub async fn get_async>(&self, key: K) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/indexer/index_writer.rs:652:27 [INFO] [stdout] | [INFO] [stdout] 652 | pub fn prepare_commit(&mut self) -> crate::Result> { [INFO] [stdout] | ^^^^^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 652 | pub fn prepare_commit(&mut self) -> crate::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/indexer/merge_operation.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn segment_attributes(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/collector/top_score_collector.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | / pub fn tweak_score( [INFO] [stdout] 436 | | self, [INFO] [stdout] 437 | | score_tweaker: TScoreTweaker, [INFO] [stdout] 438 | | ) -> impl Collector> [INFO] [stdout] ... | [INFO] [stdout] 441 | | TScoreSegmentTweaker: ScoreSegmentTweaker + 'static + Send, [INFO] [stdout] 442 | | TScoreTweaker: ScoreTweaker + Send + Sync, [INFO] [stdout] | |________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/collector/tweak_score_top_collector.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | async fn segment_tweaker_async(&self, segment_reader: &SegmentReader) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/directory/directory.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/directory/directory.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | fn underlying_directory(&self) -> Option<&dyn Directory> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/directory/directory.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | fn real_directory(&self) -> &dyn Directory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/directory/managed_directory.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn wrap(directory: Box) -> crate::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/postings/serializer.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 78 | ) -> io::Result { [INFO] [stdout] | --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 78 | ) -> io::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/query/bm25.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | async fn doc_freq_async(&self, term: &Term) -> crate::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/query/query.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | with_fieldnorms: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/query/query.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn enabled_from_searcher_without_fieldnorms(searcher: &'a Searcher) -> EnableScoring<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HasLen` [INFO] [stdout] --> src/store/store_compressor.rs:7:50 [INFO] [stdout] | [INFO] [stdout] 7 | use common::{BinarySerializable, CountingWriter, HasLen, TerminatingWrite}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HasLen` [INFO] [stdout] --> src/store/reader.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | use common::{BinarySerializable, HasLen, OwnedBytes}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/indexer/index_writer.rs:2692:13 [INFO] [stdout] | [INFO] [stdout] 2692 | let field = schema_builder.add_bool_field("example", STORED); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/indexer/merge_index_test.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let mut index_writer: IndexWriter = index.writer_for_tests()?; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/indexer/merger.rs:1155:17 [INFO] [stdout] | [INFO] [stdout] 1155 | let mut index_writer: IndexWriter = index.writer_for_tests().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/indexer/merger.rs:1328:17 [INFO] [stdout] | [INFO] [stdout] 1328 | let mut index_writer: IndexWriter = index.writer_for_tests()?; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/indexer/segment_writer.rs:931:13 [INFO] [stdout] | [INFO] [stdout] 931 | let mut index_writer: IndexWriter = index.writer_for_tests().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aggregation/mod.rs:591:21 [INFO] [stdout] | [INFO] [stdout] 591 | let mut index_writer: IndexWriter = index.writer_for_tests()?; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `return_true` is never used [INFO] [stdout] --> src/index/index_meta.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | fn return_true() -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_true` is never used [INFO] [stdout] --> src/index/index_meta.rs:276:4 [INFO] [stdout] | [INFO] [stdout] 276 | fn is_true(val: &bool) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open_async` and `get_async` are never used [INFO] [stdout] --> src/termdict/fst_termdict/termdict.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 124 | impl TermDictionary { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 147 | pub async fn open_async(file: FileSlice) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub async fn get_async>(&self, key: K) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/indexer/index_writer.rs:652:27 [INFO] [stdout] | [INFO] [stdout] 652 | pub fn prepare_commit(&mut self) -> crate::Result> { [INFO] [stdout] | ^^^^^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 652 | pub fn prepare_commit(&mut self) -> crate::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/indexer/merge_operation.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn segment_attributes(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/aggregation/bucket/histogram/date_histogram.rs:247:1 [INFO] [stdout] | [INFO] [stdout] 247 | pub mod tests { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/aggregation/bucket/histogram/date_histogram.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | / pub fn get_test_index_from_docs( [INFO] [stdout] 306 | | merge_segments: bool, [INFO] [stdout] 307 | | segment_and_docs: &[Vec<&str>], [INFO] [stdout] 308 | | ) -> crate::Result { [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/collector/top_score_collector.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | / pub fn tweak_score( [INFO] [stdout] 436 | | self, [INFO] [stdout] 437 | | score_tweaker: TScoreTweaker, [INFO] [stdout] 438 | | ) -> impl Collector> [INFO] [stdout] ... | [INFO] [stdout] 441 | | TScoreSegmentTweaker: ScoreSegmentTweaker + 'static + Send, [INFO] [stdout] 442 | | TScoreTweaker: ScoreTweaker + Send + Sync, [INFO] [stdout] | |________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/collector/tweak_score_top_collector.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | async fn segment_tweaker_async(&self, segment_reader: &SegmentReader) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/directory/directory.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/directory/directory.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | fn underlying_directory(&self) -> Option<&dyn Directory> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/directory/directory.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | fn real_directory(&self) -> &dyn Directory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/directory/managed_directory.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn wrap(directory: Box) -> crate::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/postings/serializer.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 78 | ) -> io::Result { [INFO] [stdout] | --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 78 | ) -> io::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/query/bm25.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | async fn doc_freq_async(&self, term: &Term) -> crate::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/query/query.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | with_fieldnorms: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/query/query.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn enabled_from_searcher_without_fieldnorms(searcher: &'a Searcher) -> EnableScoring<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "416656871eed4049c484a323cd91ad5f6470a5c008c621adc1d11a55b93a6210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "416656871eed4049c484a323cd91ad5f6470a5c008c621adc1d11a55b93a6210", kill_on_drop: false }` [INFO] [stdout] 416656871eed4049c484a323cd91ad5f6470a5c008c621adc1d11a55b93a6210