[INFO] cloning repository https://github.com/JasonYANG170/http
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JasonYANG170/http" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasonYANG170%2Fhttp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasonYANG170%2Fhttp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 93dce95c5d32d6503e3103fde82e9a2816169fc2
[INFO] checking JasonYANG170/http against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasonYANG170%2Fhttp" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JasonYANG170/http
[INFO] finished tweaking git repo https://github.com/JasonYANG170/http
[INFO] tweaked toml for git repo https://github.com/JasonYANG170/http written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JasonYANG170/http on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JasonYANG170/http 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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syn v2.0.58
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5f8f08207d3baadfea8bf9d712bb55cd51a1eb420c4e152e476881a05cfb2335
[INFO] running `Command { std: "docker" "start" "-a" "5f8f08207d3baadfea8bf9d712bb55cd51a1eb420c4e152e476881a05cfb2335", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5f8f08207d3baadfea8bf9d712bb55cd51a1eb420c4e152e476881a05cfb2335", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f8f08207d3baadfea8bf9d712bb55cd51a1eb420c4e152e476881a05cfb2335", kill_on_drop: false }`
[INFO] [stdout] 5f8f08207d3baadfea8bf9d712bb55cd51a1eb420c4e152e476881a05cfb2335
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 599c53654bca0008cba4d261ecbd24fa6f15a3f27f0fc728b3e917863aa7cf2b
[INFO] running `Command { std: "docker" "start" "-a" "599c53654bca0008cba4d261ecbd24fa6f15a3f27f0fc728b3e917863aa7cf2b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking http v0.1.0 (/opt/rustwide/workdir/http)
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking socket2 v0.5.6
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> http/src/request.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let mut method = Method::UNINITIALIZED;
[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]   --> http/src/request.rs:77:6
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut version = Version::V1_1;
[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]   --> http/src/request.rs:78:6
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut resource = Resource::Path("".to_string());
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]   --> http/src/request.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let mut method = Method::UNINITIALIZED;
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]   --> http/src/request.rs:77:6
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut version = Version::V1_1;
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resource`
[INFO] [stdout]   --> http/src/request.rs:78:6
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut resource = Resource::Path("".to_string());
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> http/src/request.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let mut first = first.unwrap();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `protocol`, `address`, `port`, and `path` are never read
[INFO] [stdout]   --> http/src/request.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Url {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 56 |     protocol: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 57 |     address: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 58 |     port: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 59 |     path: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `method`, `version`, `resource`, `headers`, and `body` are never read
[INFO] [stdout]   --> http/src/request.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct Request {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 65 |     method: Method,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 66 |     version: Version,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 67 |     resource: Resource,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 68 |     headers: HashMap<String,String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 69 |     body: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> http/src/response.rs:59:2
[INFO] [stdout]    |
[INFO] [stdout] 59 |     write!(stream,"{}",response);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let _ = write!(stream,"{}",response);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> http/src/request.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let mut method = Method::UNINITIALIZED;
[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]   --> http/src/request.rs:77:6
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut version = Version::V1_1;
[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]   --> http/src/request.rs:78:6
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut resource = Resource::Path("".to_string());
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]   --> http/src/request.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let mut method = Method::UNINITIALIZED;
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]   --> http/src/request.rs:77:6
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut version = Version::V1_1;
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resource`
[INFO] [stdout]   --> http/src/request.rs:78:6
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut resource = Resource::Path("".to_string());
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> http/src/request.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let mut first = first.unwrap();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `protocol`, `address`, `port`, and `path` are never read
[INFO] [stdout]   --> http/src/request.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Url {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 56 |     protocol: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 57 |     address: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 58 |     port: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 59 |     path: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `method`, `version`, `resource`, `headers`, and `body` are never read
[INFO] [stdout]   --> http/src/request.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct Request {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 65 |     method: Method,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 66 |     version: Version,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 67 |     resource: Resource,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 68 |     headers: HashMap<String,String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 69 |     body: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> http/src/response.rs:59:2
[INFO] [stdout]    |
[INFO] [stdout] 59 |     write!(stream,"{}",response);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let _ = write!(stream,"{}",response);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.58
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]     Checking tokio v1.37.0
[INFO] [stderr]     Checking server v0.1.0 (/opt/rustwide/workdir/server)
[INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite`
[INFO] [stdout]  --> server/src/server.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::io::{AsyncRead,AsyncWrite};
[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: `std::time::*`
[INFO] [stdout]  --> server/src/server.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::router::*`
[INFO] [stdout]  --> server/src/server.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::router::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> server/src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::TcpListener`
[INFO] [stdout]  --> server/src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::net::TcpListener;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> server/src/server.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let  (mut stream,peer_addr) = listener.accept().await.unwrap();
[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: unused variable: `request`
[INFO] [stdout]   --> server/src/server.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let request: Request = String::from_utf8(buffer_vec).unwrap().into();
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> server/src/server.rs:29:3
[INFO] [stdout]    |
[INFO] [stdout] 29 |         stream.try_write(&response.to_string().into_bytes());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let _ = stream.try_write(&response.to_string().into_bytes());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite`
[INFO] [stdout]  --> server/src/server.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::io::{AsyncRead,AsyncWrite};
[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: `std::time::*`
[INFO] [stdout]  --> server/src/server.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::router::*`
[INFO] [stdout]  --> server/src/server.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::router::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> server/src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::TcpListener`
[INFO] [stdout]  --> server/src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::net::TcpListener;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> server/src/server.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let  (mut stream,peer_addr) = listener.accept().await.unwrap();
[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: unused variable: `request`
[INFO] [stdout]   --> server/src/server.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let request: Request = String::from_utf8(buffer_vec).unwrap().into();
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> server/src/server.rs:29:3
[INFO] [stdout]    |
[INFO] [stdout] 29 |         stream.try_write(&response.to_string().into_bytes());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let _ = stream.try_write(&response.to_string().into_bytes());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.10s
[INFO] running `Command { std: "docker" "inspect" "599c53654bca0008cba4d261ecbd24fa6f15a3f27f0fc728b3e917863aa7cf2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "599c53654bca0008cba4d261ecbd24fa6f15a3f27f0fc728b3e917863aa7cf2b", kill_on_drop: false }`
[INFO] [stdout] 599c53654bca0008cba4d261ecbd24fa6f15a3f27f0fc728b3e917863aa7cf2b
