[INFO] fetching crate actix-extensible-rate-limit 0.4.0... [INFO] checking actix-extensible-rate-limit-0.4.0 against master#899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 for pr-127827-3 [INFO] extracting crate actix-extensible-rate-limit 0.4.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate actix-extensible-rate-limit 0.4.0 on toolchain 899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-extensible-rate-limit 0.4.0 [INFO] finished tweaking crates.io crate actix-extensible-rate-limit 0.4.0 [INFO] tweaked toml for crates.io crate actix-extensible-rate-limit 0.4.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 138 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding derive_more v0.99.18 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scopeguard v1.2.0 [INFO] [stderr] Downloaded local-channel v0.1.5 [INFO] [stderr] Downloaded convert_case v0.4.0 [INFO] [stderr] Downloaded tokio-retry v0.3.0 [INFO] [stderr] Downloaded lock_api v0.4.12 [INFO] [stderr] Downloaded redox_syscall v0.5.3 [INFO] [stderr] Downloaded sha1 v0.10.6 [INFO] [stderr] Downloaded actix-macros v0.2.4 [INFO] [stderr] Downloaded actix-service v2.0.2 [INFO] [stderr] Downloaded pin-project-internal v1.1.5 [INFO] [stderr] Downloaded actix-codec v0.5.2 [INFO] [stderr] Downloaded actix-server v2.5.0 [INFO] [stderr] Downloaded base64 v0.22.1 [INFO] [stderr] Downloaded regex-lite v0.1.6 [INFO] [stderr] Downloaded num-bigint v0.4.6 [INFO] [stderr] Downloaded tokio-util v0.7.11 [INFO] [stderr] Downloaded combine v4.6.7 [INFO] [stderr] Downloaded actix-http v3.9.0 [INFO] [stderr] Downloaded backtrace v0.3.73 [INFO] [stderr] Downloaded mio v1.0.1 [INFO] [stderr] Downloaded arc-swap v1.7.1 [INFO] [stderr] Downloaded actix-web v4.9.0 [INFO] [stderr] Downloaded actix-router v0.5.3 [INFO] [stderr] Downloaded redis v0.26.1 [INFO] [stderr] Downloaded gimli v0.29.0 [INFO] [stderr] Downloaded derive_more v0.99.18 [INFO] [stderr] Downloaded object v0.36.3 [INFO] [stderr] Downloaded language-tags v0.3.2 [INFO] [stderr] Downloaded pin-project v1.1.5 [INFO] [stderr] Downloaded addr2line v0.22.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.24 [INFO] [stderr] Downloaded ahash v0.8.11 [INFO] [stderr] Downloaded actix-utils v3.0.1 [INFO] [stderr] Downloaded actix-web-codegen v4.3.0 [INFO] [stderr] Downloaded bytestring v1.3.1 [INFO] [stderr] Downloaded rustc_version v0.4.0 [INFO] [stderr] Downloaded impl-more v0.1.6 [INFO] [stderr] Downloaded dashmap v6.0.1 [INFO] [stderr] Downloaded actix-rt v2.10.0 [INFO] [stderr] Downloaded parking_lot_core v0.9.10 [INFO] [stderr] Downloaded signal-hook-registry v1.4.2 [INFO] [stderr] Downloaded paste v1.0.15 [INFO] [stderr] Downloaded local-waker v0.1.4 [INFO] [stderr] Downloaded parking_lot v0.12.3 [INFO] [stderr] Downloaded tokio v1.39.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db569df98888bd3a29fb290f6b3efbc9df5823810eb9671b33d582395fab2b9d [INFO] running `Command { std: "docker" "start" "-a" "db569df98888bd3a29fb290f6b3efbc9df5823810eb9671b33d582395fab2b9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db569df98888bd3a29fb290f6b3efbc9df5823810eb9671b33d582395fab2b9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db569df98888bd3a29fb290f6b3efbc9df5823810eb9671b33d582395fab2b9d", kill_on_drop: false }` [INFO] [stdout] db569df98888bd3a29fb290f6b3efbc9df5823810eb9671b33d582395fab2b9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1d25820378998dfad855defd7381cd8eb595a5dbfa45611b0a62472156c0955 [INFO] running `Command { std: "docker" "start" "-a" "d1d25820378998dfad855defd7381cd8eb595a5dbfa45611b0a62472156c0955", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.206 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.73 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking dashmap v6.0.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking actix-http v3.9.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Checking actix-extensible-rate-limit v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "d1d25820378998dfad855defd7381cd8eb595a5dbfa45611b0a62472156c0955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1d25820378998dfad855defd7381cd8eb595a5dbfa45611b0a62472156c0955", kill_on_drop: false }` [INFO] [stdout] d1d25820378998dfad855defd7381cd8eb595a5dbfa45611b0a62472156c0955 [INFO] checking actix-extensible-rate-limit-0.4.0 against try#71e0d7ccb3d54cfc766c826c50c8d523223fcc5c for pr-127827-3 [INFO] extracting crate actix-extensible-rate-limit 0.4.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate actix-extensible-rate-limit 0.4.0 on toolchain 71e0d7ccb3d54cfc766c826c50c8d523223fcc5c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-extensible-rate-limit 0.4.0 [INFO] finished tweaking crates.io crate actix-extensible-rate-limit 0.4.0 [INFO] tweaked toml for crates.io crate actix-extensible-rate-limit 0.4.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 138 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding derive_more v0.99.18 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0148bf5fa20a601b549ef60a20efda3e1b91b8f73dac20ebd4a2eb26c865ee08 [INFO] running `Command { std: "docker" "start" "-a" "0148bf5fa20a601b549ef60a20efda3e1b91b8f73dac20ebd4a2eb26c865ee08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0148bf5fa20a601b549ef60a20efda3e1b91b8f73dac20ebd4a2eb26c865ee08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0148bf5fa20a601b549ef60a20efda3e1b91b8f73dac20ebd4a2eb26c865ee08", kill_on_drop: false }` [INFO] [stdout] 0148bf5fa20a601b549ef60a20efda3e1b91b8f73dac20ebd4a2eb26c865ee08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a9dae8afd61e61324bb4e3176f760bd5382827a991359670f878b2675de9119 [INFO] running `Command { std: "docker" "start" "-a" "8a9dae8afd61e61324bb4e3176f760bd5382827a991359670f878b2675de9119", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling serde v1.0.206 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Compiling syn v2.0.73 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking dashmap v6.0.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking actix-http v3.9.0 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Checking actix-extensible-rate-limit v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ----- [INFO] [stdout] | | | [INFO] [stdout] | | the expected `async` closure body [INFO] [stdout] | | the found `async` closure body [INFO] [stdout] | one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ___________________^ [INFO] [stdout] 83 | | Ok(MockBackendInput { [INFO] [stdout] 84 | | max: 1, [INFO] [stdout] 85 | | output: (), [INFO] [stdout] ... | [INFO] [stdout] 88 | | }) [INFO] [stdout] 89 | | .build(); [INFO] [stdout] | |____________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> src/middleware/builder.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | F: Fn(&ServiceRequest) -> O, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 90 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 90 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 90 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 90 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 90 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 90 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 90 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 90 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:90:79 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 90 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:90:79 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 90 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:90:79 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 90 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:90:79 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 90 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 92 | test::call_service(&app, TestRequest::get().uri("/200").to_request()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 92 | test::call_service(&app, TestRequest::get().uri("/200").to_request()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 92 | test::call_service(&app, TestRequest::get().uri("/200").to_request()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 92 | test::call_service(&app, TestRequest::get().uri("/200").to_request()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 93 | .await [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 93 | .await [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 93 | .await [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 93 | .await [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 98 | test::call_service(&app, TestRequest::get().uri("/200").to_request()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 98 | test::call_service(&app, TestRequest::get().uri("/200").to_request()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 98 | test::call_service(&app, TestRequest::get().uri("/200").to_request()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 98 | test::call_service(&app, TestRequest::get().uri("/200").to_request()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 99 | .await [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 99 | .await [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 99 | .await [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 82 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 99 | .await [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:82:56: 82:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ----- [INFO] [stdout] | | | [INFO] [stdout] | | the expected `async` closure body [INFO] [stdout] | | the found `async` closure body [INFO] [stdout] | one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ___________________^ [INFO] [stdout] 109 | | Ok(MockBackendInput { [INFO] [stdout] 110 | | max: 0, [INFO] [stdout] 111 | | output: StatusCode::IM_A_TEAPOT, [INFO] [stdout] ... | [INFO] [stdout] 114 | | }) [INFO] [stdout] 115 | | .request_denied_response(|output| HttpResponse::build(*output).body("Custom denied response")) [INFO] [stdout] | |__________________________________________________________________________________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> src/middleware/builder.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | F: Fn(&ServiceRequest) -> O, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ___________________^ [INFO] [stdout] 109 | | Ok(MockBackendInput { [INFO] [stdout] 110 | | max: 0, [INFO] [stdout] 111 | | output: StatusCode::IM_A_TEAPOT, [INFO] [stdout] ... | [INFO] [stdout] 115 | | .request_denied_response(|output| HttpResponse::build(*output).body("Custom denied response")) [INFO] [stdout] 116 | | .build(); [INFO] [stdout] | |____________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> src/middleware/builder.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | F: Fn(&ServiceRequest) -> O, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 117 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 117 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 117 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 117 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 117 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 117 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 117 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 117 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:117:79 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 117 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:117:79 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 117 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:117:79 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 117 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:117:79 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 117 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 118 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 118 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 118 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 118 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:118:90 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 118 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:118:90 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 118 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:118:90 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 118 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:118:90 [INFO] [stdout] | [INFO] [stdout] 108 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 118 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:108:56: 108:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ----- [INFO] [stdout] | | | [INFO] [stdout] | | the expected `async` closure body [INFO] [stdout] | | the found `async` closure body [INFO] [stdout] | one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ___________________^ [INFO] [stdout] 128 | | Ok(MockBackendInput { [INFO] [stdout] 129 | | max: u64::MAX, [INFO] [stdout] 130 | | output: "abc".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 145 | | }, [INFO] [stdout] 146 | | )) [INFO] [stdout] | |______^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> src/middleware/builder.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | F: Fn(&ServiceRequest) -> O, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ___________________^ [INFO] [stdout] 128 | | Ok(MockBackendInput { [INFO] [stdout] 129 | | max: u64::MAX, [INFO] [stdout] 130 | | output: "abc".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 146 | | )) [INFO] [stdout] 147 | | .build(); [INFO] [stdout] | |____________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> src/middleware/builder.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | F: Fn(&ServiceRequest) -> O, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 148 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 148 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 148 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 148 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:148:34 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 148 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:148:34 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 148 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:148:34 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 148 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:148:34 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 148 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 148 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 148 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 148 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:148:79 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 148 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 149 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 149 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 149 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 149 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:149:90 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 149 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:149:90 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 149 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:149:90 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 149 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:149:90 [INFO] [stdout] | [INFO] [stdout] 127 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 149 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:127:56: 127:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ----- [INFO] [stdout] | | | [INFO] [stdout] | | the expected `async` closure body [INFO] [stdout] | | the found `async` closure body [INFO] [stdout] | one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ___________________^ [INFO] [stdout] 168 | | Ok(MockBackendInput { [INFO] [stdout] 169 | | max: u64::MAX, [INFO] [stdout] 170 | | output: (), [INFO] [stdout] ... | [INFO] [stdout] 173 | | }) [INFO] [stdout] 174 | | .build(); [INFO] [stdout] | |____________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> src/middleware/builder.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | F: Fn(&ServiceRequest) -> O, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 175 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 175 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 175 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 175 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 175 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 175 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 175 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 175 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:175:79 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 175 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:175:79 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 175 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:175:79 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 175 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:175:79 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 175 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 176 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 176 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 176 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 176 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:176:90 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 176 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:176:90 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 176 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:176:90 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 176 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:176:90 [INFO] [stdout] | [INFO] [stdout] 167 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 176 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:167:64: 167:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ----- [INFO] [stdout] | | | [INFO] [stdout] | | the expected `async` closure body [INFO] [stdout] | | the found `async` closure body [INFO] [stdout] | one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ___________________^ [INFO] [stdout] 181 | | Ok(MockBackendInput { [INFO] [stdout] 182 | | max: u64::MAX, [INFO] [stdout] 183 | | output: (), [INFO] [stdout] ... | [INFO] [stdout] 195 | | }, [INFO] [stdout] 196 | | )) [INFO] [stdout] | |______^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> src/middleware/builder.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | F: Fn(&ServiceRequest) -> O, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ___________________^ [INFO] [stdout] 181 | | Ok(MockBackendInput { [INFO] [stdout] 182 | | max: u64::MAX, [INFO] [stdout] 183 | | output: (), [INFO] [stdout] ... | [INFO] [stdout] 196 | | )) [INFO] [stdout] 197 | | .fail_open(true) [INFO] [stdout] | |____________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> src/middleware/builder.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | F: Fn(&ServiceRequest) -> O, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ___________________^ [INFO] [stdout] 181 | | Ok(MockBackendInput { [INFO] [stdout] 182 | | max: u64::MAX, [INFO] [stdout] 183 | | output: (), [INFO] [stdout] ... | [INFO] [stdout] 197 | | .fail_open(true) [INFO] [stdout] 198 | | .build(); [INFO] [stdout] | |____________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> src/middleware/builder.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | F: Fn(&ServiceRequest) -> O, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 199 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 199 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 199 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 199 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:199:34 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 199 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:199:34 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 199 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:199:34 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 199 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:199:34 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 199 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:199:79 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 199 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:199:79 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 199 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:199:79 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 199 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:199:79 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 199 | let app = test::init_service(App::new().service(route_200).wrap(limiter)).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 200 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 200 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 200 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 200 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:200:90 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 200 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:200:90 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 200 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:200:90 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 200 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:200:90 [INFO] [stdout] | [INFO] [stdout] 180 | let limiter = RateLimiter::builder(backend, |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 200 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:180:56: 180:61}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ----- [INFO] [stdout] | | | [INFO] [stdout] | | the expected `async` closure body [INFO] [stdout] | | the found `async` closure body [INFO] [stdout] | one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ___________________^ [INFO] [stdout] 209 | | Ok(MockBackendInput { [INFO] [stdout] 210 | | max: u64::MAX, [INFO] [stdout] 211 | | output: (), [INFO] [stdout] ... | [INFO] [stdout] 214 | | }) [INFO] [stdout] 215 | | .rollback_server_errors() [INFO] [stdout] | |_____________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> src/middleware/builder.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | F: Fn(&ServiceRequest) -> O, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ___________________^ [INFO] [stdout] 209 | | Ok(MockBackendInput { [INFO] [stdout] 210 | | max: u64::MAX, [INFO] [stdout] 211 | | output: (), [INFO] [stdout] ... | [INFO] [stdout] 215 | | .rollback_server_errors() [INFO] [stdout] 216 | | .build(); [INFO] [stdout] | |____________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> src/middleware/builder.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | F: Fn(&ServiceRequest) -> O, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 217 | let app = test::init_service( [INFO] [stdout] | _______________^ [INFO] [stdout] 218 | | App::new() [INFO] [stdout] 219 | | .service(route_200) [INFO] [stdout] 220 | | .service(route_500) [INFO] [stdout] 221 | | .wrap(limiter), [INFO] [stdout] 222 | | ) [INFO] [stdout] | |_____^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 217 | let app = test::init_service( [INFO] [stdout] | _______________^ [INFO] [stdout] 218 | | App::new() [INFO] [stdout] 219 | | .service(route_200) [INFO] [stdout] 220 | | .service(route_500) [INFO] [stdout] 221 | | .wrap(limiter), [INFO] [stdout] 222 | | ) [INFO] [stdout] | |_____^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 217 | let app = test::init_service( [INFO] [stdout] | _______________^ [INFO] [stdout] 218 | | App::new() [INFO] [stdout] 219 | | .service(route_200) [INFO] [stdout] 220 | | .service(route_500) [INFO] [stdout] 221 | | .wrap(limiter), [INFO] [stdout] 222 | | ) [INFO] [stdout] | |_____^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 217 | let app = test::init_service( [INFO] [stdout] | _______________^ [INFO] [stdout] 218 | | App::new() [INFO] [stdout] 219 | | .service(route_200) [INFO] [stdout] 220 | | .service(route_500) [INFO] [stdout] 221 | | .wrap(limiter), [INFO] [stdout] 222 | | ) [INFO] [stdout] | |_____^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 218 | / App::new() [INFO] [stdout] 219 | | .service(route_200) [INFO] [stdout] 220 | | .service(route_500) [INFO] [stdout] 221 | | .wrap(limiter), [INFO] [stdout] | |__________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 218 | / App::new() [INFO] [stdout] 219 | | .service(route_200) [INFO] [stdout] 220 | | .service(route_500) [INFO] [stdout] 221 | | .wrap(limiter), [INFO] [stdout] | |__________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 218 | / App::new() [INFO] [stdout] 219 | | .service(route_200) [INFO] [stdout] 220 | | .service(route_500) [INFO] [stdout] 221 | | .wrap(limiter), [INFO] [stdout] | |__________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 218 | / App::new() [INFO] [stdout] 219 | | .service(route_200) [INFO] [stdout] 220 | | .service(route_500) [INFO] [stdout] 221 | | .wrap(limiter), [INFO] [stdout] | |__________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:223:6 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 223 | .await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:223:6 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 223 | .await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:223:6 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 223 | .await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:223:6 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 223 | .await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 226 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 226 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 226 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 226 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:226:90 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 226 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:226:90 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 226 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:226:90 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 226 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:226:90 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 226 | let response = test::call_service(&app, TestRequest::get().uri("/200").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 231 | let response = test::call_service(&app, TestRequest::get().uri("/500").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 231 | let response = test::call_service(&app, TestRequest::get().uri("/500").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 231 | let response = test::call_service(&app, TestRequest::get().uri("/500").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 231 | let response = test::call_service(&app, TestRequest::get().uri("/500").to_request()).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:231:90 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 231 | let response = test::call_service(&app, TestRequest::get().uri("/500").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | M: Transform< [INFO] [stdout] | ____________^ [INFO] [stdout] 353 | | T::Service, [INFO] [stdout] 354 | | ServiceRequest, [INFO] [stdout] 355 | | Response = ServiceResponse, [INFO] [stdout] 356 | | Error = Error, [INFO] [stdout] 357 | | InitError = (), [INFO] [stdout] 358 | | > + 'static, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:231:90 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 231 | let response = test::call_service(&app, TestRequest::get().uri("/500").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | Response = ServiceResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:231:90 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 231 | let response = test::call_service(&app, TestRequest::get().uri("/500").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | Error = Error, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/middleware/tests.rs:231:90 [INFO] [stdout] | [INFO] [stdout] 208 | let limiter = RateLimiter::builder(backend.clone(), |_req| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 231 | let response = test::call_service(&app, TestRequest::get().uri("/500").to_request()).await; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] found `async` closure body `{async closure body@src/middleware/tests.rs:208:64: 208:69}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/actix-web-4.9.0/src/app.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | InitError = (), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 153 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-extensible-rate-limit` (lib test) due to 154 previous errors [INFO] running `Command { std: "docker" "inspect" "8a9dae8afd61e61324bb4e3176f760bd5382827a991359670f878b2675de9119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a9dae8afd61e61324bb4e3176f760bd5382827a991359670f878b2675de9119", kill_on_drop: false }` [INFO] [stdout] 8a9dae8afd61e61324bb4e3176f760bd5382827a991359670f878b2675de9119