[INFO] cloning repository https://github.com/EricLemieux/Rust-Web-Server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EricLemieux/Rust-Web-Server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricLemieux%2FRust-Web-Server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricLemieux%2FRust-Web-Server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 68aeb415c057a4b2b7f97dd10eeef90d71f84c3c
[INFO] checking EricLemieux/Rust-Web-Server against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricLemieux%2FRust-Web-Server" "/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/EricLemieux/Rust-Web-Server
[INFO] finished tweaking git repo https://github.com/EricLemieux/Rust-Web-Server
[INFO] tweaked toml for git repo https://github.com/EricLemieux/Rust-Web-Server written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/EricLemieux/Rust-Web-Server on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/EricLemieux/Rust-Web-Server 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c808c6f61cefe14570ba0f00bfba88dddcc52d6f22a8b5a29ac79d6cd0bf0f08
[INFO] running `Command { std: "docker" "start" "-a" "c808c6f61cefe14570ba0f00bfba88dddcc52d6f22a8b5a29ac79d6cd0bf0f08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c808c6f61cefe14570ba0f00bfba88dddcc52d6f22a8b5a29ac79d6cd0bf0f08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c808c6f61cefe14570ba0f00bfba88dddcc52d6f22a8b5a29ac79d6cd0bf0f08", kill_on_drop: false }`
[INFO] [stdout] c808c6f61cefe14570ba0f00bfba88dddcc52d6f22a8b5a29ac79d6cd0bf0f08
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e5215c5d82b54407e9d334768f38c23edd337f9173641b6406eaf6b16c60dd14
[INFO] running `Command { std: "docker" "start" "-a" "e5215c5d82b54407e9d334768f38c23edd337f9173641b6406eaf6b16c60dd14", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.75
[INFO] [stderr]     Checking strum v0.21.0
[INFO] [stderr]    Compiling strum_macros v0.21.1
[INFO] [stderr]     Checking rust-web-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/http.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `headers` is never read
[INFO] [stdout]   --> src/http.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct HttpRequest {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 |     headers: HashMap<String, String>,
[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: field `headers` is never read
[INFO] [stdout]    --> src/http.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct HttpResponse {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 104 |     headers: HashMap<String, String>,
[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: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/http/http_status.rs:50:36
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 return Result::Ok(i.borrow());
[INFO] [stdout]    |                                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `HttpStatus` does not implement `Borrow`, so calling `borrow` on `&HttpStatus` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 50 -                 return Result::Ok(i.borrow());
[INFO] [stdout] 50 +                 return Result::Ok(i);
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to clone `HttpStatus`, implement `Clone` for it
[INFO] [stdout]    |
[INFO] [stdout]  7 + #[derive(Clone)]
[INFO] [stdout]  8 | pub struct HttpStatus {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/http.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `headers` is never read
[INFO] [stdout]   --> src/http.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct HttpRequest {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 |     headers: HashMap<String, String>,
[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: field `headers` is never read
[INFO] [stdout]    --> src/http.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct HttpResponse {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 104 |     headers: HashMap<String, String>,
[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: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/http/http_status.rs:50:36
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 return Result::Ok(i.borrow());
[INFO] [stdout]    |                                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `http_status::HttpStatus` does not implement `Borrow`, so calling `borrow` on `&http_status::HttpStatus` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 50 -                 return Result::Ok(i.borrow());
[INFO] [stdout] 50 +                 return Result::Ok(i);
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to clone `http_status::HttpStatus`, implement `Clone` for it
[INFO] [stdout]    |
[INFO] [stdout]  7 + #[derive(Clone)]
[INFO] [stdout]  8 | pub struct HttpStatus {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/http.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::borrow::Borrow;
[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::borrow::Borrow`
[INFO] [stdout]  --> src/http.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `headers` is never read
[INFO] [stdout]   --> src/http.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct HttpRequest {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 |     headers: HashMap<String, String>,
[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: field `headers` is never read
[INFO] [stdout]    --> src/http.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct HttpResponse {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 104 |     headers: HashMap<String, String>,
[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: associated items `new`, `status`, and `body` are never used
[INFO] [stdout]    --> src/http.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout] 108 | impl HttpResponse {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 109 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn status(&mut self, status: HttpStatus) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn body(&mut self, body: String) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HttpMethod` is never used
[INFO] [stdout]   --> src/http.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum HttpMethod {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HttpVersion` is never used
[INFO] [stdout]   --> src/http.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum HttpVersion {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpRequest` is never constructed
[INFO] [stdout]   --> src/http.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct HttpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpResponse` is never constructed
[INFO] [stdout]    --> src/http.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct HttpResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `status`, and `body` are never used
[INFO] [stdout]    --> src/http.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout] 108 | impl HttpResponse {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 109 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn status(&mut self, status: HttpStatus) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn body(&mut self, body: String) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpStatus` is never constructed
[INFO] [stdout]  --> src/http/http_status.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct HttpStatus {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `OK`, `CREATED`, `ACCEPTED`, `BAD_REQUEST`, `AVAILABLE`, and `from` are never used
[INFO] [stdout]   --> src/http/http_status.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl HttpStatus {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub const OK: HttpStatus = HttpStatus {
[INFO] [stdout]    |               ^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub const CREATED: HttpStatus = HttpStatus {
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub const ACCEPTED: HttpStatus = HttpStatus {
[INFO] [stdout]    |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub const BAD_REQUEST: HttpStatus = HttpStatus {
[INFO] [stdout]    |               ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     const AVAILABLE: [&'static HttpStatus; 4] = [
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn from(code: u16) -> Result<&'static Self, String> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/http/http_status.rs:50:36
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 return Result::Ok(i.borrow());
[INFO] [stdout]    |                                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `http::http_status::HttpStatus` does not implement `Borrow`, so calling `borrow` on `&http::http_status::HttpStatus` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 50 -                 return Result::Ok(i.borrow());
[INFO] [stdout] 50 +                 return Result::Ok(i);
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to clone `http::http_status::HttpStatus`, implement `Clone` for it
[INFO] [stdout]    |
[INFO] [stdout]  7 + #[derive(Clone)]
[INFO] [stdout]  8 | pub struct HttpStatus {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/http/http_status.rs:50:36
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 return Result::Ok(i.borrow());
[INFO] [stdout]    |                                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `http::http_status::HttpStatus` does not implement `Borrow`, so calling `borrow` on `&http::http_status::HttpStatus` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 50 -                 return Result::Ok(i.borrow());
[INFO] [stdout] 50 +                 return Result::Ok(i);
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to clone `http::http_status::HttpStatus`, implement `Clone` for it
[INFO] [stdout]    |
[INFO] [stdout]  7 + #[derive(Clone)]
[INFO] [stdout]  8 | pub struct HttpStatus {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.48s
[INFO] running `Command { std: "docker" "inspect" "e5215c5d82b54407e9d334768f38c23edd337f9173641b6406eaf6b16c60dd14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5215c5d82b54407e9d334768f38c23edd337f9173641b6406eaf6b16c60dd14", kill_on_drop: false }`
[INFO] [stdout] e5215c5d82b54407e9d334768f38c23edd337f9173641b6406eaf6b16c60dd14
