[INFO] cloning repository https://github.com/kbluescode/rust-http-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kbluescode/rust-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkbluescode%2Frust-http-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkbluescode%2Frust-http-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90489d37919f8308d56648b165901109af49125b [INFO] checking kbluescode/rust-http-server against try#8c500c7cefd54fd11d57295f3771d576be9ee415 for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkbluescode%2Frust-http-server" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kbluescode/rust-http-server [INFO] finished tweaking git repo https://github.com/kbluescode/rust-http-server [INFO] tweaked toml for git repo https://github.com/kbluescode/rust-http-server written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kbluescode/rust-http-server on toolchain 8c500c7cefd54fd11d57295f3771d576be9ee415 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kbluescode/rust-http-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" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1294d9177d87acf40ad4b3b761c95f0f146ef6dbeca8c8c8d1730759ac2855f8 [INFO] running `Command { std: "docker" "start" "-a" "1294d9177d87acf40ad4b3b761c95f0f146ef6dbeca8c8c8d1730759ac2855f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1294d9177d87acf40ad4b3b761c95f0f146ef6dbeca8c8c8d1730759ac2855f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1294d9177d87acf40ad4b3b761c95f0f146ef6dbeca8c8c8d1730759ac2855f8", kill_on_drop: false }` [INFO] [stdout] 1294d9177d87acf40ad4b3b761c95f0f146ef6dbeca8c8c8d1730759ac2855f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58c182a568bdb9b8a8f3f46b09aa6d6342b36e46d67b82f25dfebabf0ae2486f [INFO] running `Command { std: "docker" "start" "-a" "58c182a568bdb9b8a8f3f46b09aa6d6342b36e46d67b82f25dfebabf0ae2486f", kill_on_drop: false }` [INFO] [stderr] Checking http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `NoContent` and `NotFound` are never constructed [INFO] [stdout] --> src/http.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 50 | enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 51 | Success, [INFO] [stdout] 52 | NoContent, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 53 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Debug`, 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: variants `NoContent` and `NotFound` are never constructed [INFO] [stdout] --> src/http.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 50 | enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 51 | Success, [INFO] [stdout] 52 | NoContent, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 53 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Debug`, 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 `method`, `path`, `http_version`, `host`, `headers`, and `body` are never read [INFO] [stdout] --> src/http/request.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | method: Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | http_version: Version, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | body: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` 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 `method`, `path`, `http_version`, `host`, `headers`, and `body` are never read [INFO] [stdout] --> src/http/request.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | method: Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | http_version: Version, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | body: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/http/response.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | status: Status, [INFO] [stdout] 7 | 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: field `body` is never read [INFO] [stdout] --> src/http/response.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 6 | status: Status, [INFO] [stdout] 7 | 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "58c182a568bdb9b8a8f3f46b09aa6d6342b36e46d67b82f25dfebabf0ae2486f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58c182a568bdb9b8a8f3f46b09aa6d6342b36e46d67b82f25dfebabf0ae2486f", kill_on_drop: false }` [INFO] [stdout] 58c182a568bdb9b8a8f3f46b09aa6d6342b36e46d67b82f25dfebabf0ae2486f