[INFO] fetching crate pillow-http 0.4.2...
[INFO] testing pillow-http-0.4.2 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate pillow-http 0.4.2 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate pillow-http 0.4.2 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pillow-http 0.4.2
[INFO] finished tweaking crates.io crate pillow-http 0.4.2
[INFO] tweaked toml for crates.io crate pillow-http 0.4.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 119 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding chrono-tz v0.8.6 (latest: v0.9.0)
[INFO] [stderr]       Adding chrono-tz-build v0.2.1 (latest: v0.3.0)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding globwalk v0.8.1 (latest: v0.9.1)
[INFO] [stderr]       Adding handlebars v4.5.0 (latest: v5.1.2)
[INFO] [stderr]       Adding pillow-fs v0.4.1 (latest: v4.2.0)
[INFO] [stderr]       Adding siphasher v0.3.11 (latest: v1.0.1)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding windows-core v0.52.0 (latest: v0.56.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pillow-templates v0.4.1
[INFO] [stderr]   Downloaded pillow-fs v0.4.1
[INFO] [stderr]   Downloaded pillow-fs v4.2.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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5fa284384e646d0c8cd63ef24c76e3fc811dd8dfcf590e5f5d4e8b273f6b42f1
[INFO] running `Command { std: "docker" "start" "-a" "5fa284384e646d0c8cd63ef24c76e3fc811dd8dfcf590e5f5d4e8b273f6b42f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5fa284384e646d0c8cd63ef24c76e3fc811dd8dfcf590e5f5d4e8b273f6b42f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5fa284384e646d0c8cd63ef24c76e3fc811dd8dfcf590e5f5d4e8b273f6b42f1", kill_on_drop: false }`
[INFO] [stdout] 5fa284384e646d0c8cd63ef24c76e3fc811dd8dfcf590e5f5d4e8b273f6b42f1
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fc24cd9829fce324eabb0b103a5fa4676eff629c225aa9bfdeb67a842a107f08
[INFO] running `Command { std: "docker" "start" "-a" "fc24cd9829fce324eabb0b103a5fa4676eff629c225aa9bfdeb67a842a107f08", kill_on_drop: false }`
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling bstr v1.9.1
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]    Compiling phf_codegen v0.11.2
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling unic-char-range v0.9.0
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling unic-common v0.9.0
[INFO] [stderr]    Compiling unic-char-property v0.9.0
[INFO] [stderr]    Compiling unic-ucd-version v0.9.0
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling unic-ucd-segment v0.9.0
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling deunicode v1.6.0
[INFO] [stderr]    Compiling unic-segment v0.9.0
[INFO] [stderr]    Compiling humansize v2.1.3
[INFO] [stderr]    Compiling slug v0.1.5
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling pillow-fs v0.4.1
[INFO] [stderr]    Compiling pillow-fs v4.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling globset v0.4.14
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.1
[INFO] [stderr]    Compiling ignore v0.4.22
[INFO] [stderr]    Compiling chrono-tz-build v0.2.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling globwalk v0.8.1
[INFO] [stderr]    Compiling chrono-tz v0.8.6
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling pest v2.7.10
[INFO] [stderr]    Compiling pest_meta v2.7.10
[INFO] [stderr]    Compiling pest_generator v2.7.10
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling pest_derive v2.7.10
[INFO] [stderr]    Compiling handlebars v4.5.0
[INFO] [stderr]    Compiling tera v1.19.1
[INFO] [stderr]    Compiling pillow-templates v0.4.1
[INFO] [stderr]    Compiling pillow-http v0.4.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.29s
[INFO] running `Command { std: "docker" "inspect" "fc24cd9829fce324eabb0b103a5fa4676eff629c225aa9bfdeb67a842a107f08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc24cd9829fce324eabb0b103a5fa4676eff629c225aa9bfdeb67a842a107f08", kill_on_drop: false }`
[INFO] [stdout] fc24cd9829fce324eabb0b103a5fa4676eff629c225aa9bfdeb67a842a107f08
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c7a276a16b8e287fa474aeb2b98ad6e1a4f4895db31a3f1a1aa4b388570b973c
[INFO] running `Command { std: "docker" "start" "-a" "c7a276a16b8e287fa474aeb2b98ad6e1a4f4895db31a3f1a1aa4b388570b973c", kill_on_drop: false }`
[INFO] [stderr]    Compiling pillow-http v0.4.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s
[INFO] running `Command { std: "docker" "inspect" "c7a276a16b8e287fa474aeb2b98ad6e1a4f4895db31a3f1a1aa4b388570b973c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7a276a16b8e287fa474aeb2b98ad6e1a4f4895db31a3f1a1aa4b388570b973c", kill_on_drop: false }`
[INFO] [stdout] c7a276a16b8e287fa474aeb2b98ad6e1a4f4895db31a3f1a1aa4b388570b973c
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e95c39fa8eb29a4326c0626a0730caaf813b2d97e108121ed739767a36729b3b
[INFO] running `Command { std: "docker" "start" "-a" "e95c39fa8eb29a4326c0626a0730caaf813b2d97e108121ed739767a36729b3b", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pillow_http-8ac6f71da47ebe0b)
[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 pillow_http
[INFO] [stdout] 
[INFO] [stdout] running 14 tests
[INFO] [stdout] test src/response/mod.rs - response::Response::get_headers (line 524) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::get_status_line (line 548) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::add_header (line 481) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::json_from_str (line 262) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::add_multiple_headers (line 499) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::html (line 93) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::hbs (line 174) ... FAILED
[INFO] [stdout] test src/http_methods.rs - http_methods::from_str_to_http_method (line 44) ... FAILED
[INFO] [stdout] test src/http_methods.rs - http_methods::HttpMethods::as_str (line 22) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::json (line 217) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::set_status_code (line 564) ... FAILED
[INFO] [stdout] test src/uri.rs - uri::Uri (line 5) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::view (line 131) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::text (line 303) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/response/mod.rs - response::Response::get_headers (line 524) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> src/response/mod.rs:525:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_response_mod_rs_524_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | let headers: String = self.get_headers();
[INFO] [stdout]   |                       ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response/mod.rs - response::Response::get_status_line (line 548) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> src/response/mod.rs:549:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_response_mod_rs_548_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | let status_line: String = self.get_status_line();
[INFO] [stdout]   |                           ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response/mod.rs - response::Response::add_header (line 481) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pillow`
[INFO] [stdout]  --> src/response/mod.rs:482:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pillow::http::Router;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `pillow`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header`
[INFO] [stdout]  --> src/response/mod.rs:487:25
[INFO] [stdout]   |
[INFO] [stdout] 8 |     response.add_header(Header::ContentType, "text/hmtl".to_string());
[INFO] [stdout]   |                         ^^^^^^ use of undeclared type `Header`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Header;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::header::Header;
[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 E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response/mod.rs - response::Response::json_from_str (line 262) stdout ----
[INFO] [stdout] error: found invalid character; only `#` is allowed in raw string delimitation: {
[INFO] [stdout]  --> src/response/mod.rs:267:29
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Response::json_from_str(r#{
[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/response/mod.rs - response::Response::add_multiple_headers (line 499) stdout ----
[INFO] [stdout] error: expected `;`, found `response`
[INFO] [stdout]   --> src/response/mod.rs:509:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     ])
[INFO] [stdout]    |       ^ help: add `;` here
[INFO] [stdout] 13 |
[INFO] [stdout] 14 |     response
[INFO] [stdout]    |     -------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pillow`
[INFO] [stdout]  --> src/response/mod.rs:500:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pillow::http::*;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `pillow`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `controller` in this scope
[INFO] [stdout]  --> src/response/mod.rs:502:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[controller(method="GET", path = "/")]
[INFO] [stdout]   |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/response/mod.rs:504:19
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let response: Response = Response::new_empty();
[INFO] [stdout]   |                   ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]  --> src/response/mod.rs:504:30
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let response: Response = Response::new_empty();
[INFO] [stdout]   |                              ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response/mod.rs - response::Response::html (line 93) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pillow`
[INFO] [stdout]  --> src/response/mod.rs:94:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pillow::http::*;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `pillow`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `controller` in this scope
[INFO] [stdout]  --> src/response/mod.rs:96:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[controller(method = "GET", path = "/")]
[INFO] [stdout]   |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/response/mod.rs:97:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn index() -> Response {
[INFO] [stdout]   |               ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]  --> src/response/mod.rs:98:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Response::html("index")
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response/mod.rs - response::Response::hbs (line 174) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pillow`
[INFO] [stdout]  --> src/response/mod.rs:176:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use pillow::http::*;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `pillow`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pillow`
[INFO] [stdout]  --> src/response/mod.rs:175:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pillow::json;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `pillow`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `controller` in this scope
[INFO] [stdout]  --> src/response/mod.rs:178:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[controller(method = "GET", path = "/")]
[INFO] [stdout]   |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/response/mod.rs:179:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |  fn index() -> Response {
[INFO] [stdout]   |                ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]   --> src/response/mod.rs:184:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Response::hbs("index", json)
[INFO] [stdout]    |     ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use httparse::Response;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use pillow_http::Response;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/http_methods.rs - http_methods::from_str_to_http_method (line 44) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `from_str_to_http_method` in this scope
[INFO] [stdout]  --> src/http_methods.rs:46:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | assert_eq(from_str_to_http_method(method_str).unwrap(), HttpMethods::GET)
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::http_methods::from_str_to_http_method;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpMethods`
[INFO] [stdout]  --> src/http_methods.rs:46:57
[INFO] [stdout]   |
[INFO] [stdout] 4 | assert_eq(from_str_to_http_method(method_str).unwrap(), HttpMethods::GET)
[INFO] [stdout]   |                                                         ^^^^^^^^^^^ use of undeclared type `HttpMethods`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::http_methods::HttpMethods;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found macro `assert_eq`
[INFO] [stdout]  --> src/http_methods.rs:46:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | assert_eq(from_str_to_http_method(method_str).unwrap(), HttpMethods::GET)
[INFO] [stdout]   | ^^^^^^^^^ not a function
[INFO] [stdout]   |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]   |
[INFO] [stdout] 4 | assert_eq!(from_str_to_http_method(method_str).unwrap(), HttpMethods::GET)
[INFO] [stdout]   |          +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/http_methods.rs - http_methods::HttpMethods::as_str (line 22) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpMethods`
[INFO] [stdout]  --> src/http_methods.rs:23:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let method_str = HttpMethods::GET;
[INFO] [stdout]   |                  ^^^^^^^^^^^ use of undeclared type `HttpMethods`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::http_methods::HttpMethods;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found macro `assert_eq`
[INFO] [stdout]  --> src/http_methods.rs:24:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | assert_eq(method_str.as_str(), "GET")
[INFO] [stdout]   | ^^^^^^^^^ not a function
[INFO] [stdout]   |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]   |
[INFO] [stdout] 4 | assert_eq!(method_str.as_str(), "GET")
[INFO] [stdout]   |          +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response/mod.rs - response::Response::json (line 217) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pillow`
[INFO] [stdout]  --> src/response/mod.rs:219:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use pillow::http::{ MainRouter, Response };
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `pillow`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pillow`
[INFO] [stdout]  --> src/response/mod.rs:218:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pillow::json;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `pillow`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `controller` in this scope
[INFO] [stdout]  --> src/response/mod.rs:221:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[controller(method = "GET", path = "/")]
[INFO] [stdout]   |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response/mod.rs - response::Response::set_status_code (line 564) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/response/mod.rs:565:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let response: Response = Response::new_empty();
[INFO] [stdout]   |               ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]  --> src/response/mod.rs:565:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | let response: Response = Response::new_empty();
[INFO] [stdout]   |                          ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode`
[INFO] [stdout]  --> src/response/mod.rs:566:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | response.set_status_code(StatusCode::Successfull(status_code::Successfull::OK));
[INFO] [stdout]   |                          ^^^^^^^^^^ use of undeclared type `StatusCode`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::status_code::StatusCode;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `status_code`
[INFO] [stdout]  --> src/response/mod.rs:566:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | response.set_status_code(StatusCode::Successfull(status_code::Successfull::OK));
[INFO] [stdout]   |                                                  ^^^^^^^^^^^ use of undeclared crate or module `status_code`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::status_code::Successfull;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Successfull`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 4 - response.set_status_code(StatusCode::Successfull(status_code::Successfull::OK));
[INFO] [stdout] 4 + response.set_status_code(StatusCode::Successfull(Successfull::OK));
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/uri.rs - uri::Uri (line 5) stdout ----
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Uri` in this scope
[INFO] [stdout]  --> src/uri.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | Uri("/usrs/01".to_string())
[INFO] [stdout]   | ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Uri;
[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 E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response/mod.rs - response::Response::view (line 131) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pillow`
[INFO] [stdout]  --> src/response/mod.rs:132:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pillow::{
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `pillow`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `pillow::templates::Context`, `pillow::templates::Template`
[INFO] [stdout]  --> src/response/mod.rs:134:17
[INFO] [stdout]   |
[INFO] [stdout] 5 |     templates::{Context, Template}
[INFO] [stdout]   |                 ^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `controller` in this scope
[INFO] [stdout]  --> src/response/mod.rs:137:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[controller(method = "GET", path = "/")]
[INFO] [stdout]   |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/response/mod.rs:138:16
[INFO] [stdout]   |
[INFO] [stdout] 9 |  fn index() -> Response {
[INFO] [stdout]   |                ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]   --> src/response/mod.rs:141:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Response::view(Template::Tera("index", "tera.html", ctx))
[INFO] [stdout]    |     ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use httparse::Response;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use pillow_http::Response;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response/mod.rs - response::Response::text (line 303) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pillow`
[INFO] [stdout]  --> src/response/mod.rs:304:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pillow::http::*;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `pillow`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `controller` in this scope
[INFO] [stdout]  --> src/response/mod.rs:306:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[controller(method = "GET", path = "/")]
[INFO] [stdout]   |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/response/mod.rs:307:16
[INFO] [stdout]   |
[INFO] [stdout] 6 |  fn index() -> Response {
[INFO] [stdout]   |                ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]  --> src/response/mod.rs:308:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Response::text("hello world")
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/http_methods.rs - http_methods::HttpMethods::as_str (line 22)
[INFO] [stdout]     src/http_methods.rs - http_methods::from_str_to_http_method (line 44)
[INFO] [stdout]     src/response/mod.rs - response::Response::add_header (line 481)
[INFO] [stdout]     src/response/mod.rs - response::Response::add_multiple_headers (line 499)
[INFO] [stdout]     src/response/mod.rs - response::Response::get_headers (line 524)
[INFO] [stdout]     src/response/mod.rs - response::Response::get_status_line (line 548)
[INFO] [stdout]     src/response/mod.rs - response::Response::hbs (line 174)
[INFO] [stdout]     src/response/mod.rs - response::Response::html (line 93)
[INFO] [stdout]     src/response/mod.rs - response::Response::json (line 217)
[INFO] [stdout]     src/response/mod.rs - response::Response::json_from_str (line 262)
[INFO] [stdout]     src/response/mod.rs - response::Response::set_status_code (line 564)
[INFO] [stdout]     src/response/mod.rs - response::Response::text (line 303)
[INFO] [stdout]     src/response/mod.rs - response::Response::view (line 131)
[INFO] [stdout]     src/uri.rs - uri::Uri (line 5)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "e95c39fa8eb29a4326c0626a0730caaf813b2d97e108121ed739767a36729b3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e95c39fa8eb29a4326c0626a0730caaf813b2d97e108121ed739767a36729b3b", kill_on_drop: false }`
[INFO] [stdout] e95c39fa8eb29a4326c0626a0730caaf813b2d97e108121ed739767a36729b3b
[INFO] testing pillow-http-0.4.2 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate pillow-http 0.4.2 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate pillow-http 0.4.2 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pillow-http 0.4.2
[INFO] finished tweaking crates.io crate pillow-http 0.4.2
[INFO] tweaked toml for crates.io crate pillow-http 0.4.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 119 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding chrono-tz v0.8.6 (latest: v0.9.0)
[INFO] [stderr]       Adding chrono-tz-build v0.2.1 (latest: v0.3.0)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding globwalk v0.8.1 (latest: v0.9.1)
[INFO] [stderr]       Adding handlebars v4.5.0 (latest: v5.1.2)
[INFO] [stderr]       Adding pillow-fs v0.4.1 (latest: v4.2.0)
[INFO] [stderr]       Adding siphasher v0.3.11 (latest: v1.0.1)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding windows-core v0.52.0 (latest: v0.56.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 97c3bc1854f0ef4f54c90f95ff93c55465e59c6fba7f8554f17f06108545fdc6
[INFO] running `Command { std: "docker" "start" "-a" "97c3bc1854f0ef4f54c90f95ff93c55465e59c6fba7f8554f17f06108545fdc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "97c3bc1854f0ef4f54c90f95ff93c55465e59c6fba7f8554f17f06108545fdc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97c3bc1854f0ef4f54c90f95ff93c55465e59c6fba7f8554f17f06108545fdc6", kill_on_drop: false }`
[INFO] [stdout] 97c3bc1854f0ef4f54c90f95ff93c55465e59c6fba7f8554f17f06108545fdc6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dce5493c8aa361bb4bf10ef1dde69679824d3653db51a68241065b1c8a7f8fc5
[INFO] running `Command { std: "docker" "start" "-a" "dce5493c8aa361bb4bf10ef1dde69679824d3653db51a68241065b1c8a7f8fc5", kill_on_drop: false }`
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling bstr v1.9.1
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]    Compiling phf_codegen v0.11.2
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling unic-char-range v0.9.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling unic-common v0.9.0
[INFO] [stderr]    Compiling unic-ucd-version v0.9.0
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling unic-char-property v0.9.0
[INFO] [stderr]    Compiling unic-ucd-segment v0.9.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling deunicode v1.6.0
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling slug v0.1.5
[INFO] [stderr]    Compiling humansize v2.1.3
[INFO] [stderr]    Compiling unic-segment v0.9.0
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling pillow-fs v0.4.1
[INFO] [stderr]    Compiling pillow-fs v4.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling globset v0.4.14
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.1
[INFO] [stderr]    Compiling ignore v0.4.22
[INFO] [stderr]    Compiling chrono-tz-build v0.2.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling globwalk v0.8.1
[INFO] [stderr]    Compiling pest v2.7.10
[INFO] [stderr]    Compiling chrono-tz v0.8.6
[INFO] [stderr]    Compiling pest_meta v2.7.10
[INFO] [stderr]    Compiling pest_generator v2.7.10
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling pest_derive v2.7.10
[INFO] [stderr]    Compiling handlebars v4.5.0
[INFO] [stderr]    Compiling tera v1.19.1
[INFO] [stderr]    Compiling pillow-templates v0.4.1
[INFO] [stderr]    Compiling pillow-http v0.4.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.48s
[INFO] running `Command { std: "docker" "inspect" "dce5493c8aa361bb4bf10ef1dde69679824d3653db51a68241065b1c8a7f8fc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dce5493c8aa361bb4bf10ef1dde69679824d3653db51a68241065b1c8a7f8fc5", kill_on_drop: false }`
[INFO] [stdout] dce5493c8aa361bb4bf10ef1dde69679824d3653db51a68241065b1c8a7f8fc5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 446f66a997d229fb864a6293193783c14a5a54443875b6cb7119795e65d56562
[INFO] running `Command { std: "docker" "start" "-a" "446f66a997d229fb864a6293193783c14a5a54443875b6cb7119795e65d56562", kill_on_drop: false }`
[INFO] [stderr]    Compiling pillow-http v0.4.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s
[INFO] running `Command { std: "docker" "inspect" "446f66a997d229fb864a6293193783c14a5a54443875b6cb7119795e65d56562", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "446f66a997d229fb864a6293193783c14a5a54443875b6cb7119795e65d56562", kill_on_drop: false }`
[INFO] [stdout] 446f66a997d229fb864a6293193783c14a5a54443875b6cb7119795e65d56562
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 753f3dcf3ee6a79fbd1781b70511e995cc1faf2aca05d2f33bbc23c1d98e70e2
[INFO] running `Command { std: "docker" "start" "-a" "753f3dcf3ee6a79fbd1781b70511e995cc1faf2aca05d2f33bbc23c1d98e70e2", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pillow_http-8ac6f71da47ebe0b)
[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 pillow_http
[INFO] [stdout] 
[INFO] [stdout] running 14 tests
[INFO] [stdout] test src/response/mod.rs - response::Response::get_headers (line 524) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::get_status_line (line 548) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::json_from_str (line 262) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::add_header (line 481) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::html (line 93) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::hbs (line 174) ... FAILED
[INFO] [stdout] test src/http_methods.rs - http_methods::HttpMethods::as_str (line 22) ... FAILED
[INFO] [stdout] test src/http_methods.rs - http_methods::from_str_to_http_method (line 44) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::add_multiple_headers (line 499) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::json (line 217) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::set_status_code (line 564) ... FAILED
[INFO] [stdout] test src/uri.rs - uri::Uri (line 5) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::view (line 131) ... FAILED
[INFO] [stdout] test src/response/mod.rs - response::Response::text (line 303) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/response/mod.rs - response::Response::get_headers (line 524) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> src/response/mod.rs:525:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_response_mod_rs_524_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | let headers: String = self.get_headers();
[INFO] [stdout]   |                       ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response/mod.rs - response::Response::get_status_line (line 548) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> src/response/mod.rs:549:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_response_mod_rs_548_0() {
[INFO] [stdout]   |                                         --------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | let status_line: String = self.get_status_line();
[INFO] [stdout]   |                           ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response/mod.rs - response::Response::json_from_str (line 262) stdout ----
[INFO] [stdout] error: found invalid character; only `#` is allowed in raw string delimitation: {
[INFO] [stdout]  --> src/response/mod.rs:267:29
[INFO] [stdout]   |
[INFO] [stdout] 5 |     Response::json_from_str(r#{
[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/response/mod.rs - response::Response::add_header (line 481) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pillow`
[INFO] [stdout]  --> src/response/mod.rs:482:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pillow::http::Router;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `pillow`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header`
[INFO] [stdout]  --> src/response/mod.rs:487:25
[INFO] [stdout]   |
[INFO] [stdout] 8 |     response.add_header(Header::ContentType, "text/hmtl".to_string());
[INFO] [stdout]   |                         ^^^^^^ use of undeclared type `Header`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Header;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::header::Header;
[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 E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response/mod.rs - response::Response::html (line 93) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pillow`
[INFO] [stdout]  --> src/response/mod.rs:94:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pillow::http::*;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `pillow`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `controller` in this scope
[INFO] [stdout]  --> src/response/mod.rs:96:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[controller(method = "GET", path = "/")]
[INFO] [stdout]   |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/response/mod.rs:97:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn index() -> Response {
[INFO] [stdout]   |               ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]  --> src/response/mod.rs:98:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Response::html("index")
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response/mod.rs - response::Response::hbs (line 174) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pillow`
[INFO] [stdout]  --> src/response/mod.rs:176:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use pillow::http::*;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `pillow`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pillow`
[INFO] [stdout]  --> src/response/mod.rs:175:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pillow::json;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `pillow`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `controller` in this scope
[INFO] [stdout]  --> src/response/mod.rs:178:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[controller(method = "GET", path = "/")]
[INFO] [stdout]   |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/response/mod.rs:179:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |  fn index() -> Response {
[INFO] [stdout]   |                ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]   --> src/response/mod.rs:184:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Response::hbs("index", json)
[INFO] [stdout]    |     ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use httparse::Response;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use pillow_http::Response;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/http_methods.rs - http_methods::HttpMethods::as_str (line 22) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpMethods`
[INFO] [stdout]  --> src/http_methods.rs:23:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let method_str = HttpMethods::GET;
[INFO] [stdout]   |                  ^^^^^^^^^^^ use of undeclared type `HttpMethods`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::http_methods::HttpMethods;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found macro `assert_eq`
[INFO] [stdout]  --> src/http_methods.rs:24:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | assert_eq(method_str.as_str(), "GET")
[INFO] [stdout]   | ^^^^^^^^^ not a function
[INFO] [stdout]   |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]   |
[INFO] [stdout] 4 | assert_eq!(method_str.as_str(), "GET")
[INFO] [stdout]   |          +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/http_methods.rs - http_methods::from_str_to_http_method (line 44) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `from_str_to_http_method` in this scope
[INFO] [stdout]  --> src/http_methods.rs:46:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | assert_eq(from_str_to_http_method(method_str).unwrap(), HttpMethods::GET)
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::http_methods::from_str_to_http_method;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpMethods`
[INFO] [stdout]  --> src/http_methods.rs:46:57
[INFO] [stdout]   |
[INFO] [stdout] 4 | assert_eq(from_str_to_http_method(method_str).unwrap(), HttpMethods::GET)
[INFO] [stdout]   |                                                         ^^^^^^^^^^^ use of undeclared type `HttpMethods`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::http_methods::HttpMethods;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found macro `assert_eq`
[INFO] [stdout]  --> src/http_methods.rs:46:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | assert_eq(from_str_to_http_method(method_str).unwrap(), HttpMethods::GET)
[INFO] [stdout]   | ^^^^^^^^^ not a function
[INFO] [stdout]   |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]   |
[INFO] [stdout] 4 | assert_eq!(from_str_to_http_method(method_str).unwrap(), HttpMethods::GET)
[INFO] [stdout]   |          +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response/mod.rs - response::Response::add_multiple_headers (line 499) stdout ----
[INFO] [stdout] error: expected `;`, found `response`
[INFO] [stdout]   --> src/response/mod.rs:509:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     ])
[INFO] [stdout]    |       ^ help: add `;` here
[INFO] [stdout] 13 |
[INFO] [stdout] 14 |     response
[INFO] [stdout]    |     -------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pillow`
[INFO] [stdout]  --> src/response/mod.rs:500:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pillow::http::*;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `pillow`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `controller` in this scope
[INFO] [stdout]  --> src/response/mod.rs:502:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[controller(method="GET", path = "/")]
[INFO] [stdout]   |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/response/mod.rs:504:19
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let response: Response = Response::new_empty();
[INFO] [stdout]   |                   ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]  --> src/response/mod.rs:504:30
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let response: Response = Response::new_empty();
[INFO] [stdout]   |                              ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response/mod.rs - response::Response::json (line 217) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pillow`
[INFO] [stdout]  --> src/response/mod.rs:219:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use pillow::http::{ MainRouter, Response };
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `pillow`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pillow`
[INFO] [stdout]  --> src/response/mod.rs:218:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pillow::json;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `pillow`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `controller` in this scope
[INFO] [stdout]  --> src/response/mod.rs:221:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[controller(method = "GET", path = "/")]
[INFO] [stdout]   |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response/mod.rs - response::Response::set_status_code (line 564) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/response/mod.rs:565:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let response: Response = Response::new_empty();
[INFO] [stdout]   |               ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]  --> src/response/mod.rs:565:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | let response: Response = Response::new_empty();
[INFO] [stdout]   |                          ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode`
[INFO] [stdout]  --> src/response/mod.rs:566:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | response.set_status_code(StatusCode::Successfull(status_code::Successfull::OK));
[INFO] [stdout]   |                          ^^^^^^^^^^ use of undeclared type `StatusCode`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::status_code::StatusCode;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `status_code`
[INFO] [stdout]  --> src/response/mod.rs:566:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | response.set_status_code(StatusCode::Successfull(status_code::Successfull::OK));
[INFO] [stdout]   |                                                  ^^^^^^^^^^^ use of undeclared crate or module `status_code`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::status_code::Successfull;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Successfull`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 4 - response.set_status_code(StatusCode::Successfull(status_code::Successfull::OK));
[INFO] [stdout] 4 + response.set_status_code(StatusCode::Successfull(Successfull::OK));
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/uri.rs - uri::Uri (line 5) stdout ----
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Uri` in this scope
[INFO] [stdout]  --> src/uri.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | Uri("/usrs/01".to_string())
[INFO] [stdout]   | ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Uri;
[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 E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response/mod.rs - response::Response::view (line 131) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pillow`
[INFO] [stdout]  --> src/response/mod.rs:132:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pillow::{
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `pillow`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `pillow::templates::Context`, `pillow::templates::Template`
[INFO] [stdout]  --> src/response/mod.rs:134:17
[INFO] [stdout]   |
[INFO] [stdout] 5 |     templates::{Context, Template}
[INFO] [stdout]   |                 ^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `controller` in this scope
[INFO] [stdout]  --> src/response/mod.rs:137:3
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[controller(method = "GET", path = "/")]
[INFO] [stdout]   |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/response/mod.rs:138:16
[INFO] [stdout]   |
[INFO] [stdout] 9 |  fn index() -> Response {
[INFO] [stdout]   |                ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]   --> src/response/mod.rs:141:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Response::view(Template::Tera("index", "tera.html", ctx))
[INFO] [stdout]    |     ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use httparse::Response;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use pillow_http::Response;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response/mod.rs - response::Response::text (line 303) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pillow`
[INFO] [stdout]  --> src/response/mod.rs:304:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pillow::http::*;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `pillow`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `controller` in this scope
[INFO] [stdout]  --> src/response/mod.rs:306:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[controller(method = "GET", path = "/")]
[INFO] [stdout]   |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/response/mod.rs:307:16
[INFO] [stdout]   |
[INFO] [stdout] 6 |  fn index() -> Response {
[INFO] [stdout]   |                ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]  --> src/response/mod.rs:308:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Response::text("hello world")
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use httparse::Response;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use pillow_http::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/http_methods.rs - http_methods::HttpMethods::as_str (line 22)
[INFO] [stdout]     src/http_methods.rs - http_methods::from_str_to_http_method (line 44)
[INFO] [stdout]     src/response/mod.rs - response::Response::add_header (line 481)
[INFO] [stdout]     src/response/mod.rs - response::Response::add_multiple_headers (line 499)
[INFO] [stdout]     src/response/mod.rs - response::Response::get_headers (line 524)
[INFO] [stdout]     src/response/mod.rs - response::Response::get_status_line (line 548)
[INFO] [stdout]     src/response/mod.rs - response::Response::hbs (line 174)
[INFO] [stdout]     src/response/mod.rs - response::Response::html (line 93)
[INFO] [stdout]     src/response/mod.rs - response::Response::json (line 217)
[INFO] [stdout]     src/response/mod.rs - response::Response::json_from_str (line 262)
[INFO] [stdout]     src/response/mod.rs - response::Response::set_status_code (line 564)
[INFO] [stdout]     src/response/mod.rs - response::Response::text (line 303)
[INFO] [stdout]     src/response/mod.rs - response::Response::view (line 131)
[INFO] [stdout]     src/uri.rs - uri::Uri (line 5)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "753f3dcf3ee6a79fbd1781b70511e995cc1faf2aca05d2f33bbc23c1d98e70e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "753f3dcf3ee6a79fbd1781b70511e995cc1faf2aca05d2f33bbc23c1d98e70e2", kill_on_drop: false }`
[INFO] [stdout] 753f3dcf3ee6a79fbd1781b70511e995cc1faf2aca05d2f33bbc23c1d98e70e2
