[INFO] cloning repository https://github.com/joaoneto/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/joaoneto/rust-web-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaoneto%2Frust-web-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaoneto%2Frust-web-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d91fca841060958dde4cd4c20a987207293c7659
[INFO] checking joaoneto/rust-web-server against 416264364aa47959f5827723e1d7dabc95d0744b for pr-162242
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaoneto%2Frust-web-server" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/joaoneto/rust-web-server
[INFO] finished tweaking git repo https://github.com/joaoneto/rust-web-server
[INFO] tweaked toml for git repo https://github.com/joaoneto/rust-web-server written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/joaoneto/rust-web-server on toolchain 416264364aa47959f5827723e1d7dabc95d0744b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/joaoneto/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" "+416264364aa47959f5827723e1d7dabc95d0744b" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking joaoneto/rust-web-server against 416264364aa47959f5827723e1d7dabc95d0744b for pr-162242
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaoneto%2Frust-web-server" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/joaoneto/rust-web-server
[INFO] finished tweaking git repo https://github.com/joaoneto/rust-web-server
[INFO] tweaked toml for git repo https://github.com/joaoneto/rust-web-server written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/joaoneto/rust-web-server on toolchain 416264364aa47959f5827723e1d7dabc95d0744b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/joaoneto/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" "+416264364aa47959f5827723e1d7dabc95d0744b" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syn v1.0.95
[INFO] [stderr]   Downloaded tokio v1.18.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] dbc306d3634dc41f0cb1b19d1c3d5f37d3bc1c24170158e46e9962100ddb9ddf
[INFO] running `Command { std: "docker" "start" "dbc306d3634dc41f0cb1b19d1c3d5f37d3bc1c24170158e46e9962100ddb9ddf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dbc306d3634dc41f0cb1b19d1c3d5f37d3bc1c24170158e46e9962100ddb9ddf", 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" "dbc306d3634dc41f0cb1b19d1c3d5f37d3bc1c24170158e46e9962100ddb9ddf" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dbc306d3634dc41f0cb1b19d1c3d5f37d3bc1c24170158e46e9962100ddb9ddf", 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" "dbc306d3634dc41f0cb1b19d1c3d5f37d3bc1c24170158e46e9962100ddb9ddf" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]     Checking arc-swap v0.4.7
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]     Checking once_cell v1.12.0
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking parking_lot_core v0.9.3
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking mio v0.8.3
[INFO] [stderr]     Checking signal-hook-registry v1.2.1
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]     Checking tokio v1.18.2
[INFO] [stderr]     Checking rust-web-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `config`, `url`, `method`, `headers`, and `body` are never read
[INFO] [stdout]   --> src/app.rs:6:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Request {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout]  6 |     pub config: Arc<Config>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]  7 |     pub url: String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]  8 |     pub method: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]  9 |     pub headers: Vec<(String, String)>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 10 |     pub body: Option<String>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Request` has a derived impl for the trait `Clone`, 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 `config`, `url`, `method`, `headers`, and `body` are never read
[INFO] [stdout]   --> src/app.rs:6:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Request {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout]  6 |     pub config: Arc<Config>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]  7 |     pub url: String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]  8 |     pub method: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]  9 |     pub headers: Vec<(String, String)>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 10 |     pub body: Option<String>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Request` has a derived impl for the trait `Clone`, 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 `status`, `headers`, and `body` are never read
[INFO] [stdout]   --> src/app.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Response {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 15 |     pub status: u16,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 16 |     pub headers: Vec<(String, String)>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 17 |     pub body: Option<String>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `status`, `headers`, and `body` are never read
[INFO] [stdout]   --> src/app.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Response {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 15 |     pub status: u16,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 16 |     pub headers: Vec<(String, String)>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 17 |     pub body: Option<String>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `BadRequest` and `InternalServerError` are never constructed
[INFO] [stdout]   --> src/app.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum HttpError {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 22 |     NotFound,
[INFO] [stdout] 23 |     BadRequest,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 24 |     InternalServerError,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `BadRequest` and `InternalServerError` are never constructed
[INFO] [stdout]   --> src/app.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum HttpError {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 22 |     NotFound,
[INFO] [stdout] 23 |     BadRequest,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 24 |     InternalServerError,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `port` and `host` are never read
[INFO] [stdout]  --> src/config.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Config {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 3 |     pub port: u16,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 4 |     pub host: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `port` and `host` are never read
[INFO] [stdout]  --> src/config.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Config {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 3 |     pub port: u16,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 4 |     pub host: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.98s
[INFO] running `Command { std: "docker" "inspect" "dbc306d3634dc41f0cb1b19d1c3d5f37d3bc1c24170158e46e9962100ddb9ddf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dbc306d3634dc41f0cb1b19d1c3d5f37d3bc1c24170158e46e9962100ddb9ddf", kill_on_drop: false }`
[INFO] [stdout] dbc306d3634dc41f0cb1b19d1c3d5f37d3bc1c24170158e46e9962100ddb9ddf
