[INFO] fetching crate rust_web_framework 0.1.6...
[INFO] testing rust_web_framework-0.1.6 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate rust_web_framework 0.1.6 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rust_web_framework 0.1.6 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e827d29ae3b1fa0fffb867bc6378dea334ca6d2d45a18f87a0e93ab71c0f173c
[INFO] running `Command { std: "docker" "start" "-a" "e827d29ae3b1fa0fffb867bc6378dea334ca6d2d45a18f87a0e93ab71c0f173c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e827d29ae3b1fa0fffb867bc6378dea334ca6d2d45a18f87a0e93ab71c0f173c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e827d29ae3b1fa0fffb867bc6378dea334ca6d2d45a18f87a0e93ab71c0f173c", kill_on_drop: false }`
[INFO] [stdout] e827d29ae3b1fa0fffb867bc6378dea334ca6d2d45a18f87a0e93ab71c0f173c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d682ed2247d08fa575b4d37edeead073fac6eeebaf2706bffa777e3261a3a623
[INFO] running `Command { std: "docker" "start" "-a" "d682ed2247d08fa575b4d37edeead073fac6eeebaf2706bffa777e3261a3a623", kill_on_drop: false }`
[INFO] [stderr]    Compiling terminal-link v0.1.0
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling rust_web_framework v0.1.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 1.77s
[INFO] running `Command { std: "docker" "inspect" "d682ed2247d08fa575b4d37edeead073fac6eeebaf2706bffa777e3261a3a623", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d682ed2247d08fa575b4d37edeead073fac6eeebaf2706bffa777e3261a3a623", kill_on_drop: false }`
[INFO] [stdout] d682ed2247d08fa575b4d37edeead073fac6eeebaf2706bffa777e3261a3a623
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c7a80c59c4628ceb06c8e457e27e2548f1514d24e0bb8a128da56d6da04288b3
[INFO] running `Command { std: "docker" "start" "-a" "c7a80c59c4628ceb06c8e457e27e2548f1514d24e0bb8a128da56d6da04288b3", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_web_framework v0.1.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn parse_req(request:&str) -> Result<RequestInfo<'_>, ()> {
[INFO] [stdout]    |                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.32s
[INFO] running `Command { std: "docker" "inspect" "c7a80c59c4628ceb06c8e457e27e2548f1514d24e0bb8a128da56d6da04288b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7a80c59c4628ceb06c8e457e27e2548f1514d24e0bb8a128da56d6da04288b3", kill_on_drop: false }`
[INFO] [stdout] c7a80c59c4628ceb06c8e457e27e2548f1514d24e0bb8a128da56d6da04288b3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 33d319ab287b1df4edfd683b673ae194b0da59e71cf4614b8905db8c4977db64
[INFO] running `Command { std: "docker" "start" "-a" "33d319ab287b1df4edfd683b673ae194b0da59e71cf4614b8905db8c4977db64", kill_on_drop: false }`
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stderr]    |                              |
[INFO] [stderr]    |                              this lifetime flows to the output
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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
[INFO] [stderr] warning: `rust_web_framework` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_web_framework-25a833432fa34865)
[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.rs - request::require_headers (line 26) ... FAILED
[INFO] [stdout] test src/response.rs - response::not_found (line 153) ... FAILED
[INFO] [stdout] test src/request_info.rs - request_info::RequestInfo<'_>::parse_req (line 25) ... FAILED
[INFO] [stdout] test src/lib.rs - Route (line 116) ... FAILED
[INFO] [stdout] test src/response.rs - response::respond (line 69) ... 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] 2 | 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] 3 | start(ServerConfig {
[INFO] [stdout]   | ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 3 | start(ServerConfig {
[INFO] [stdout]   |       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 8 |     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] 3 | 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] 2 + 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] 3 | 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] 3 | 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] 2 + 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.rs - request::require_headers (line 26) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]  --> src/request.rs:27:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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] 2 + use std::net::TcpStream;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]  --> src/request.rs:27:47
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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] 2 + 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] 8 |     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] 2 + 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] 8 |     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] 2 + 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] 6 |     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: E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[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] 3 | 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] 2 + 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] 3 | 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] 3 | 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_info.rs - request_info::RequestInfo<'_>::parse_req (line 25) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `RequestInfo` in this scope
[INFO] [stdout]  --> src/request_info.rs:26:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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] 2 + 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] 3 | 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] 2 + 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] 3 | 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: E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[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] 4 | let routes = Route::Stack("", &[
[INFO] [stdout]   |              ^^^^^ use of undeclared type `Route`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 5 |     Route::Stack("nest1", &[
[INFO] [stdout]   |     ^^^^^ use of undeclared type `Route`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 6 |         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] 2 + 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] 6 |         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] 2 + 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] 6 |         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] 2 + 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] 7 |         Route::Stack("nest2", &[
[INFO] [stdout]   |         ^^^^^ use of undeclared type `Route`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 8 |             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] 2 + 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] 8 |             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] 2 + 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] 8 |             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] 2 + 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] 9 |             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] 2 + 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] 9 |             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] 2 + 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] 9 |             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] 2 + 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] ---- 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] 4 | 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] 2 + 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] 4 | 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] 7 | 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] 2 + 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] 7 | 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] 7 | 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] 2 + 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] 9 |     response_type: ResponseType::Text,
[INFO] [stdout]   |                    ^^^^^^^^^^^^ use of undeclared type `ResponseType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 13 | 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] 2  + 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] 13 | 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] 13 | 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] 2  + 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] 17 |     response_type: ResponseType::Text,
[INFO] [stdout]    |                    ^^^^^^^^^^^^ use of undeclared type `ResponseType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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] 
[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.24s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "33d319ab287b1df4edfd683b673ae194b0da59e71cf4614b8905db8c4977db64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33d319ab287b1df4edfd683b673ae194b0da59e71cf4614b8905db8c4977db64", kill_on_drop: false }`
[INFO] [stdout] 33d319ab287b1df4edfd683b673ae194b0da59e71cf4614b8905db8c4977db64
