[INFO] cloning repository https://github.com/kulak/ntex-middleware
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kulak/ntex-middleware" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkulak%2Fntex-middleware", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkulak%2Fntex-middleware'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 91d0de36f75febdff009bc8b53498849fff66c56
[INFO] testing kulak/ntex-middleware against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkulak%2Fntex-middleware" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kulak/ntex-middleware on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kulak/ntex-middleware
[INFO] finished tweaking git repo https://github.com/kulak/ntex-middleware
[INFO] tweaked toml for git repo https://github.com/kulak/ntex-middleware written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/kulak/ntex-middleware already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ntex-bytes v0.1.19
[INFO] [stderr]   Downloaded ntex-http v0.1.9
[INFO] [stderr]   Downloaded ntex-codec v0.6.2
[INFO] [stderr]   Downloaded ntex-io v0.3.2
[INFO] [stderr]   Downloaded ntex-tls v0.3.0
[INFO] [stderr]   Downloaded ntex-macros v0.1.3
[INFO] [stderr]   Downloaded futures-micro v0.5.0
[INFO] [stderr]   Downloaded ntex v0.7.3
[INFO] [stderr]   Downloaded async-oneshot v0.5.0
[INFO] [stderr]   Downloaded ntex-router v0.5.1
[INFO] [stderr]   Downloaded ntex-rt v0.4.9
[INFO] [stderr]   Downloaded ntex-connect v0.3.0
[INFO] [stderr]   Downloaded ntex-tokio v0.3.0
[INFO] [stderr]   Downloaded ntex-service v1.2.5
[INFO] [stderr]   Downloaded ntex-util v0.3.1
[INFO] [stderr]   Downloaded ntex-h2 v0.3.3
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 76b9dd11c6f519efff68eb6a67538eb888e7a1a7cb0cd817355826ae8838b129
[INFO] running `Command { std: "docker" "start" "-a" "76b9dd11c6f519efff68eb6a67538eb888e7a1a7cb0cd817355826ae8838b129", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "76b9dd11c6f519efff68eb6a67538eb888e7a1a7cb0cd817355826ae8838b129", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76b9dd11c6f519efff68eb6a67538eb888e7a1a7cb0cd817355826ae8838b129", kill_on_drop: false }`
[INFO] [stdout] 76b9dd11c6f519efff68eb6a67538eb888e7a1a7cb0cd817355826ae8838b129
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bc2f6f1859fdd9d068ba34abadb8fbad4f84997de9d3d90ea90a1890d740a081
[INFO] running `Command { std: "docker" "start" "-a" "bc2f6f1859fdd9d068ba34abadb8fbad4f84997de9d3d90ea90a1890d740a081", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling futures-micro v0.5.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling async-oneshot v0.5.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling concurrent-queue v2.2.0
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling futures-timer v3.0.2
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling syn v2.0.30
[INFO] [stderr]    Compiling ntex-service v1.2.5
[INFO] [stderr]    Compiling socket2 v0.5.3
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling tokio v1.32.0
[INFO] [stderr]    Compiling thiserror v1.0.48
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling serde_json v1.0.105
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling form_urlencoded v1.2.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling regex-automata v0.3.8
[INFO] [stderr]    Compiling cpufeatures v0.2.9
[INFO] [stderr]    Compiling sha-1 v0.10.1
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling deranged v0.3.8
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling time-core v0.1.1
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling ntex-rt v0.4.9
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling ntex-util v0.3.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.48
[INFO] [stderr]    Compiling regex v1.9.5
[INFO] [stderr]    Compiling base64 v0.21.3
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling time v0.3.28
[INFO] [stderr]    Compiling ntex-macros v0.1.3
[INFO] [stderr]    Compiling ntex-bytes v0.1.19
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling ntex-codec v0.6.2
[INFO] [stderr]    Compiling ntex-http v0.1.9
[INFO] [stderr]    Compiling ntex-router v0.5.1
[INFO] [stderr]    Compiling ntex-io v0.3.2
[INFO] [stderr]    Compiling ntex-tls v0.3.0
[INFO] [stderr]    Compiling ntex-tokio v0.3.0
[INFO] [stderr]    Compiling ntex-connect v0.3.0
[INFO] [stderr]    Compiling ntex-h2 v0.3.3
[INFO] [stderr]    Compiling ntex v0.7.3
[INFO] [stderr]    Compiling ntex-middleware v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 30.32s
[INFO] running `Command { std: "docker" "inspect" "bc2f6f1859fdd9d068ba34abadb8fbad4f84997de9d3d90ea90a1890d740a081", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc2f6f1859fdd9d068ba34abadb8fbad4f84997de9d3d90ea90a1890d740a081", kill_on_drop: false }`
[INFO] [stdout] bc2f6f1859fdd9d068ba34abadb8fbad4f84997de9d3d90ea90a1890d740a081
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2787b9d1a3345f00aa955ede8e26be6cd9f906b00229c66d51ac8c26c0043b6a
[INFO] running `Command { std: "docker" "start" "-a" "2787b9d1a3345f00aa955ede8e26be6cd9f906b00229c66d51ac8c26c0043b6a", kill_on_drop: false }`
[INFO] [stderr]    Compiling ntex-middleware v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.35s
[INFO] running `Command { std: "docker" "inspect" "2787b9d1a3345f00aa955ede8e26be6cd9f906b00229c66d51ac8c26c0043b6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2787b9d1a3345f00aa955ede8e26be6cd9f906b00229c66d51ac8c26c0043b6a", kill_on_drop: false }`
[INFO] [stdout] 2787b9d1a3345f00aa955ede8e26be6cd9f906b00229c66d51ac8c26c0043b6a
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 85c8e5c5dcb0695682c96b4cf1da8df19288e1a04f489e6e00a753e00a767fed
[INFO] running `Command { std: "docker" "start" "-a" "85c8e5c5dcb0695682c96b4cf1da8df19288e1a04f489e6e00a753e00a767fed", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ntex_middleware-4ffabf7ef890c8dd)
[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 ntex-middleware
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/inactivity.rs - inactivity::Inactivity (line 12) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/inactivity.rs - inactivity::Inactivity (line 12) stdout ----
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]   --> src/inactivity.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     info!("reached limit of inactivity, shutting down the server");
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]  --> src/inactivity.rs:13:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let last_time = Arc::new(Mutex::new(OffsetDateTime::now_utc()));
[INFO] [stdout]   |                 ^^^ use of undeclared type `Arc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex`
[INFO] [stdout]  --> src/inactivity.rs:13:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | let last_time = Arc::new(Mutex::new(OffsetDateTime::now_utc()));
[INFO] [stdout]   |                          ^^^^^ use of undeclared type `Mutex`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::sync::Mutex;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tokio::sync::Mutex;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OffsetDateTime`
[INFO] [stdout]  --> src/inactivity.rs:13:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | let last_time = Arc::new(Mutex::new(OffsetDateTime::now_utc()));
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^ use of undeclared type `OffsetDateTime`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use time::OffsetDateTime;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web`
[INFO] [stdout]  --> src/inactivity.rs:16:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let server = web::server(move || {
[INFO] [stdout]   |              ^^^ use of undeclared crate or module `web`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use ntex::web;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `App`
[INFO] [stdout]  --> src/inactivity.rs:17:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     App::new()
[INFO] [stdout]   |     ^^^ use of undeclared type `App`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use ntex::web::App;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `inactivity`
[INFO] [stdout]  --> src/inactivity.rs:18:15
[INFO] [stdout]   |
[INFO] [stdout] 8 |         .wrap(inactivity::Inactivity {
[INFO] [stdout]   |               ^^^^^^^^^^ use of undeclared crate or module `inactivity`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use ntex_middleware::inactivity;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web`
[INFO] [stdout]   --> src/inactivity.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             web::resource("/index.html").to(|| async { "Hello world!" }),
[INFO] [stdout]    |             ^^^ use of undeclared crate or module `web`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 2  + use ntex::web;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `inactivity`
[INFO] [stdout]   --> src/inactivity.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     inactivity::until_idle(last_time).await;
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `inactivity`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 2  + use ntex_middleware::inactivity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/inactivity.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_inactivity_rs_12_0() {
[INFO] [stdout]    |                                         ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 25 | server.await?;
[INFO] [stdout]    |        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/inactivity.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_inactivity_rs_12_0() {
[INFO] [stdout]    |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 25 | server.await?;
[INFO] [stdout]    |             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/inactivity.rs - inactivity::Inactivity (line 12)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 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" "85c8e5c5dcb0695682c96b4cf1da8df19288e1a04f489e6e00a753e00a767fed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85c8e5c5dcb0695682c96b4cf1da8df19288e1a04f489e6e00a753e00a767fed", kill_on_drop: false }`
[INFO] [stdout] 85c8e5c5dcb0695682c96b4cf1da8df19288e1a04f489e6e00a753e00a767fed
[INFO] testing kulak/ntex-middleware against beta-2023-12-22 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkulak%2Fntex-middleware" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kulak/ntex-middleware on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kulak/ntex-middleware
[INFO] finished tweaking git repo https://github.com/kulak/ntex-middleware
[INFO] tweaked toml for git repo https://github.com/kulak/ntex-middleware written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/kulak/ntex-middleware already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 815d765a080f3e7da69be2e63824987fe4504dc6c623dc1de31279ae58900c59
[INFO] running `Command { std: "docker" "start" "-a" "815d765a080f3e7da69be2e63824987fe4504dc6c623dc1de31279ae58900c59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "815d765a080f3e7da69be2e63824987fe4504dc6c623dc1de31279ae58900c59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "815d765a080f3e7da69be2e63824987fe4504dc6c623dc1de31279ae58900c59", kill_on_drop: false }`
[INFO] [stdout] 815d765a080f3e7da69be2e63824987fe4504dc6c623dc1de31279ae58900c59
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 84ab66b0afe1d05b1783276a9f87c24eed738942368e9c557a8974299700bc89
[INFO] running `Command { std: "docker" "start" "-a" "84ab66b0afe1d05b1783276a9f87c24eed738942368e9c557a8974299700bc89", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling futures-micro v0.5.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling async-oneshot v0.5.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling concurrent-queue v2.2.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling futures-timer v3.0.2
[INFO] [stderr]    Compiling ntex-service v1.2.5
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling syn v2.0.30
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling socket2 v0.5.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling thiserror v1.0.48
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]    Compiling tokio v1.32.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling serde_json v1.0.105
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.0
[INFO] [stderr]    Compiling cpufeatures v0.2.9
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling regex-automata v0.3.8
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling deranged v0.3.8
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling sha-1 v0.10.1
[INFO] [stderr]    Compiling time-core v0.1.1
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling base64 v0.21.3
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling thiserror-impl v1.0.48
[INFO] [stderr]    Compiling ntex-rt v0.4.9
[INFO] [stderr]    Compiling ntex-util v0.3.1
[INFO] [stderr]    Compiling regex v1.9.5
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling time v0.3.28
[INFO] [stderr]    Compiling ntex-macros v0.1.3
[INFO] [stderr]    Compiling ntex-bytes v0.1.19
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling ntex-codec v0.6.2
[INFO] [stderr]    Compiling ntex-http v0.1.9
[INFO] [stderr]    Compiling ntex-router v0.5.1
[INFO] [stderr]    Compiling ntex-io v0.3.2
[INFO] [stderr]    Compiling ntex-tokio v0.3.0
[INFO] [stderr]    Compiling ntex-tls v0.3.0
[INFO] [stderr]    Compiling ntex-connect v0.3.0
[INFO] [stderr]    Compiling ntex-h2 v0.3.3
[INFO] [stderr]    Compiling ntex v0.7.3
[INFO] [stderr]    Compiling ntex-middleware v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 25.88s
[INFO] running `Command { std: "docker" "inspect" "84ab66b0afe1d05b1783276a9f87c24eed738942368e9c557a8974299700bc89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84ab66b0afe1d05b1783276a9f87c24eed738942368e9c557a8974299700bc89", kill_on_drop: false }`
[INFO] [stdout] 84ab66b0afe1d05b1783276a9f87c24eed738942368e9c557a8974299700bc89
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 582868e26a886bacf8b3c6ac50fc3b0b2432bb254f1782e3c15d4c9e0a27c726
[INFO] running `Command { std: "docker" "start" "-a" "582868e26a886bacf8b3c6ac50fc3b0b2432bb254f1782e3c15d4c9e0a27c726", kill_on_drop: false }`
[INFO] [stderr]    Compiling ntex-middleware v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.43s
[INFO] running `Command { std: "docker" "inspect" "582868e26a886bacf8b3c6ac50fc3b0b2432bb254f1782e3c15d4c9e0a27c726", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "582868e26a886bacf8b3c6ac50fc3b0b2432bb254f1782e3c15d4c9e0a27c726", kill_on_drop: false }`
[INFO] [stdout] 582868e26a886bacf8b3c6ac50fc3b0b2432bb254f1782e3c15d4c9e0a27c726
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d1adc44234599ef3f9437e9607aad82b66564ee03c5484dfea49a667dcbca909
[INFO] running `Command { std: "docker" "start" "-a" "d1adc44234599ef3f9437e9607aad82b66564ee03c5484dfea49a667dcbca909", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ntex_middleware-809d1d7cbf415a1e)
[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 ntex-middleware
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/inactivity.rs - inactivity::Inactivity (line 12) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/inactivity.rs - inactivity::Inactivity (line 12) stdout ----
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]   --> src/inactivity.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     info!("reached limit of inactivity, shutting down the server");
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]  --> src/inactivity.rs:13:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let last_time = Arc::new(Mutex::new(OffsetDateTime::now_utc()));
[INFO] [stdout]   |                 ^^^ use of undeclared type `Arc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex`
[INFO] [stdout]  --> src/inactivity.rs:13:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | let last_time = Arc::new(Mutex::new(OffsetDateTime::now_utc()));
[INFO] [stdout]   |                          ^^^^^ use of undeclared type `Mutex`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::sync::Mutex;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tokio::sync::Mutex;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OffsetDateTime`
[INFO] [stdout]  --> src/inactivity.rs:13:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | let last_time = Arc::new(Mutex::new(OffsetDateTime::now_utc()));
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^ use of undeclared type `OffsetDateTime`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use time::OffsetDateTime;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web`
[INFO] [stdout]  --> src/inactivity.rs:16:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | let server = web::server(move || {
[INFO] [stdout]   |              ^^^ use of undeclared crate or module `web`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use ntex::web;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `App`
[INFO] [stdout]  --> src/inactivity.rs:17:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     App::new()
[INFO] [stdout]   |     ^^^ use of undeclared type `App`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use ntex::web::App;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `inactivity`
[INFO] [stdout]  --> src/inactivity.rs:18:15
[INFO] [stdout]   |
[INFO] [stdout] 8 |         .wrap(inactivity::Inactivity {
[INFO] [stdout]   |               ^^^^^^^^^^ use of undeclared crate or module `inactivity`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use ntex_middleware::inactivity;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web`
[INFO] [stdout]   --> src/inactivity.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             web::resource("/index.html").to(|| async { "Hello world!" }),
[INFO] [stdout]    |             ^^^ use of undeclared crate or module `web`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 2  + use ntex::web;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `inactivity`
[INFO] [stdout]   --> src/inactivity.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     inactivity::until_idle(last_time).await;
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `inactivity`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 2  + use ntex_middleware::inactivity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/inactivity.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_inactivity_rs_12_0() {
[INFO] [stdout]    |                                         ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 25 | server.await?;
[INFO] [stdout]    |        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/inactivity.rs - inactivity::Inactivity (line 12)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "d1adc44234599ef3f9437e9607aad82b66564ee03c5484dfea49a667dcbca909", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d1adc44234599ef3f9437e9607aad82b66564ee03c5484dfea49a667dcbca909", kill_on_drop: false }`
[INFO] [stdout] d1adc44234599ef3f9437e9607aad82b66564ee03c5484dfea49a667dcbca909
