[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 master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaoneto%2Frust-web-server" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joaoneto/rust-web-server on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7eae66a759c9d5df098efa43fae40358c823be74108918347abd3e1bf0222f5 [INFO] running `Command { std: "docker" "start" "-a" "f7eae66a759c9d5df098efa43fae40358c823be74108918347abd3e1bf0222f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7eae66a759c9d5df098efa43fae40358c823be74108918347abd3e1bf0222f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7eae66a759c9d5df098efa43fae40358c823be74108918347abd3e1bf0222f5", kill_on_drop: false }` [INFO] [stdout] f7eae66a759c9d5df098efa43fae40358c823be74108918347abd3e1bf0222f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e6e1f746be96c215b69961c7ab100d56b34641251e08700cdb184b46a98f72c [INFO] running `Command { std: "docker" "start" "-a" "3e6e1f746be96c215b69961c7ab100d56b34641251e08700cdb184b46a98f72c", 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 syn v1.0.95 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.3 [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, [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, [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)]` 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, [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, [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)]` 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, [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: 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, [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 `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: 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.71s [INFO] running `Command { std: "docker" "inspect" "3e6e1f746be96c215b69961c7ab100d56b34641251e08700cdb184b46a98f72c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e6e1f746be96c215b69961c7ab100d56b34641251e08700cdb184b46a98f72c", kill_on_drop: false }` [INFO] [stdout] 3e6e1f746be96c215b69961c7ab100d56b34641251e08700cdb184b46a98f72c