[INFO] cloning repository https://github.com/osuiowq/simple-search
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/osuiowq/simple-search" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosuiowq%2Fsimple-search", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosuiowq%2Fsimple-search'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 916c12c5659981d7dab383dd36c2f927b7b75aeb
[INFO] checking osuiowq/simple-search against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosuiowq%2Fsimple-search" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/osuiowq/simple-search
[INFO] finished tweaking git repo https://github.com/osuiowq/simple-search
[INFO] tweaked toml for git repo https://github.com/osuiowq/simple-search written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/osuiowq/simple-search on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/osuiowq/simple-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 308135d285e3baf3259190a4a2b2160fc9fca2f3550454002c776bd2bd8e16a4
[INFO] running `Command { std: "docker" "start" "-a" "308135d285e3baf3259190a4a2b2160fc9fca2f3550454002c776bd2bd8e16a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "308135d285e3baf3259190a4a2b2160fc9fca2f3550454002c776bd2bd8e16a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "308135d285e3baf3259190a4a2b2160fc9fca2f3550454002c776bd2bd8e16a4", kill_on_drop: false }`
[INFO] [stdout] 308135d285e3baf3259190a4a2b2160fc9fca2f3550454002c776bd2bd8e16a4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ad762b191f1251d90257b6687a26b9d2c1f867a5f95c8cf87f375b8bfecb7aed
[INFO] running `Command { std: "docker" "start" "-a" "ad762b191f1251d90257b6687a26b9d2c1f867a5f95c8cf87f375b8bfecb7aed", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.3.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking regex-syntax v0.6.13
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking aho-corasick v0.7.6
[INFO] [stderr]     Checking regex v1.3.3
[INFO] [stderr]     Checking simple-search v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/score.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 |    for mut posting in postings {
[INFO] [stdout]    |        ----^^^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Document` is never constructed
[INFO] [stdout]   --> src/index.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Document {
[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_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `doc_id`, `postings`, and `document_length` are never read
[INFO] [stdout]   --> src/index.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Document {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 16 |     doc_id: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 17 |     postings: Vec<Posting>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     document_length: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Document` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `doc_id`, `score`, and `positions` are never read
[INFO] [stdout]   --> src/index.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct QueryResult {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 33 |     doc_id: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 34 |     score: f32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 35 |     positions: Vec<f32>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QueryResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/score.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 |    for mut posting in postings {
[INFO] [stdout]    |        ----^^^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Document` is never constructed
[INFO] [stdout]   --> src/index.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Document {
[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_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `doc_id`, `postings`, and `document_length` are never read
[INFO] [stdout]   --> src/index.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Document {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 16 |     doc_id: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 17 |     postings: Vec<Posting>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     document_length: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Document` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `doc_id`, `score`, and `positions` are never read
[INFO] [stdout]   --> src/index.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct QueryResult {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 33 |     doc_id: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 34 |     score: f32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 35 |     positions: Vec<f32>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QueryResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `simple-search` (lib) due to 1 previous error; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `simple-search` (lib test) due to 1 previous error; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ad762b191f1251d90257b6687a26b9d2c1f867a5f95c8cf87f375b8bfecb7aed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad762b191f1251d90257b6687a26b9d2c1f867a5f95c8cf87f375b8bfecb7aed", kill_on_drop: false }`
[INFO] [stdout] ad762b191f1251d90257b6687a26b9d2c1f867a5f95c8cf87f375b8bfecb7aed
