[INFO] fetching crate izihawa-tantivy 0.25.1... [INFO] building izihawa-tantivy-0.25.1 against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] extracting crate izihawa-tantivy 0.25.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate izihawa-tantivy 0.25.1 on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bada466e54d1f0937968b276a83a51bc0238705d06f0f350d6625cba4e8c1da0 [INFO] running `Command { std: "docker" "start" "-a" "bada466e54d1f0937968b276a83a51bc0238705d06f0f350d6625cba4e8c1da0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bada466e54d1f0937968b276a83a51bc0238705d06f0f350d6625cba4e8c1da0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bada466e54d1f0937968b276a83a51bc0238705d06f0f350d6625cba4e8c1da0", kill_on_drop: false }` [INFO] [stdout] bada466e54d1f0937968b276a83a51bc0238705d06f0f350d6625cba4e8c1da0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e4442cb33d5bf112c57ac7ba34d127e3cf65af229f3b8fd05adcf3c0dc8124d [INFO] running `Command { std: "docker" "start" "-a" "7e4442cb33d5bf112c57ac7ba34d127e3cf65af229f3b8fd05adcf3c0dc8124d", 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 crunchy v0.2.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling izihawa-ownedbytes v0.25.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling bitpacking v0.9.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling izihawa-tantivy-bitpacker v0.25.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling murmurhash32 v0.3.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling downcast-rs v2.0.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling fastdivide v0.4.2 [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 smallvec v1.15.1 [INFO] [stderr] Compiling levenshtein_automata v0.2.1 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling oneshot v0.1.11 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling census v0.4.2 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling tantivy-fst v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling izihawa-tantivy-query-grammar v0.25.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling fs4 v0.8.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [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 rand_distr v0.4.3 [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 serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [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 rust-stemmers v1.2.0 [INFO] [stderr] Compiling hyperloglogplus v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling sketches-ddsketch v0.3.0 [INFO] [stderr] Compiling uuid v1.17.0 [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" "7e4442cb33d5bf112c57ac7ba34d127e3cf65af229f3b8fd05adcf3c0dc8124d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e4442cb33d5bf112c57ac7ba34d127e3cf65af229f3b8fd05adcf3c0dc8124d", kill_on_drop: false }` [INFO] [stdout] 7e4442cb33d5bf112c57ac7ba34d127e3cf65af229f3b8fd05adcf3c0dc8124d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12319c1b76b658a7bb38ab4a6b9289f7fd19d3e55055683c90afdc3c03d59c01 [INFO] running `Command { std: "docker" "start" "-a" "12319c1b76b658a7bb38ab4a6b9289f7fd19d3e55055683c90afdc3c03d59c01", 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 time-macros v0.2.22 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling anstyle v1.0.11 [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 is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling bpu_trasher v0.2.0 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling mini-internal v0.1.42 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling perf-event-open-sys v4.0.0 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling perf-event v0.4.8 [INFO] [stderr] Compiling measure_time v0.9.0 [INFO] [stderr] Compiling ciborium 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 criterion-plot v0.5.0 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling miniserde v0.1.42 [INFO] [stderr] Compiling test-log-macros v0.2.17 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling rustop v1.1.4 [INFO] [stderr] Compiling peakmem-alloc v0.3.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling postcard v1.1.1 [INFO] [stderr] Compiling test-log v0.2.17 [INFO] [stderr] Compiling proptest v1.7.0 [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 pretty_assertions v1.4.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling binggan v0.14.2 [INFO] [stderr] Compiling criterion v0.5.1 [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: `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/8b8eff55bd72abbb57167bc42222a7f91d41cb0d/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=658aae8baf3370da -C extra-filename=-1bdaef8a64868dfb --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern aho_corasick=/opt/rustwide/target/debug/deps/libaho_corasick-51f6fe4135b8e745.rlib --extern arc_swap=/opt/rustwide/target/debug/deps/libarc_swap-46fb49a48cfcda00.rlib --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-c67ee9477fe09718.so --extern base64=/opt/rustwide/target/debug/deps/libbase64-2f43201ad6f50e0f.rlib --extern binggan=/opt/rustwide/target/debug/deps/libbinggan-99b9ec667e870c52.rlib --extern bitpacking=/opt/rustwide/target/debug/deps/libbitpacking-dc125e098e7989d6.rlib --extern bon=/opt/rustwide/target/debug/deps/libbon-345aa9fdbef6a8bc.rlib --extern byteorder=/opt/rustwide/target/debug/deps/libbyteorder-05c8a5bbd8dd9c61.rlib --extern census=/opt/rustwide/target/debug/deps/libcensus-ff2ea5df482ee4b2.rlib --extern crc32fast=/opt/rustwide/target/debug/deps/libcrc32fast-25395f089ec7acee.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-61f5cd4019f4aad2.rlib --extern crossbeam_channel=/opt/rustwide/target/debug/deps/libcrossbeam_channel-15c8b5f15750772f.rlib --extern downcast_rs=/opt/rustwide/target/debug/deps/libdowncast_rs-6e1b0a6fb71ce3d6.rlib --extern fail=/opt/rustwide/target/debug/deps/libfail-984a4ae3ff2507c9.rlib --extern fastdivide=/opt/rustwide/target/debug/deps/libfastdivide-3b485fe702039031.rlib --extern fnv=/opt/rustwide/target/debug/deps/libfnv-2efd5e10883e6e67.rlib --extern fs4=/opt/rustwide/target/debug/deps/libfs4-996b1e1a422794c3.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-57d46552943a401c.rlib --extern htmlescape=/opt/rustwide/target/debug/deps/libhtmlescape-e0187a64f08962ad.rlib --extern hyperloglogplus=/opt/rustwide/target/debug/deps/libhyperloglogplus-edb004e9da4be15a.rlib --extern itertools=/opt/rustwide/target/debug/deps/libitertools-ade165293294c96f.rlib --extern tantivy_bitpacker=/opt/rustwide/target/debug/deps/libizihawa_tantivy_bitpacker-efca932984146a89.rlib --extern columnar=/opt/rustwide/target/debug/deps/libizihawa_tantivy_columnar-14cad8b7a442fa50.rlib --extern common=/opt/rustwide/target/debug/deps/libizihawa_tantivy_common-f4f0c6f6c5f541ed.rlib --extern query_grammar=/opt/rustwide/target/debug/deps/libizihawa_tantivy_query_grammar-30e6bd3223b13c5e.rlib --extern stacker=/opt/rustwide/target/debug/deps/libizihawa_tantivy_stacker-352311f6ad686a70.rlib --extern tokenizer_api=/opt/rustwide/target/debug/deps/libizihawa_tantivy_tokenizer_api-bc4d90bb5d6956c6.rlib --extern levenshtein_automata=/opt/rustwide/target/debug/deps/liblevenshtein_automata-cd82bc7322a7f0e4.rlib --extern lockfree_object_pool=/opt/rustwide/target/debug/deps/liblockfree_object_pool-94d4afbec7eede56.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-8ee0333019e16f83.rlib --extern lru=/opt/rustwide/target/debug/deps/liblru-8a7f2b5d48d1444d.rlib --extern lz4_flex=/opt/rustwide/target/debug/deps/liblz4_flex-a11aedc7a9790905.rlib --extern maplit=/opt/rustwide/target/debug/deps/libmaplit-3cb71bd388486452.rlib --extern matches=/opt/rustwide/target/debug/deps/libmatches-1ae26073abc27df8.rlib --extern measure_time=/opt/rustwide/target/debug/deps/libmeasure_time-afac398a58dbe001.rlib --extern memmap2=/opt/rustwide/target/debug/deps/libmemmap2-1af4b02f92bfa871.rlib --extern more_asserts=/opt/rustwide/target/debug/deps/libmore_asserts-0fcce8cd4e2f3f6c.rlib --extern num_cpus=/opt/rustwide/target/debug/deps/libnum_cpus-4648d76bbdb04397.rlib --extern once_cell=/opt/rustwide/target/debug/deps/libonce_cell-6fc5a6a7cc2b134d.rlib --extern oneshot=/opt/rustwide/target/debug/deps/liboneshot-88ce09d5c378be5b.rlib --extern paste=/opt/rustwide/target/debug/deps/libpaste-c439aa31802bef8b.so --extern postcard=/opt/rustwide/target/debug/deps/libpostcard-e7494c7e225f908b.rlib --extern pretty_assertions=/opt/rustwide/target/debug/deps/libpretty_assertions-f6bada5440e2ad1b.rlib --extern proptest=/opt/rustwide/target/debug/deps/libproptest-090bd4f548963a42.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-6b6c9e7af3a9ed33.rlib --extern rand_distr=/opt/rustwide/target/debug/deps/librand_distr-446e8c7b993ec016.rlib --extern rayon=/opt/rustwide/target/debug/deps/librayon-b72c76bd2e75ffd1.rlib --extern regex=/opt/rustwide/target/debug/deps/libregex-ab4bcce6a6bb6050.rlib --extern rust_stemmers=/opt/rustwide/target/debug/deps/librust_stemmers-3eddedbef28ad44a.rlib --extern rustc_hash=/opt/rustwide/target/debug/deps/librustc_hash-eec2bd3f3e2e49a7.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-2946e67df8af775f.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-5653961a1cfa4066.rlib --extern sketches_ddsketch=/opt/rustwide/target/debug/deps/libsketches_ddsketch-100a979fb977ddc8.rlib --extern smallvec=/opt/rustwide/target/debug/deps/libsmallvec-466810b0d465e09e.rlib --extern tantivy_fst=/opt/rustwide/target/debug/deps/libtantivy_fst-419dbe9de470fe05.rlib --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-51a93a262d622c44.rlib --extern test_log=/opt/rustwide/target/debug/deps/libtest_log-7417cc12e90e0157.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-b10545a026d4bd55.rlib --extern time=/opt/rustwide/target/debug/deps/libtime-ce978e40e5acfa3b.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-d8a4485028f76d95.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-c9cfe4ceed080e7f.rlib --cap-lints=warn -L native=/opt/rustwide/target/debug/build/alloca-75ad2e3e094f55ce/out -L native=/opt/rustwide/target/debug/build/zstd-sys-2c35e79bb93922a5/out` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "12319c1b76b658a7bb38ab4a6b9289f7fd19d3e55055683c90afdc3c03d59c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12319c1b76b658a7bb38ab4a6b9289f7fd19d3e55055683c90afdc3c03d59c01", kill_on_drop: false }` [INFO] [stdout] 12319c1b76b658a7bb38ab4a6b9289f7fd19d3e55055683c90afdc3c03d59c01