[INFO] fetching crate speed-rs-core 0.4.1...
[INFO] testing speed-rs-core-0.4.1 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate speed-rs-core 0.4.1 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate speed-rs-core 0.4.1
[INFO] finished tweaking crates.io crate speed-rs-core 0.4.1
[INFO] tweaked toml for crates.io crate speed-rs-core 0.4.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate speed-rs-core 0.4.1 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate speed-rs-core 0.4.1 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 00e81d2547f0b79a4e54ca69436057944833f2b4a05a285721a7d4fcfdb59c11
[INFO] running `Command { std: "docker" "start" "-a" "00e81d2547f0b79a4e54ca69436057944833f2b4a05a285721a7d4fcfdb59c11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "00e81d2547f0b79a4e54ca69436057944833f2b4a05a285721a7d4fcfdb59c11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00e81d2547f0b79a4e54ca69436057944833f2b4a05a285721a7d4fcfdb59c11", kill_on_drop: false }`
[INFO] [stdout] 00e81d2547f0b79a4e54ca69436057944833f2b4a05a285721a7d4fcfdb59c11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9dedd65e12fbcba24735f80b7a88509c4641752803f68a5f6864dfadba1550de
[INFO] running `Command { std: "docker" "start" "-a" "9dedd65e12fbcba24735f80b7a88509c4641752803f68a5f6864dfadba1550de", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling speed-rs-core v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `RequestErrorHandleFunc`
[INFO] [stdout]  --> src/utils.rs:5:89
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{HttpRequest, HttpServer, HttpStatusStruct, HttpResponse, RequestHandleFunc, RequestErrorHandleFunc};
[INFO] [stdout]   |                                                                                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size` is never read
[INFO] [stdout]   --> src/lib.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub struct HttpServerThreadPool {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] 80 |     size: 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: field `id` is never read
[INFO] [stdout]   --> src/lib.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | struct HttpServerThreadExecutor {
[INFO] [stdout]    |        ------------------------ field in this struct
[INFO] [stdout] 86 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.63s
[INFO] running `Command { std: "docker" "inspect" "9dedd65e12fbcba24735f80b7a88509c4641752803f68a5f6864dfadba1550de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9dedd65e12fbcba24735f80b7a88509c4641752803f68a5f6864dfadba1550de", kill_on_drop: false }`
[INFO] [stdout] 9dedd65e12fbcba24735f80b7a88509c4641752803f68a5f6864dfadba1550de
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c3cc993a895a423870e7fd0eb1bc692733bebae56f9633104bdf431ea8c74a31
[INFO] running `Command { std: "docker" "start" "-a" "c3cc993a895a423870e7fd0eb1bc692733bebae56f9633104bdf431ea8c74a31", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `RequestErrorHandleFunc`
[INFO] [stdout]  --> src/utils.rs:5:89
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{HttpRequest, HttpServer, HttpStatusStruct, HttpResponse, RequestHandleFunc, RequestErrorHandleFunc};
[INFO] [stdout]   |                                                                                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size` is never read
[INFO] [stdout]   --> src/lib.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub struct HttpServerThreadPool {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] 80 |     size: 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: field `id` is never read
[INFO] [stdout]   --> src/lib.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | struct HttpServerThreadExecutor {
[INFO] [stdout]    |        ------------------------ field in this struct
[INFO] [stdout] 86 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling speed-rs-core v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `RequestErrorHandleFunc`
[INFO] [stdout]  --> src/utils.rs:5:89
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{HttpRequest, HttpServer, HttpStatusStruct, HttpResponse, RequestHandleFunc, RequestErrorHandleFunc};
[INFO] [stdout]   |                                                                                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size` is never read
[INFO] [stdout]   --> src/lib.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub struct HttpServerThreadPool {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] 80 |     size: 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: field `id` is never read
[INFO] [stdout]   --> src/lib.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | struct HttpServerThreadExecutor {
[INFO] [stdout]    |        ------------------------ field in this struct
[INFO] [stdout] 86 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s
[INFO] running `Command { std: "docker" "inspect" "c3cc993a895a423870e7fd0eb1bc692733bebae56f9633104bdf431ea8c74a31", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3cc993a895a423870e7fd0eb1bc692733bebae56f9633104bdf431ea8c74a31", kill_on_drop: false }`
[INFO] [stdout] c3cc993a895a423870e7fd0eb1bc692733bebae56f9633104bdf431ea8c74a31
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] dec1a58312a0b5b0ec48b51dab12ab17b3ad311874b7f595f412e4c83c01a7b1
[INFO] running `Command { std: "docker" "start" "-a" "dec1a58312a0b5b0ec48b51dab12ab17b3ad311874b7f595f412e4c83c01a7b1", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `RequestErrorHandleFunc`
[INFO] [stderr]  --> src/utils.rs:5:89
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::{HttpRequest, HttpServer, HttpStatusStruct, HttpResponse, RequestHandleFunc, RequestErrorHandleFunc};
[INFO] [stderr]   |                                                                                         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `size` is never read
[INFO] [stderr]   --> src/lib.rs:80:5
[INFO] [stderr]    |
[INFO] [stderr] 79 | pub struct HttpServerThreadPool {
[INFO] [stderr]    |            -------------------- field in this struct
[INFO] [stderr] 80 |     size: usize,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `id` is never read
[INFO] [stderr]   --> src/lib.rs:86:5
[INFO] [stderr]    |
[INFO] [stderr] 85 | struct HttpServerThreadExecutor {
[INFO] [stderr]    |        ------------------------ field in this struct
[INFO] [stderr] 86 |     id: usize,
[INFO] [stderr]    |     ^^
[INFO] [stderr] 
[INFO] [stderr] warning: `speed-rs-core` (lib) generated 3 warnings (run `cargo fix --lib -p speed-rs-core` to apply 1 suggestion)
[INFO] [stderr] warning: `speed-rs-core` (lib test) generated 3 warnings (3 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/speed_rs_core-194dfa77d4837777)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests speed_rs_core
[INFO] [stdout] 
[INFO] [stdout] running 15 tests
[INFO] [stdout] test src/lib.rs - HttpStatusStruct (line 68) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::ServeStatic (line 56) ... FAILED
[INFO] [stdout] test src/lib.rs - HttpServerThreadPool (line 76) ... FAILED
[INFO] [stdout] test src/lib.rs - HttpServer (line 98) ... FAILED
[INFO] [stdout] test src/lib.rs - HttpServer (line 94) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::break_request_uri (line 8) ... FAILED
[INFO] [stdout] test src/lib.rs - RequestHandleFunc (line 41) ... FAILED
[INFO] [stdout] test src/lib.rs - HttpServer::set_error_handler (line 349) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::Routing (line 190) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::Router (line 170) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::MoreDetailsRequest (line 30) ... FAILED
[INFO] [stdout] test src/lib.rs - RequestErrorHandleFunc (line 53) ... FAILED
[INFO] [stdout] test src/lib.rs - HttpServerMode (line 25) ... FAILED
[INFO] [stdout] test src/lib.rs - HttpServer (line 106) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::Router (line 159) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - HttpStatusStruct (line 68) stdout ----
[INFO] [stdout] error: missing `fn` or `struct` for function or struct definition
[INFO] [stdout]   --> src/lib.rs:69:1
[INFO] [stdout]    |
[INFO] [stdout] 69 | HttpStatusStruct(200, "OK")
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to call a macro, try
[INFO] [stdout]    |
[INFO] [stdout] 69 | HttpStatusStruct!(200, "OK")
[INFO] [stdout]    |                 +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils.rs - utils::ServeStatic (line 56) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `server` in this scope
[INFO] [stdout]   --> src/utils.rs:57:1
[INFO] [stdout]    |
[INFO] [stdout] 57 | server.serve_static(None);      // Default folder is "public"
[INFO] [stdout]    | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `server` in this scope
[INFO] [stdout]   --> src/utils.rs:58:1
[INFO] [stdout]    |
[INFO] [stdout] 58 | server.serve_static(Some(String::from("your_dir")));
[INFO] [stdout]    | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - HttpServerThreadPool (line 76) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpServerThreadPool`
[INFO] [stdout]   --> src/lib.rs:77:1
[INFO] [stdout]    |
[INFO] [stdout] 77 | HttpServerThreadPool::new(4)
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `HttpServerThreadPool`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 76 + use speed_rs_core::HttpServerThreadPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - HttpServer (line 98) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `server` in this scope
[INFO] [stdout]   --> src/lib.rs:99:1
[INFO] [stdout]    |
[INFO] [stdout] 99 | server.insert_handler(|mut req, mut res| {
[INFO] [stdout]    | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HttpStatusStruct` in this scope
[INFO] [stdout]    --> src/lib.rs:100:20
[INFO] [stdout]     |
[INFO] [stdout] 100 |     res.set_status(HttpStatusStruct(200, "OK"));
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]     |
[INFO] [stdout]  98 + use speed_rs_core::HttpStatusStruct;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:99:33
[INFO] [stdout]     |
[INFO] [stdout]  99 | server.insert_handler(|mut req, mut res| {
[INFO] [stdout]     |                                 ^^^^^^^
[INFO] [stdout] 100 |     res.set_status(HttpStatusStruct(200, "OK"));
[INFO] [stdout]     |     --- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout]  99 | server.insert_handler(|mut req, mut res: /* Type */| {
[INFO] [stdout]     |                                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> src/lib.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     Ok(req, res)
[INFO] [stdout]     |     ^^      --- unexpected argument #2
[INFO] [stdout]     |
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/result.rs:561:4
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 102 -     Ok(req, res)
[INFO] [stdout] 102 +     Ok(req)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0282, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - HttpServer (line 94) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpServer`
[INFO] [stdout]   --> src/lib.rs:95:18
[INFO] [stdout]    |
[INFO] [stdout] 95 | let mut server = HttpServer::new(HttpServerMode::MultiThread(HttpServerThreadPool::new(2)), "127.0.0.1:3000");
[INFO] [stdout]    |                  ^^^^^^^^^^ use of undeclared type `HttpServer`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 94 + use speed_rs_core::HttpServer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpServerMode`
[INFO] [stdout]   --> src/lib.rs:95:34
[INFO] [stdout]    |
[INFO] [stdout] 95 | let mut server = HttpServer::new(HttpServerMode::MultiThread(HttpServerThreadPool::new(2)), "127.0.0.1:3000");
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^ use of undeclared type `HttpServerMode`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 94 + use speed_rs_core::HttpServerMode;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpServerThreadPool`
[INFO] [stdout]   --> src/lib.rs:95:62
[INFO] [stdout]    |
[INFO] [stdout] 95 | let mut server = HttpServer::new(HttpServerMode::MultiThread(HttpServerThreadPool::new(2)), "127.0.0.1:3000");
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `HttpServerThreadPool`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 94 + use speed_rs_core::HttpServerThreadPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils.rs - utils::break_request_uri (line 8) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `server` in this scope
[INFO] [stdout]  --> src/utils.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | server.insert_handler(|req, res| {
[INFO] [stdout]   | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `break_request_uri` in this scope
[INFO] [stdout]   --> src/utils.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let (path, params) = break_request_uri(&req);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  8 + use speed_rs_core::utils::break_request_uri;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - RequestHandleFunc (line 41) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `server` in this scope
[INFO] [stdout]   --> src/lib.rs:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | server.insert_handler(|mut req, mut res| {
[INFO] [stdout]    | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HttpStatusStruct` in this scope
[INFO] [stdout]   --> src/lib.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 43 |     res.set_status(HttpStatusStruct(200, "OK"));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout] 41 + use speed_rs_core::HttpStatusStruct;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:42:33
[INFO] [stdout]    |
[INFO] [stdout] 42 | server.insert_handler(|mut req, mut res| {
[INFO] [stdout]    |                                 ^^^^^^^
[INFO] [stdout] 43 |     res.set_status(HttpStatusStruct(200, "OK"));
[INFO] [stdout]    |     --- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 42 | server.insert_handler(|mut req, mut res: /* Type */| {
[INFO] [stdout]    |                                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - HttpServer::set_error_handler (line 349) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `server` in this scope
[INFO] [stdout]    --> src/lib.rs:350:1
[INFO] [stdout]     |
[INFO] [stdout] 350 | server.set_error_handler(|req, mut res, err| {
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HttpStatusStruct` in this scope
[INFO] [stdout]    --> src/lib.rs:351:20
[INFO] [stdout]     |
[INFO] [stdout] 351 |     res.set_status(HttpStatusStruct(500, "Interal Server Error"));
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]     |
[INFO] [stdout] 349 + use speed_rs_core::HttpStatusStruct;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:350:32
[INFO] [stdout]     |
[INFO] [stdout] 350 | server.set_error_handler(|req, mut res, err| {
[INFO] [stdout]     |                                ^^^^^^^
[INFO] [stdout] 351 |     res.set_status(HttpStatusStruct(500, "Interal Server Error"));
[INFO] [stdout]     |     --- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 350 | server.set_error_handler(|req, mut res: /* Type */, err| {
[INFO] [stdout]     |                                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils.rs - utils::Routing (line 190) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]    --> src/utils.rs:194:1
[INFO] [stdout]     |
[INFO] [stdout] 194 | ...
[INFO] [stdout]     | ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]     |
[INFO] [stdout] 194 - ...
[INFO] [stdout] 194 + ..
[INFO] [stdout]     |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout] 194 - ...
[INFO] [stdout] 194 + ..=
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Router`
[INFO] [stdout]    --> src/utils.rs:191:18
[INFO] [stdout]     |
[INFO] [stdout] 191 | let mut router = Router::new();
[INFO] [stdout]     |                  ^^^^^^ use of undeclared type `Router`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 190 + use speed_rs_core::utils::Router;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `server` in this scope
[INFO] [stdout]    --> src/utils.rs:197:1
[INFO] [stdout]     |
[INFO] [stdout] 197 | server.insert_router(router);
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils.rs - utils::Router (line 170) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]    --> src/utils.rs:171:54
[INFO] [stdout]     |
[INFO] [stdout] 171 | router.define_route(Route::all("/test/", |req, res| {...}));
[INFO] [stdout]     |                                                      ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]     |
[INFO] [stdout] 171 - router.define_route(Route::all("/test/", |req, res| {...}));
[INFO] [stdout] 171 + router.define_route(Route::all("/test/", |req, res| {..}));
[INFO] [stdout]     |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout] 171 - router.define_route(Route::all("/test/", |req, res| {...}));
[INFO] [stdout] 171 + router.define_route(Route::all("/test/", |req, res| {..=}));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]    --> src/utils.rs:171:54
[INFO] [stdout]     |
[INFO] [stdout] 171 | router.define_route(Route::all("/test/", |req, res| {...}));
[INFO] [stdout]     |                                                      ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]     |
[INFO] [stdout] 171 - router.define_route(Route::all("/test/", |req, res| {...}));
[INFO] [stdout] 171 + router.define_route(Route::all("/test/", |req, res| {..}));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]    --> src/utils.rs:172:54
[INFO] [stdout]     |
[INFO] [stdout] 172 | router.define_route(Route::get("/test/", |req, res| {...}));
[INFO] [stdout]     |                                                      ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]     |
[INFO] [stdout] 172 - router.define_route(Route::get("/test/", |req, res| {...}));
[INFO] [stdout] 172 + router.define_route(Route::get("/test/", |req, res| {..}));
[INFO] [stdout]     |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout] 172 - router.define_route(Route::get("/test/", |req, res| {...}));
[INFO] [stdout] 172 + router.define_route(Route::get("/test/", |req, res| {..=}));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]    --> src/utils.rs:172:54
[INFO] [stdout]     |
[INFO] [stdout] 172 | router.define_route(Route::get("/test/", |req, res| {...}));
[INFO] [stdout]     |                                                      ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]     |
[INFO] [stdout] 172 - router.define_route(Route::get("/test/", |req, res| {...}));
[INFO] [stdout] 172 + router.define_route(Route::get("/test/", |req, res| {..}));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `router` in this scope
[INFO] [stdout]    --> src/utils.rs:171:1
[INFO] [stdout]     |
[INFO] [stdout] 171 | router.define_route(Route::all("/test/", |req, res| {...}));
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Route`
[INFO] [stdout]    --> src/utils.rs:171:21
[INFO] [stdout]     |
[INFO] [stdout] 171 | router.define_route(Route::all("/test/", |req, res| {...}));
[INFO] [stdout]     |                     ^^^^^ use of undeclared type `Route`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 170 + use speed_rs_core::utils::Route;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `router` in this scope
[INFO] [stdout]    --> src/utils.rs:172:1
[INFO] [stdout]     |
[INFO] [stdout] 172 | router.define_route(Route::get("/test/", |req, res| {...}));
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Route`
[INFO] [stdout]    --> src/utils.rs:172:21
[INFO] [stdout]     |
[INFO] [stdout] 172 | router.define_route(Route::get("/test/", |req, res| {...}));
[INFO] [stdout]     |                     ^^^^^ use of undeclared type `Route`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 170 + use speed_rs_core::utils::Route;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils.rs - utils::MoreDetailsRequest (line 30) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `server` in this scope
[INFO] [stdout]   --> src/utils.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | server.insert_handler(|req, res| {
[INFO] [stdout]    | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/utils.rs:31:24
[INFO] [stdout]    |
[INFO] [stdout] 31 | server.insert_handler(|req, res| {
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 32 |     let path = req.path();
[INFO] [stdout]    |                --- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 31 | server.insert_handler(|req: /* Type */, res| {
[INFO] [stdout]    |                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - RequestErrorHandleFunc (line 53) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `server` in this scope
[INFO] [stdout]   --> src/lib.rs:54:1
[INFO] [stdout]    |
[INFO] [stdout] 54 | server.set_error_handler(|req, mut res, err| {
[INFO] [stdout]    | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HttpStatusStruct` in this scope
[INFO] [stdout]   --> src/lib.rs:55:20
[INFO] [stdout]    |
[INFO] [stdout] 55 |     res.set_status(HttpStatusStruct(500, "Interal Server Error"));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout] 53 + use speed_rs_core::HttpStatusStruct;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:54:32
[INFO] [stdout]    |
[INFO] [stdout] 54 | server.set_error_handler(|req, mut res, err| {
[INFO] [stdout]    |                                ^^^^^^^
[INFO] [stdout] 55 |     res.set_status(HttpStatusStruct(500, "Interal Server Error"));
[INFO] [stdout]    |     --- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 54 | server.set_error_handler(|req, mut res: /* Type */, err| {
[INFO] [stdout]    |                                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - HttpServerMode (line 25) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpServer`
[INFO] [stdout]   --> src/lib.rs:26:18
[INFO] [stdout]    |
[INFO] [stdout] 26 | let mut server = HttpServer::new(HttpServerMode::SingleThread, "127.0.0.1:3000");
[INFO] [stdout]    |                  ^^^^^^^^^^ use of undeclared type `HttpServer`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 25 + use speed_rs_core::HttpServer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpServerMode`
[INFO] [stdout]   --> src/lib.rs:26:34
[INFO] [stdout]    |
[INFO] [stdout] 26 | let mut server = HttpServer::new(HttpServerMode::SingleThread, "127.0.0.1:3000");
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^ use of undeclared type `HttpServerMode`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 25 + use speed_rs_core::HttpServerMode;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpServer`
[INFO] [stdout]   --> src/lib.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 | let mut server = HttpServer::new(HttpServerMode::MultiThread(HttpServerThreadPool::new(2)), "127.0.0.1:3000");
[INFO] [stdout]    |                  ^^^^^^^^^^ use of undeclared type `HttpServer`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 25 + use speed_rs_core::HttpServer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpServerMode`
[INFO] [stdout]   --> src/lib.rs:27:34
[INFO] [stdout]    |
[INFO] [stdout] 27 | let mut server = HttpServer::new(HttpServerMode::MultiThread(HttpServerThreadPool::new(2)), "127.0.0.1:3000");
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^ use of undeclared type `HttpServerMode`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 25 + use speed_rs_core::HttpServerMode;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpServerThreadPool`
[INFO] [stdout]   --> src/lib.rs:27:62
[INFO] [stdout]    |
[INFO] [stdout] 27 | let mut server = HttpServer::new(HttpServerMode::MultiThread(HttpServerThreadPool::new(2)), "127.0.0.1:3000");
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `HttpServerThreadPool`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 25 + use speed_rs_core::HttpServerThreadPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - HttpServer (line 106) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `server` in this scope
[INFO] [stdout]    --> src/lib.rs:107:1
[INFO] [stdout]     |
[INFO] [stdout] 107 | server.listen(|| {
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils.rs - utils::Router (line 159) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Router`
[INFO] [stdout]    --> src/utils.rs:160:18
[INFO] [stdout]     |
[INFO] [stdout] 160 | let mut router = Router::new();
[INFO] [stdout]     |                  ^^^^^^ use of undeclared type `Router`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 159 + use speed_rs_core::utils::Router;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Route`
[INFO] [stdout]    --> src/utils.rs:162:21
[INFO] [stdout]     |
[INFO] [stdout] 162 | router.define_route(Route::get("/test/", |req, res| {
[INFO] [stdout]     |                     ^^^^^ use of undeclared type `Route`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 159 + use speed_rs_core::utils::Route;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HttpStatusStruct` in this scope
[INFO] [stdout]    --> src/utils.rs:164:20
[INFO] [stdout]     |
[INFO] [stdout] 164 |     res.set_status(HttpStatusStruct(200, "OK"));
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]     |
[INFO] [stdout] 159 + use speed_rs_core::HttpStatusStruct;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/utils.rs:162:48
[INFO] [stdout]     |
[INFO] [stdout] 162 | router.define_route(Route::get("/test/", |req, res| {
[INFO] [stdout]     |                                                ^^^
[INFO] [stdout] 163 |     res.insert_header("Content-Type".to_string(), "text/plain".to_string());
[INFO] [stdout]     |     --- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 162 | router.define_route(Route::get("/test/", |req, res: /* Type */| {
[INFO] [stdout]     |                                                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - HttpServer (line 106)
[INFO] [stdout]     src/lib.rs - HttpServer (line 94)
[INFO] [stdout]     src/lib.rs - HttpServer (line 98)
[INFO] [stdout]     src/lib.rs - HttpServer::set_error_handler (line 349)
[INFO] [stdout]     src/lib.rs - HttpServerMode (line 25)
[INFO] [stdout]     src/lib.rs - HttpServerThreadPool (line 76)
[INFO] [stdout]     src/lib.rs - HttpStatusStruct (line 68)
[INFO] [stdout]     src/lib.rs - RequestErrorHandleFunc (line 53)
[INFO] [stdout]     src/lib.rs - RequestHandleFunc (line 41)
[INFO] [stdout]     src/utils.rs - utils::MoreDetailsRequest (line 30)
[INFO] [stdout]     src/utils.rs - utils::Router (line 159)
[INFO] [stdout]     src/utils.rs - utils::Router (line 170)
[INFO] [stdout]     src/utils.rs - utils::Routing (line 190)
[INFO] [stdout]     src/utils.rs - utils::ServeStatic (line 56)
[INFO] [stdout]     src/utils.rs - utils::break_request_uri (line 8)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 15 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "dec1a58312a0b5b0ec48b51dab12ab17b3ad311874b7f595f412e4c83c01a7b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dec1a58312a0b5b0ec48b51dab12ab17b3ad311874b7f595f412e4c83c01a7b1", kill_on_drop: false }`
[INFO] [stdout] dec1a58312a0b5b0ec48b51dab12ab17b3ad311874b7f595f412e4c83c01a7b1
