[INFO] cloning repository https://github.com/steve-kaufman/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/steve-kaufman/rust-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteve-kaufman%2Frust-http-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteve-kaufman%2Frust-http-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ed6a2168fe576aace959b8098bd152b33669b3d [INFO] checking steve-kaufman/rust-http-server against try#ac4c3613be2acd5395b65d85e5657b81e3c982f0 for pr-154585 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteve-kaufman%2Frust-http-server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/steve-kaufman/rust-http-server [INFO] finished tweaking git repo https://github.com/steve-kaufman/rust-http-server [INFO] tweaked toml for git repo https://github.com/steve-kaufman/rust-http-server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/steve-kaufman/rust-http-server on toolchain ac4c3613be2acd5395b65d85e5657b81e3c982f0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/steve-kaufman/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" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54c5ab0d91666a17e4233c0be31ef2cfcc0c5944873f4fe08d390545fd8447d9 [INFO] running `Command { std: "docker" "start" "-a" "54c5ab0d91666a17e4233c0be31ef2cfcc0c5944873f4fe08d390545fd8447d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54c5ab0d91666a17e4233c0be31ef2cfcc0c5944873f4fe08d390545fd8447d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54c5ab0d91666a17e4233c0be31ef2cfcc0c5944873f4fe08d390545fd8447d9", kill_on_drop: false }` [INFO] [stdout] 54c5ab0d91666a17e4233c0be31ef2cfcc0c5944873f4fe08d390545fd8447d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56c13a70d0f2f6988f636bf589f002cf3776fb857b5f1ae877261afa7bc07eaf [INFO] running `Command { std: "docker" "start" "-a" "56c13a70d0f2f6988f636bf589f002cf3776fb857b5f1ae877261afa7bc07eaf", kill_on_drop: false }` [INFO] [stderr] Checking http_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/server/status_code.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 5 | impl StatusCode { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 6 | pub const CONTINUE: StatusCode = StatusCode(100, "Continue"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | pub const SWITCHING_PROTOCOLS: StatusCode = StatusCode(101, "Switching Protocols"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub const CREATED: StatusCode = StatusCode(201, "Created"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub const ACCEPTED: StatusCode = StatusCode(202, "Accepted"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub const NON_AUTHORITATIVE_INFORMATION: StatusCode = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | StatusCode(203, "Non-Authoritative Information"); [INFO] [stdout] 14 | pub const NO_CONTENT: StatusCode = StatusCode(204, "No Content"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub const RESET_CONTENT: StatusCode = StatusCode(205, "Reset Content"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub const PARTIAL_CONTENT: StatusCode = StatusCode(206, "Partial Content"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | // Redirection 3xx [INFO] [stdout] 18 | pub const MULTIPLE_CHOICES: StatusCode = StatusCode(300, "Multiple Choices"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub const MOVED_PERMANENTLY: StatusCode = StatusCode(301, "Moved Permanently"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub const FOUND: StatusCode = StatusCode(302, "Found"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub const SEE_OTHER: StatusCode = StatusCode(303, "See Other"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | pub const NOT_MODIFIED: StatusCode = StatusCode(304, "Not Modified"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | pub const USE_PROXY: StatusCode = StatusCode(305, "Use Proxy"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | pub const TEMPORARY_REDIRECT: StatusCode = StatusCode(307, "Temporary Redirect"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub const PERMANENT_REDIRECT: StatusCode = StatusCode(308, "Permanent Redirect"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | // Client Error 4xx [INFO] [stdout] 27 | pub const BAD_REQUEST: StatusCode = StatusCode(400, "Bad Request"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | pub const UNAUTHORIZED: StatusCode = StatusCode(401, "Unauthorized"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | pub const PAYMENT_REQUIRED: StatusCode = StatusCode(402, "Payment Required"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub const FORBIDDEN: StatusCode = StatusCode(403, "Forbidden"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | pub const NOT_FOUND: StatusCode = StatusCode(404, "Not Found"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub const METHOD_NOT_ALLOWED: StatusCode = StatusCode(405, "Method Not Allowed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub const NOT_ACCEPTABLE: StatusCode = StatusCode(406, "Not Acceptable"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub const PROXY_AUTHENTICATION_REQUIRED: StatusCode = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | StatusCode(407, "Proxy Authentication Required"); [INFO] [stdout] 36 | pub const REQUEST_TIMEOUT: StatusCode = StatusCode(408, "Request Timeout"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub const CONFLICT: StatusCode = StatusCode(409, "Conflict"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | pub const GONE: StatusCode = StatusCode(410, "Gone"); [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | pub const LENGTH_REQUIRED: StatusCode = StatusCode(411, "Length Required"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub const PRECONDITION_FAILED: StatusCode = StatusCode(412, "Precondition Failed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub const CONTENT_TOO_LARGE: StatusCode = StatusCode(413, "Content Too Large"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub const URI_TOO_LONG: StatusCode = StatusCode(414, "URI Too Long"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 43 | pub const UNSUPPORTED_MEDIA_TYPE: StatusCode = StatusCode(415, "Unsupported Media Type"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub const RANGE_NOT_SATISFIABLE: StatusCode = StatusCode(416, "Range Not Satisfiable"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | pub const EXPECTATION_FAILED: StatusCode = StatusCode(417, "Expectation Failed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | pub const MISDIRECT_REQUEST: StatusCode = StatusCode(421, "Misdirected Request"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub const UNPROCESSABLE_CONTENT: StatusCode = StatusCode(422, "Unprocessable Content"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | pub const UPGRADE_REQUIRED: StatusCode = StatusCode(426, "Upgrade Required"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | // Server Error 5xx [INFO] [stdout] 50 | pub const INTERNAL_SERVER_ERROR: StatusCode = StatusCode(500, "Internal Server Error"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub const NOT_IMPLEMENTED: StatusCode = StatusCode(501, "Not Implemented"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub const BAD_GATEWAY: StatusCode = StatusCode(502, "Bad Gateway"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 53 | pub const SERVICE_UNAVAILABLE: StatusCode = StatusCode(503, "Service Unavailable"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | pub const GATEWAY_TIMEOUT: StatusCode = StatusCode(504, "Gateway Timeout"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub const HTTP_VERSION_NOT_SUPPORTED: StatusCode = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn from_int(code: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "56c13a70d0f2f6988f636bf589f002cf3776fb857b5f1ae877261afa7bc07eaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56c13a70d0f2f6988f636bf589f002cf3776fb857b5f1ae877261afa7bc07eaf", kill_on_drop: false }` [INFO] [stdout] 56c13a70d0f2f6988f636bf589f002cf3776fb857b5f1ae877261afa7bc07eaf