[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 master#19dd9535408db0f1ff3d16613619076aef524d19 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkbluescode%2Frust-http-server" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kbluescode/rust-http-server on toolchain 19dd9535408db0f1ff3d16613619076aef524d19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19dd9535408db0f1ff3d16613619076aef524d19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [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" "+19dd9535408db0f1ff3d16613619076aef524d19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+19dd9535408db0f1ff3d16613619076aef524d19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73ade04bb060a083e751e5cdc5d2b01c9caec1c8f3ea60b3002e4ff90d79cc5d [INFO] running `Command { std: "docker" "start" "-a" "73ade04bb060a083e751e5cdc5d2b01c9caec1c8f3ea60b3002e4ff90d79cc5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73ade04bb060a083e751e5cdc5d2b01c9caec1c8f3ea60b3002e4ff90d79cc5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73ade04bb060a083e751e5cdc5d2b01c9caec1c8f3ea60b3002e4ff90d79cc5d", kill_on_drop: false }` [INFO] [stdout] 73ade04bb060a083e751e5cdc5d2b01c9caec1c8f3ea60b3002e4ff90d79cc5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+19dd9535408db0f1ff3d16613619076aef524d19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af6d49e67288ed03b6c60add6d38ac543786d6f46f70d4f9c5c845601570b9da [INFO] running `Command { std: "docker" "start" "-a" "af6d49e67288ed03b6c60add6d38ac543786d6f46f70d4f9c5c845601570b9da", 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: 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: 3 warnings emitted [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: 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "af6d49e67288ed03b6c60add6d38ac543786d6f46f70d4f9c5c845601570b9da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af6d49e67288ed03b6c60add6d38ac543786d6f46f70d4f9c5c845601570b9da", kill_on_drop: false }` [INFO] [stdout] af6d49e67288ed03b6c60add6d38ac543786d6f46f70d4f9c5c845601570b9da