[INFO] cloning repository https://github.com/mlam31/rust-file-analyzer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mlam31/rust-file-analyzer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlam31%2Frust-file-analyzer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlam31%2Frust-file-analyzer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 26aa3d6e14a59409d1c01d269d8e3b4636f1ce0b
[INFO] checking mlam31/rust-file-analyzer against try#1c4199da70f816f2239f41c55168ff75a3663718 for 155501-infallible-never-no-reservation
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlam31%2Frust-file-analyzer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mlam31/rust-file-analyzer
[INFO] finished tweaking git repo https://github.com/mlam31/rust-file-analyzer
[INFO] tweaked toml for git repo https://github.com/mlam31/rust-file-analyzer written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mlam31/rust-file-analyzer on toolchain 1c4199da70f816f2239f41c55168ff75a3663718
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1c4199da70f816f2239f41c55168ff75a3663718" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mlam31/rust-file-analyzer 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" "+1c4199da70f816f2239f41c55168ff75a3663718" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+1c4199da70f816f2239f41c55168ff75a3663718" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dcdde687eaf39c4ec8b55f08cb369070464b10b05f16d8c76a46ce17dc439a95
[INFO] running `Command { std: "docker" "start" "-a" "dcdde687eaf39c4ec8b55f08cb369070464b10b05f16d8c76a46ce17dc439a95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dcdde687eaf39c4ec8b55f08cb369070464b10b05f16d8c76a46ce17dc439a95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcdde687eaf39c4ec8b55f08cb369070464b10b05f16d8c76a46ce17dc439a95", kill_on_drop: false }`
[INFO] [stdout] dcdde687eaf39c4ec8b55f08cb369070464b10b05f16d8c76a46ce17dc439a95
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+1c4199da70f816f2239f41c55168ff75a3663718" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d0e3a4b83b860cf57b66693f015c8bbd00492661f88791dd0f4aa5d8f1776d22
[INFO] running `Command { std: "docker" "start" "-a" "d0e3a4b83b860cf57b66693f015c8bbd00492661f88791dd0f4aa5d8f1776d22", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling unicode-ident v1.0.20
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking csv-core v0.1.13
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]     Checking csv v1.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking rust-file-analyzer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::hash::Hash;
[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: `std::hash::Hash`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `year` and `price` are never read
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct Record{
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     year: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     price: Option<u32>,                                // example if in one case the price is not a number
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Record` 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: function `average_price` is never used
[INFO] [stdout]   --> src/main.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn average_price(records: &Vec<Record>) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bestselling_year` is never used
[INFO] [stdout]   --> src/main.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn bestselling_year(records: &Vec<Record>) -> u16{
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/main.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn run() -> Result<(), Box<dyn Error>>{
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `year` and `price` are never read
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct Record{
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     year: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     price: Option<u32>,                                // example if in one case the price is not a number
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Record` 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: function `average_price` is never used
[INFO] [stdout]   --> src/main.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn average_price(records: &Vec<Record>) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bestselling_year` is never used
[INFO] [stdout]   --> src/main.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn bestselling_year(records: &Vec<Record>) -> u16{
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/main.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn run() -> Result<(), Box<dyn Error>>{
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.78s
[INFO] running `Command { std: "docker" "inspect" "d0e3a4b83b860cf57b66693f015c8bbd00492661f88791dd0f4aa5d8f1776d22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0e3a4b83b860cf57b66693f015c8bbd00492661f88791dd0f4aa5d8f1776d22", kill_on_drop: false }`
[INFO] [stdout] d0e3a4b83b860cf57b66693f015c8bbd00492661f88791dd0f4aa5d8f1776d22
