[INFO] cloning repository https://github.com/Yassen-Higazi/http-server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yassen-Higazi/http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYassen-Higazi%2Fhttp-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYassen-Higazi%2Fhttp-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a1aa2e4be3f37437a1ed2790163790221aac924c
[INFO] checking Yassen-Higazi/http-server against master#cf79d034aa3d8f396d407aafce6f1ccd818e710e for pr-155657-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYassen-Higazi%2Fhttp-server" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Yassen-Higazi/http-server
[INFO] finished tweaking git repo https://github.com/Yassen-Higazi/http-server
[INFO] tweaked toml for git repo https://github.com/Yassen-Higazi/http-server written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Yassen-Higazi/http-server on toolchain cf79d034aa3d8f396d407aafce6f1ccd818e710e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Yassen-Higazi/http-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" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded addr2line v0.24.1
[INFO] [stderr]   Downloaded clap v4.5.17
[INFO] [stderr]   Downloaded gimli v0.31.0
[INFO] [stderr]   Downloaded clap_builder v4.5.17
[INFO] [stderr]   Downloaded syn v2.0.75
[INFO] [stderr]   Downloaded object v0.36.4
[INFO] [stderr]   Downloaded tokio v1.40.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7d6317d9a1dca626facc46aa1405a5bfdef855d2248df0c979a5a5d87e577d37
[INFO] running `Command { std: "docker" "start" "-a" "7d6317d9a1dca626facc46aa1405a5bfdef855d2248df0c979a5a5d87e577d37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d6317d9a1dca626facc46aa1405a5bfdef855d2248df0c979a5a5d87e577d37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d6317d9a1dca626facc46aa1405a5bfdef855d2248df0c979a5a5d87e577d37", kill_on_drop: false }`
[INFO] [stdout] 7d6317d9a1dca626facc46aa1405a5bfdef855d2248df0c979a5a5d87e577d37
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3d465d9403876e33d5a524f96c5d9c5160e65de7cfaf8d228f4fc1daa3f78c87
[INFO] running `Command { std: "docker" "start" "-a" "3d465d9403876e33d5a524f96c5d9c5160e65de7cfaf8d228f4fc1daa3f78c87", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking anstyle-query v1.1.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking colorchoice v1.0.2
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking anstyle v1.0.8
[INFO] [stderr]     Checking anstyle-parse v0.2.5
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking clap_lex v0.7.2
[INFO] [stderr]     Checking anstream v0.6.15
[INFO] [stderr]    Compiling syn v2.0.75
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]     Checking bytes v1.7.1
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]     Checking clap_builder v4.5.17
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling clap_derive v4.5.13
[INFO] [stderr]     Checking tokio v1.40.0
[INFO] [stderr]     Checking regex v1.10.6
[INFO] [stderr]     Checking thiserror v1.0.63
[INFO] [stderr]     Checking clap v4.5.17
[INFO] [stderr]     Checking codecrafters-http-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> src/main.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 |         .get("/", |req, res| {
[INFO] [stdout]    |                    ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `host` and `query` are never read
[INFO] [stdout]   --> src/request.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct Request {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub host: Option<String>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub query: HashMap<String, String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Request` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Multipart` and `UrlEncoded` are never constructed
[INFO] [stdout]   --> src/response.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub enum ContentType {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 31 |     Multipart,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 32 |     UrlEncoded,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ContentType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Message` is never used
[INFO] [stdout]  --> src/thread_pool.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum Message {
[INFO] [stdout]   |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ThreadPool` is never constructed
[INFO] [stdout]  --> src/thread_pool.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct ThreadPool {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FnBox` is never used
[INFO] [stdout]   --> src/thread_pool.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | trait FnBox {
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Job` is never used
[INFO] [stdout]   --> src/thread_pool.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 | type Job = Box<dyn FnBox + Send + 'static>;
[INFO] [stdout]    |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `execute` are never used
[INFO] [stdout]   --> src/thread_pool.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl ThreadPool {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 27 |     pub fn new(size: usize) -> ThreadPool {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn execute<F>(&self, f: F)
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Worker` is never constructed
[INFO] [stdout]   --> src/thread_pool.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | struct Worker {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/thread_pool.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | impl Worker {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 83 |     fn new(id: usize, receiver: Arc<Mutex<mpsc::Receiver<Message>>>) -> Worker {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `put`, `patch`, `delete`, `options`, and `head` are never used
[INFO] [stdout]   --> src/router.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Router {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn put(&self, path: &str, handler: RequestHandler) -> &Router {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn patch(&self, path: &str, handler: RequestHandler) -> &Router {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn delete(&self, path: &str, handler: RequestHandler) -> &Router {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn options(&self, path: &str, handler: RequestHandler) -> &Router {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn head(&self, path: &str, handler: RequestHandler) -> &Router {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> src/main.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 |         .get("/", |req, res| {
[INFO] [stdout]    |                    ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `host` and `query` are never read
[INFO] [stdout]   --> src/request.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct Request {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub host: Option<String>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub query: HashMap<String, String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Request` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Multipart` and `UrlEncoded` are never constructed
[INFO] [stdout]   --> src/response.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub enum ContentType {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 31 |     Multipart,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 32 |     UrlEncoded,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ContentType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Message` is never used
[INFO] [stdout]  --> src/thread_pool.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum Message {
[INFO] [stdout]   |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ThreadPool` is never constructed
[INFO] [stdout]  --> src/thread_pool.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct ThreadPool {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FnBox` is never used
[INFO] [stdout]   --> src/thread_pool.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | trait FnBox {
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Job` is never used
[INFO] [stdout]   --> src/thread_pool.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 | type Job = Box<dyn FnBox + Send + 'static>;
[INFO] [stdout]    |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `execute` are never used
[INFO] [stdout]   --> src/thread_pool.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl ThreadPool {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 27 |     pub fn new(size: usize) -> ThreadPool {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn execute<F>(&self, f: F)
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Worker` is never constructed
[INFO] [stdout]   --> src/thread_pool.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | struct Worker {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/thread_pool.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | impl Worker {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 83 |     fn new(id: usize, receiver: Arc<Mutex<mpsc::Receiver<Message>>>) -> Worker {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `put`, `patch`, `delete`, `options`, and `head` are never used
[INFO] [stdout]   --> src/router.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Router {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn put(&self, path: &str, handler: RequestHandler) -> &Router {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn patch(&self, path: &str, handler: RequestHandler) -> &Router {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn delete(&self, path: &str, handler: RequestHandler) -> &Router {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn options(&self, path: &str, handler: RequestHandler) -> &Router {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn head(&self, path: &str, handler: RequestHandler) -> &Router {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.18s
[INFO] running `Command { std: "docker" "inspect" "3d465d9403876e33d5a524f96c5d9c5160e65de7cfaf8d228f4fc1daa3f78c87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d465d9403876e33d5a524f96c5d9c5160e65de7cfaf8d228f4fc1daa3f78c87", kill_on_drop: false }`
[INFO] [stdout] 3d465d9403876e33d5a524f96c5d9c5160e65de7cfaf8d228f4fc1daa3f78c87
