[INFO] cloning repository https://github.com/forfd8960/mini-search
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/forfd8960/mini-search" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforfd8960%2Fmini-search", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforfd8960%2Fmini-search'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1a3ce0dbdc77de2002ca052381c8d8cdc7415189
[INFO] checking forfd8960/mini-search against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforfd8960%2Fmini-search" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/forfd8960/mini-search
[INFO] finished tweaking git repo https://github.com/forfd8960/mini-search
[INFO] tweaked toml for git repo https://github.com/forfd8960/mini-search written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/forfd8960/mini-search on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/forfd8960/mini-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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4868e383409268653b44c133130aa9927d534cce98fa2ff69e670ffb2afe1526
[INFO] running `Command { std: "docker" "start" "-a" "4868e383409268653b44c133130aa9927d534cce98fa2ff69e670ffb2afe1526", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4868e383409268653b44c133130aa9927d534cce98fa2ff69e670ffb2afe1526", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4868e383409268653b44c133130aa9927d534cce98fa2ff69e670ffb2afe1526", kill_on_drop: false }`
[INFO] [stdout] 4868e383409268653b44c133130aa9927d534cce98fa2ff69e670ffb2afe1526
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4685fbb381abfe090175e4c7f0af483cce8d18dcefef4c53e6432edf606da28d
[INFO] running `Command { std: "docker" "start" "-a" "4685fbb381abfe090175e4c7f0af483cce8d18dcefef4c53e6432edf606da28d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling stemmer v0.3.2
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]     Checking mini-search v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Language` and `Token`
[INFO] [stdout]  --> src/indexer/mod.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::tokenizer::{Language, Token, Tokenizer};
[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: `Posting`
[INFO] [stdout]  --> src/rank/mod.rs:1:44
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::indexer::{DocId, InvertedIndex, Posting};
[INFO] [stdout]   |                                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Language`
[INFO] [stdout]  --> src/rank/mod.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use super::tokenizer::{Language, Tokenizer};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Token`
[INFO] [stdout]  --> src/indexer/mod.rs:3:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::tokenizer::{Language, Token, Tokenizer};
[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: `Posting`
[INFO] [stdout]  --> src/rank/mod.rs:1:44
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::indexer::{DocId, InvertedIndex, Posting};
[INFO] [stdout]   |                                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `query`
[INFO] [stdout]   --> src/searcher/mod.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn parse_query(&self, query: &str) -> Vec<String> {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_query`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `terms`
[INFO] [stdout]   --> src/searcher/mod.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn find_candidates(&self, terms: &[String]) -> Vec<u64> {
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_terms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `doc_ids`
[INFO] [stdout]   --> src/searcher/mod.rs:24:31
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn score_documents(&self, doc_ids: &[u64], terms: &[String]) -> Vec<(u64, f64)> {
[INFO] [stdout]    |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_doc_ids`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `terms`
[INFO] [stdout]   --> src/searcher/mod.rs:24:48
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn score_documents(&self, doc_ids: &[u64], terms: &[String]) -> Vec<(u64, f64)> {
[INFO] [stdout]    |                                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_terms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scored_docs`
[INFO] [stdout]   --> src/searcher/mod.rs:28:30
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn rank_and_limit(&self, scored_docs: Vec<(u64, f64)>, limit: usize) -> SearchResults {
[INFO] [stdout]    |                              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scored_docs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `limit`
[INFO] [stdout]   --> src/searcher/mod.rs:28:60
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn rank_and_limit(&self, scored_docs: Vec<(u64, f64)>, limit: usize) -> SearchResults {
[INFO] [stdout]    |                                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `SearchEngine` is never constructed
[INFO] [stdout]  --> src/searcher/mod.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct SearchEngine {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index` and `tokenizer` are never read
[INFO] [stdout]  --> src/searcher/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct SearchEngine {
[INFO] [stdout]   |            ------------ fields in this struct
[INFO] [stdout] 4 |     index: InvertedIndex,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 5 |     tokenizer: Tokenizer,
[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 `language` is never read
[INFO] [stdout]   --> src/tokenizer/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Tokenizer {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 20 |     language: Language,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Tokenizer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `query`
[INFO] [stdout]   --> src/searcher/mod.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn parse_query(&self, query: &str) -> Vec<String> {
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_query`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `terms`
[INFO] [stdout]   --> src/searcher/mod.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn find_candidates(&self, terms: &[String]) -> Vec<u64> {
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_terms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `doc_ids`
[INFO] [stdout]   --> src/searcher/mod.rs:24:31
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn score_documents(&self, doc_ids: &[u64], terms: &[String]) -> Vec<(u64, f64)> {
[INFO] [stdout]    |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_doc_ids`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `terms`
[INFO] [stdout]   --> src/searcher/mod.rs:24:48
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn score_documents(&self, doc_ids: &[u64], terms: &[String]) -> Vec<(u64, f64)> {
[INFO] [stdout]    |                                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_terms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scored_docs`
[INFO] [stdout]   --> src/searcher/mod.rs:28:30
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn rank_and_limit(&self, scored_docs: Vec<(u64, f64)>, limit: usize) -> SearchResults {
[INFO] [stdout]    |                              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scored_docs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `limit`
[INFO] [stdout]   --> src/searcher/mod.rs:28:60
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn rank_and_limit(&self, scored_docs: Vec<(u64, f64)>, limit: usize) -> SearchResults {
[INFO] [stdout]    |                                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `SearchEngine` is never constructed
[INFO] [stdout]  --> src/searcher/mod.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct SearchEngine {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index` and `tokenizer` are never read
[INFO] [stdout]  --> src/searcher/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct SearchEngine {
[INFO] [stdout]   |            ------------ fields in this struct
[INFO] [stdout] 4 |     index: InvertedIndex,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 5 |     tokenizer: Tokenizer,
[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 `language` is never read
[INFO] [stdout]   --> src/tokenizer/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Tokenizer {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 20 |     language: Language,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Tokenizer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mini-search` (lib test) due to 1 previous error; 10 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `mini-search` (lib) due to 1 previous error; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4685fbb381abfe090175e4c7f0af483cce8d18dcefef4c53e6432edf606da28d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4685fbb381abfe090175e4c7f0af483cce8d18dcefef4c53e6432edf606da28d", kill_on_drop: false }`
[INFO] [stdout] 4685fbb381abfe090175e4c7f0af483cce8d18dcefef4c53e6432edf606da28d
