[INFO] cloning repository https://github.com/ancos2505/h10
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ancos2505/h10" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fancos2505%2Fh10", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fancos2505%2Fh10'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fb43269ec23356504788972ad2f66414ad20cc2c
[INFO] checking ancos2505/h10 against try#8ac0915e346f9a2e49ca3951b642c55bd7d1eaab for pr-158447
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fancos2505%2Fh10" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/ancos2505/h10
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/ancos2505/h10
[INFO] tweaked toml for git repo https://github.com/ancos2505/h10 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ancos2505/h10 on toolchain 8ac0915e346f9a2e49ca3951b642c55bd7d1eaab
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ancos2505/h10 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" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f9816a2bf3aa81710c98cda22e3026870510556588a3ca2201ed4c788e856033
[INFO] running `Command { std: "docker" "start" "f9816a2bf3aa81710c98cda22e3026870510556588a3ca2201ed4c788e856033", 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" "f9816a2bf3aa81710c98cda22e3026870510556588a3ca2201ed4c788e856033" "/opt/rustwide/cargo-home/bin/cargo" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f9816a2bf3aa81710c98cda22e3026870510556588a3ca2201ed4c788e856033", 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" "f9816a2bf3aa81710c98cda22e3026870510556588a3ca2201ed4c788e856033" "/opt/rustwide/cargo-home/bin/cargo" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling h10 v0.6.19 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking html-rs v0.3.1 (https://github.com/ancos2505/html-rs.git#dfce0957)
[INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stdout]   |
[INFO] [stdout]   = note: requested on the command line with `-A box_pointers`
[INFO] [stdout]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stdout]   |
[INFO] [stdout]   = note: requested on the command line with `-A box_pointers`
[INFO] [stdout]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stdout]   |
[INFO] [stdout]   = note: requested on the command line with `-A box_pointers`
[INFO] [stdout]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `len` is never used
[INFO] [stdout]   --> src/constants.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl AsciiWhiteSpace {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub const fn len() -> usize {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `len` is never used
[INFO] [stdout]   --> src/constants.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl AsciiWhiteSpace {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub const fn len() -> usize {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stdout]   |
[INFO] [stdout]   = note: requested on the command line with `-A box_pointers`
[INFO] [stdout]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stdout]   |
[INFO] [stdout]   = note: requested on the command line with `-A box_pointers`
[INFO] [stdout]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stdout]   |
[INFO] [stdout]   = note: requested on the command line with `-A box_pointers`
[INFO] [stdout]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stdout]   |
[INFO] [stdout]   = note: requested on the command line with `-A box_pointers`
[INFO] [stdout]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `H10LibError`
[INFO] [stdout]  --> benches/req_1000.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 |     result::{H10LibError, H10LibResult},
[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 variable: `i`
[INFO] [stdout]   --> benches/max_active_sessions.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     for i in 0..num_of_requests {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]   --> benches/max_active_sessions.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let start = Instant::now();
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stdout]   |
[INFO] [stdout]   = note: requested on the command line with `-A box_pointers`
[INFO] [stdout]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `result::H10LibResult`
[INFO] [stdout]   --> src/pages/root.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     result::H10LibResult,
[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: `CliVerboseMode`
[INFO] [stdout]   --> src/pages.rs:14:35
[INFO] [stdout]    |
[INFO] [stdout] 14 |     server::{CliHttp10StrictMode, CliVerboseMode, ServerResponse},
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ROOT_PAGER_COUNTER`
[INFO] [stdout]  --> src/server/counter.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{ROOT_PAGER_COUNTER, server::ServerResult};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::LogLevel`
[INFO] [stdout]   --> src/server.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 | use h10::{error, log::LogLevel};
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TEN_KBYTES` and `server::helper::now_in_unix_epoch`
[INFO] [stdout]   --> src/server.rs:18:56
[INFO] [stdout]    |
[INFO] [stdout] 18 |     CLI_ARGS, HTTP10_STRICT_MODE, MAX_ACTIVE_SESSIONS, TEN_KBYTES, pages::Endpoint,
[INFO] [stdout]    |                                                        ^^^^^^^^^^
[INFO] [stdout] 19 |     server::helper::now_in_unix_epoch,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `result::H10LibResult`
[INFO] [stdout]   --> src/pages/root.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     result::H10LibResult,
[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: `CliVerboseMode`
[INFO] [stdout]   --> src/pages.rs:14:35
[INFO] [stdout]    |
[INFO] [stdout] 14 |     server::{CliHttp10StrictMode, CliVerboseMode, ServerResponse},
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ROOT_PAGER_COUNTER`
[INFO] [stdout]  --> src/server/counter.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{ROOT_PAGER_COUNTER, server::ServerResult};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::LogLevel`
[INFO] [stdout]   --> src/server.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 | use h10::{error, log::LogLevel};
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TEN_KBYTES` and `server::helper::now_in_unix_epoch`
[INFO] [stdout]   --> src/server.rs:18:56
[INFO] [stdout]    |
[INFO] [stdout] 18 |     CLI_ARGS, HTTP10_STRICT_MODE, MAX_ACTIVE_SESSIONS, TEN_KBYTES, pages::Endpoint,
[INFO] [stdout]    |                                                        ^^^^^^^^^^
[INFO] [stdout] 19 |     server::helper::now_in_unix_epoch,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `verbose`
[INFO] [stdout]    --> src/server/cli.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let verbose = value
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verbose`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/server.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let mut active_sessions = Arc::new(RwLock::new(0));
[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 `incomming` is assigned to, but never used
[INFO] [stdout]    --> src/server.rs:108:17
[INFO] [stdout]     |
[INFO] [stdout] 108 |             let mut incomming: usize = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_incomming` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `incomming` is never read
[INFO] [stdout]    --> src/server.rs:113:25
[INFO] [stdout]     |
[INFO] [stdout] 113 |                         incomming += 1;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `chunk_counter` is assigned to, but never used
[INFO] [stdout]    --> src/server.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 |         let mut chunk_counter: usize = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_chunk_counter` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `chunk_counter` is never read
[INFO] [stdout]    --> src/server.rs:233:13
[INFO] [stdout]     |
[INFO] [stdout] 233 |             chunk_counter += 1;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arc_prev_stats`
[INFO] [stdout]    --> src/server.rs:294:9
[INFO] [stdout]     |
[INFO] [stdout] 294 |         arc_prev_stats: &Arc<Mutex<BTreeMap<String, (u64, u64)>>>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_prev_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `act_session`
[INFO] [stdout]    --> src/server.rs:297:9
[INFO] [stdout]     |
[INFO] [stdout] 297 |         act_session: &Arc<RwLock<usize>>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_act_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TEN_KBYTES` is never used
[INFO] [stdout]   --> src/main.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub(crate) const TEN_KBYTES: usize = 1024 * 10;
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `MAX_REQ_SIZE_BYTES` is never used
[INFO] [stdout]   --> src/server.rs:75:11
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl HttpServer {
[INFO] [stdout]    | --------------- associated constant in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 75 |     const MAX_REQ_SIZE_BYTES: usize = Self::CHUNK_SIZE * 1024; // 10 MBytes
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PageCounter` is never constructed
[INFO] [stdout]  --> src/server/counter.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct PageCounter {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Clicks` is never constructed
[INFO] [stdout]   --> src/server/counter.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Clicks(usize);
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `inc` is never used
[INFO] [stdout]   --> src/server/counter.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Clicks {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 21 |     pub(crate) fn inc(&mut self, n: usize) {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_one`, and `read` are never used
[INFO] [stdout]   --> src/server/counter.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl PageCounter {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 27 |     pub(crate) fn new() -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub(crate) fn add_one(&mut self) -> ServerResult<()> {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub(crate) fn read(&self) -> ServerResult<usize> {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `now_in_unix_epoch` is never used
[INFO] [stdout]  --> src/server/helper.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(crate) fn now_in_unix_epoch() -> ServerResult<u64> {
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InvalidLogLevel` and `Custom` are never constructed
[INFO] [stdout]   --> src/server/result.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub(crate) enum ServerError {
[INFO] [stdout]    |                 ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 22 |     InvalidLogLevel(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     Custom(String),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ServerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `custom` is never used
[INFO] [stdout]   --> src/server/result.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl ServerError {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 28 |     pub(crate) fn custom<S: ToString>(s: S) -> Self {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `verbose`
[INFO] [stdout]    --> src/server/cli.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let verbose = value
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verbose`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/server.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let mut active_sessions = Arc::new(RwLock::new(0));
[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 `incomming` is assigned to, but never used
[INFO] [stdout]    --> src/server.rs:108:17
[INFO] [stdout]     |
[INFO] [stdout] 108 |             let mut incomming: usize = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_incomming` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `incomming` is never read
[INFO] [stdout]    --> src/server.rs:113:25
[INFO] [stdout]     |
[INFO] [stdout] 113 |                         incomming += 1;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `chunk_counter` is assigned to, but never used
[INFO] [stdout]    --> src/server.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 |         let mut chunk_counter: usize = 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_chunk_counter` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `chunk_counter` is never read
[INFO] [stdout]    --> src/server.rs:233:13
[INFO] [stdout]     |
[INFO] [stdout] 233 |             chunk_counter += 1;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arc_prev_stats`
[INFO] [stdout]    --> src/server.rs:294:9
[INFO] [stdout]     |
[INFO] [stdout] 294 |         arc_prev_stats: &Arc<Mutex<BTreeMap<String, (u64, u64)>>>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_prev_stats`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `act_session`
[INFO] [stdout]    --> src/server.rs:297:9
[INFO] [stdout]     |
[INFO] [stdout] 297 |         act_session: &Arc<RwLock<usize>>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_act_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TEN_KBYTES` is never used
[INFO] [stdout]   --> src/main.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub(crate) const TEN_KBYTES: usize = 1024 * 10;
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `MAX_REQ_SIZE_BYTES` is never used
[INFO] [stdout]   --> src/server.rs:75:11
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl HttpServer {
[INFO] [stdout]    | --------------- associated constant in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 75 |     const MAX_REQ_SIZE_BYTES: usize = Self::CHUNK_SIZE * 1024; // 10 MBytes
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PageCounter` is never constructed
[INFO] [stdout]  --> src/server/counter.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct PageCounter {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Clicks` is never constructed
[INFO] [stdout]   --> src/server/counter.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Clicks(usize);
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `inc` is never used
[INFO] [stdout]   --> src/server/counter.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Clicks {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 21 |     pub(crate) fn inc(&mut self, n: usize) {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_one`, and `read` are never used
[INFO] [stdout]   --> src/server/counter.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl PageCounter {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 27 |     pub(crate) fn new() -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub(crate) fn add_one(&mut self) -> ServerResult<()> {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub(crate) fn read(&self) -> ServerResult<usize> {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `now_in_unix_epoch` is never used
[INFO] [stdout]  --> src/server/helper.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(crate) fn now_in_unix_epoch() -> ServerResult<u64> {
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InvalidLogLevel` and `Custom` are never constructed
[INFO] [stdout]   --> src/server/result.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub(crate) enum ServerError {
[INFO] [stdout]    |                 ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 22 |     InvalidLogLevel(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     Custom(String),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ServerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `custom` is never used
[INFO] [stdout]   --> src/server/result.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl ServerError {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 28 |     pub(crate) fn custom<S: ToString>(s: S) -> Self {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.96s
[INFO] running `Command { std: "docker" "inspect" "f9816a2bf3aa81710c98cda22e3026870510556588a3ca2201ed4c788e856033", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9816a2bf3aa81710c98cda22e3026870510556588a3ca2201ed4c788e856033", kill_on_drop: false }`
[INFO] [stdout] f9816a2bf3aa81710c98cda22e3026870510556588a3ca2201ed4c788e856033
