[INFO] fetching crate lib_shared 0.1.0...
[INFO] testing lib_shared-0.1.0 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate lib_shared 0.1.0 into /workspace/builds/worker-0-tc2/source
[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-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate lib_shared 0.1.0 on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] running `"cargo" "+1.101.0-beta.1" "generate-lockfile" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 48 packages to highest compatible versions
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 4316d76648fa9e7dce4b5f0f42764021770ab72bea1b9c0b8bdb047a70d996fb
[INFO] running `"docker" "start" "4316d76648fa9e7dce4b5f0f42764021770ab72bea1b9c0b8bdb047a70d996fb"`
[INFO] running `"docker" "inspect" "4316d76648fa9e7dce4b5f0f42764021770ab72bea1b9c0b8bdb047a70d996fb"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4316d76648fa9e7dce4b5f0f42764021770ab72bea1b9c0b8bdb047a70d996fb" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "4316d76648fa9e7dce4b5f0f42764021770ab72bea1b9c0b8bdb047a70d996fb"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4316d76648fa9e7dce4b5f0f42764021770ab72bea1b9c0b8bdb047a70d996fb" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling aho-corasick v1.1.5
[INFO] [stderr]    Compiling chrono v0.4.45
[INFO] [stderr]    Compiling regex-automata v0.4.19
[INFO] [stderr]    Compiling regex v1.13.2
[INFO] [stderr]    Compiling lib_shared v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused dependency `serde`
[INFO] [stderr]   --> Cargo.toml:10:15
[INFO] [stderr]    |
[INFO] [stderr] 10 | [dependencies.serde]
[INFO] [stderr]    |               ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `serde`
[INFO] [stderr] warning: `lib_shared` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 27.47s
[INFO] running `"docker" "inspect" "4316d76648fa9e7dce4b5f0f42764021770ab72bea1b9c0b8bdb047a70d996fb"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4316d76648fa9e7dce4b5f0f42764021770ab72bea1b9c0b8bdb047a70d996fb" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling lib_shared v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused dependency `serde`
[INFO] [stderr]   --> Cargo.toml:10:15
[INFO] [stderr]    |
[INFO] [stderr] 10 | [dependencies.serde]
[INFO] [stderr]    |               ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `serde`
[INFO] [stderr] warning: `lib_shared` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.46s
[INFO] running `"docker" "inspect" "4316d76648fa9e7dce4b5f0f42764021770ab72bea1b9c0b8bdb047a70d996fb"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4316d76648fa9e7dce4b5f0f42764021770ab72bea1b9c0b8bdb047a70d996fb" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr] warning: unused dependency `serde`
[INFO] [stderr]   --> Cargo.toml:10:15
[INFO] [stderr]    |
[INFO] [stderr] 10 | [dependencies.serde]
[INFO] [stderr]    |               ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `serde`
[INFO] [stderr] warning: `lib_shared` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/lib_shared/1654187e6621dc76/out/lib_shared-1654187e6621dc76)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests lib_shared
[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] [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::clear (line 137) ... FAILED
[INFO] [stdout] test src/response.rs - response::Response::insert (line 172) ... FAILED
[INFO] [stdout] test src/response.rs - response::Response::abort (line 47) ... FAILED
[INFO] [stdout] test src/response.rs - response::Response::set_content_type (line 115) ... FAILED
[INFO] [stdout] test src/request.rs - request::Request::get_var (line 73) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/response.rs - response::Response::insert (line 164) stdout ----
[INFO] [stdout] error: expected one of `!` or `::`, found `&`
[INFO] [stdout]    --> src/response.rs:166:1
[INFO] [stdout]     |
[INFO] [stdout] 165 | serde_json::value::Value
[INFO] [stdout]     |                         - expected one of `!` or `::`
[INFO] [stdout] 166 | &str
[INFO] [stdout]     | ^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[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 `::`, found `important`
[INFO] [stdout]   --> src/request.rs:43:6
[INFO] [stdout]    |
[INFO] [stdout] 43 | Some important fields:
[INFO] [stdout]    |      ^^^^^^^^^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/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] 138 | #[route(path="/", method="[POST, GET]")]
[INFO] [stdout]     |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Request` in this scope
[INFO] [stdout]    --> src/response.rs:139:32
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn hello_handler(request: &Request) -> Response {
[INFO] [stdout]     |                                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Response` in this scope
[INFO] [stdout]    --> src/response.rs:139:44
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn hello_handler(request: &Request) -> Response {
[INFO] [stdout]     |                                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Response` in this scope
[INFO] [stdout]    --> src/response.rs:141:23
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let mut res = Response::new();        
[INFO] [stdout]     |                       ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response.rs - response::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] 173 | #[route(path="/", method="[POST, GET]")]
[INFO] [stdout]     |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Request` in this scope
[INFO] [stdout]    --> src/response.rs:174:32
[INFO] [stdout]     |
[INFO] [stdout] 174 |     fn hello_handler(request: &Request) -> Response {
[INFO] [stdout]     |                                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Response` in this scope
[INFO] [stdout]    --> src/response.rs:174:44
[INFO] [stdout]     |
[INFO] [stdout] 174 |     fn hello_handler(request: &Request) -> Response {
[INFO] [stdout]     |                                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Response` in this scope
[INFO] [stdout]    --> src/response.rs:176:23
[INFO] [stdout]     |
[INFO] [stdout] 176 |         let mut res = Response::new();        
[INFO] [stdout]     |                       ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response.rs - response::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] 48 | #[route(path="/test", method="[POST, GET]")]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Request` in this scope
[INFO] [stdout]   --> src/response.rs:49:29
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn hello_handler2(request: &Request) -> Response {
[INFO] [stdout]    |                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Response` in this scope
[INFO] [stdout]   --> src/response.rs:49:41
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn hello_handler2(request: &Request) -> Response {
[INFO] [stdout]    |                                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Response` in this scope
[INFO] [stdout]   --> src/response.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut res = Response::new();                
[INFO] [stdout]    |                   ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/response.rs - response::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] 116 | 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[E0425]: cannot find type `ContentType` in this scope
[INFO] [stdout]    --> src/response.rs:116:43
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn set_content_type(&mut self, ctype: ContentType) {          
[INFO] [stdout]     |                                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ContentType` in this scope
[INFO] [stdout]    --> src/response.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |             ContentType::ApplicationJson => "application/json",
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `ContentType`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ContentType` in this scope
[INFO] [stdout]    --> src/response.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |             ContentType::TextPlain => "text/plain",
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `ContentType`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ContentType` in this scope
[INFO] [stdout]    --> src/response.rs:120:13
[INFO] [stdout]     |
[INFO] [stdout] 120 |             ContentType::TextHtml => "text/html"
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `ContentType`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/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] 74 | #[route(path="/<int:name_defined_here>", method="[POST, GET]")]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Request` in this scope
[INFO] [stdout]   --> src/request.rs:75:25
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn double_handler(req: &Request) -> Response {
[INFO] [stdout]    |                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Response` in this scope
[INFO] [stdout]   --> src/request.rs:75:37
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn double_handler(req: &Request) -> Response {
[INFO] [stdout]    |                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Response` in this scope
[INFO] [stdout]   --> src/request.rs:79:19
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let mut res = Response::new();              
[INFO] [stdout]    |                   ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[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.48s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `"docker" "inspect" "4316d76648fa9e7dce4b5f0f42764021770ab72bea1b9c0b8bdb047a70d996fb"`
[INFO] running `"docker" "rm" "-f" "4316d76648fa9e7dce4b5f0f42764021770ab72bea1b9c0b8bdb047a70d996fb"`
[INFO] [stdout] 4316d76648fa9e7dce4b5f0f42764021770ab72bea1b9c0b8bdb047a70d996fb
