[INFO] cloning repository https://github.com/monkeCode/Static-Server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/monkeCode/Static-Server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmonkeCode%2FStatic-Server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmonkeCode%2FStatic-Server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e65d8c749da49d20856ce32bb338f0cc848d57f2 [INFO] checking monkeCode/Static-Server against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmonkeCode%2FStatic-Server" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/monkeCode/Static-Server [INFO] finished tweaking git repo https://github.com/monkeCode/Static-Server [INFO] tweaked toml for git repo https://github.com/monkeCode/Static-Server written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/monkeCode/Static-Server on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/monkeCode/Static-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fd5012e1d4443614011e409d2f142eacab558c91c7dea07e2940f54a72a2a40 [INFO] running `Command { std: "docker" "start" "-a" "3fd5012e1d4443614011e409d2f142eacab558c91c7dea07e2940f54a72a2a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fd5012e1d4443614011e409d2f142eacab558c91c7dea07e2940f54a72a2a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fd5012e1d4443614011e409d2f142eacab558c91c7dea07e2940f54a72a2a40", kill_on_drop: false }` [INFO] [stdout] 3fd5012e1d4443614011e409d2f142eacab558c91c7dea07e2940f54a72a2a40 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43a56ca63a4b32ff14d4bf619f7c012e579a821e5b9707a1deb66db0d5940835 [INFO] running `Command { std: "docker" "start" "-a" "43a56ca63a4b32ff14d4bf619f7c012e579a821e5b9707a1deb66db0d5940835", kill_on_drop: false }` [INFO] [stderr] Checking FPServer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/server/mod.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufRead, BufReader, Read, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `borrow::Borrow` [INFO] [stdout] --> src/http/response.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Borrow, collections::{HashMap, HashSet}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::request` [INFO] [stdout] --> src/http/response.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::request; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ConnectionHandler` [INFO] [stdout] --> src/thread_pool.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ConnectionHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/server/mod.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufRead, BufReader, Read, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `borrow::Borrow` [INFO] [stdout] --> src/http/response.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Borrow, collections::{HashMap, HashSet}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::request` [INFO] [stdout] --> src/http/response.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::request; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ConnectionHandler` [INFO] [stdout] --> src/thread_pool.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ConnectionHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/server/mod.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufRead, BufReader, Read, Write}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/server/mod.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufRead, BufReader, Read, Write}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/http/codes.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | _ => "application/octet-stream", [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/http/codes.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 73 | ContentType::Html => "text/html", [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 74 | ContentType::Css => "text/css", [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 75 | ContentType::Js => "application/javascript", [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 76 | ContentType::Png => "image/png", [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 85 | _ => "application/octet-stream", [INFO] [stdout] | ^ ...and 8 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/http/codes.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | _ => "application/octet-stream", [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/http/codes.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 73 | ContentType::Html => "text/html", [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 74 | ContentType::Css => "text/css", [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 75 | ContentType::Js => "application/javascript", [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 76 | ContentType::Png => "image/png", [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 85 | _ => "application/octet-stream", [INFO] [stdout] | ^ ...and 8 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `full_path` [INFO] [stdout] --> src/main.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_request_path(full_path:&str) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_full_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_request_path` is never used [INFO] [stdout] --> src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_request_path(full_path:&str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProxyServer` is never constructed [INFO] [stdout] --> src/server/mod.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct ProxyServer [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/http/codes.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum HttpCode [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | Created = 201, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | Accepted = 202, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | NonAuthorititaveInformation = 203, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | NoContent = 204, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | ResetContent = 205, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | PartialContent = 206, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | MultiStatus = 207, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | AlreadyReported = 208, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | IMUsed = 226, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | MultipleChoises = 300, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | MovedPermamently = 301, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | Found = 302, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | SeeOthers = 303, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | NotModified = 304, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | UseProxy = 305, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | TemporaryRedirect = 307, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | PermanentRedirect = 308, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | BadRequest = 400, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | Unauthorized = 401, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | PaymentRequired = 402, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | Forbidden = 403, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | NotFound = 404, [INFO] [stdout] 30 | MethodNotAllowed = 405, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | NotAcceptable = 406, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 32 | [INFO] [stdout] 33 | InternalServerError = 500, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | NotImplemented = 501, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | BadGateway = 502, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 36 | ServiceUnvailable = 503, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | GatewayTimeout = 504, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 38 | HttpVersionNotSupported = 505 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpCode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `full_path` [INFO] [stdout] --> src/main.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_request_path(full_path:&str) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_full_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/http/codes.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl ContentType { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn from_str(mime_type:&str) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `charset` is never read [INFO] [stdout] --> src/http/response.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub charset: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/http/response.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Response { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 18 | pub fn from_str(request: &str) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/http/request.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Method { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/http/request.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 47 | pub method: Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | pub path: String, [INFO] [stdout] 49 | pub host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | pub version: String, [INFO] [stdout] 51 | pub connection: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | pub user_agent: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 53 | pub accept: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | pub accept_encoding: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub accept_language: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub sec_fetch_site: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub sec_fetch_user: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub sec_fetch_dest: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub referer: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | pub request: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `workers` is never read [INFO] [stdout] --> src/thread_pool.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ThreadPool { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | workers: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `thread` are never read [INFO] [stdout] --> src/thread_pool.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct Worker { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 43 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 44 | thread: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_request_path` is never used [INFO] [stdout] --> src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_request_path(full_path:&str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProxyServer` is never constructed [INFO] [stdout] --> src/server/mod.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct ProxyServer [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/http/codes.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum HttpCode [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | Created = 201, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | Accepted = 202, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | NonAuthorititaveInformation = 203, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | NoContent = 204, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | ResetContent = 205, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | PartialContent = 206, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | MultiStatus = 207, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | AlreadyReported = 208, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | IMUsed = 226, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | MultipleChoises = 300, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | MovedPermamently = 301, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | Found = 302, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | SeeOthers = 303, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | NotModified = 304, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | UseProxy = 305, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | TemporaryRedirect = 307, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | PermanentRedirect = 308, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | BadRequest = 400, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | Unauthorized = 401, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | PaymentRequired = 402, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | Forbidden = 403, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | NotFound = 404, [INFO] [stdout] 30 | MethodNotAllowed = 405, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | NotAcceptable = 406, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 32 | [INFO] [stdout] 33 | InternalServerError = 500, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | NotImplemented = 501, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | BadGateway = 502, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 36 | ServiceUnvailable = 503, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | GatewayTimeout = 504, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 38 | HttpVersionNotSupported = 505 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpCode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/http/codes.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl ContentType { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn from_str(mime_type:&str) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `charset` is never read [INFO] [stdout] --> src/http/response.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub charset: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/http/response.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Response { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 18 | pub fn from_str(request: &str) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/http/request.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Method { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/http/request.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 47 | pub method: Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | pub path: String, [INFO] [stdout] 49 | pub host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | pub version: String, [INFO] [stdout] 51 | pub connection: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | pub user_agent: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 53 | pub accept: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | pub accept_encoding: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub accept_language: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub sec_fetch_site: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub sec_fetch_user: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub sec_fetch_dest: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub referer: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | pub request: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `workers` is never read [INFO] [stdout] --> src/thread_pool.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ThreadPool { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | workers: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `thread` are never read [INFO] [stdout] --> src/thread_pool.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct Worker { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 43 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 44 | thread: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "43a56ca63a4b32ff14d4bf619f7c012e579a821e5b9707a1deb66db0d5940835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43a56ca63a4b32ff14d4bf619f7c012e579a821e5b9707a1deb66db0d5940835", kill_on_drop: false }` [INFO] [stdout] 43a56ca63a4b32ff14d4bf619f7c012e579a821e5b9707a1deb66db0d5940835