[INFO] cloning repository https://github.com/chefaiqbal/Rust-Server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chefaiqbal/Rust-Server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchefaiqbal%2FRust-Server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchefaiqbal%2FRust-Server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9d6db4d083a29cab16b71f80082315fc1e74952 [INFO] checking chefaiqbal/Rust-Server against try#099af82bc034c1e4895c90e5407fafdd61976cdb for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchefaiqbal%2FRust-Server" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chefaiqbal/Rust-Server [INFO] finished tweaking git repo https://github.com/chefaiqbal/Rust-Server [INFO] tweaked toml for git repo https://github.com/chefaiqbal/Rust-Server written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chefaiqbal/Rust-Server on toolchain 099af82bc034c1e4895c90e5407fafdd61976cdb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chefaiqbal/Rust-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" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba33d2aecab09d9ac3563d197e13b59be8ad5180b2ede8c1e6883b36a6ce6757 [INFO] running `Command { std: "docker" "start" "-a" "ba33d2aecab09d9ac3563d197e13b59be8ad5180b2ede8c1e6883b36a6ce6757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba33d2aecab09d9ac3563d197e13b59be8ad5180b2ede8c1e6883b36a6ce6757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba33d2aecab09d9ac3563d197e13b59be8ad5180b2ede8c1e6883b36a6ce6757", kill_on_drop: false }` [INFO] [stdout] ba33d2aecab09d9ac3563d197e13b59be8ad5180b2ede8c1e6883b36a6ce6757 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21f8046d102c9fb134629745cbf656ad192709195946b6bdad35684c6bd4573c [INFO] running `Command { std: "docker" "start" "-a" "21f8046d102c9fb134629745cbf656ad192709195946b6bdad35684c6bd4573c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking webserv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/config/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/http/response.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/config/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/http/response.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/mod.rs:264:37 [INFO] [stdout] | [INFO] [stdout] 264 | ... let mut response = if let Some(error_page_path) = server_config.error_pages.get(&413) { [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: variable does not need to be mutable [INFO] [stdout] --> src/cgi/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let mut child = command [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `disposition` [INFO] [stdout] --> src/static_handler.rs:290:25 [INFO] [stdout] | [INFO] [stdout] 290 | if let Some(disposition) = part.find("Content-Disposition:") { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_disposition` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerLocation` is never constructed [INFO] [stdout] --> src/config/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ServerLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_file` is never read [INFO] [stdout] --> src/config/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct RouteConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub default_file: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouteConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_route_config` and `start_cgi_for_client` are never used [INFO] [stdout] --> src/server/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl WebServer { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | fn find_route_config<'a>(&self, server_config: &'a ServerConfig, path: &str) -> Option<&'a crate::config::RouteConfig> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 616 | fn start_cgi_for_client(&mut self, client_fd: RawFd, cgi_req: CgiRequest) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `query_params`, and `cookies` are never read [INFO] [stdout] --> src/http/request.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HttpRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub version: HttpVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub query_params: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub cookies: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/http/request.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl HttpRequest { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn has_header(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn content_type(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn host(&self) -> Option<&String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn user_agent(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn is_keep_alive(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn expects_continue(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn is_chunked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn get_cookie(&self, name: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn get_query_param(&self, name: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_header`, `set_body_string`, and `content_type_from_extension` are never used [INFO] [stdout] --> src/http/response.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl HttpResponse { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get_header(&self, name: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn set_body_string(&mut self, body: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn content_type_from_extension(extension: &str) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_informational`, `is_success`, `is_redirection`, `is_client_error`, and `is_server_error` are never used [INFO] [stdout] --> src/http/status.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl StatusCode { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn is_informational(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn is_success(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn is_redirection(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn is_client_error(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn is_server_error(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout_seconds` is never read [INFO] [stdout] --> src/cgi/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CgiHandler { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | pub timeout_seconds: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_nonblocking` is never used [INFO] [stdout] --> src/cgi/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl CgiHandler { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn start_nonblocking(&self, request: CgiRequest) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format_file_size` is never used [INFO] [stdout] --> src/static_handler.rs:524:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl StaticFileHandler { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 524 | fn format_file_size(&self, bytes: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/mod.rs:264:37 [INFO] [stdout] | [INFO] [stdout] 264 | ... let mut response = if let Some(error_page_path) = server_config.error_pages.get(&413) { [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: variable does not need to be mutable [INFO] [stdout] --> src/cgi/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let mut child = command [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `disposition` [INFO] [stdout] --> src/static_handler.rs:290:25 [INFO] [stdout] | [INFO] [stdout] 290 | if let Some(disposition) = part.find("Content-Disposition:") { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_disposition` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerLocation` is never constructed [INFO] [stdout] --> src/config/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ServerLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_file` is never read [INFO] [stdout] --> src/config/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct RouteConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub default_file: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouteConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_route_config` and `start_cgi_for_client` are never used [INFO] [stdout] --> src/server/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl WebServer { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | fn find_route_config<'a>(&self, server_config: &'a ServerConfig, path: &str) -> Option<&'a crate::config::RouteConfig> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 616 | fn start_cgi_for_client(&mut self, client_fd: RawFd, cgi_req: CgiRequest) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `query_params`, and `cookies` are never read [INFO] [stdout] --> src/http/request.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HttpRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub version: HttpVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub query_params: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub cookies: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/http/request.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl HttpRequest { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn has_header(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn content_type(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn host(&self) -> Option<&String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn user_agent(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn is_keep_alive(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn expects_continue(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn is_chunked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn get_cookie(&self, name: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn get_query_param(&self, name: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_header`, `set_body_string`, and `content_type_from_extension` are never used [INFO] [stdout] --> src/http/response.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl HttpResponse { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get_header(&self, name: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn set_body_string(&mut self, body: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn content_type_from_extension(extension: &str) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_informational`, `is_success`, `is_redirection`, `is_client_error`, and `is_server_error` are never used [INFO] [stdout] --> src/http/status.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl StatusCode { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn is_informational(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn is_success(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn is_redirection(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn is_client_error(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn is_server_error(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout_seconds` is never read [INFO] [stdout] --> src/cgi/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CgiHandler { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | pub timeout_seconds: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_nonblocking` is never used [INFO] [stdout] --> src/cgi/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl CgiHandler { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn start_nonblocking(&self, request: CgiRequest) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format_file_size` is never used [INFO] [stdout] --> src/static_handler.rs:524:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl StaticFileHandler { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 524 | fn format_file_size(&self, bytes: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.01s [INFO] running `Command { std: "docker" "inspect" "21f8046d102c9fb134629745cbf656ad192709195946b6bdad35684c6bd4573c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21f8046d102c9fb134629745cbf656ad192709195946b6bdad35684c6bd4573c", kill_on_drop: false }` [INFO] [stdout] 21f8046d102c9fb134629745cbf656ad192709195946b6bdad35684c6bd4573c