[INFO] cloning repository https://github.com/nauanelinhares/http-server-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/nauanelinhares/http-server-from-scratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnauanelinhares%2Fhttp-server-from-scratch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnauanelinhares%2Fhttp-server-from-scratch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a468ef1a36bb7dc6884fb4e83f6b01ff3504b31 [INFO] checking nauanelinhares/http-server-from-scratch against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnauanelinhares%2Fhttp-server-from-scratch" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nauanelinhares/http-server-from-scratch [INFO] finished tweaking git repo https://github.com/nauanelinhares/http-server-from-scratch [INFO] tweaked toml for git repo https://github.com/nauanelinhares/http-server-from-scratch written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nauanelinhares/http-server-from-scratch on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nauanelinhares/http-server-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11533a7dc01704d0e0d0683adcc9e211b2c8e3ad825b926e9d5338aa91342f36 [INFO] running `Command { std: "docker" "start" "-a" "11533a7dc01704d0e0d0683adcc9e211b2c8e3ad825b926e9d5338aa91342f36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11533a7dc01704d0e0d0683adcc9e211b2c8e3ad825b926e9d5338aa91342f36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11533a7dc01704d0e0d0683adcc9e211b2c8e3ad825b926e9d5338aa91342f36", kill_on_drop: false }` [INFO] [stdout] 11533a7dc01704d0e0d0683adcc9e211b2c8e3ad825b926e9d5338aa91342f36 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f85b61d878e57d4cbaaaf285df1aa4503974b6676c99affd1b9de4d6ed556e83 [INFO] running `Command { std: "docker" "start" "-a" "f85b61d878e57d4cbaaaf285df1aa4503974b6676c99affd1b9de4d6ed556e83", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking codecrafters-http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `workers` is never read [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ThreadPool { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 7 | workers: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `thread` are never read [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct Worker { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 46 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 47 | thread: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `workers` is never read [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ThreadPool { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 7 | workers: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `thread` are never read [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct Worker { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 46 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 47 | thread: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/types.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CustomHeader { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 19 | pub key: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CustomHeader` 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: function `post_successuful_response` is never used [INFO] [stdout] --> src/types.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn post_successuful_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_request_header` is never used [INFO] [stdout] --> src/types.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn find_request_header(request_headers: &RequestHeader, header: &str) -> CustomHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/types.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CustomHeader { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 19 | pub key: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CustomHeader` 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: function `post_successuful_response` is never used [INFO] [stdout] --> src/types.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn post_successuful_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_request_header` is never used [INFO] [stdout] --> src/types.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn find_request_header(request_headers: &RequestHeader, header: &str) -> CustomHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.92s [INFO] running `Command { std: "docker" "inspect" "f85b61d878e57d4cbaaaf285df1aa4503974b6676c99affd1b9de4d6ed556e83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f85b61d878e57d4cbaaaf285df1aa4503974b6676c99affd1b9de4d6ed556e83", kill_on_drop: false }` [INFO] [stdout] f85b61d878e57d4cbaaaf285df1aa4503974b6676c99affd1b9de4d6ed556e83