[INFO] cloning repository https://github.com/bshukrallah/rust-webserver
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bshukrallah/rust-webserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbshukrallah%2Frust-webserver", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbshukrallah%2Frust-webserver'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 61bb84bd329a34c71e819997155ea6ba3e894db4
[INFO] checking bshukrallah/rust-webserver against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbshukrallah%2Frust-webserver" "/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/bshukrallah/rust-webserver
[INFO] finished tweaking git repo https://github.com/bshukrallah/rust-webserver
[INFO] tweaked toml for git repo https://github.com/bshukrallah/rust-webserver written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bshukrallah/rust-webserver on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bshukrallah/rust-webserver 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" "+49a6044d37d694890450f52ceaceb66277a36b1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ebd2dc5d86efeeb524216aa590425a8e7ad08275913eb0f88fc94a2b2a7423a9
[INFO] running `Command { std: "docker" "start" "ebd2dc5d86efeeb524216aa590425a8e7ad08275913eb0f88fc94a2b2a7423a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ebd2dc5d86efeeb524216aa590425a8e7ad08275913eb0f88fc94a2b2a7423a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ebd2dc5d86efeeb524216aa590425a8e7ad08275913eb0f88fc94a2b2a7423a9" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ebd2dc5d86efeeb524216aa590425a8e7ad08275913eb0f88fc94a2b2a7423a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ebd2dc5d86efeeb524216aa590425a8e7ad08275913eb0f88fc94a2b2a7423a9" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-webserver v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `http::Request`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use http::Request;
[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 variable: `delete`
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let delete = Method::DELETE;
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `DELETE`
[INFO] [stdout]    |
[INFO] [stdout] 13 -     let delete = Method::DELETE;
[INFO] [stdout] 13 +     let http::method::Method::DELETE = Method::DELETE;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let _delete = Method::DELETE;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/main.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let post = Method::POST;
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `POST`
[INFO] [stdout]    |
[INFO] [stdout] 14 -     let post = Method::POST;
[INFO] [stdout] 14 +     let http::method::Method::POST = Method::POST;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let _post = Method::POST;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `put`
[INFO] [stdout]   --> src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let put = Method::PUT;
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `PUT`
[INFO] [stdout]    |
[INFO] [stdout] 15 -     let put = Method::PUT;
[INFO] [stdout] 15 +     let http::method::Method::PUT = Method::PUT;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let _put = Method::PUT;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Request` is never constructed
[INFO] [stdout]  --> src/http/request.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Request {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `HEAD`, `CONNECT`, `OPTIONS`, `TRACE`, and `PATCH` are never constructed
[INFO] [stdout]   --> src/http/method.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub enum Method {
[INFO] [stdout]    |          ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  7 |     HEAD,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]  8 |     CONNECT,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]  9 |     OPTIONS,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 10 |     TRACE,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 11 |     PATCH,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Method` 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: `http::Request`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use http::Request;
[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 variable: `delete`
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let delete = Method::DELETE;
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `DELETE`
[INFO] [stdout]    |
[INFO] [stdout] 13 -     let delete = Method::DELETE;
[INFO] [stdout] 13 +     let http::method::Method::DELETE = Method::DELETE;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let _delete = Method::DELETE;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `post`
[INFO] [stdout]   --> src/main.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let post = Method::POST;
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `POST`
[INFO] [stdout]    |
[INFO] [stdout] 14 -     let post = Method::POST;
[INFO] [stdout] 14 +     let http::method::Method::POST = Method::POST;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let _post = Method::POST;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `put`
[INFO] [stdout]   --> src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let put = Method::PUT;
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `PUT`
[INFO] [stdout]    |
[INFO] [stdout] 15 -     let put = Method::PUT;
[INFO] [stdout] 15 +     let http::method::Method::PUT = Method::PUT;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let _put = Method::PUT;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Request` is never constructed
[INFO] [stdout]  --> src/http/request.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Request {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `HEAD`, `CONNECT`, `OPTIONS`, `TRACE`, and `PATCH` are never constructed
[INFO] [stdout]   --> src/http/method.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub enum Method {
[INFO] [stdout]    |          ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  7 |     HEAD,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]  8 |     CONNECT,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]  9 |     OPTIONS,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 10 |     TRACE,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 11 |     PATCH,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Method` 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.18s
[INFO] running `Command { std: "docker" "inspect" "ebd2dc5d86efeeb524216aa590425a8e7ad08275913eb0f88fc94a2b2a7423a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ebd2dc5d86efeeb524216aa590425a8e7ad08275913eb0f88fc94a2b2a7423a9", kill_on_drop: false }`
[INFO] [stdout] ebd2dc5d86efeeb524216aa590425a8e7ad08275913eb0f88fc94a2b2a7423a9
