[INFO] fetching crate rust_web_framework 0.1.6...
[INFO] testing rust_web_framework-0.1.6 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate rust_web_framework 0.1.6 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate rust_web_framework 0.1.6
[INFO] finished tweaking crates.io crate rust_web_framework 0.1.6
[INFO] tweaked toml for crates.io crate rust_web_framework 0.1.6 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rust_web_framework 0.1.6 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 5 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded terminal-link v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c522fd9397b41db83e14c6d6d34f1c71751d5645d7b51c752e77a0427742dcbc
[INFO] running `Command { std: "docker" "start" "-a" "c522fd9397b41db83e14c6d6d34f1c71751d5645d7b51c752e77a0427742dcbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c522fd9397b41db83e14c6d6d34f1c71751d5645d7b51c752e77a0427742dcbc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c522fd9397b41db83e14c6d6d34f1c71751d5645d7b51c752e77a0427742dcbc", kill_on_drop: false }`
[INFO] [stdout] c522fd9397b41db83e14c6d6d34f1c71751d5645d7b51c752e77a0427742dcbc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2334f7167bf0f295c7c8cd6e0db5d51b91029942ae5b4ff7acbae56506b533d4
[INFO] running `Command { std: "docker" "start" "-a" "2334f7167bf0f295c7c8cd6e0db5d51b91029942ae5b4ff7acbae56506b533d4", kill_on_drop: false }`
[INFO] [stderr]    Compiling terminal-link v0.1.0
[INFO] [stderr]    Compiling rust_web_framework v0.1.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/request_info.rs:28:30
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn parse_req(request:&str) -> Result<RequestInfo, ()> {
[INFO] [stdout]    |                              ^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn parse_req(request:&str) -> Result<RequestInfo<'_>, ()> {
[INFO] [stdout]    |                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] running `Command { std: "docker" "inspect" "2334f7167bf0f295c7c8cd6e0db5d51b91029942ae5b4ff7acbae56506b533d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2334f7167bf0f295c7c8cd6e0db5d51b91029942ae5b4ff7acbae56506b533d4", kill_on_drop: false }`
[INFO] [stdout] 2334f7167bf0f295c7c8cd6e0db5d51b91029942ae5b4ff7acbae56506b533d4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 897b566a7f78fbdf51439965253d1f15f38d0e85054be95781638c789b0f691b
[INFO] running `Command { std: "docker" "start" "-a" "897b566a7f78fbdf51439965253d1f15f38d0e85054be95781638c789b0f691b", kill_on_drop: false }`
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/request_info.rs:28:30
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn parse_req(request:&str) -> Result<RequestInfo, ()> {
[INFO] [stdout]    |                              ^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn parse_req(request:&str) -> Result<RequestInfo<'_>, ()> {
[INFO] [stdout]    |                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rust_web_framework v0.1.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/request_info.rs:28:30
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn parse_req(request:&str) -> Result<RequestInfo, ()> {
[INFO] [stdout]    |                              ^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn parse_req(request:&str) -> Result<RequestInfo<'_>, ()> {
[INFO] [stdout]    |                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] running `Command { std: "docker" "inspect" "897b566a7f78fbdf51439965253d1f15f38d0e85054be95781638c789b0f691b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "897b566a7f78fbdf51439965253d1f15f38d0e85054be95781638c789b0f691b", kill_on_drop: false }`
[INFO] [stdout] 897b566a7f78fbdf51439965253d1f15f38d0e85054be95781638c789b0f691b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3da063f08abcbbb0d218be319d9e9aef2aa2c56e398394cb818eda0d7f3d1e71
[INFO] running `Command { std: "docker" "start" "-a" "3da063f08abcbbb0d218be319d9e9aef2aa2c56e398394cb818eda0d7f3d1e71", kill_on_drop: false }`
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/request_info.rs:28:30
[INFO] [stderr]    |
[INFO] [stderr] 28 |     pub fn parse_req(request:&str) -> Result<RequestInfo, ()> {
[INFO] [stderr]    |                              ^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                              |
[INFO] [stderr]    |                              the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 28 |     pub fn parse_req(request:&str) -> Result<RequestInfo<'_>, ()> {
[INFO] [stderr]    |                                                         ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_web_framework` (lib) generated 1 warning (run `cargo fix --lib -p rust_web_framework` to apply 1 suggestion)
[INFO] [stderr] warning: `rust_web_framework` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_web_framework-41b131a44f83517b)
[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 rust_web_framework
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/lib.rs - Function (line 72) ... FAILED
[INFO] [stdout] test src/lib.rs - start (line 146) ... FAILED
[INFO] [stdout] test src/response.rs - response::with_file (line 170) ... FAILED
[INFO] [stdout] test src/request_info.rs - request_info::RequestInfo<'_>::parse_req (line 25) ... FAILED
[INFO] [stdout] test src/response.rs - response::not_found (line 153) ... FAILED
[INFO] [stdout] test src/request.rs - request::require_headers (line 26) ... FAILED
[INFO] [stdout] test src/response.rs - response::respond (line 69) ... FAILED
[INFO] [stdout] test src/lib.rs - Route (line 116) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - Function (line 72) stdout ----
[INFO] [stdout] error: expected one of `!` or `::`, found `(`
[INFO] [stdout]   --> src/lib.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 74 | Route::Tail(Method::GET, "enpoint1", Function::S(some_function)),
[INFO] [stdout]    |            ^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - start (line 146) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `start` in this scope
[INFO] [stdout]    --> src/lib.rs:147:1
[INFO] [stdout]     |
[INFO] [stdout] 147 | start(ServerConfig {
[INFO] [stdout]     | ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 146 + use rust_web_framework::start;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ServerConfig` in this scope
[INFO] [stdout]    --> src/lib.rs:147:7
[INFO] [stdout]     |
[INFO] [stdout] 147 | start(ServerConfig {
[INFO] [stdout]     |       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 146 + use rust_web_framework::ServerConfig;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `routes` in this scope
[INFO] [stdout]    --> src/lib.rs:152:5
[INFO] [stdout]     |
[INFO] [stdout] 152 |     routes,
[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: E0422, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response.rs - response::with_file (line 170) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `respond` in this scope
[INFO] [stdout]    --> src/response.rs:171:1
[INFO] [stdout]     |
[INFO] [stdout] 171 | respond(&mut stream, 200u16, with_file("/path/to/file.png"))
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 170 + use rust_web_framework::response::respond;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream` in this scope
[INFO] [stdout]    --> src/response.rs:171:14
[INFO] [stdout]     |
[INFO] [stdout] 171 | respond(&mut stream, 200u16, with_file("/path/to/file.png"))
[INFO] [stdout]     |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `with_file` in this scope
[INFO] [stdout]    --> src/response.rs:171:30
[INFO] [stdout]     |
[INFO] [stdout] 171 | respond(&mut stream, 200u16, with_file("/path/to/file.png"))
[INFO] [stdout]     |                              ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 170 + use rust_web_framework::response::with_file;
[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 E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/request_info.rs - request_info::RequestInfo<'_>::parse_req (line 25) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `RequestInfo` in this scope
[INFO] [stdout]   --> src/request_info.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 | let info:RequestInfo = RequestInfo::parse_req(&request);
[INFO] [stdout]    |          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 25 + use rust_web_framework::RequestInfo;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestInfo`
[INFO] [stdout]   --> src/request_info.rs:26:24
[INFO] [stdout]    |
[INFO] [stdout] 26 | let info:RequestInfo = RequestInfo::parse_req(&request);
[INFO] [stdout]    |                        ^^^^^^^^^^^ use of undeclared type `RequestInfo`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 25 + use rust_web_framework::RequestInfo;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `request` in this scope
[INFO] [stdout]   --> src/request_info.rs:26:48
[INFO] [stdout]    |
[INFO] [stdout] 26 | let info:RequestInfo = RequestInfo::parse_req(&request);
[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/response.rs - response::not_found (line 153) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `not_found` in this scope
[INFO] [stdout]    --> src/response.rs:154:1
[INFO] [stdout]     |
[INFO] [stdout] 154 | not_found(&mut stream, config);
[INFO] [stdout]     | ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 153 + use rust_web_framework::response::not_found;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream` in this scope
[INFO] [stdout]    --> src/response.rs:154:16
[INFO] [stdout]     |
[INFO] [stdout] 154 | not_found(&mut stream, config);
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `config` in this scope
[INFO] [stdout]    --> src/response.rs:154:24
[INFO] [stdout]     |
[INFO] [stdout] 154 | not_found(&mut stream, config);
[INFO] [stdout]     |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/request.rs - request::require_headers (line 26) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/request.rs:27:28
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn api_endpoint(mut stream:TcpStream, headers:HashMap<&str, &str>) -> () {
[INFO] [stdout]    |                            ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 26 + use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HashMap` in this scope
[INFO] [stdout]   --> src/request.rs:27:47
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn api_endpoint(mut stream:TcpStream, headers:HashMap<&str, &str>) -> () {
[INFO] [stdout]    |                                               ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 26 + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `respond` in this scope
[INFO] [stdout]   --> src/request.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     respond(&mut stream, 200u16, Respond::text("All headers exist!"));
[INFO] [stdout]    |     ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 26 + use rust_web_framework::response::respond;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Respond`
[INFO] [stdout]   --> src/request.rs:32:34
[INFO] [stdout]    |
[INFO] [stdout] 32 |     respond(&mut stream, 200u16, Respond::text("All headers exist!"));
[INFO] [stdout]    |                                  ^^^^^^^ use of undeclared type `Respond`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 26 + use rust_web_framework::response::Respond;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `require_headers` in this scope
[INFO] [stdout]   --> src/request.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 |     if require_headers(&mut stream, headers, &["authorization"]) { return; };
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 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/response.rs - response::respond (line 69) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `respond` in this scope
[INFO] [stdout]   --> src/response.rs:71:1
[INFO] [stdout]    |
[INFO] [stdout] 71 | respond(&mut stream, 200u16, None);
[INFO] [stdout]    | ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 69 + use rust_web_framework::response::respond;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream` in this scope
[INFO] [stdout]   --> src/response.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 | respond(&mut stream, 200u16, None);
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `respond` in this scope
[INFO] [stdout]   --> src/response.rs:74:1
[INFO] [stdout]    |
[INFO] [stdout] 74 | respond(&mut stream, 200u16, Some(Respond {
[INFO] [stdout]    | ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 69 + use rust_web_framework::response::respond;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream` in this scope
[INFO] [stdout]   --> src/response.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 74 | respond(&mut stream, 200u16, Some(Respond {
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Respond` in this scope
[INFO] [stdout]   --> src/response.rs:74:35
[INFO] [stdout]    |
[INFO] [stdout] 74 | respond(&mut stream, 200u16, Some(Respond {
[INFO] [stdout]    |                                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 69 + use rust_web_framework::response::Respond;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponseType`
[INFO] [stdout]   --> src/response.rs:76:20
[INFO] [stdout]    |
[INFO] [stdout] 76 |     response_type: ResponseType::Text,
[INFO] [stdout]    |                    ^^^^^^^^^^^^ use of undeclared type `ResponseType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 69 + use rust_web_framework::response::ResponseType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `respond` in this scope
[INFO] [stdout]   --> src/response.rs:80:1
[INFO] [stdout]    |
[INFO] [stdout] 80 | respond(&mut stream, 200u16, Some(Respond {
[INFO] [stdout]    | ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 69 + use rust_web_framework::response::respond;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream` in this scope
[INFO] [stdout]   --> src/response.rs:80:14
[INFO] [stdout]    |
[INFO] [stdout] 80 | respond(&mut stream, 200u16, Some(Respond {
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Respond` in this scope
[INFO] [stdout]   --> src/response.rs:80:35
[INFO] [stdout]    |
[INFO] [stdout] 80 | respond(&mut stream, 200u16, Some(Respond {
[INFO] [stdout]    |                                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 69 + use rust_web_framework::response::Respond;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponseType`
[INFO] [stdout]   --> src/response.rs:84:20
[INFO] [stdout]    |
[INFO] [stdout] 84 |     response_type: ResponseType::Text,
[INFO] [stdout]    |                    ^^^^^^^^^^^^ use of undeclared type `ResponseType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 69 + use rust_web_framework::response::ResponseType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Route (line 116) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Route`
[INFO] [stdout]    --> src/lib.rs:118:14
[INFO] [stdout]     |
[INFO] [stdout] 118 | let routes = Route::Stack("", &[
[INFO] [stdout]     |              ^^^^^ use of undeclared type `Route`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 116 + use rust_web_framework::Route;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Route`
[INFO] [stdout]    --> src/lib.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 119 |     Route::Stack("nest1", &[
[INFO] [stdout]     |     ^^^^^ use of undeclared type `Route`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 116 + use rust_web_framework::Route;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Route`
[INFO] [stdout]    --> src/lib.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 |         Route::Tail(Method::POST, "value", Function::S(|_| {})),
[INFO] [stdout]     |         ^^^^^ use of undeclared type `Route`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 116 + use rust_web_framework::Route;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method`
[INFO] [stdout]    --> src/lib.rs:120:21
[INFO] [stdout]     |
[INFO] [stdout] 120 |         Route::Tail(Method::POST, "value", Function::S(|_| {})),
[INFO] [stdout]     |                     ^^^^^^ use of undeclared type `Method`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 116 + use rust_web_framework::Method;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function`
[INFO] [stdout]    --> src/lib.rs:120:44
[INFO] [stdout]     |
[INFO] [stdout] 120 |         Route::Tail(Method::POST, "value", Function::S(|_| {})),
[INFO] [stdout]     |                                            ^^^^^^^^ use of undeclared type `Function`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 116 + use rust_web_framework::Function;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Route`
[INFO] [stdout]    --> src/lib.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |         Route::Stack("nest2", &[
[INFO] [stdout]     |         ^^^^^ use of undeclared type `Route`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 116 + use rust_web_framework::Route;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Route`
[INFO] [stdout]    --> src/lib.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 |             Route::Tail(Method::GET, "value1", Function::S(|_| {})),
[INFO] [stdout]     |             ^^^^^ use of undeclared type `Route`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 116 + use rust_web_framework::Route;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method`
[INFO] [stdout]    --> src/lib.rs:122:25
[INFO] [stdout]     |
[INFO] [stdout] 122 |             Route::Tail(Method::GET, "value1", Function::S(|_| {})),
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `Method`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 116 + use rust_web_framework::Method;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function`
[INFO] [stdout]    --> src/lib.rs:122:48
[INFO] [stdout]     |
[INFO] [stdout] 122 |             Route::Tail(Method::GET, "value1", Function::S(|_| {})),
[INFO] [stdout]     |                                                ^^^^^^^^ use of undeclared type `Function`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 116 + use rust_web_framework::Function;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Route`
[INFO] [stdout]    --> src/lib.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             Route::Tail(Method::GET, "value2", Function::S(|_| {})),
[INFO] [stdout]     |             ^^^^^ use of undeclared type `Route`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 116 + use rust_web_framework::Route;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method`
[INFO] [stdout]    --> src/lib.rs:123:25
[INFO] [stdout]     |
[INFO] [stdout] 123 |             Route::Tail(Method::GET, "value2", Function::S(|_| {})),
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `Method`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 116 + use rust_web_framework::Method;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Function`
[INFO] [stdout]    --> src/lib.rs:123:48
[INFO] [stdout]     |
[INFO] [stdout] 123 |             Route::Tail(Method::GET, "value2", Function::S(|_| {})),
[INFO] [stdout]     |                                                ^^^^^^^^ use of undeclared type `Function`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 116 + use rust_web_framework::Function;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - Function (line 72)
[INFO] [stdout]     src/lib.rs - Route (line 116)
[INFO] [stdout]     src/lib.rs - start (line 146)
[INFO] [stdout]     src/request.rs - request::require_headers (line 26)
[INFO] [stdout]     src/request_info.rs - request_info::RequestInfo<'_>::parse_req (line 25)
[INFO] [stdout]     src/response.rs - response::not_found (line 153)
[INFO] [stdout]     src/response.rs - response::respond (line 69)
[INFO] [stdout]     src/response.rs - response::with_file (line 170)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3da063f08abcbbb0d218be319d9e9aef2aa2c56e398394cb818eda0d7f3d1e71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3da063f08abcbbb0d218be319d9e9aef2aa2c56e398394cb818eda0d7f3d1e71", kill_on_drop: false }`
[INFO] [stdout] 3da063f08abcbbb0d218be319d9e9aef2aa2c56e398394cb818eda0d7f3d1e71
