[INFO] cloning repository https://github.com/trilaf/simple-file-server-bounty
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trilaf/simple-file-server-bounty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrilaf%2Fsimple-file-server-bounty", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrilaf%2Fsimple-file-server-bounty'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6d35d47de3a2bbc88e3e33bf1121a345854eb0cb
[INFO] checking trilaf/simple-file-server-bounty against master#1b8f2e46e14b08208a53585570edd9206374aae8 for pr-155418-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrilaf%2Fsimple-file-server-bounty" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/trilaf/simple-file-server-bounty
[INFO] finished tweaking git repo https://github.com/trilaf/simple-file-server-bounty
[INFO] tweaked toml for git repo https://github.com/trilaf/simple-file-server-bounty written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/trilaf/simple-file-server-bounty on toolchain 1b8f2e46e14b08208a53585570edd9206374aae8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1b8f2e46e14b08208a53585570edd9206374aae8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/trilaf/simple-file-server-bounty 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" "+1b8f2e46e14b08208a53585570edd9206374aae8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded url-escape v0.1.1
[INFO] [stderr]   Downloaded infer v0.16.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+1b8f2e46e14b08208a53585570edd9206374aae8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 58a52cee4c31e01333582f7b49c13cf6281d170206ee6efdba481b1274cd00cf
[INFO] running `Command { std: "docker" "start" "-a" "58a52cee4c31e01333582f7b49c13cf6281d170206ee6efdba481b1274cd00cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "58a52cee4c31e01333582f7b49c13cf6281d170206ee6efdba481b1274cd00cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58a52cee4c31e01333582f7b49c13cf6281d170206ee6efdba481b1274cd00cf", kill_on_drop: false }`
[INFO] [stdout] 58a52cee4c31e01333582f7b49c13cf6281d170206ee6efdba481b1274cd00cf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+1b8f2e46e14b08208a53585570edd9206374aae8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0fff0ffba660b657eafe1583d337ecafb38e167d7bc489ff2acc5f084580dee0
[INFO] running `Command { std: "docker" "start" "-a" "0fff0ffba660b657eafe1583d337ecafb38e167d7bc489ff2acc5f084580dee0", kill_on_drop: false }`
[INFO] [stderr]     Checking url-escape v0.1.1
[INFO] [stderr]     Checking infer v0.16.0
[INFO] [stderr]     Checking simple-file-server-bounty v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `path::Path`
[INFO] [stdout]  --> src/http/response.rs:1:60
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ borrow::Borrow, fmt::Display, fs::DirEntry, io, path::Path };
[INFO] [stdout]   |                                                            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `content_length` is never read
[INFO] [stdout]   --> src/http/response.rs:21:37
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut content_length: usize = 0;
[INFO] [stdout]    |                                     ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 98 |       content_length = four_o_four.len();
[INFO] [stdout]    |       ---------------------------------- `content_length` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `method`, `version`, and `headers` are never read
[INFO] [stdout]   --> src/http/request.rs:7:3
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct HttpRequest {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout]  7 |   method: Method,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout]  8 |   pub resource: Resource,
[INFO] [stdout]  9 |   version: Version,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout] 10 |   headers: HttpHeader,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpRequest` 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 `version`, `status`, `content_length`, and `accept_ranges` are never read
[INFO] [stdout]   --> src/http/response.rs:9:3
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct HttpResponse {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout]  9 |   version: Version,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout] 10 |   status: ResponseStatus,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 11 |   content_length: usize,
[INFO] [stdout]    |   ^^^^^^^^^^^^^^
[INFO] [stdout] 12 |   accept_ranges: AcceptRanges,
[INFO] [stdout]    |   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path::Path`
[INFO] [stdout]  --> src/http/response.rs:1:60
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ borrow::Borrow, fmt::Display, fs::DirEntry, io, path::Path };
[INFO] [stdout]   |                                                            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `content_length` is never read
[INFO] [stdout]   --> src/http/response.rs:21:37
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut content_length: usize = 0;
[INFO] [stdout]    |                                     ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 98 |       content_length = four_o_four.len();
[INFO] [stdout]    |       ---------------------------------- `content_length` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `method`, `version`, and `headers` are never read
[INFO] [stdout]   --> src/http/request.rs:7:3
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct HttpRequest {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout]  7 |   method: Method,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout]  8 |   pub resource: Resource,
[INFO] [stdout]  9 |   version: Version,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout] 10 |   headers: HttpHeader,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpRequest` 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 `version`, `status`, `content_length`, and `accept_ranges` are never read
[INFO] [stdout]   --> src/http/response.rs:9:3
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct HttpResponse {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout]  9 |   version: Version,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout] 10 |   status: ResponseStatus,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 11 |   content_length: usize,
[INFO] [stdout]    |   ^^^^^^^^^^^^^^
[INFO] [stdout] 12 |   accept_ranges: AcceptRanges,
[INFO] [stdout]    |   ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.67s
[INFO] running `Command { std: "docker" "inspect" "0fff0ffba660b657eafe1583d337ecafb38e167d7bc489ff2acc5f084580dee0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0fff0ffba660b657eafe1583d337ecafb38e167d7bc489ff2acc5f084580dee0", kill_on_drop: false }`
[INFO] [stdout] 0fff0ffba660b657eafe1583d337ecafb38e167d7bc489ff2acc5f084580dee0
