[INFO] cloning repository https://github.com/Himanth24/Web-Server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Himanth24/Web-Server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHimanth24%2FWeb-Server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHimanth24%2FWeb-Server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c73ac308b2bbacce51b96db0d18a617419d96b49
[INFO] testing Himanth24/Web-Server against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHimanth24%2FWeb-Server" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Himanth24/Web-Server
[INFO] finished tweaking git repo https://github.com/Himanth24/Web-Server
[INFO] tweaked toml for git repo https://github.com/Himanth24/Web-Server written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Himanth24/Web-Server on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Himanth24/Web-Server already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5a60b05cb846b97e81edf16966e142f6cfd68b6a73378a57b019de37a881a499
[INFO] running `Command { std: "docker" "start" "5a60b05cb846b97e81edf16966e142f6cfd68b6a73378a57b019de37a881a499", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5a60b05cb846b97e81edf16966e142f6cfd68b6a73378a57b019de37a881a499", 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" "5a60b05cb846b97e81edf16966e142f6cfd68b6a73378a57b019de37a881a499" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5a60b05cb846b97e81edf16966e142f6cfd68b6a73378a57b019de37a881a499", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5a60b05cb846b97e81edf16966e142f6cfd68b6a73378a57b019de37a881a499" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling miniz_oxide v0.8.8
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling flate2 v1.1.1
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling ctrlc v3.4.6
[INFO] [stderr]    Compiling http-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `self` and `time::Duration`
[INFO] [stdout]  --> src/main.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 |     env, fs, io::{self, ErrorKind, BufRead, BufReader, Read, Write}, 
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     thread, time::Duration,
[INFO] [stdout]   |             ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:111:7
[INFO] [stdout]     |
[INFO] [stdout] 111 |     if(parts.len() == 2) {
[INFO] [stdout]     |       ^                ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 111 -     if(parts.len() == 2) {
[INFO] [stdout] 111 +     if parts.len() == 2 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:272:33
[INFO] [stdout]     |
[INFO] [stdout] 272 | ...                   let mut stream = reader.into_inner();
[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/main.rs:306:33
[INFO] [stdout]     |
[INFO] [stdout] 306 | ...                   let mut stream = reader.into_inner();
[INFO] [stdout]     |                           ----^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:315:25
[INFO] [stdout]     |
[INFO] [stdout] 315 |                     let mut stream = reader.into_inner();
[INFO] [stdout]     |                         ----^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:327:25
[INFO] [stdout]     |
[INFO] [stdout] 327 |                     let mut stream = reader.into_inner();
[INFO] [stdout]     |                         ----^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:335:25
[INFO] [stdout]     |
[INFO] [stdout] 335 |                     let mut extra_headers = Some(HashMap::from([("X-DEMO","true")]));
[INFO] [stdout]     |                         ----^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:336:25
[INFO] [stdout]     |
[INFO] [stdout] 336 |                     let mut stream = reader.into_inner();
[INFO] [stdout]     |                         ----^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:396:29
[INFO] [stdout]     |
[INFO] [stdout] 396 |                         let mut stream = reader.into_inner();
[INFO] [stdout]     |                             ----^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:423:33
[INFO] [stdout]     |
[INFO] [stdout] 423 | ...                   let mut stream = reader.into_inner();
[INFO] [stdout]     |                           ----^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:431:21
[INFO] [stdout]     |
[INFO] [stdout] 431 |                 let mut stream = reader.into_inner();
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:442:29
[INFO] [stdout]     |
[INFO] [stdout] 442 |                         let mut stream = reader.into_inner();
[INFO] [stdout]     |                             ----^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:453:37
[INFO] [stdout]     |
[INFO] [stdout] 453 | ...                   let mut stream = reader.into_inner();
[INFO] [stdout]     |                           ----^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:458:37
[INFO] [stdout]     |
[INFO] [stdout] 458 | ...                   let mut stream = reader.into_inner();
[INFO] [stdout]     |                           ----^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:463:29
[INFO] [stdout]     |
[INFO] [stdout] 463 |                         let mut stream = reader.into_inner();
[INFO] [stdout]     |                             ----^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:469:21
[INFO] [stdout]     |
[INFO] [stdout] 469 |                 let mut stream = reader.into_inner();
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:476:21
[INFO] [stdout]     |
[INFO] [stdout] 476 |                 let mut stream = reader.into_inner();
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:552:27
[INFO] [stdout]     |
[INFO] [stdout] 552 |                 if let Ok(mut pool) = pool_clone.lock() {
[INFO] [stdout]     |                           ----^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Route` is never constructed
[INFO] [stdout]   --> src/main.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Route {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `File` should have a snake case name
[INFO] [stdout]    --> src/main.rs:192:19
[INFO] [stdout]     |
[INFO] [stdout] 192 |     if let Ok(mut File) = fs::OpenOptions::new().create(true).append(true).open("src/logs/server.log") {
[INFO] [stdout]     |                   ^^^^ help: convert the identifier to snake case (notice the capitalization): `file`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `File` should have a snake case name
[INFO] [stdout]    --> src/main.rs:200:19
[INFO] [stdout]     |
[INFO] [stdout] 200 |     if let Ok(mut File) = fs::OpenOptions::new().create(true).append(true).open("src/logs/server.log") {
[INFO] [stdout]     |                   ^^^^ help: convert the identifier to snake case (notice the capitalization): `file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.47s
[INFO] running `Command { std: "docker" "inspect" "5a60b05cb846b97e81edf16966e142f6cfd68b6a73378a57b019de37a881a499", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5a60b05cb846b97e81edf16966e142f6cfd68b6a73378a57b019de37a881a499" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling http-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `self` and `time::Duration`
[INFO] [stdout]  --> src/main.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 |     env, fs, io::{self, ErrorKind, BufRead, BufReader, Read, Write}, 
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     thread, time::Duration,
[INFO] [stdout]   |             ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:111:7
[INFO] [stdout]     |
[INFO] [stdout] 111 |     if(parts.len() == 2) {
[INFO] [stdout]     |       ^                ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 111 -     if(parts.len() == 2) {
[INFO] [stdout] 111 +     if parts.len() == 2 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:272:33
[INFO] [stdout]     |
[INFO] [stdout] 272 | ...                   let mut stream = reader.into_inner();
[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/main.rs:306:33
[INFO] [stdout]     |
[INFO] [stdout] 306 | ...                   let mut stream = reader.into_inner();
[INFO] [stdout]     |                           ----^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:315:25
[INFO] [stdout]     |
[INFO] [stdout] 315 |                     let mut stream = reader.into_inner();
[INFO] [stdout]     |                         ----^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:327:25
[INFO] [stdout]     |
[INFO] [stdout] 327 |                     let mut stream = reader.into_inner();
[INFO] [stdout]     |                         ----^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:335:25
[INFO] [stdout]     |
[INFO] [stdout] 335 |                     let mut extra_headers = Some(HashMap::from([("X-DEMO","true")]));
[INFO] [stdout]     |                         ----^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:336:25
[INFO] [stdout]     |
[INFO] [stdout] 336 |                     let mut stream = reader.into_inner();
[INFO] [stdout]     |                         ----^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:396:29
[INFO] [stdout]     |
[INFO] [stdout] 396 |                         let mut stream = reader.into_inner();
[INFO] [stdout]     |                             ----^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:423:33
[INFO] [stdout]     |
[INFO] [stdout] 423 | ...                   let mut stream = reader.into_inner();
[INFO] [stdout]     |                           ----^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:431:21
[INFO] [stdout]     |
[INFO] [stdout] 431 |                 let mut stream = reader.into_inner();
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:442:29
[INFO] [stdout]     |
[INFO] [stdout] 442 |                         let mut stream = reader.into_inner();
[INFO] [stdout]     |                             ----^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:453:37
[INFO] [stdout]     |
[INFO] [stdout] 453 | ...                   let mut stream = reader.into_inner();
[INFO] [stdout]     |                           ----^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:458:37
[INFO] [stdout]     |
[INFO] [stdout] 458 | ...                   let mut stream = reader.into_inner();
[INFO] [stdout]     |                           ----^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:463:29
[INFO] [stdout]     |
[INFO] [stdout] 463 |                         let mut stream = reader.into_inner();
[INFO] [stdout]     |                             ----^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:469:21
[INFO] [stdout]     |
[INFO] [stdout] 469 |                 let mut stream = reader.into_inner();
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:476:21
[INFO] [stdout]     |
[INFO] [stdout] 476 |                 let mut stream = reader.into_inner();
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:552:27
[INFO] [stdout]     |
[INFO] [stdout] 552 |                 if let Ok(mut pool) = pool_clone.lock() {
[INFO] [stdout]     |                           ----^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Route` is never constructed
[INFO] [stdout]   --> src/main.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Route {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `File` should have a snake case name
[INFO] [stdout]    --> src/main.rs:192:19
[INFO] [stdout]     |
[INFO] [stdout] 192 |     if let Ok(mut File) = fs::OpenOptions::new().create(true).append(true).open("src/logs/server.log") {
[INFO] [stdout]     |                   ^^^^ help: convert the identifier to snake case (notice the capitalization): `file`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `File` should have a snake case name
[INFO] [stdout]    --> src/main.rs:200:19
[INFO] [stdout]     |
[INFO] [stdout] 200 |     if let Ok(mut File) = fs::OpenOptions::new().create(true).append(true).open("src/logs/server.log") {
[INFO] [stdout]     |                   ^^^^ help: convert the identifier to snake case (notice the capitalization): `file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s
[INFO] running `Command { std: "docker" "inspect" "5a60b05cb846b97e81edf16966e142f6cfd68b6a73378a57b019de37a881a499", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5a60b05cb846b97e81edf16966e142f6cfd68b6a73378a57b019de37a881a499" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `self` and `time::Duration`
[INFO] [stdout] 
[INFO] [stderr]  --> src/main.rs:6:19
[INFO] [stdout] running 4 tests
[INFO] [stderr]   |
[INFO] [stderr] 6 |     env, fs, io::{self, ErrorKind, BufRead, BufReader, Read, Write}, 
[INFO] [stderr]   |                   ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 9 |     thread, time::Duration,
[INFO] [stderr]   |             ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/main.rs:111:7
[INFO] [stderr]     |
[INFO] [stderr] 111 |     if(parts.len() == 2) {
[INFO] [stderr]     |       ^                ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 111 -     if(parts.len() == 2) {
[INFO] [stderr] 111 +     if parts.len() == 2 {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:272:33
[INFO] [stderr]     |
[INFO] [stderr] 272 | ...                   let mut stream = reader.into_inner();
[INFO] [stderr]     |                           ----^^^^^^
[INFO] [stderr]     |                           |
[INFO] [stderr]     |                           help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:306:33
[INFO] [stderr]     |
[INFO] [stderr] 306 | ...                   let mut stream = reader.into_inner();
[INFO] [stderr]     |                           ----^^^^^^
[INFO] [stderr]     |                           |
[INFO] [stderr]     |                           help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:315:25
[INFO] [stderr]     |
[INFO] [stderr] 315 |                     let mut stream = reader.into_inner();
[INFO] [stderr]     |                         ----^^^^^^
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:327:25
[INFO] [stderr]     |
[INFO] [stderr] 327 |                     let mut stream = reader.into_inner();
[INFO] [stderr]     |                         ----^^^^^^
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:335:25
[INFO] [stderr]     |
[INFO] [stderr] 335 |                     let mut extra_headers = Some(HashMap::from([("X-DEMO","true")]));
[INFO] [stderr]     |                         ----^^^^^^^^^^^^^
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:336:25
[INFO] [stderr]     |
[INFO] [stderr] 336 |                     let mut stream = reader.into_inner();
[INFO] [stderr]     |                         ----^^^^^^
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:396:29
[INFO] [stderr]     |
[INFO] [stderr] 396 |                         let mut stream = reader.into_inner();
[INFO] [stderr]     |                             ----^^^^^^
[INFO] [stderr]     |                             |
[INFO] [stderr]     |                             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:423:33
[INFO] [stderr]     |
[INFO] [stderr] 423 | ...                   let mut stream = reader.into_inner();
[INFO] [stderr]     |                           ----^^^^^^
[INFO] [stderr]     |                           |
[INFO] [stderr]     |                           help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:431:21
[INFO] [stderr]     |
[INFO] [stderr] 431 |                 let mut stream = reader.into_inner();
[INFO] [stderr]     |                     ----^^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:442:29
[INFO] [stderr]     |
[INFO] [stderr] 442 |                         let mut stream = reader.into_inner();
[INFO] [stderr]     |                             ----^^^^^^
[INFO] [stderr]     |                             |
[INFO] [stderr]     |                             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:453:37
[INFO] [stderr]     |
[INFO] [stderr] 453 | ...                   let mut stream = reader.into_inner();
[INFO] [stderr]     |                           ----^^^^^^
[INFO] [stderr]     |                           |
[INFO] [stderr]     |                           help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:458:37
[INFO] [stderr]     |
[INFO] [stderr] 458 | ...                   let mut stream = reader.into_inner();
[INFO] [stderr]     |                           ----^^^^^^
[INFO] [stderr]     |                           |
[INFO] [stderr]     |                           help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:463:29
[INFO] [stderr]     |
[INFO] [stderr] 463 |                         let mut stream = reader.into_inner();
[INFO] [stderr]     |                             ----^^^^^^
[INFO] [stderr]     |                             |
[INFO] [stderr]     |                             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:469:21
[INFO] [stderr]     |
[INFO] [stderr] 469 |                 let mut stream = reader.into_inner();
[INFO] [stderr]     |                     ----^^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:476:21
[INFO] [stderr]     |
[INFO] [stderr] 476 |                 let mut stream = reader.into_inner();
[INFO] [stderr]     |                     ----^^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:552:27
[INFO] [stderr]     |
[INFO] [stderr] 552 |                 if let Ok(mut pool) = pool_clone.lock() {
[INFO] [stderr]     |                           ----^^^^
[INFO] [stderr]     |                           |
[INFO] [stderr]     |                           help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Route` is never constructed
[INFO] [stderr]   --> src/main.rs:26:8
[INFO] [stderr]    |
[INFO] [stderr] 26 | struct Route {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `File` should have a snake case name
[INFO] [stderr]    --> src/main.rs:192:19
[INFO] [stderr]     |
[INFO] [stderr] 192 |     if let Ok(mut File) = fs::OpenOptions::new().create(true).append(true).open("src/logs/server.log") {
[INFO] [stderr]     |                   ^^^^ help: convert the identifier to snake case (notice the capitalization): `file`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `File` should have a snake case name
[INFO] [stderr]    --> src/main.rs:200:19
[INFO] [stderr]     |
[INFO] [stderr] 200 |     if let Ok(mut File) = fs::OpenOptions::new().create(true).append(true).open("src/logs/server.log") {
[INFO] [stderr]     |                   ^^^^ help: convert the identifier to snake case (notice the capitalization): `file`
[INFO] [stderr] 
[INFO] [stderr] warning: `http-server` (bin "http-server" test) generated 21 warnings (run `cargo fix --bin "http-server" -p http-server --tests` to apply 18 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/http_server-c9f1e1c2e4395220)
[INFO] [stdout] test thread_pool::tests::test_single_job_execution ... ok
[INFO] [stdout] test thread_pool::tests::test_multiple_jobs ... ok
[INFO] [stdout] test thread_pool::tests::test_shut_down ... ok
[INFO] [stdout] test thread_pool::tests::test_jobs_run_concurrently ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5a60b05cb846b97e81edf16966e142f6cfd68b6a73378a57b019de37a881a499", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a60b05cb846b97e81edf16966e142f6cfd68b6a73378a57b019de37a881a499", kill_on_drop: false }`
[INFO] [stdout] 5a60b05cb846b97e81edf16966e142f6cfd68b6a73378a57b019de37a881a499
