[INFO] cloning repository https://github.com/xinluw/rust-nginx
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xinluw/rust-nginx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinluw%2Frust-nginx", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinluw%2Frust-nginx'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4427e26ee04978b669e1951d39b62289ac898f0b
[INFO] checking xinluw/rust-nginx/4427e26ee04978b669e1951d39b62289ac898f0b against f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8 for pr-164277
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinluw%2Frust-nginx" "/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/xinluw/rust-nginx
[INFO] finished tweaking git repo https://github.com/xinluw/rust-nginx
[INFO] tweaked toml for git repo https://github.com/xinluw/rust-nginx written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/xinluw/rust-nginx on toolchain f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/xinluw/rust-nginx 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" "+f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows-service v0.7.0
[INFO] [stderr]   Downloaded signal-hook-tokio v0.3.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e816378428e76af9320076479cf65bd6bb071a7c765d47687efe9583ccd40ccb
[INFO] running `Command { std: "docker" "start" "e816378428e76af9320076479cf65bd6bb071a7c765d47687efe9583ccd40ccb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e816378428e76af9320076479cf65bd6bb071a7c765d47687efe9583ccd40ccb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e816378428e76af9320076479cf65bd6bb071a7c765d47687efe9583ccd40ccb" "/opt/rustwide/cargo-home/bin/cargo" "+f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e816378428e76af9320076479cf65bd6bb071a7c765d47687efe9583ccd40ccb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e816378428e76af9320076479cf65bd6bb071a7c765d47687efe9583ccd40ccb" "/opt/rustwide/cargo-home/bin/cargo" "+f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]    Compiling aws-lc-rs v1.17.0
[INFO] [stderr]     Checking log v0.4.32
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking socket2 v0.6.4
[INFO] [stderr]     Checking mio v1.2.1
[INFO] [stderr]    Compiling cc v1.2.63
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking simd-adler32 v0.3.9
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking memchr v2.8.2
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking chrono v0.4.45
[INFO] [stderr]     Checking serde_json v1.0.150
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling aws-lc-sys v0.41.0
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking signal-hook-tokio v0.3.1
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking rust-nginx v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/config/ast.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]  --> src/config/directives.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::ast::{Block, Value};
[INFO] [stdout]   |                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `warn`
[INFO] [stdout]  --> src/core/pipeline.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tracing::{debug, warn};
[INFO] [stdout]   |               ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/core/worker.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{info, warn, error, debug};
[INFO] [stdout]   |                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::core::connection::Connection`
[INFO] [stdout]  --> src/core/worker.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::core::connection::Connection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]   --> src/core/mod.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tracing::{info, warn, error};
[INFO] [stdout]    |                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]    --> src/handler/error_page.rs:261:9
[INFO] [stdout]     |
[INFO] [stdout] 261 |     use std::io::Write;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::http::response::Response`
[INFO] [stdout]   --> src/handler/index.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::http::response::Response;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::http::status::HttpStatusCode`
[INFO] [stdout]   --> src/handler/index.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::http::status::HttpStatusCode;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `info` and `warn`
[INFO] [stdout]  --> src/proxy/health_check.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{info, warn, debug};
[INFO] [stdout]   |               ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]   --> src/proxy/mod.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tracing::{warn, debug};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rustls::ServerConfig`
[INFO] [stdout]  --> src/tls/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rustls::ServerConfig;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/config/ast.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]  --> src/config/directives.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::ast::{Block, Value};
[INFO] [stdout]   |                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `warn`
[INFO] [stdout]  --> src/core/pipeline.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tracing::{debug, warn};
[INFO] [stdout]   |               ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/core/worker.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{info, warn, error, debug};
[INFO] [stdout]   |                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::core::connection::Connection`
[INFO] [stdout]  --> src/core/worker.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::core::connection::Connection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]   --> src/core/mod.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tracing::{info, warn, error};
[INFO] [stdout]    |                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::http::response::Response`
[INFO] [stdout]   --> src/handler/index.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::http::response::Response;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::http::status::HttpStatusCode`
[INFO] [stdout]   --> src/handler/index.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::http::status::HttpStatusCode;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `info` and `warn`
[INFO] [stdout]  --> src/proxy/health_check.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{info, warn, debug};
[INFO] [stdout]   |               ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]   --> src/proxy/mod.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tracing::{warn, debug};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rustls::ServerConfig`
[INFO] [stdout]  --> src/tls/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rustls::ServerConfig;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/util/signal.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut signals = Signals::new([SIGHUP, SIGINT, SIGTERM, SIGUSR1])
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/util/signal.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut signals = Signals::new([SIGHUP, SIGINT, SIGTERM, SIGUSR1])
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `source` found for enum `connection::ConnectionError` in the current scope
[INFO] [stdout]    --> src/core/connection.rs:840:21
[INFO] [stdout]     |
[INFO] [stdout] 200 | pub enum ConnectionError {
[INFO] [stdout]     | ------------------------ method `source` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 840 |         assert!(err.source().is_some());
[INFO] [stdout]     |                     ^^^^^^ method not found in `connection::ConnectionError`
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8/library/core/src/error.rs:111:7
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method is available for `connection::ConnectionError` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Error` which provides `source` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 779 +     use std::error::Error;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `source` found for enum `connection::ConnectionError` in the current scope
[INFO] [stdout]    --> src/core/connection.rs:846:21
[INFO] [stdout]     |
[INFO] [stdout] 200 | pub enum ConnectionError {
[INFO] [stdout]     | ------------------------ method `source` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 846 |         assert!(err.source().is_none());
[INFO] [stdout]     |                     ^^^^^^ method not found in `connection::ConnectionError`
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8/library/core/src/error.rs:111:7
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method is available for `connection::ConnectionError` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Error` which provides `source` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 779 +     use std::error::Error;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::fetch_update`: renamed to `try_update` for consistency
[INFO] [stdout]    --> src/proxy/load_balance.rs:162:18
[INFO] [stdout]     |
[INFO] [stdout] 162 |             slot.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |v| {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 162 -             slot.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |v| {
[INFO] [stdout] 162 +             slot.try_update(Ordering::Relaxed, Ordering::Relaxed, |v| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result<(request::Request, usize), request::ParseError>`
[INFO] [stdout]    --> src/http/request.rs:617:9
[INFO] [stdout]     |
[INFO] [stdout] 617 |         assert_eq!(Request::parse(data), Err(ParseError::Incomplete));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         Result<(request::Request, usize), request::ParseError>
[INFO] [stdout]     |         Result<_, request::ParseError>
[INFO] [stdout]     |
[INFO] [stdout] note: `Result<(request::Request, usize), request::ParseError>` does not implement `PartialEq<Result<_, request::ParseError>>`
[INFO] [stdout]    --> /rustc/f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8/library/core/src/result.rs:558:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Result<(request::Request, usize), request::ParseError>` is defined in another crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result<(request::Request, usize), request::ParseError>`
[INFO] [stdout]    --> src/http/request.rs:632:9
[INFO] [stdout]     |
[INFO] [stdout] 632 |         assert_eq!(Request::parse(data), Err(ParseError::InvalidMethod));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         Result<(request::Request, usize), request::ParseError>
[INFO] [stdout]     |         Result<_, request::ParseError>
[INFO] [stdout]     |
[INFO] [stdout] note: `Result<(request::Request, usize), request::ParseError>` does not implement `PartialEq<Result<_, request::ParseError>>`
[INFO] [stdout]    --> /rustc/f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8/library/core/src/result.rs:558:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Result<(request::Request, usize), request::ParseError>` is defined in another crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result<(request::Request, usize), request::ParseError>`
[INFO] [stdout]    --> src/http/request.rs:638:9
[INFO] [stdout]     |
[INFO] [stdout] 638 |         assert_eq!(Request::parse(data), Err(ParseError::InvalidVersion));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         Result<(request::Request, usize), request::ParseError>
[INFO] [stdout]     |         Result<_, request::ParseError>
[INFO] [stdout]     |
[INFO] [stdout] note: `Result<(request::Request, usize), request::ParseError>` does not implement `PartialEq<Result<_, request::ParseError>>`
[INFO] [stdout]    --> /rustc/f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8/library/core/src/result.rs:558:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Result<(request::Request, usize), request::ParseError>` is defined in another crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result<(request::Request, usize), request::ParseError>`
[INFO] [stdout]    --> src/http/request.rs:644:9
[INFO] [stdout]     |
[INFO] [stdout] 644 |         assert_eq!(Request::parse(data), Err(ParseError::MalformedRequestLine));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         Result<(request::Request, usize), request::ParseError>
[INFO] [stdout]     |         Result<_, request::ParseError>
[INFO] [stdout]     |
[INFO] [stdout] note: `Result<(request::Request, usize), request::ParseError>` does not implement `PartialEq<Result<_, request::ParseError>>`
[INFO] [stdout]    --> /rustc/f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8/library/core/src/result.rs:558:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Result<(request::Request, usize), request::ParseError>` is defined in another crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::fetch_update`: renamed to `try_update` for consistency
[INFO] [stdout]    --> src/proxy/load_balance.rs:162:18
[INFO] [stdout]     |
[INFO] [stdout] 162 |             slot.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |v| {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 162 -             slot.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |v| {
[INFO] [stdout] 162 +             slot.try_update(Ordering::Relaxed, Ordering::Relaxed, |v| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/core/worker.rs:72:33
[INFO] [stdout]    |
[INFO] [stdout] 72 | ...                   let config = self.config.clone();
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shutdown_rx`
[INFO] [stdout]   --> src/core/worker.rs:75:33
[INFO] [stdout]    |
[INFO] [stdout] 75 | ...                   let shutdown_rx = shutdown_rx.resubscribe();
[INFO] [stdout]    |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/core/worker.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 146 |     addr: std::net::SocketAddr,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signals`
[INFO] [stdout]   --> src/util/signal.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut signals = Signals::new([SIGHUP, SIGINT, SIGTERM, SIGUSR1])
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_config`
[INFO] [stdout]    --> src/core/mod.rs:123:26
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn reload(&self, new_config: ParsedConfig) {
[INFO] [stdout]     |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `WeightedRoundRobin` found for enum `load_balance::Algorithm` in the current scope
[INFO] [stdout]    --> src/proxy/upstream.rs:564:66
[INFO] [stdout]     |
[INFO] [stdout] 564 |         let pool = UpstreamPool::new("test", servers, Algorithm::WeightedRoundRobin);
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `load_balance::Algorithm`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/proxy/load_balance.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout]  21 | pub enum Algorithm {
[INFO] [stdout]     | ------------------ variant, associated function, or constant `WeightedRoundRobin` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `error_handler` is never read
[INFO] [stdout]   --> src/core/pipeline.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct PipelineProcessor {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     error_handler: ErrorPageHandler,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CT_CSS` is never used
[INFO] [stdout]   --> src/handler/static_file.rs:64:7
[INFO] [stdout]    |
[INFO] [stdout] 64 | const CT_CSS: &str = "text/css";
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CT_JS` is never used
[INFO] [stdout]   --> src/handler/static_file.rs:65:7
[INFO] [stdout]    |
[INFO] [stdout] 65 | const CT_JS: &str = "application/javascript";
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CT_JSON` is never used
[INFO] [stdout]   --> src/handler/static_file.rs:66:7
[INFO] [stdout]    |
[INFO] [stdout] 66 | const CT_JSON: &str = "application/json";
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CT_PLAIN` is never used
[INFO] [stdout]   --> src/handler/static_file.rs:67:7
[INFO] [stdout]    |
[INFO] [stdout] 67 | const CT_PLAIN: &str = "text/plain";
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CT_OCTET` is never used
[INFO] [stdout]   --> src/handler/static_file.rs:68:7
[INFO] [stdout]    |
[INFO] [stdout] 68 | const CT_OCTET: &str = "application/octet-stream";
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `timeout` and `method` are never read
[INFO] [stdout]   --> src/proxy/health_check.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct HealthChecker {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 18 |     interval: Duration,
[INFO] [stdout] 19 |     timeout: Duration,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 20 |     _threshold: u32,
[INFO] [stdout] 21 |     method: CheckMethod,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CACHE_CONTROL` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:782:5
[INFO] [stdout]     |
[INFO] [stdout] 782 |     CACHE_CONTROL        => "Cache-Control",
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `cache_control`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CONNECTION` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:783:5
[INFO] [stdout]     |
[INFO] [stdout] 783 |     CONNECTION           => "Connection",
[INFO] [stdout]     |     ^^^^^^^^^^ help: convert the identifier to snake case: `connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `DATE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:784:5
[INFO] [stdout]     |
[INFO] [stdout] 784 |     DATE                 => "Date",
[INFO] [stdout]     |     ^^^^ help: convert the identifier to snake case: `date`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `PRAGMA` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:785:5
[INFO] [stdout]     |
[INFO] [stdout] 785 |     PRAGMA               => "Pragma",
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to snake case: `pragma`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `TRAILER` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:786:5
[INFO] [stdout]     |
[INFO] [stdout] 786 |     TRAILER              => "Trailer",
[INFO] [stdout]     |     ^^^^^^^ help: convert the identifier to snake case: `trailer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `TRANSFER_ENCODING` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:787:5
[INFO] [stdout]     |
[INFO] [stdout] 787 |     TRANSFER_ENCODING    => "Transfer-Encoding",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transfer_encoding`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `UPGRADE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:788:5
[INFO] [stdout]     |
[INFO] [stdout] 788 |     UPGRADE              => "Upgrade",
[INFO] [stdout]     |     ^^^^^^^ help: convert the identifier to snake case: `upgrade`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `VIA` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:789:5
[INFO] [stdout]     |
[INFO] [stdout] 789 |     VIA                  => "Via",
[INFO] [stdout]     |     ^^^ help: convert the identifier to snake case: `via`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `WARNING` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:790:5
[INFO] [stdout]     |
[INFO] [stdout] 790 |     WARNING              => "Warning",
[INFO] [stdout]     |     ^^^^^^^ help: convert the identifier to snake case: `warning`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ACCEPT` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:793:5
[INFO] [stdout]     |
[INFO] [stdout] 793 |     ACCEPT               => "Accept",
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to snake case: `accept`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ACCEPT_CHARSET` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:794:5
[INFO] [stdout]     |
[INFO] [stdout] 794 |     ACCEPT_CHARSET       => "Accept-Charset",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accept_charset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ACCEPT_ENCODING` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:795:5
[INFO] [stdout]     |
[INFO] [stdout] 795 |     ACCEPT_ENCODING      => "Accept-Encoding",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accept_encoding`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ACCEPT_LANGUAGE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:796:5
[INFO] [stdout]     |
[INFO] [stdout] 796 |     ACCEPT_LANGUAGE      => "Accept-Language",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accept_language`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `AUTHORIZATION` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:797:5
[INFO] [stdout]     |
[INFO] [stdout] 797 |     AUTHORIZATION        => "Authorization",
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `authorization`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `COOKIE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:798:5
[INFO] [stdout]     |
[INFO] [stdout] 798 |     COOKIE               => "Cookie",
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to snake case: `cookie`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `EXPECT` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:799:5
[INFO] [stdout]     |
[INFO] [stdout] 799 |     EXPECT               => "Expect",
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to snake case: `expect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `FROM` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:800:5
[INFO] [stdout]     |
[INFO] [stdout] 800 |     FROM                 => "From",
[INFO] [stdout]     |     ^^^^ help: convert the identifier to snake case: `from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `HOST` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:801:5
[INFO] [stdout]     |
[INFO] [stdout] 801 |     HOST                 => "Host",
[INFO] [stdout]     |     ^^^^ help: convert the identifier to snake case: `host`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `IF_MATCH` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:802:5
[INFO] [stdout]     |
[INFO] [stdout] 802 |     IF_MATCH             => "If-Match",
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to snake case: `if_match`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `IF_MODIFIED_SINCE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:803:5
[INFO] [stdout]     |
[INFO] [stdout] 803 |     IF_MODIFIED_SINCE    => "If-Modified-Since",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `if_modified_since`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `IF_NONE_MATCH` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:804:5
[INFO] [stdout]     |
[INFO] [stdout] 804 |     IF_NONE_MATCH        => "If-None-Match",
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `if_none_match`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `IF_RANGE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:805:5
[INFO] [stdout]     |
[INFO] [stdout] 805 |     IF_RANGE             => "If-Range",
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to snake case: `if_range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `IF_UNMODIFIED_SINCE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:806:5
[INFO] [stdout]     |
[INFO] [stdout] 806 |     IF_UNMODIFIED_SINCE  => "If-Unmodified-Since",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `if_unmodified_since`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `MAX_FORWARDS` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:807:5
[INFO] [stdout]     |
[INFO] [stdout] 807 |     MAX_FORWARDS         => "Max-Forwards",
[INFO] [stdout]     |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `max_forwards`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `PROXY_AUTHORIZATION` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:808:5
[INFO] [stdout]     |
[INFO] [stdout] 808 |     PROXY_AUTHORIZATION  => "Proxy-Authorization",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `proxy_authorization`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `RANGE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:809:5
[INFO] [stdout]     |
[INFO] [stdout] 809 |     RANGE                => "Range",
[INFO] [stdout]     |     ^^^^^ help: convert the identifier to snake case: `range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `REFERER` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:810:5
[INFO] [stdout]     |
[INFO] [stdout] 810 |     REFERER              => "Referer",
[INFO] [stdout]     |     ^^^^^^^ help: convert the identifier to snake case: `referer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `TE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:811:5
[INFO] [stdout]     |
[INFO] [stdout] 811 |     TE                   => "TE",
[INFO] [stdout]     |     ^^ help: convert the identifier to snake case: `te`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `USER_AGENT` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:812:5
[INFO] [stdout]     |
[INFO] [stdout] 812 |     USER_AGENT           => "User-Agent",
[INFO] [stdout]     |     ^^^^^^^^^^ help: convert the identifier to snake case: `user_agent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ACCEPT_RANGES` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:815:5
[INFO] [stdout]     |
[INFO] [stdout] 815 |     ACCEPT_RANGES        => "Accept-Ranges",
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `accept_ranges`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `AGE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:816:5
[INFO] [stdout]     |
[INFO] [stdout] 816 |     AGE                  => "Age",
[INFO] [stdout]     |     ^^^ help: convert the identifier to snake case: `age`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ALLOW` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:817:5
[INFO] [stdout]     |
[INFO] [stdout] 817 |     ALLOW                => "Allow",
[INFO] [stdout]     |     ^^^^^ help: convert the identifier to snake case: `allow`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CONTENT_ENCODING` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:818:5
[INFO] [stdout]     |
[INFO] [stdout] 818 |     CONTENT_ENCODING     => "Content-Encoding",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `content_encoding`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CONTENT_LANGUAGE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:819:5
[INFO] [stdout]     |
[INFO] [stdout] 819 |     CONTENT_LANGUAGE     => "Content-Language",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `content_language`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CONTENT_LENGTH` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:820:5
[INFO] [stdout]     |
[INFO] [stdout] 820 |     CONTENT_LENGTH       => "Content-Length",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `content_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CONTENT_LOCATION` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:821:5
[INFO] [stdout]     |
[INFO] [stdout] 821 |     CONTENT_LOCATION     => "Content-Location",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `content_location`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CONTENT_RANGE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:822:5
[INFO] [stdout]     |
[INFO] [stdout] 822 |     CONTENT_RANGE        => "Content-Range",
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `content_range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CONTENT_TYPE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:823:5
[INFO] [stdout]     |
[INFO] [stdout] 823 |     CONTENT_TYPE         => "Content-Type",
[INFO] [stdout]     |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `content_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ETAG` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:824:5
[INFO] [stdout]     |
[INFO] [stdout] 824 |     ETAG                 => "ETag",
[INFO] [stdout]     |     ^^^^ help: convert the identifier to snake case: `etag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `EXPIRES` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:825:5
[INFO] [stdout]     |
[INFO] [stdout] 825 |     EXPIRES              => "Expires",
[INFO] [stdout]     |     ^^^^^^^ help: convert the identifier to snake case: `expires`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `LAST_MODIFIED` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:826:5
[INFO] [stdout]     |
[INFO] [stdout] 826 |     LAST_MODIFIED        => "Last-Modified",
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_modified`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `LOCATION` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:827:5
[INFO] [stdout]     |
[INFO] [stdout] 827 |     LOCATION             => "Location",
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to snake case: `location`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `PROXY_AUTHENTICATE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:828:5
[INFO] [stdout]     |
[INFO] [stdout] 828 |     PROXY_AUTHENTICATE   => "Proxy-Authenticate",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `proxy_authenticate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `RETRY_AFTER` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:829:5
[INFO] [stdout]     |
[INFO] [stdout] 829 |     RETRY_AFTER          => "Retry-After",
[INFO] [stdout]     |     ^^^^^^^^^^^ help: convert the identifier to snake case: `retry_after`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `SERVER` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:830:5
[INFO] [stdout]     |
[INFO] [stdout] 830 |     SERVER               => "Server",
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to snake case: `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `SET_COOKIE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:831:5
[INFO] [stdout]     |
[INFO] [stdout] 831 |     SET_COOKIE           => "Set-Cookie",
[INFO] [stdout]     |     ^^^^^^^^^^ help: convert the identifier to snake case: `set_cookie`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `VARY` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:832:5
[INFO] [stdout]     |
[INFO] [stdout] 832 |     VARY                 => "Vary",
[INFO] [stdout]     |     ^^^^ help: convert the identifier to snake case: `vary`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `WWW_AUTHENTICATE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:833:5
[INFO] [stdout]     |
[INFO] [stdout] 833 |     WWW_AUTHENTICATE     => "WWW-Authenticate",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `www_authenticate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/core/worker.rs:72:33
[INFO] [stdout]    |
[INFO] [stdout] 72 | ...                   let config = self.config.clone();
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shutdown_rx`
[INFO] [stdout]   --> src/core/worker.rs:75:33
[INFO] [stdout]    |
[INFO] [stdout] 75 | ...                   let shutdown_rx = shutdown_rx.resubscribe();
[INFO] [stdout]    |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/core/worker.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 146 |     addr: std::net::SocketAddr,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signals`
[INFO] [stdout]   --> src/util/signal.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut signals = Signals::new([SIGHUP, SIGINT, SIGTERM, SIGUSR1])
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_config`
[INFO] [stdout]    --> src/core/mod.rs:123:26
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn reload(&self, new_config: ParsedConfig) {
[INFO] [stdout]     |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]    --> src/handler/error_page.rs:335:13
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let response = ErrorPageHandler::default_error_page(HttpStatusCode::NOT_FOUND);
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `HeaderValue` with `str`
[INFO] [stdout]    --> tests/http_test.rs:15:5
[INFO] [stdout]     |
[INFO] [stdout]  15 |     assert_eq!(request.headers.get("host").unwrap(), "example.com");
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `HeaderValue == str`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `PartialEq<str>` is not implemented for `HeaderValue`
[INFO] [stdout] help: `HeaderValue` implements trait `PartialEq<Rhs>`
[INFO] [stdout]    --> src/http/headers.rs:160:24
[INFO] [stdout]     |
[INFO] [stdout] 160 | #[derive(Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^ `PartialEq`
[INFO] [stdout] ...
[INFO] [stdout] 281 | impl PartialEq<&str> for HeaderValue {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `PartialEq<&str>`
[INFO] [stdout]     = note: required for `&HeaderValue` to implement `PartialEq<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `body` found for struct `ResponseBuilder` in the current scope
[INFO] [stdout]   --> tests/http_test.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let response = Response::builder()
[INFO] [stdout] 49 |         .status(HttpStatusCode::OK)
[INFO] [stdout] 50 |         .header("Content-Type", "text/html")
[INFO] [stdout] 51 |         .body(b"<h1>Hello</h1>".to_vec());
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `body_str` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 51 |         .body_str(b"<h1>Hello</h1>".to_vec());
[INFO] [stdout]    |              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `HeaderValue` with `str`
[INFO] [stdout]    --> tests/http_test.rs:62:5
[INFO] [stdout]     |
[INFO] [stdout]  62 |     assert_eq!(headers.get("content-type").unwrap(), "text/html");
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `HeaderValue == str`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `PartialEq<str>` is not implemented for `HeaderValue`
[INFO] [stdout] help: `HeaderValue` implements trait `PartialEq<Rhs>`
[INFO] [stdout]    --> src/http/headers.rs:160:24
[INFO] [stdout]     |
[INFO] [stdout] 160 | #[derive(Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^ `PartialEq`
[INFO] [stdout] ...
[INFO] [stdout] 281 | impl PartialEq<&str> for HeaderValue {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `PartialEq<&str>`
[INFO] [stdout]     = note: required for `&HeaderValue` to implement `PartialEq<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: can't compare `HeaderValue` with `str`
[INFO] [stdout]    --> tests/http_test.rs:63:5
[INFO] [stdout]     |
[INFO] [stdout]  63 |     assert_eq!(headers.get("content-length").unwrap(), "100");
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `HeaderValue == str`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `PartialEq<str>` is not implemented for `HeaderValue`
[INFO] [stdout] help: `HeaderValue` implements trait `PartialEq<Rhs>`
[INFO] [stdout]    --> src/http/headers.rs:160:24
[INFO] [stdout]     |
[INFO] [stdout] 160 | #[derive(Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^ `PartialEq`
[INFO] [stdout] ...
[INFO] [stdout] 281 | impl PartialEq<&str> for HeaderValue {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `PartialEq<&str>`
[INFO] [stdout]     = note: required for `&HeaderValue` to implement `PartialEq<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> tests/http_test.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let result = parser.feed(data);
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> tests/http_test.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let result = parser.feed(b"GET / HTTP/1.1\r\n");
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> tests/http_test.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let result = parser.feed(b"Host: example.com\r\n\r\n");
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-nginx` (test "http_test") due to 4 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/config/ast.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]  --> src/config/directives.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::ast::{Block, Value};
[INFO] [stdout]   |                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `warn`
[INFO] [stdout]  --> src/core/pipeline.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tracing::{debug, warn};
[INFO] [stdout]   |               ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/core/worker.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{info, warn, error, debug};
[INFO] [stdout]   |                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::core::connection::Connection`
[INFO] [stdout]  --> src/core/worker.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::core::connection::Connection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]   --> src/core/mod.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tracing::{info, warn, error};
[INFO] [stdout]    |                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::http::response::Response`
[INFO] [stdout]   --> src/handler/index.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::http::response::Response;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::http::status::HttpStatusCode`
[INFO] [stdout]   --> src/handler/index.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::http::status::HttpStatusCode;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `info` and `warn`
[INFO] [stdout]  --> src/proxy/health_check.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{info, warn, debug};
[INFO] [stdout]   |               ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]   --> src/proxy/mod.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tracing::{warn, debug};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rustls::ServerConfig`
[INFO] [stdout]  --> src/tls/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rustls::ServerConfig;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/proxy/upstream.rs:469:13
[INFO] [stdout]     |
[INFO] [stdout] 469 |         let mut ports: Vec<u16> = (0..6).filter_map(|_| pool.next().map(|s| s.addr.port())).collect();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0369, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0369`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-nginx` (lib test) due to 7 previous errors; 21 warnings emitted
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/config/ast.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]  --> src/config/directives.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::ast::{Block, Value};
[INFO] [stdout]   |                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `warn`
[INFO] [stdout]  --> src/core/pipeline.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tracing::{debug, warn};
[INFO] [stdout]   |               ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/core/worker.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{info, warn, error, debug};
[INFO] [stdout]   |                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::core::connection::Connection`
[INFO] [stdout]  --> src/core/worker.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::core::connection::Connection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]   --> src/core/mod.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tracing::{info, warn, error};
[INFO] [stdout]    |                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]    --> src/handler/error_page.rs:261:9
[INFO] [stdout]     |
[INFO] [stdout] 261 |     use std::io::Write;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::http::response::Response`
[INFO] [stdout]   --> src/handler/index.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::http::response::Response;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::http::status::HttpStatusCode`
[INFO] [stdout]   --> src/handler/index.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::http::status::HttpStatusCode;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `info` and `warn`
[INFO] [stdout]  --> src/proxy/health_check.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{info, warn, debug};
[INFO] [stdout]   |               ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]   --> src/proxy/mod.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tracing::{warn, debug};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rustls::ServerConfig`
[INFO] [stdout]  --> src/tls/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rustls::ServerConfig;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/util/signal.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut signals = Signals::new([SIGHUP, SIGINT, SIGTERM, SIGUSR1])
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/util/signal.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut signals = Signals::new([SIGHUP, SIGINT, SIGTERM, SIGUSR1])
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::fetch_update`: renamed to `try_update` for consistency
[INFO] [stdout]    --> src/proxy/load_balance.rs:162:18
[INFO] [stdout]     |
[INFO] [stdout] 162 |             slot.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |v| {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 162 -             slot.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |v| {
[INFO] [stdout] 162 +             slot.try_update(Ordering::Relaxed, Ordering::Relaxed, |v| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `source` found for enum `connection::ConnectionError` in the current scope
[INFO] [stdout]    --> src/core/connection.rs:840:21
[INFO] [stdout]     |
[INFO] [stdout] 200 | pub enum ConnectionError {
[INFO] [stdout]     | ------------------------ method `source` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 840 |         assert!(err.source().is_some());
[INFO] [stdout]     |                     ^^^^^^ method not found in `connection::ConnectionError`
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8/library/core/src/error.rs:111:7
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method is available for `connection::ConnectionError` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Error` which provides `source` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 779 +     use std::error::Error;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `source` found for enum `connection::ConnectionError` in the current scope
[INFO] [stdout]    --> src/core/connection.rs:846:21
[INFO] [stdout]     |
[INFO] [stdout] 200 | pub enum ConnectionError {
[INFO] [stdout]     | ------------------------ method `source` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 846 |         assert!(err.source().is_none());
[INFO] [stdout]     |                     ^^^^^^ method not found in `connection::ConnectionError`
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8/library/core/src/error.rs:111:7
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method is available for `connection::ConnectionError` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Error` which provides `source` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 779 +     use std::error::Error;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/core/worker.rs:72:33
[INFO] [stdout]    |
[INFO] [stdout] 72 | ...                   let config = self.config.clone();
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shutdown_rx`
[INFO] [stdout]   --> src/core/worker.rs:75:33
[INFO] [stdout]    |
[INFO] [stdout] 75 | ...                   let shutdown_rx = shutdown_rx.resubscribe();
[INFO] [stdout]    |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/core/worker.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 146 |     addr: std::net::SocketAddr,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signals`
[INFO] [stdout]   --> src/util/signal.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut signals = Signals::new([SIGHUP, SIGINT, SIGTERM, SIGUSR1])
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_config`
[INFO] [stdout]    --> src/core/mod.rs:123:26
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn reload(&self, new_config: ParsedConfig) {
[INFO] [stdout]     |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result<(request::Request, usize), request::ParseError>`
[INFO] [stdout]    --> src/http/request.rs:617:9
[INFO] [stdout]     |
[INFO] [stdout] 617 |         assert_eq!(Request::parse(data), Err(ParseError::Incomplete));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         Result<(request::Request, usize), request::ParseError>
[INFO] [stdout]     |         Result<_, request::ParseError>
[INFO] [stdout]     |
[INFO] [stdout] note: `Result<(request::Request, usize), request::ParseError>` does not implement `PartialEq<Result<_, request::ParseError>>`
[INFO] [stdout]    --> /rustc/f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8/library/core/src/result.rs:558:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Result<(request::Request, usize), request::ParseError>` is defined in another crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result<(request::Request, usize), request::ParseError>`
[INFO] [stdout]    --> src/http/request.rs:632:9
[INFO] [stdout]     |
[INFO] [stdout] 632 |         assert_eq!(Request::parse(data), Err(ParseError::InvalidMethod));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         Result<(request::Request, usize), request::ParseError>
[INFO] [stdout]     |         Result<_, request::ParseError>
[INFO] [stdout]     |
[INFO] [stdout] note: `Result<(request::Request, usize), request::ParseError>` does not implement `PartialEq<Result<_, request::ParseError>>`
[INFO] [stdout]    --> /rustc/f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8/library/core/src/result.rs:558:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Result<(request::Request, usize), request::ParseError>` is defined in another crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result<(request::Request, usize), request::ParseError>`
[INFO] [stdout]    --> src/http/request.rs:638:9
[INFO] [stdout]     |
[INFO] [stdout] 638 |         assert_eq!(Request::parse(data), Err(ParseError::InvalidVersion));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         Result<(request::Request, usize), request::ParseError>
[INFO] [stdout]     |         Result<_, request::ParseError>
[INFO] [stdout]     |
[INFO] [stdout] note: `Result<(request::Request, usize), request::ParseError>` does not implement `PartialEq<Result<_, request::ParseError>>`
[INFO] [stdout]    --> /rustc/f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8/library/core/src/result.rs:558:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Result<(request::Request, usize), request::ParseError>` is defined in another crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result<(request::Request, usize), request::ParseError>`
[INFO] [stdout]    --> src/http/request.rs:644:9
[INFO] [stdout]     |
[INFO] [stdout] 644 |         assert_eq!(Request::parse(data), Err(ParseError::MalformedRequestLine));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         Result<(request::Request, usize), request::ParseError>
[INFO] [stdout]     |         Result<_, request::ParseError>
[INFO] [stdout]     |
[INFO] [stdout] note: `Result<(request::Request, usize), request::ParseError>` does not implement `PartialEq<Result<_, request::ParseError>>`
[INFO] [stdout]    --> /rustc/f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8/library/core/src/result.rs:558:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Result<(request::Request, usize), request::ParseError>` is defined in another crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::fetch_update`: renamed to `try_update` for consistency
[INFO] [stdout]    --> src/proxy/load_balance.rs:162:18
[INFO] [stdout]     |
[INFO] [stdout] 162 |             slot.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |v| {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 162 -             slot.fetch_update(Ordering::Relaxed, Ordering::Relaxed, |v| {
[INFO] [stdout] 162 +             slot.try_update(Ordering::Relaxed, Ordering::Relaxed, |v| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_cork` is never used
[INFO] [stdout]    --> src/main.rs:441:4
[INFO] [stdout]     |
[INFO] [stdout] 441 | fn set_cork(stream: &tokio::net::TcpStream, on: bool) {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `error_handler` is never read
[INFO] [stdout]   --> src/core/pipeline.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct PipelineProcessor {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     error_handler: ErrorPageHandler,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CT_CSS` is never used
[INFO] [stdout]   --> src/handler/static_file.rs:64:7
[INFO] [stdout]    |
[INFO] [stdout] 64 | const CT_CSS: &str = "text/css";
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CT_JS` is never used
[INFO] [stdout]   --> src/handler/static_file.rs:65:7
[INFO] [stdout]    |
[INFO] [stdout] 65 | const CT_JS: &str = "application/javascript";
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CT_JSON` is never used
[INFO] [stdout]   --> src/handler/static_file.rs:66:7
[INFO] [stdout]    |
[INFO] [stdout] 66 | const CT_JSON: &str = "application/json";
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CT_PLAIN` is never used
[INFO] [stdout]   --> src/handler/static_file.rs:67:7
[INFO] [stdout]    |
[INFO] [stdout] 67 | const CT_PLAIN: &str = "text/plain";
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CT_OCTET` is never used
[INFO] [stdout]   --> src/handler/static_file.rs:68:7
[INFO] [stdout]    |
[INFO] [stdout] 68 | const CT_OCTET: &str = "application/octet-stream";
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `timeout` and `method` are never read
[INFO] [stdout]   --> src/proxy/health_check.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct HealthChecker {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 18 |     interval: Duration,
[INFO] [stdout] 19 |     timeout: Duration,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 20 |     _threshold: u32,
[INFO] [stdout] 21 |     method: CheckMethod,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CACHE_CONTROL` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:782:5
[INFO] [stdout]     |
[INFO] [stdout] 782 |     CACHE_CONTROL        => "Cache-Control",
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `cache_control`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CONNECTION` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:783:5
[INFO] [stdout]     |
[INFO] [stdout] 783 |     CONNECTION           => "Connection",
[INFO] [stdout]     |     ^^^^^^^^^^ help: convert the identifier to snake case: `connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `DATE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:784:5
[INFO] [stdout]     |
[INFO] [stdout] 784 |     DATE                 => "Date",
[INFO] [stdout]     |     ^^^^ help: convert the identifier to snake case: `date`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `PRAGMA` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:785:5
[INFO] [stdout]     |
[INFO] [stdout] 785 |     PRAGMA               => "Pragma",
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to snake case: `pragma`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `TRAILER` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:786:5
[INFO] [stdout]     |
[INFO] [stdout] 786 |     TRAILER              => "Trailer",
[INFO] [stdout]     |     ^^^^^^^ help: convert the identifier to snake case: `trailer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `TRANSFER_ENCODING` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:787:5
[INFO] [stdout]     |
[INFO] [stdout] 787 |     TRANSFER_ENCODING    => "Transfer-Encoding",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transfer_encoding`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `UPGRADE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:788:5
[INFO] [stdout]     |
[INFO] [stdout] 788 |     UPGRADE              => "Upgrade",
[INFO] [stdout]     |     ^^^^^^^ help: convert the identifier to snake case: `upgrade`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `VIA` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:789:5
[INFO] [stdout]     |
[INFO] [stdout] 789 |     VIA                  => "Via",
[INFO] [stdout]     |     ^^^ help: convert the identifier to snake case: `via`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `WARNING` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:790:5
[INFO] [stdout]     |
[INFO] [stdout] 790 |     WARNING              => "Warning",
[INFO] [stdout]     |     ^^^^^^^ help: convert the identifier to snake case: `warning`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ACCEPT` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:793:5
[INFO] [stdout]     |
[INFO] [stdout] 793 |     ACCEPT               => "Accept",
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to snake case: `accept`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ACCEPT_CHARSET` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:794:5
[INFO] [stdout]     |
[INFO] [stdout] 794 |     ACCEPT_CHARSET       => "Accept-Charset",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accept_charset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ACCEPT_ENCODING` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:795:5
[INFO] [stdout]     |
[INFO] [stdout] 795 |     ACCEPT_ENCODING      => "Accept-Encoding",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accept_encoding`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ACCEPT_LANGUAGE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:796:5
[INFO] [stdout]     |
[INFO] [stdout] 796 |     ACCEPT_LANGUAGE      => "Accept-Language",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `accept_language`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `AUTHORIZATION` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:797:5
[INFO] [stdout]     |
[INFO] [stdout] 797 |     AUTHORIZATION        => "Authorization",
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `authorization`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `COOKIE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:798:5
[INFO] [stdout]     |
[INFO] [stdout] 798 |     COOKIE               => "Cookie",
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to snake case: `cookie`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `EXPECT` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:799:5
[INFO] [stdout]     |
[INFO] [stdout] 799 |     EXPECT               => "Expect",
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to snake case: `expect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `FROM` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:800:5
[INFO] [stdout]     |
[INFO] [stdout] 800 |     FROM                 => "From",
[INFO] [stdout]     |     ^^^^ help: convert the identifier to snake case: `from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `HOST` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:801:5
[INFO] [stdout]     |
[INFO] [stdout] 801 |     HOST                 => "Host",
[INFO] [stdout]     |     ^^^^ help: convert the identifier to snake case: `host`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `IF_MATCH` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:802:5
[INFO] [stdout]     |
[INFO] [stdout] 802 |     IF_MATCH             => "If-Match",
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to snake case: `if_match`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `IF_MODIFIED_SINCE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:803:5
[INFO] [stdout]     |
[INFO] [stdout] 803 |     IF_MODIFIED_SINCE    => "If-Modified-Since",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `if_modified_since`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `IF_NONE_MATCH` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:804:5
[INFO] [stdout]     |
[INFO] [stdout] 804 |     IF_NONE_MATCH        => "If-None-Match",
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `if_none_match`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `IF_RANGE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:805:5
[INFO] [stdout]     |
[INFO] [stdout] 805 |     IF_RANGE             => "If-Range",
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to snake case: `if_range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `IF_UNMODIFIED_SINCE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:806:5
[INFO] [stdout]     |
[INFO] [stdout] 806 |     IF_UNMODIFIED_SINCE  => "If-Unmodified-Since",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `if_unmodified_since`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `MAX_FORWARDS` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:807:5
[INFO] [stdout]     |
[INFO] [stdout] 807 |     MAX_FORWARDS         => "Max-Forwards",
[INFO] [stdout]     |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `max_forwards`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `PROXY_AUTHORIZATION` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:808:5
[INFO] [stdout]     |
[INFO] [stdout] 808 |     PROXY_AUTHORIZATION  => "Proxy-Authorization",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `proxy_authorization`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `RANGE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:809:5
[INFO] [stdout]     |
[INFO] [stdout] 809 |     RANGE                => "Range",
[INFO] [stdout]     |     ^^^^^ help: convert the identifier to snake case: `range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `REFERER` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:810:5
[INFO] [stdout]     |
[INFO] [stdout] 810 |     REFERER              => "Referer",
[INFO] [stdout]     |     ^^^^^^^ help: convert the identifier to snake case: `referer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `TE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:811:5
[INFO] [stdout]     |
[INFO] [stdout] 811 |     TE                   => "TE",
[INFO] [stdout]     |     ^^ help: convert the identifier to snake case: `te`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `USER_AGENT` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:812:5
[INFO] [stdout]     |
[INFO] [stdout] 812 |     USER_AGENT           => "User-Agent",
[INFO] [stdout]     |     ^^^^^^^^^^ help: convert the identifier to snake case: `user_agent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ACCEPT_RANGES` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:815:5
[INFO] [stdout]     |
[INFO] [stdout] 815 |     ACCEPT_RANGES        => "Accept-Ranges",
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `accept_ranges`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `AGE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:816:5
[INFO] [stdout]     |
[INFO] [stdout] 816 |     AGE                  => "Age",
[INFO] [stdout]     |     ^^^ help: convert the identifier to snake case: `age`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ALLOW` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:817:5
[INFO] [stdout]     |
[INFO] [stdout] 817 |     ALLOW                => "Allow",
[INFO] [stdout]     |     ^^^^^ help: convert the identifier to snake case: `allow`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CONTENT_ENCODING` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:818:5
[INFO] [stdout]     |
[INFO] [stdout] 818 |     CONTENT_ENCODING     => "Content-Encoding",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `content_encoding`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CONTENT_LANGUAGE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:819:5
[INFO] [stdout]     |
[INFO] [stdout] 819 |     CONTENT_LANGUAGE     => "Content-Language",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `content_language`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CONTENT_LENGTH` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:820:5
[INFO] [stdout]     |
[INFO] [stdout] 820 |     CONTENT_LENGTH       => "Content-Length",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `content_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CONTENT_LOCATION` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:821:5
[INFO] [stdout]     |
[INFO] [stdout] 821 |     CONTENT_LOCATION     => "Content-Location",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `content_location`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CONTENT_RANGE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:822:5
[INFO] [stdout]     |
[INFO] [stdout] 822 |     CONTENT_RANGE        => "Content-Range",
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `content_range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `CONTENT_TYPE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:823:5
[INFO] [stdout]     |
[INFO] [stdout] 823 |     CONTENT_TYPE         => "Content-Type",
[INFO] [stdout]     |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `content_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ETAG` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:824:5
[INFO] [stdout]     |
[INFO] [stdout] 824 |     ETAG                 => "ETag",
[INFO] [stdout]     |     ^^^^ help: convert the identifier to snake case: `etag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `EXPIRES` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:825:5
[INFO] [stdout]     |
[INFO] [stdout] 825 |     EXPIRES              => "Expires",
[INFO] [stdout]     |     ^^^^^^^ help: convert the identifier to snake case: `expires`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `LAST_MODIFIED` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:826:5
[INFO] [stdout]     |
[INFO] [stdout] 826 |     LAST_MODIFIED        => "Last-Modified",
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_modified`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `LOCATION` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:827:5
[INFO] [stdout]     |
[INFO] [stdout] 827 |     LOCATION             => "Location",
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to snake case: `location`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `PROXY_AUTHENTICATE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:828:5
[INFO] [stdout]     |
[INFO] [stdout] 828 |     PROXY_AUTHENTICATE   => "Proxy-Authenticate",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `proxy_authenticate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `RETRY_AFTER` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:829:5
[INFO] [stdout]     |
[INFO] [stdout] 829 |     RETRY_AFTER          => "Retry-After",
[INFO] [stdout]     |     ^^^^^^^^^^^ help: convert the identifier to snake case: `retry_after`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `SERVER` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:830:5
[INFO] [stdout]     |
[INFO] [stdout] 830 |     SERVER               => "Server",
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to snake case: `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `SET_COOKIE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:831:5
[INFO] [stdout]     |
[INFO] [stdout] 831 |     SET_COOKIE           => "Set-Cookie",
[INFO] [stdout]     |     ^^^^^^^^^^ help: convert the identifier to snake case: `set_cookie`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `VARY` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:832:5
[INFO] [stdout]     |
[INFO] [stdout] 832 |     VARY                 => "Vary",
[INFO] [stdout]     |     ^^^^ help: convert the identifier to snake case: `vary`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `WWW_AUTHENTICATE` should have a snake case name
[INFO] [stdout]    --> src/http/headers.rs:833:5
[INFO] [stdout]     |
[INFO] [stdout] 833 |     WWW_AUTHENTICATE     => "WWW-Authenticate",
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `www_authenticate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `WeightedRoundRobin` found for enum `load_balance::Algorithm` in the current scope
[INFO] [stdout]    --> src/proxy/upstream.rs:564:66
[INFO] [stdout]     |
[INFO] [stdout] 564 |         let pool = UpstreamPool::new("test", servers, Algorithm::WeightedRoundRobin);
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `load_balance::Algorithm`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/proxy/load_balance.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout]  21 | pub enum Algorithm {
[INFO] [stdout]     | ------------------ variant, associated function, or constant `WeightedRoundRobin` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/core/worker.rs:72:33
[INFO] [stdout]    |
[INFO] [stdout] 72 | ...                   let config = self.config.clone();
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shutdown_rx`
[INFO] [stdout]   --> src/core/worker.rs:75:33
[INFO] [stdout]    |
[INFO] [stdout] 75 | ...                   let shutdown_rx = shutdown_rx.resubscribe();
[INFO] [stdout]    |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/core/worker.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 146 |     addr: std::net::SocketAddr,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signals`
[INFO] [stdout]   --> src/util/signal.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut signals = Signals::new([SIGHUP, SIGINT, SIGTERM, SIGUSR1])
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_config`
[INFO] [stdout]    --> src/core/mod.rs:123:26
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn reload(&self, new_config: ParsedConfig) {
[INFO] [stdout]     |                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]    --> src/handler/error_page.rs:335:13
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let response = ErrorPageHandler::default_error_page(HttpStatusCode::NOT_FOUND);
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/proxy/upstream.rs:469:13
[INFO] [stdout]     |
[INFO] [stdout] 469 |         let mut ports: Vec<u16> = (0..6).filter_map(|_| pool.next().map(|s| s.addr.port())).collect();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0369, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0369`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-nginx` (bin "rust-nginx" test) due to 7 previous errors; 21 warnings emitted
[INFO] [stderr] warning: unused dependency `serde`
[INFO] [stderr]   --> Cargo.toml:19:15
[INFO] [stderr]    |
[INFO] [stderr] 19 | [dependencies.serde]
[INFO] [stderr]    |               ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `serde`
[INFO] [stderr] warning: unused dependency `serde_json`
[INFO] [stderr]   --> Cargo.toml:11:1
[INFO] [stderr]    |
[INFO] [stderr] 11 | serde_json = "1"
[INFO] [stderr]    | ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `serde_json`
[INFO] [stderr] warning: unused dependency `signal-hook-tokio`
[INFO] [stderr]   --> Cargo.toml:52:34
[INFO] [stderr]    |
[INFO] [stderr] 52 | [target."cfg(unix)".dependencies.signal-hook-tokio]
[INFO] [stderr]    |                                  ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `signal-hook-tokio`
[INFO] [stderr] warning: `rust-nginx` (manifest) generated 3 warnings
[INFO] running `Command { std: "docker" "inspect" "e816378428e76af9320076479cf65bd6bb071a7c765d47687efe9583ccd40ccb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e816378428e76af9320076479cf65bd6bb071a7c765d47687efe9583ccd40ccb", kill_on_drop: false }`
[INFO] [stdout] e816378428e76af9320076479cf65bd6bb071a7c765d47687efe9583ccd40ccb
