[INFO] cloning repository https://github.com/AIABHISHEK/http-web-server-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AIABHISHEK/http-web-server-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAIABHISHEK%2Fhttp-web-server-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAIABHISHEK%2Fhttp-web-server-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 96034285c26166f3b7854b09ea32dcdb7022f21b
[INFO] checking AIABHISHEK/http-web-server-rust against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAIABHISHEK%2Fhttp-web-server-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AIABHISHEK/http-web-server-rust
[INFO] finished tweaking git repo https://github.com/AIABHISHEK/http-web-server-rust
[INFO] tweaked toml for git repo https://github.com/AIABHISHEK/http-web-server-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AIABHISHEK/http-web-server-rust on toolchain 36b21637e93b038453924d3c66821089e71d8baa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AIABHISHEK/http-web-server-rust 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" "+36b21637e93b038453924d3c66821089e71d8baa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hermit-abi v0.5.2
[INFO] [stderr]   Downloaded num_cpus v1.17.0
[INFO] [stderr]   Downloaded syn v2.0.75
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ef479df99d752c1fc92f39c7b81d6cbf9f9dec7c506145044b38c6b88070763f
[INFO] running `Command { std: "docker" "start" "-a" "ef479df99d752c1fc92f39c7b81d6cbf9f9dec7c506145044b38c6b88070763f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ef479df99d752c1fc92f39c7b81d6cbf9f9dec7c506145044b38c6b88070763f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef479df99d752c1fc92f39c7b81d6cbf9f9dec7c506145044b38c6b88070763f", kill_on_drop: false }`
[INFO] [stdout] ef479df99d752c1fc92f39c7b81d6cbf9f9dec7c506145044b38c6b88070763f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 14d73095355eea374b80062b8ab9281b7adde6f2bcbd14b2b63cc06f8c31b1ac
[INFO] running `Command { std: "docker" "start" "-a" "14d73095355eea374b80062b8ab9281b7adde6f2bcbd14b2b63cc06f8c31b1ac", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]     Checking adler2 v2.0.1
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]     Checking bytes v1.7.1
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.75
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]     Checking codecrafters-http-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             ContentEncodingType::GZIP => Some("gzip".to_string()),
[INFO] [stdout]    |             ------------------------- matches all the relevant values
[INFO] [stdout] 78 |             _ => { None }
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             ContentEncodingType::GZIP => Some("gzip".to_string()),
[INFO] [stdout]    |             ------------------------- matches all the relevant values
[INFO] [stdout] 78 |             _ => { None }
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Write`
[INFO] [stdout]  --> src/server.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::{BufRead, BufReader, Write},
[INFO] [stdout]   |          ^^^^^^^  ^^^^^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Write`
[INFO] [stdout]  --> src/server.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::{BufRead, BufReader, Write},
[INFO] [stdout]   |          ^^^^^^^  ^^^^^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/res/mod.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn set_header(k: String, v: String) {}
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/res/mod.rs:32:34
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn set_header(k: String, v: String) {}
[INFO] [stdout]    |                                  ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `body`
[INFO] [stdout]   --> src/res/mod.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn set_body(body: Vec<String>) {}
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res_body` is never read
[INFO] [stdout]   --> src/res/mod.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let mut res_body = Vec::new();
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/server.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |             Err(e) => {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `is_header_complete` is never read
[INFO] [stdout]   --> src/util.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 |                     is_header_complete = true;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/util.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 |             Err(e) => {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/handler.rs:61:40
[INFO] [stdout]    |
[INFO] [stdout] 61 | ...                   if let Err(e) = reader.read_to_string(&mut body) {
[INFO] [stdout]    |                                  ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/handler.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let mut dir = get_directory();
[INFO] [stdout]    |                 ----^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/res/mod.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn set_header(k: String, v: String) {}
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/res/mod.rs:32:34
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn set_header(k: String, v: String) {}
[INFO] [stdout]    |                                  ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `body`
[INFO] [stdout]   --> src/res/mod.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn set_body(body: Vec<String>) {}
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res_body` is never read
[INFO] [stdout]   --> src/res/mod.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let mut res_body = Vec::new();
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             ContentEncodingType::GZIP => Some("gzip".to_string()),
[INFO] [stdout]    |             ------------------------- matches all the relevant values
[INFO] [stdout] 78 |             _ => { None }
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `http_version` and `stream` are never read
[INFO] [stdout]   --> src/req/mod.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub struct HttpRequest {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8  |     pub http_version: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub stream: TcpStream,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/server.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |             Err(e) => {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `status_code`, `http_version`, `headers`, and `body` are never read
[INFO] [stdout]   --> src/res/mod.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct HttpResponse {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 9  |     pub status_code: StatusCode,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 10 |     pub http_version: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 11 |     pub headers: HashMap<String, String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 12 |     pub body: Option<Vec<u8>>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `set_header` and `set_body` are never used
[INFO] [stdout]   --> src/res/mod.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl HttpResponse {
[INFO] [stdout]    | ----------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn set_header(k: String, v: String) {}
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 33 |
[INFO] [stdout] 34 |     pub fn set_body(body: Vec<String>) {}
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `BadRequest` and `MethodNotAllowed` are never constructed
[INFO] [stdout]   --> src/lib.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub enum StatusCode {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 31 |     BadRequest,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 32 |     InternalServerError,
[INFO] [stdout] 33 |     MethodNotAllowed,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StatusCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ContentEncodingType` is never used
[INFO] [stdout]   --> src/lib.rs:61:10
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub enum ContentEncodingType {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_string` and `as_string` are never used
[INFO] [stdout]   --> src/lib.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl ContentEncodingType {
[INFO] [stdout]    | ------------------------ associated items in this implementation
[INFO] [stdout] 66 |     pub fn from_string(s: String) -> Option<ContentEncodingType> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn as_string(&self) -> Option<String> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `is_header_complete` is never read
[INFO] [stdout]   --> src/util.rs:19:21
[INFO] [stdout]    |
[INFO] [stdout] 19 |                     is_header_complete = true;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/util.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 |             Err(e) => {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/handler.rs:61:40
[INFO] [stdout]    |
[INFO] [stdout] 61 | ...                   if let Err(e) = reader.read_to_string(&mut body) {
[INFO] [stdout]    |                                  ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/handler.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let mut dir = get_directory();
[INFO] [stdout]    |                 ----^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             ContentEncodingType::GZIP => Some("gzip".to_string()),
[INFO] [stdout]    |             ------------------------- matches all the relevant values
[INFO] [stdout] 78 |             _ => { None }
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `http_version` and `stream` are never read
[INFO] [stdout]   --> src/req/mod.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub struct HttpRequest {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8  |     pub http_version: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub stream: TcpStream,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `status_code`, `http_version`, `headers`, and `body` are never read
[INFO] [stdout]   --> src/res/mod.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct HttpResponse {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 9  |     pub status_code: StatusCode,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 10 |     pub http_version: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 11 |     pub headers: HashMap<String, String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 12 |     pub body: Option<Vec<u8>>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `set_header` and `set_body` are never used
[INFO] [stdout]   --> src/res/mod.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl HttpResponse {
[INFO] [stdout]    | ----------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn set_header(k: String, v: String) {}
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 33 |
[INFO] [stdout] 34 |     pub fn set_body(body: Vec<String>) {}
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `BadRequest` and `MethodNotAllowed` are never constructed
[INFO] [stdout]   --> src/lib.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub enum StatusCode {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 31 |     BadRequest,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 32 |     InternalServerError,
[INFO] [stdout] 33 |     MethodNotAllowed,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StatusCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ContentEncodingType` is never used
[INFO] [stdout]   --> src/lib.rs:61:10
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub enum ContentEncodingType {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_string` and `as_string` are never used
[INFO] [stdout]   --> src/lib.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl ContentEncodingType {
[INFO] [stdout]    | ------------------------ associated items in this implementation
[INFO] [stdout] 66 |     pub fn from_string(s: String) -> Option<ContentEncodingType> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn as_string(&self) -> Option<String> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.39s
[INFO] running `Command { std: "docker" "inspect" "14d73095355eea374b80062b8ab9281b7adde6f2bcbd14b2b63cc06f8c31b1ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14d73095355eea374b80062b8ab9281b7adde6f2bcbd14b2b63cc06f8c31b1ac", kill_on_drop: false }`
[INFO] [stdout] 14d73095355eea374b80062b8ab9281b7adde6f2bcbd14b2b63cc06f8c31b1ac
