[INFO] fetching crate lib_shared 0.1.0...
[INFO] testing lib_shared-0.1.0 against nightly-2024-10-28 for randomize-layout
[INFO] extracting crate lib_shared 0.1.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate lib_shared 0.1.0 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate lib_shared 0.1.0
[INFO] finished tweaking crates.io crate lib_shared 0.1.0
[INFO] tweaked toml for crates.io crate lib_shared 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 46 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] da89cac4747357458a23e3a473952727de93903f2b7ab115d828d929f7d8cf12
[INFO] running `Command { std: "docker" "start" "-a" "da89cac4747357458a23e3a473952727de93903f2b7ab115d828d929f7d8cf12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "da89cac4747357458a23e3a473952727de93903f2b7ab115d828d929f7d8cf12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da89cac4747357458a23e3a473952727de93903f2b7ab115d828d929f7d8cf12", kill_on_drop: false }`
[INFO] [stdout] da89cac4747357458a23e3a473952727de93903f2b7ab115d828d929f7d8cf12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1018bf172b20114212b804e197502924134dfb19b5def30a5a395a61e484202c
[INFO] running `Command { std: "docker" "start" "-a" "1018bf172b20114212b804e197502924134dfb19b5def30a5a395a61e484202c", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling lib_shared v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.69s
[INFO] running `Command { std: "docker" "inspect" "1018bf172b20114212b804e197502924134dfb19b5def30a5a395a61e484202c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1018bf172b20114212b804e197502924134dfb19b5def30a5a395a61e484202c", kill_on_drop: false }`
[INFO] [stdout] 1018bf172b20114212b804e197502924134dfb19b5def30a5a395a61e484202c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 014dd9b5f68b09c04eeeb0d17d85edf84e266bfe0db284fceaf9aa7797fef653
[INFO] running `Command { std: "docker" "start" "-a" "014dd9b5f68b09c04eeeb0d17d85edf84e266bfe0db284fceaf9aa7797fef653", kill_on_drop: false }`
[INFO] [stderr]    Compiling lib_shared v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] running `Command { std: "docker" "inspect" "014dd9b5f68b09c04eeeb0d17d85edf84e266bfe0db284fceaf9aa7797fef653", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "014dd9b5f68b09c04eeeb0d17d85edf84e266bfe0db284fceaf9aa7797fef653", kill_on_drop: false }`
[INFO] [stdout] 014dd9b5f68b09c04eeeb0d17d85edf84e266bfe0db284fceaf9aa7797fef653
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8d41b1fd389906e9968c155abf2246234385c17774e2c880bc79340cf16fbd3a
[INFO] running `Command { std: "docker" "start" "-a" "8d41b1fd389906e9968c155abf2246234385c17774e2c880bc79340cf16fbd3a", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lib_shared-550cd797b9dd504f)
[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 lib_shared
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test src/response.rs - response::Response::insert (line 164) ... FAILED
[INFO] [stdout] test src/request.rs - request::Request::new (line 42) ... FAILED
[INFO] [stdout] test src/response.rs - response::Response::set_content_type (line 115) ... FAILED
[INFO] [stdout] test src/response.rs - response::Response::abort (line 47) ... FAILED
[INFO] [stdout] test src/request.rs - request::Request::get_var (line 73) ... FAILED
[INFO] [stdout] test src/response.rs - response::Response::clear (line 137) ... FAILED
[INFO] [stdout] test src/response.rs - response::Response::insert (line 172) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/response.rs - response::Response::insert (line 164) stdout ----
[INFO] [stdout] error: expected `;`, found `String`
[INFO] [stdout]  --> src/response.rs:166:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | &str
[INFO] [stdout]   |     ^ help: add `;` here
[INFO] [stdout] 5 | String
[INFO] [stdout]   | ------ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `String`
[INFO] [stdout]  --> src/response.rs:167:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | String
[INFO] [stdout]   | ^^^^^^
[INFO] [stdout]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/string.rs:362:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: `String` defined here
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this tuple variant instead
[INFO] [stdout]   |
[INFO] [stdout] 2 + use serde_json::Value::String;
[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 E0423`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/request.rs - request::Request::new (line 42) stdout ----
[INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `important`
[INFO] [stdout]  --> src/request.rs:43:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | Some important fields:
[INFO] [stdout]   |      ^^^^^^^^^ expected one of 8 possible tokens
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response.rs - response::Response::set_content_type (line 115) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/response.rs:116:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn set_content_type(&mut self, ctype: ContentType) {          
[INFO] [stdout]   |                         ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ContentType` in this scope
[INFO] [stdout]  --> src/response.rs:116:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn set_content_type(&mut self, ctype: ContentType) {          
[INFO] [stdout]   |                                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lib_shared::request::ContentType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType`
[INFO] [stdout]  --> src/response.rs:118:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |             ContentType::ApplicationJson => "application/json",
[INFO] [stdout]   |             ^^^^^^^^^^^ use of undeclared type `ContentType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lib_shared::request::ContentType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType`
[INFO] [stdout]  --> src/response.rs:119:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |             ContentType::TextPlain => "text/plain",
[INFO] [stdout]   |             ^^^^^^^^^^^ use of undeclared type `ContentType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lib_shared::request::ContentType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType`
[INFO] [stdout]  --> src/response.rs:120:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |             ContentType::TextHtml => "text/html"
[INFO] [stdout]   |             ^^^^^^^^^^^ use of undeclared type `ContentType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lib_shared::request::ContentType;
[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.rs - response::Response::abort (line 47) stdout ----
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]  --> src/response.rs:48:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[route(path="/test", method="[POST, GET]")]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Request` in this scope
[INFO] [stdout]  --> src/response.rs:49:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn hello_handler2(request: &Request) -> Response {
[INFO] [stdout]   |                             ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::error::Request;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lib_shared::request::Request;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/response.rs:49:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn hello_handler2(request: &Request) -> Response {
[INFO] [stdout]   |                                         ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lib_shared::response::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]  --> src/response.rs:51:19
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut res = Response::new();                
[INFO] [stdout]   |                   ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lib_shared::response::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/request.rs - request::Request::get_var (line 73) stdout ----
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]  --> src/request.rs:74:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[route(path="/<int:name_defined_here>", method="[POST, GET]")]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Request` in this scope
[INFO] [stdout]  --> src/request.rs:75:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn double_handler(req: &Request) -> Response {
[INFO] [stdout]   |                         ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::error::Request;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lib_shared::request::Request;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/request.rs:75:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn double_handler(req: &Request) -> Response {
[INFO] [stdout]   |                                     ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lib_shared::response::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]  --> src/request.rs:79:19
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let mut res = Response::new();              
[INFO] [stdout]   |                   ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lib_shared::response::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.rs - response::Response::clear (line 137) stdout ----
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]  --> src/response.rs:138:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[route(path="/", method="[POST, GET]")]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Request` in this scope
[INFO] [stdout]  --> src/response.rs:139:32
[INFO] [stdout]   |
[INFO] [stdout] 4 |     fn hello_handler(request: &Request) -> Response {
[INFO] [stdout]   |                                ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::error::Request;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lib_shared::request::Request;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/response.rs:139:44
[INFO] [stdout]   |
[INFO] [stdout] 4 |     fn hello_handler(request: &Request) -> Response {
[INFO] [stdout]   |                                            ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lib_shared::response::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]  --> src/response.rs:141:23
[INFO] [stdout]   |
[INFO] [stdout] 6 |         let mut res = Response::new();        
[INFO] [stdout]   |                       ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lib_shared::response::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.rs - response::Response::insert (line 172) stdout ----
[INFO] [stdout] error: cannot find attribute `route` in this scope
[INFO] [stdout]  --> src/response.rs:173:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[route(path="/", method="[POST, GET]")]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Request` in this scope
[INFO] [stdout]  --> src/response.rs:174:32
[INFO] [stdout]   |
[INFO] [stdout] 4 |     fn hello_handler(request: &Request) -> Response {
[INFO] [stdout]   |                                ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::error::Request;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lib_shared::request::Request;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/response.rs:174:44
[INFO] [stdout]   |
[INFO] [stdout] 4 |     fn hello_handler(request: &Request) -> Response {
[INFO] [stdout]   |                                            ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lib_shared::response::Response;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]  --> src/response.rs:176:23
[INFO] [stdout]   |
[INFO] [stdout] 6 |         let mut res = Response::new();        
[INFO] [stdout]   |                       ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use lib_shared::response::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/request.rs - request::Request::get_var (line 73)
[INFO] [stdout]     src/request.rs - request::Request::new (line 42)
[INFO] [stdout]     src/response.rs - response::Response::abort (line 47)
[INFO] [stdout]     src/response.rs - response::Response::clear (line 137)
[INFO] [stdout]     src/response.rs - response::Response::insert (line 164)
[INFO] [stdout]     src/response.rs - response::Response::insert (line 172)
[INFO] [stdout]     src/response.rs - response::Response::set_content_type (line 115)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "8d41b1fd389906e9968c155abf2246234385c17774e2c880bc79340cf16fbd3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d41b1fd389906e9968c155abf2246234385c17774e2c880bc79340cf16fbd3a", kill_on_drop: false }`
[INFO] [stdout] 8d41b1fd389906e9968c155abf2246234385c17774e2c880bc79340cf16fbd3a
