[INFO] cloning repository https://github.com/BenCassidy33/HTTP-from-Scratch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BenCassidy33/HTTP-from-Scratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenCassidy33%2FHTTP-from-Scratch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenCassidy33%2FHTTP-from-Scratch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1331fa9903d172ea4348e2cda0f31f9825513945 [INFO] checking BenCassidy33/HTTP-from-Scratch/1331fa9903d172ea4348e2cda0f31f9825513945 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenCassidy33%2FHTTP-from-Scratch" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BenCassidy33/HTTP-from-Scratch on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BenCassidy33/HTTP-from-Scratch [INFO] finished tweaking git repo https://github.com/BenCassidy33/HTTP-from-Scratch [INFO] tweaked toml for git repo https://github.com/BenCassidy33/HTTP-from-Scratch written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BenCassidy33/HTTP-from-Scratch 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec9669d61ae99eaa1285fe6c3916e028ee3011e0e52473e7b30ff2468e2095cc [INFO] running `Command { std: "docker" "start" "-a" "ec9669d61ae99eaa1285fe6c3916e028ee3011e0e52473e7b30ff2468e2095cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec9669d61ae99eaa1285fe6c3916e028ee3011e0e52473e7b30ff2468e2095cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec9669d61ae99eaa1285fe6c3916e028ee3011e0e52473e7b30ff2468e2095cc", kill_on_drop: false }` [INFO] [stdout] ec9669d61ae99eaa1285fe6c3916e028ee3011e0e52473e7b30ff2468e2095cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60fcdba7d7eec70c36dfd81f1f7cb489f8ba16e3a7d633cb898de2709f7f8b4a [INFO] running `Command { std: "docker" "start" "-a" "60fcdba7d7eec70c36dfd81f1f7cb489f8ba16e3a7d633cb898de2709f7f8b4a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.39.1 [INFO] [stderr] Checking http_from_scratch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/content.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `any::Any` [INFO] [stdout] --> src/headers.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{any::Any, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `codes::HttpError` [INFO] [stdout] --> src/paths.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | codes::HttpError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/content.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `any::Any` [INFO] [stdout] --> src/headers.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{any::Any, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `codes::HttpError` [INFO] [stdout] --> src/paths.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | codes::HttpError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/content.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | HttpStatus::ServerError(code) => code as u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ matches no values because `HttpServerError` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/content.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | HttpStatus::ServerError(_) => "Error", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ matches no values because `HttpServerError` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/content.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | HttpStatus::ServerError(code) => code as u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ matches no values because `HttpServerError` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/content.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | HttpStatus::ServerError(_) => "Error", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ matches no values because `HttpServerError` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/paths.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn call(&self, path: &'static str) -> Result<(), HttpFunctionCallError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/paths.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn call(&self, path: &'static str) -> Result<(), HttpFunctionCallError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `body` are never read [INFO] [stdout] --> src/headers.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct HttpResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 52 | header: HttpResponseHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `body` are never read [INFO] [stdout] --> src/headers.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct HttpResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 52 | header: HttpResponseHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.29s [INFO] running `Command { std: "docker" "inspect" "60fcdba7d7eec70c36dfd81f1f7cb489f8ba16e3a7d633cb898de2709f7f8b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60fcdba7d7eec70c36dfd81f1f7cb489f8ba16e3a7d633cb898de2709f7f8b4a", kill_on_drop: false }` [INFO] [stdout] 60fcdba7d7eec70c36dfd81f1f7cb489f8ba16e3a7d633cb898de2709f7f8b4a