[INFO] fetching crate izihawa-tantivy 0.25.1... [INFO] testing izihawa-tantivy-0.25.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate izihawa-tantivy 0.25.1 into /workspace/builds/worker-5-tc1/source [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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate izihawa-tantivy 0.25.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 251 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.15.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] Downloading crates ... [INFO] [stderr] Downloaded izihawa-tantivy-tokenizer-api v0.25.0 [INFO] [stderr] Downloaded izihawa-tantivy-common v0.25.0 [INFO] [stderr] Downloaded oneshot v0.1.11 [INFO] [stderr] Downloaded izihawa-ownedbytes v0.25.0 [INFO] [stderr] Downloaded fastdivide v0.4.2 [INFO] [stderr] Downloaded census v0.4.2 [INFO] [stderr] Downloaded murmurhash32 v0.3.1 [INFO] [stderr] Downloaded alloca v0.4.0 [INFO] [stderr] Downloaded bpu_trasher v0.2.0 [INFO] [stderr] Downloaded perf-event-open-sys v4.0.0 [INFO] [stderr] Downloaded izihawa-tantivy-sstable v0.25.0 [INFO] [stderr] Downloaded hyperloglogplus v0.4.1 [INFO] [stderr] Downloaded rustop v1.1.4 [INFO] [stderr] Downloaded binggan v0.14.2 [INFO] [stderr] Downloaded izihawa-tantivy-query-grammar v0.25.0 [INFO] [stderr] Downloaded bitpacking v0.9.2 [INFO] [stderr] Downloaded perf-event v0.4.8 [INFO] [stderr] Downloaded fail v0.5.1 [INFO] [stderr] Downloaded fs4 v0.8.4 [INFO] [stderr] Downloaded izihawa-tantivy-bitpacker v0.25.0 [INFO] [stderr] Downloaded peakmem-alloc v0.3.0 [INFO] [stderr] Downloaded izihawa-tantivy-stacker v0.25.0 [INFO] [stderr] Downloaded levenshtein_automata v0.2.1 [INFO] [stderr] Downloaded measure_time v0.9.0 [INFO] [stderr] Downloaded tantivy-fst v0.5.0 [INFO] [stderr] Downloaded izihawa-tantivy-columnar v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 047167d99ae74e908c1b2c854b90c69f6b6844c712dfba148ab76abf5c727cf0 [INFO] running `Command { std: "docker" "start" "-a" "047167d99ae74e908c1b2c854b90c69f6b6844c712dfba148ab76abf5c727cf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "047167d99ae74e908c1b2c854b90c69f6b6844c712dfba148ab76abf5c727cf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "047167d99ae74e908c1b2c854b90c69f6b6844c712dfba148ab76abf5c727cf0", kill_on_drop: false }` [INFO] [stdout] 047167d99ae74e908c1b2c854b90c69f6b6844c712dfba148ab76abf5c727cf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a2192a58b98d1f63e6e4219afd6010bbb8b48020e6b0ae97a8b11e4208ad0ef6 [INFO] running `Command { std: "docker" "start" "-a" "a2192a58b98d1f63e6e4219afd6010bbb8b48020e6b0ae97a8b11e4208ad0ef6", 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 serde v1.0.219 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling izihawa-ownedbytes v0.25.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bitpacking v0.9.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling izihawa-tantivy-bitpacker v0.25.0 [INFO] [stderr] Compiling tantivy-fst v0.5.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling murmurhash32 v0.3.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling downcast-rs v2.0.1 [INFO] [stderr] Compiling fastdivide v0.4.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling measure_time v0.9.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling izihawa-tantivy-query-grammar v0.25.0 [INFO] [stderr] Compiling fs4 v0.8.4 [INFO] [stderr] Compiling lru v0.12.5 [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 darling_macro v0.20.11 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling bon-macros v3.6.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling lz4_flex v0.11.5 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling oneshot v0.1.11 [INFO] [stderr] Compiling census v0.4.2 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling levenshtein_automata v0.2.1 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling bon v3.6.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling sketches-ddsketch v0.3.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling izihawa-tantivy-tokenizer-api v0.25.0 [INFO] [stderr] Compiling hyperloglogplus v0.4.1 [INFO] [stderr] Compiling time v0.3.41 [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: `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 2m 02s [INFO] running `Command { std: "docker" "inspect" "a2192a58b98d1f63e6e4219afd6010bbb8b48020e6b0ae97a8b11e4208ad0ef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2192a58b98d1f63e6e4219afd6010bbb8b48020e6b0ae97a8b11e4208ad0ef6", kill_on_drop: false }` [INFO] [stdout] a2192a58b98d1f63e6e4219afd6010bbb8b48020e6b0ae97a8b11e4208ad0ef6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 828b55da36afcddd09e6989deff7e71f217d67a98381855a845e9fb2c7f6a4ad [INFO] running `Command { std: "docker" "start" "-a" "828b55da36afcddd09e6989deff7e71f217d67a98381855a845e9fb2c7f6a4ad", 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 rand v0.8.5 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling log v0.4.27 [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 time-macros v0.2.22 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling bpu_trasher v0.2.0 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling mini-internal v0.1.42 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling perf-event-open-sys v4.0.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling perf-event v0.4.8 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling miniserde v0.1.42 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling measure_time v0.9.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling cobs v0.3.0 [INFO] [stderr] Compiling test-log-macros v0.2.17 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling rustop v1.1.4 [INFO] [stderr] Compiling peakmem-alloc v0.3.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling test-log v0.2.17 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling postcard v1.1.2 [INFO] [stderr] Compiling fail v0.5.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling more-asserts v0.3.1 [INFO] [stderr] Compiling izihawa-tantivy-common v0.25.0 [INFO] [stderr] Compiling binggan v0.14.2 [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] error: could not compile `izihawa-tantivy` (lib test); 32 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc --crate-name izihawa_tantivy --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="fs4"' --cfg 'feature="lz4-compression"' --cfg 'feature="lz4_flex"' --cfg 'feature="memmap2"' --cfg 'feature="mmap"' --cfg 'feature="stopwords"' --cfg 'feature="tempfile"' --cfg 'feature="tokio"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("compare_hash_only", "default", "fail", "failpoints", "fs4", "futures-channel", "futures-util", "lz4-compression", "lz4_flex", "memmap2", "mmap", "quickwit", "sstable", "stopwords", "tempfile", "tokio", "unstable", "wasm", "zstd", "zstd-compression"))' -C metadata=9f5c4b8d576dacb9 -C extra-filename=-a1a1061a33e03e4c --out-dir /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps --target x86_64-unknown-linux-musl -L dependency=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern aho_corasick=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libaho_corasick-01303506f133d477.rlib --extern arc_swap=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libarc_swap-ce2702317fffe580.rlib --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-2c6bbe04f9a119db.so --extern base64=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libbase64-4cfc25a2fbceb95f.rlib --extern binggan=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libbinggan-08fed0bfd735234e.rlib --extern bitpacking=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libbitpacking-0b778af39d06818e.rlib --extern bon=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libbon-1234aa80e7960510.rlib --extern byteorder=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libbyteorder-1e24148c060ae1e7.rlib --extern census=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libcensus-08a1d10cd6aec621.rlib --extern crc32fast=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libcrc32fast-cc73f2b4e2db2e49.rlib --extern criterion=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libcriterion-0d1a9536a36caefc.rlib --extern crossbeam_channel=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libcrossbeam_channel-4be749d25b57d153.rlib --extern downcast_rs=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libdowncast_rs-766842716eaee342.rlib --extern fail=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libfail-f1279780a17a9845.rlib --extern fastdivide=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libfastdivide-dfb8a0b0c40aa746.rlib --extern fnv=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libfnv-81596130b397d5c3.rlib --extern fs4=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libfs4-95923a32949657e1.rlib --extern futures=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libfutures-82ec1b83cac4f6a4.rlib --extern htmlescape=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libhtmlescape-a0edeb9c3c490a9f.rlib --extern hyperloglogplus=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libhyperloglogplus-227167137e28cbaa.rlib --extern itertools=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libitertools-a65fd7d552c2c02a.rlib --extern tantivy_bitpacker=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libizihawa_tantivy_bitpacker-539502b7f94d546d.rlib --extern columnar=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libizihawa_tantivy_columnar-096eb96077827763.rlib --extern common=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libizihawa_tantivy_common-bc59c8979719b291.rlib --extern query_grammar=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libizihawa_tantivy_query_grammar-d25c49f40233493b.rlib --extern stacker=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libizihawa_tantivy_stacker-ebaea106f2f634db.rlib --extern tokenizer_api=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libizihawa_tantivy_tokenizer_api-e294f0eb23c16cde.rlib --extern levenshtein_automata=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/liblevenshtein_automata-967bdf9148f1b48c.rlib --extern lockfree_object_pool=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/liblockfree_object_pool-d6af96f6c7c6204d.rlib --extern log=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/liblog-7ed48074b9f3458e.rlib --extern lru=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/liblru-0534324a0e8064fa.rlib --extern lz4_flex=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/liblz4_flex-0a94b15c51deb6c9.rlib --extern maplit=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libmaplit-2fee1cb8e91e3592.rlib --extern matches=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libmatches-f5be1760a6872214.rlib --extern measure_time=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libmeasure_time-d8136030d5b0dd3e.rlib --extern memmap2=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libmemmap2-6e4d96052745fed8.rlib --extern more_asserts=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libmore_asserts-cbeb5458f9e7d829.rlib --extern num_cpus=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libnum_cpus-1c5926ba1f6c583b.rlib --extern once_cell=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libonce_cell-9f23038a26dfc6d0.rlib --extern oneshot=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/liboneshot-09a42c0782b49981.rlib --extern paste=/opt/rustwide/target/debug/deps/libpaste-ac502cfd392638e9.so --extern postcard=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libpostcard-f104c826d2fbdb33.rlib --extern pretty_assertions=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libpretty_assertions-e1961b79fcb3bad3.rlib --extern proptest=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libproptest-702634c6b655deb8.rlib --extern rand=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librand-5dcf23d7566f2c35.rlib --extern rand_distr=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librand_distr-321863335bbe4537.rlib --extern rayon=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librayon-ad3c253249f60ca3.rlib --extern regex=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libregex-bbf290ee28fcc93c.rlib --extern rust_stemmers=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librust_stemmers-2ad302772b7f8445.rlib --extern rustc_hash=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librustc_hash-890ea3fb8eee562c.rlib --extern serde=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libserde-d97ebb3b7c871868.rlib --extern serde_json=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libserde_json-6718da5dc3c1030f.rlib --extern sketches_ddsketch=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libsketches_ddsketch-bf36cce19272d6f0.rlib --extern smallvec=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libsmallvec-f31619fc744d118e.rlib --extern tantivy_fst=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libtantivy_fst-06325604dce26528.rlib --extern tempfile=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libtempfile-82e6dbc551f0a836.rlib --extern test_log=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libtest_log-ecb2cb131a47ed56.rlib --extern thiserror=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libthiserror-0ce773e6807365f0.rlib --extern time=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libtime-321b051e3dc88caa.rlib --extern tokio=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libtokio-65300e7c8bd3d6da.rlib --extern uuid=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libuuid-8c0958325b1ab3c7.rlib --cap-lints=forbid -L native=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/alloca-62d3e8ffeee232e3/out -L native=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/zstd-sys-95b73e34f377f3c2/out` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "828b55da36afcddd09e6989deff7e71f217d67a98381855a845e9fb2c7f6a4ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "828b55da36afcddd09e6989deff7e71f217d67a98381855a845e9fb2c7f6a4ad", kill_on_drop: false }` [INFO] [stdout] 828b55da36afcddd09e6989deff7e71f217d67a98381855a845e9fb2c7f6a4ad