[INFO] cloning repository https://github.com/shimatar0/rs-search
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shimatar0/rs-search" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshimatar0%2Frs-search", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshimatar0%2Frs-search'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6fe94f0f0638756e101600c700c747cb929ae0c6
[INFO] checking shimatar0/rs-search against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshimatar0%2Frs-search" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shimatar0/rs-search
[INFO] finished tweaking git repo https://github.com/shimatar0/rs-search
[INFO] tweaked toml for git repo https://github.com/shimatar0/rs-search written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shimatar0/rs-search on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shimatar0/rs-search already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded io-lifetimes v1.0.8
[INFO] [stderr]   Downloaded futures-io v0.3.27
[INFO] [stderr]   Downloaded futures-core v0.3.27
[INFO] [stderr]   Downloaded value-bag v1.0.0-alpha.9
[INFO] [stderr]   Downloaded async-global-executor v2.3.1
[INFO] [stderr]   Downloaded futures-task v0.3.27
[INFO] [stderr]   Downloaded unicode-bidi v0.3.12
[INFO] [stderr]   Downloaded futures-channel v0.3.27
[INFO] [stderr]   Downloaded pkcs1 v0.3.3
[INFO] [stderr]   Downloaded futures-macro v0.3.27
[INFO] [stderr]   Downloaded pem-rfc7468 v0.3.1
[INFO] [stderr]   Downloaded polling v2.6.0
[INFO] [stderr]   Downloaded serde_derive v1.0.157
[INFO] [stderr]   Downloaded serde v1.0.157
[INFO] [stderr]   Downloaded rsa v0.6.1
[INFO] [stderr]   Downloaded crypto-bigint v0.3.2
[INFO] [stderr]   Downloaded libm v0.2.6
[INFO] [stderr]   Downloaded num-bigint-dig v0.8.2
[INFO] [stderr]   Downloaded openssl v0.10.46
[INFO] [stderr]   Downloaded futures-util v0.3.27
[INFO] [stderr]   Downloaded signal-hook v0.3.15
[INFO] [stderr]   Downloaded openssl-sys v0.9.81
[INFO] [stderr]   Downloaded proc-macro2 v1.0.52
[INFO] [stderr]   Downloaded futures-sink v0.3.27
[INFO] [stderr]   Downloaded syn v2.0.2
[INFO] [stderr]   Downloaded rustix v0.36.10
[INFO] [stderr]   Downloaded tempfile v3.4.0
[INFO] [stderr]   Downloaded tokio v1.26.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e5d9fdce46fb3dad3b8ded5d27b886197fd41a58647003d785cff7c2fc8c25fd
[INFO] running `Command { std: "docker" "start" "-a" "e5d9fdce46fb3dad3b8ded5d27b886197fd41a58647003d785cff7c2fc8c25fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e5d9fdce46fb3dad3b8ded5d27b886197fd41a58647003d785cff7c2fc8c25fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5d9fdce46fb3dad3b8ded5d27b886197fd41a58647003d785cff7c2fc8c25fd", kill_on_drop: false }`
[INFO] [stdout] e5d9fdce46fb3dad3b8ded5d27b886197fd41a58647003d785cff7c2fc8c25fd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0e5b199daa2b9fdb8243e4ea91b903e3f40f4c08c5fb7db10cc38b4f1bd76a52
[INFO] running `Command { std: "docker" "start" "-a" "0e5b199daa2b9fdb8243e4ea91b903e3f40f4c08c5fb7db10cc38b4f1bd76a52", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]    Compiling proc-macro2 v1.0.52
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling futures-core v0.3.27
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling value-bag v1.0.0-alpha.9
[INFO] [stderr]    Compiling crossbeam-utils v0.8.15
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling libm v0.2.6
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling polling v2.6.0
[INFO] [stderr]    Compiling async-io v1.12.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling futures-io v0.3.27
[INFO] [stderr]    Compiling futures-task v0.3.27
[INFO] [stderr]    Compiling openssl v0.10.46
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]    Compiling signal-hook v0.3.15
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling async-process v1.6.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling concurrent-queue v2.1.0
[INFO] [stderr]    Compiling futures-util v0.3.27
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling async-lock v2.7.0
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling futures-lite v1.12.0
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling syn v2.0.2
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling num-bigint-dig v0.8.2
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling pem-rfc7468 v0.3.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.12
[INFO] [stderr]    Compiling const-oid v0.7.1
[INFO] [stderr]    Compiling async-task v4.3.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling async-channel v1.8.0
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling zeroize v1.5.7
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling atomic-waker v1.1.0
[INFO] [stderr]    Compiling openssl-sys v0.9.81
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling futures-sink v0.3.27
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling futures-channel v0.3.27
[INFO] [stderr]    Compiling crossbeam-queue v0.3.8
[INFO] [stderr]    Compiling blocking v1.3.0
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling async-executor v1.5.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]     Checking crypto-bigint v0.3.2
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling paste v1.0.12
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling der v0.5.1
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling cpufeatures v0.2.5
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling crc-catalog v2.2.0
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.157
[INFO] [stderr]     Checking url v2.3.1
[INFO] [stderr]    Compiling crc v3.0.1
[INFO] [stderr]    Compiling futures-intrusive v0.4.2
[INFO] [stderr]    Compiling spki v0.5.4
[INFO] [stderr]    Compiling pkcs8 v0.8.0
[INFO] [stderr]    Compiling hashlink v0.8.1
[INFO] [stderr]    Compiling sha1 v0.10.5
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling pkcs1 v0.3.3
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling atoi v1.0.0
[INFO] [stderr]    Compiling rsa v0.6.1
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]     Checking itoa v1.0.6
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling serde v1.0.157
[INFO] [stderr]    Compiling dotenvy v0.15.6
[INFO] [stderr]    Compiling parking_lot_core v0.9.7
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking sqlformat v0.2.1
[INFO] [stderr]    Compiling serde_json v1.0.95
[INFO] [stderr]    Compiling tokio v1.26.0
[INFO] [stderr]     Checking ryu v1.0.13
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling ctor v0.1.26
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling futures-macro v0.3.27
[INFO] [stderr]    Compiling tokio-macros v1.8.2
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]     Checking mio v0.8.6
[INFO] [stderr]     Checking async-global-executor v2.3.1
[INFO] [stderr]    Compiling async-std v1.12.0
[INFO] [stderr]     Checking async-native-tls v0.4.0
[INFO] [stderr]     Checking sqlx-rt v0.6.2
[INFO] [stderr]     Checking sqlx-core v0.6.2
[INFO] [stderr]    Compiling sqlx-macros v0.6.2
[INFO] [stderr]     Checking sqlx v0.6.2
[INFO] [stderr]     Checking rs-search v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `pool`
[INFO] [stdout]  --> src/document_store.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sqlx::{mysql::MySqlPoolOptions, pool, Error, MySql, Pool, Row};
[INFO] [stdout]   |                                     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pool`
[INFO] [stdout]  --> src/document_store.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sqlx::{mysql::MySqlPoolOptions, pool, Error, MySql, Pool, Row};
[INFO] [stdout]   |                                     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `front_calc_data`
[INFO] [stdout]   --> src/seacher.rs:76:29
[INFO] [stdout]    |
[INFO] [stdout] 76 |                         let front_calc_data = CalcIFIDF {
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_front_calc_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DocumentStore` is never constructed
[INFO] [stdout]  --> src/document_store.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct DocumentStore {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `save`, `get_rows`, and `truncate_table` are never used
[INFO] [stdout]   --> src/document_store.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl DocumentStore {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 10 |     pub async fn new() -> Self {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub async fn save(&self, title: String) -> DocumentID {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub async fn get_rows(&self) {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub async fn truncate_table(&self) -> Result<(), Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Engine` is never constructed
[INFO] [stdout]  --> src/engine.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Engine {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_document`, and `flush` are never used
[INFO] [stdout]   --> src/engine.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Engine {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 16 |     pub async fn new() -> Self {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub async fn add_document(&mut self, title: String, collection: &[u8]) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub async fn flush(self) {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `DocumentID` is never used
[INFO] [stdout]  --> src/index.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type DocumentID = i64;
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Index` is never constructed
[INFO] [stdout]  --> src/index.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Index {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/index.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Index {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Posting` is never constructed
[INFO] [stdout]   --> src/index.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Posting {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/index.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Posting {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 31 |     pub fn new(doc_id: DocumentID, positions: Vec<i32>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PostingList` is never constructed
[INFO] [stdout]   --> src/index.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct PostingList {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add` are never used
[INFO] [stdout]   --> src/index.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl PostingList {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 46 |     pub fn new(postings: Vec<Posting>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn add(&mut self, new: Posting) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndexReader` is never constructed
[INFO] [stdout]  --> src/index_reader.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct IndexReader {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `postings_list`, and `postings` are never used
[INFO] [stdout]   --> src/index_reader.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl IndexReader {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new(index_dir: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn postings_list(&mut self, terms: Vec<String>) -> Vec<PostingList> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn postings(
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndexWriter` is never constructed
[INFO] [stdout]  --> src/index_writer.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct IndexWriter {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `flush`, `flush_posting_list_writer`, and `doc_count_writer` are never used
[INFO] [stdout]   --> src/index_writer.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl IndexWriter {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn new(path: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn flush(self, index: Index) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn flush_posting_list_writer(dir: String, term: String, list: &PostingList) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn doc_count_writer(dir: String, count: i32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Indexer` is never constructed
[INFO] [stdout]  --> src/indexer.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Indexer {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `update` are never used
[INFO] [stdout]   --> src/indexer.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Indexer {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(tokenizer: Tokenizer) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn update(&mut self, doc_id: DocumentID, collection: &[u8]) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TopDocs` is never constructed
[INFO] [stdout]  --> src/seacher.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct TopDocs {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ScoreDoc` is never constructed
[INFO] [stdout]   --> src/seacher.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct ScoreDoc {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Searcher` is never constructed
[INFO] [stdout]   --> src/seacher.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Searcher {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CalcIFIDF` is never constructed
[INFO] [stdout]   --> src/seacher.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct CalcIFIDF {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/seacher.rs:31:12
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl Searcher {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout]  31 |     pub fn new(path: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  38 |     pub fn search(&mut self, query: Vec<String>) -> Vec<ScoreDoc> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn open_cursors(&mut self, query: Vec<String>) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn search_top_k(mut self, query: Vec<String>, k: i32) -> TopDocs {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     fn calc_score(&self, doc_list: Vec<CalcIFIDF>) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     fn calc_tf(&self, term_cnt: i32) -> f64 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     fn calc_idf(&self, n: i32, df: i32) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tokenizer` is never constructed
[INFO] [stdout]  --> src/tokenizer.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Tokenizer {}
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `replace`, and `split_func` are never used
[INFO] [stdout]   --> src/tokenizer.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Tokenizer {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout]  7 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     fn replace(&self, c: char) -> Option<char> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn split_func(&self, data: &[u8]) -> Vec<String> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `front_calc_data`
[INFO] [stdout]   --> src/seacher.rs:76:29
[INFO] [stdout]    |
[INFO] [stdout] 76 |                         let front_calc_data = CalcIFIDF {
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_front_calc_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_rows` and `truncate_table` are never used
[INFO] [stdout]   --> src/document_store.rs:47:18
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl DocumentStore {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub async fn get_rows(&self) {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub async fn truncate_table(&self) -> Result<(), Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tokenizer` is never read
[INFO] [stdout]  --> src/engine.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Engine {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 9 |     tokenizer: Tokenizer,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `doc_count_cache` is never read
[INFO] [stdout]  --> src/index_reader.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct IndexReader {
[INFO] [stdout]   |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 7 |     doc_count_cache: i32,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TopDocs` is never constructed
[INFO] [stdout]  --> src/seacher.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct TopDocs {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `doc_id` and `score` are never read
[INFO] [stdout]   --> src/seacher.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct ScoreDoc {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 15 |     doc_id: DocumentID,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 16 |     score: f64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ScoreDoc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `search_top_k` is never used
[INFO] [stdout]    --> src/seacher.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl Searcher {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn search_top_k(mut self, query: Vec<String>, k: i32) -> TopDocs {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.2, openssl v0.10.46
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "0e5b199daa2b9fdb8243e4ea91b903e3f40f4c08c5fb7db10cc38b4f1bd76a52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e5b199daa2b9fdb8243e4ea91b903e3f40f4c08c5fb7db10cc38b4f1bd76a52", kill_on_drop: false }`
[INFO] [stdout] 0e5b199daa2b9fdb8243e4ea91b903e3f40f4c08c5fb7db10cc38b4f1bd76a52
