[INFO] crate actix-http 2.0.0-alpha.4 is already in cache [INFO] checking actix-http-2.0.0-alpha.4 against try#85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 for pr-73323 [INFO] extracting crate actix-http 2.0.0-alpha.4 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate actix-http 2.0.0-alpha.4 on toolchain 85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-http 2.0.0-alpha.4 [INFO] finished tweaking crates.io crate actix-http 2.0.0-alpha.4 [INFO] tweaked toml for crates.io crate actix-http 2.0.0-alpha.4 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate actix-http 2.0.0-alpha.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b43d382ddfa997b79fd5b04cfc0ef0347bf7c25ab3d85061aa0adb68641099f9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b43d382ddfa997b79fd5b04cfc0ef0347bf7c25ab3d85061aa0adb68641099f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b43d382ddfa997b79fd5b04cfc0ef0347bf7c25ab3d85061aa0adb68641099f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b43d382ddfa997b79fd5b04cfc0ef0347bf7c25ab3d85061aa0adb68641099f9", kill_on_drop: false }` [INFO] [stdout] b43d382ddfa997b79fd5b04cfc0ef0347bf7c25ab3d85061aa0adb68641099f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94475580826fa33e3bfa969f7ee25492d6988a73dac0540c701e77aab0b54938 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "94475580826fa33e3bfa969f7ee25492d6988a73dac0540c701e77aab0b54938", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Checking arc-swap v0.4.6 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking pin-project-lite v0.1.5 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling standback v0.2.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking oorandom v11.1.1 [INFO] [stderr] Checking base64 v0.12.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling openssl-sys v0.9.56 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.16.13 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking addr2line v0.12.1 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking plotters v0.2.14 [INFO] [stderr] Checking backtrace v0.3.48 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking criterion-plot v0.4.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking webpki v0.21.2 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking tokio-openssl v0.4.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.7 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.31 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.18 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking thiserror v1.0.18 [INFO] [stderr] Checking pin-project v0.4.17 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking actix-threadpool v0.3.2 [INFO] [stderr] Checking criterion v0.3.2 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking actix-service v1.0.5 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Checking trust-dns-proto v0.19.5 [INFO] [stderr] Checking actix-utils v1.0.6 [INFO] [stderr] Checking actix-tls v1.0.0 [INFO] [stderr] Checking actix-server v1.0.3 [INFO] [stderr] Checking actix-tls v2.0.0-alpha.1 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Checking trust-dns-resolver v0.19.5 [INFO] [stderr] Checking actix-connect v1.0.2 [INFO] [stderr] Checking actix-connect v2.0.0-alpha.3 [INFO] [stderr] Checking actix-http v1.0.1 [INFO] [stderr] Checking actix-http v2.0.0-alpha.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking awc v1.0.1 [INFO] [stderr] Checking actix-http-test v1.0.0 [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_ws.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | let mut srv = test_server({ [INFO] [stdout] | ___________________^ [INFO] [stdout] 89 | | let ws_service = ws_service.clone(); [INFO] [stdout] 90 | | move || { [INFO] [stdout] 91 | | let ws_service = ws_service.clone(); [INFO] [stdout] ... | [INFO] [stdout] 97 | | }) [INFO] [stdout] 98 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_client.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | let srv = test_server(move || { [INFO] [stdout] | _______________^ [INFO] [stdout] 33 | | HttpService::build() [INFO] [stdout] 34 | | .finish(|_| future::ok::<_, ()>(Response::Ok().body(STR))) [INFO] [stdout] 35 | | .tcp() [INFO] [stdout] 36 | | }) [INFO] [stdout] 37 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | let srv = test_server(|| { [INFO] [stdout] | _______________^ [INFO] [stdout] 21 | | HttpService::build() [INFO] [stdout] 22 | | .keep_alive(KeepAlive::Disabled) [INFO] [stdout] 23 | | .client_timeout(1000) [INFO] [stdout] ... | [INFO] [stdout] 30 | | }) [INFO] [stdout] 31 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> tests/test_ws.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | use futures_util::{SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_client.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | let srv = test_server(move || { [INFO] [stdout] | _______________^ [INFO] [stdout] 61 | | HttpService::build() [INFO] [stdout] 62 | | .finish(|_| ok::<_, ()>(Response::Ok().body(STR))) [INFO] [stdout] 63 | | .tcp() [INFO] [stdout] 64 | | .map(|_| ()) [INFO] [stdout] 65 | | }) [INFO] [stdout] 66 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | let srv = test_server(|| { [INFO] [stdout] | _______________^ [INFO] [stdout] 40 | | HttpService::build() [INFO] [stdout] 41 | | .keep_alive(KeepAlive::Disabled) [INFO] [stdout] 42 | | .client_timeout(1000) [INFO] [stdout] ... | [INFO] [stdout] 50 | | }) [INFO] [stdout] 51 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_client.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | let srv = test_server(move || { [INFO] [stdout] | _______________^ [INFO] [stdout] 75 | | HttpService::build() [INFO] [stdout] 76 | | .finish(|req: Request| { [INFO] [stdout] 77 | | if req.uri().query().unwrap().contains("qp=") { [INFO] [stdout] ... | [INFO] [stdout] 85 | | }) [INFO] [stdout] 86 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-http`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | let srv = test_server(|| { [INFO] [stdout] | _______________^ [INFO] [stdout] 60 | | HttpService::build() [INFO] [stdout] 61 | | .expect(fn_service(|req: Request| { [INFO] [stdout] 62 | | if req.head().uri.query() == Some("yes=") { [INFO] [stdout] ... | [INFO] [stdout] 70 | | }) [INFO] [stdout] 71 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | let srv = test_server(|| { [INFO] [stdout] | _______________^ [INFO] [stdout] 89 | | HttpService::build() [INFO] [stdout] 90 | | .expect(fn_service(|req: Request| { [INFO] [stdout] 91 | | delay_for(Duration::from_millis(20)).then(move |_| { [INFO] [stdout] ... | [INFO] [stdout] 101 | | }) [INFO] [stdout] 102 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | let srv = test_server(|| { [INFO] [stdout] | _______________^ [INFO] [stdout] 123 | | HttpService::build() [INFO] [stdout] 124 | | .h1(fn_service(|mut request: Request| { [INFO] [stdout] 125 | | request [INFO] [stdout] ... | [INFO] [stdout] 137 | | }) [INFO] [stdout] 138 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 175 | let srv = test_server(|| { [INFO] [stdout] | _______________^ [INFO] [stdout] 176 | | HttpService::build() [INFO] [stdout] 177 | | .client_timeout(100) [INFO] [stdout] 178 | | .finish(|_| future::ok::<_, ()>(Response::Ok().finish())) [INFO] [stdout] 179 | | .tcp() [INFO] [stdout] 180 | | }) [INFO] [stdout] 181 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 192 | let srv = test_server(|| { [INFO] [stdout] | _______________^ [INFO] [stdout] 193 | | HttpService::build() [INFO] [stdout] 194 | | .h1(|_| future::ok::<_, ()>(Response::Ok().finish())) [INFO] [stdout] 195 | | .tcp() [INFO] [stdout] 196 | | }) [INFO] [stdout] 197 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:208:15 [INFO] [stdout] | [INFO] [stdout] 208 | let srv = test_server(|| { [INFO] [stdout] | _______________^ [INFO] [stdout] 209 | | HttpService::build() [INFO] [stdout] 210 | | .h1(|_| future::ok::<_, ()>(Response::Ok().finish())) [INFO] [stdout] 211 | | .tcp() [INFO] [stdout] 212 | | }) [INFO] [stdout] 213 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:229:15 [INFO] [stdout] | [INFO] [stdout] 229 | let srv = test_server(|| { [INFO] [stdout] | _______________^ [INFO] [stdout] 230 | | HttpService::build() [INFO] [stdout] 231 | | .keep_alive(1) [INFO] [stdout] 232 | | .h1(|_| future::ok::<_, ()>(Response::Ok().finish())) [INFO] [stdout] 233 | | .tcp() [INFO] [stdout] 234 | | }) [INFO] [stdout] 235 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:251:15 [INFO] [stdout] | [INFO] [stdout] 251 | let srv = test_server(|| { [INFO] [stdout] | _______________^ [INFO] [stdout] 252 | | HttpService::build() [INFO] [stdout] 253 | | .h1(|_| future::ok::<_, ()>(Response::Ok().finish())) [INFO] [stdout] 254 | | .tcp() [INFO] [stdout] 255 | | }) [INFO] [stdout] 256 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:272:15 [INFO] [stdout] | [INFO] [stdout] 272 | let srv = test_server(|| { [INFO] [stdout] | _______________^ [INFO] [stdout] 273 | | HttpService::build() [INFO] [stdout] 274 | | .h1(|_| future::ok::<_, ()>(Response::Ok().finish())) [INFO] [stdout] 275 | | .tcp() [INFO] [stdout] 276 | | }) [INFO] [stdout] 277 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:292:15 [INFO] [stdout] | [INFO] [stdout] 292 | let srv = test_server(|| { [INFO] [stdout] | _______________^ [INFO] [stdout] 293 | | HttpService::build() [INFO] [stdout] 294 | | .h1(|_| future::ok::<_, ()>(Response::Ok().finish())) [INFO] [stdout] 295 | | .tcp() [INFO] [stdout] 296 | | }) [INFO] [stdout] 297 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:319:15 [INFO] [stdout] | [INFO] [stdout] 319 | let srv = test_server(|| { [INFO] [stdout] | _______________^ [INFO] [stdout] 320 | | HttpService::build() [INFO] [stdout] 321 | | .keep_alive(KeepAlive::Disabled) [INFO] [stdout] 322 | | .h1(|_| future::ok::<_, ()>(Response::Ok().finish())) [INFO] [stdout] 323 | | .tcp() [INFO] [stdout] 324 | | }) [INFO] [stdout] 325 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:345:15 [INFO] [stdout] | [INFO] [stdout] 345 | let srv = test_server(|| { [INFO] [stdout] | _______________^ [INFO] [stdout] 346 | | HttpService::build() [INFO] [stdout] 347 | | .h1(|req: Request| { [INFO] [stdout] 348 | | let indx: usize = req.uri().path()[1..].parse().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 360 | | }) [INFO] [stdout] 361 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/test_server.rs:367:18 [INFO] [stdout] | [INFO] [stdout] 367 | for i in 0..4 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/test_server.rs:373:28 [INFO] [stdout] | [INFO] [stdout] 373 | let response = req.send().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/test_server.rs:367:21 [INFO] [stdout] | [INFO] [stdout] 367 | for i in 0..4 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/test_server.rs:373:28 [INFO] [stdout] | [INFO] [stdout] 373 | let response = req.send().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/test_server.rs:367:18 [INFO] [stdout] | [INFO] [stdout] 367 | for i in 0..4 { [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/test_server.rs:373:28 [INFO] [stdout] | [INFO] [stdout] 373 | let response = req.send().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/test_server.rs:367:18 [INFO] [stdout] | [INFO] [stdout] 367 | for i in 0..4 { [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/test_server.rs:373:28 [INFO] [stdout] | [INFO] [stdout] 373 | let response = req.send().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/test_server.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | for i in 0..4 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/test_server.rs:373:28 [INFO] [stdout] | [INFO] [stdout] 373 | let response = req.send().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/test_server.rs:377:18 [INFO] [stdout] | [INFO] [stdout] 377 | for i in 4..6 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/test_server.rs:379:28 [INFO] [stdout] | [INFO] [stdout] 379 | let response = req.send().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/test_server.rs:377:21 [INFO] [stdout] | [INFO] [stdout] 377 | for i in 4..6 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/test_server.rs:379:28 [INFO] [stdout] | [INFO] [stdout] 379 | let response = req.send().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/test_server.rs:377:18 [INFO] [stdout] | [INFO] [stdout] 377 | for i in 4..6 { [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/test_server.rs:379:28 [INFO] [stdout] | [INFO] [stdout] 379 | let response = req.send().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/test_server.rs:377:18 [INFO] [stdout] | [INFO] [stdout] 377 | for i in 4..6 { [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/test_server.rs:379:28 [INFO] [stdout] | [INFO] [stdout] 379 | let response = req.send().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/test_server.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | for i in 4..6 { [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/test_server.rs:379:28 [INFO] [stdout] | [INFO] [stdout] 379 | let response = req.send().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:390:19 [INFO] [stdout] | [INFO] [stdout] 390 | let mut srv = test_server(move || { [INFO] [stdout] | ___________________^ [INFO] [stdout] 391 | | let data = data.clone(); [INFO] [stdout] 392 | | HttpService::build().h1(move |_| { [INFO] [stdout] 393 | | let mut builder = Response::Ok(); [INFO] [stdout] ... | [INFO] [stdout] 413 | | }).tcp() [INFO] [stdout] 414 | | }).await; [INFO] [stdout] | |____________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:448:19 [INFO] [stdout] | [INFO] [stdout] 448 | let mut srv = test_server(|| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 449 | | HttpService::build() [INFO] [stdout] 450 | | .h1(|_| ok::<_, ()>(Response::Ok().body(STR))) [INFO] [stdout] 451 | | .tcp() [INFO] [stdout] 452 | | }) [INFO] [stdout] 453 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:465:19 [INFO] [stdout] | [INFO] [stdout] 465 | let mut srv = test_server(|| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 466 | | HttpService::build() [INFO] [stdout] 467 | | .h1(|_| ok::<_, ()>(Response::Ok().body(STR))) [INFO] [stdout] 468 | | .tcp() [INFO] [stdout] 469 | | }) [INFO] [stdout] 470 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:490:19 [INFO] [stdout] | [INFO] [stdout] 490 | let mut srv = test_server(|| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 491 | | HttpService::build() [INFO] [stdout] 492 | | .h1(|_| { [INFO] [stdout] 493 | | ok::<_, ()>(Response::Ok().body(STR)) [INFO] [stdout] ... | [INFO] [stdout] 496 | | }) [INFO] [stdout] 497 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:517:15 [INFO] [stdout] | [INFO] [stdout] 517 | let srv = test_server(|| { [INFO] [stdout] | _______________^ [INFO] [stdout] 518 | | HttpService::build() [INFO] [stdout] 519 | | .h1(|_| ok::<_, ()>(Response::Ok().body(STR))) [INFO] [stdout] 520 | | .tcp() [INFO] [stdout] 521 | | }) [INFO] [stdout] 522 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:538:19 [INFO] [stdout] | [INFO] [stdout] 538 | let mut srv = test_server(|| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 539 | | HttpService::build() [INFO] [stdout] 540 | | .h1(|_| { [INFO] [stdout] 541 | | let body = once(ok(Bytes::from_static(STR.as_ref()))); [INFO] [stdout] ... | [INFO] [stdout] 547 | | }) [INFO] [stdout] 548 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:560:19 [INFO] [stdout] | [INFO] [stdout] 560 | let mut srv = test_server(|| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 561 | | HttpService::build() [INFO] [stdout] 562 | | .h1(|_| { [INFO] [stdout] 563 | | let body = once(ok::<_, Error>(Bytes::from_static(STR.as_ref()))); [INFO] [stdout] ... | [INFO] [stdout] 571 | | }) [INFO] [stdout] 572 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:595:19 [INFO] [stdout] | [INFO] [stdout] 595 | let mut srv = test_server(|| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 596 | | HttpService::build() [INFO] [stdout] 597 | | .h1(|_| { [INFO] [stdout] 598 | | let body = once(ok::<_, Error>(Bytes::from_static(STR.as_ref()))); [INFO] [stdout] ... | [INFO] [stdout] 602 | | }) [INFO] [stdout] 603 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:624:19 [INFO] [stdout] | [INFO] [stdout] 624 | let mut srv = test_server(|| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 625 | | HttpService::build() [INFO] [stdout] 626 | | .h1(fn_service(|_| { [INFO] [stdout] 627 | | let broken_header = Bytes::from_static(b"\0\0\0"); [INFO] [stdout] ... | [INFO] [stdout] 635 | | }) [INFO] [stdout] 636 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:648:19 [INFO] [stdout] | [INFO] [stdout] 648 | let mut srv = test_server(|| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 649 | | HttpService::build() [INFO] [stdout] 650 | | .h1(|_| future::err::(error::ErrorBadRequest("error"))) [INFO] [stdout] 651 | | .tcp() [INFO] [stdout] 652 | | }) [INFO] [stdout] 653 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `actix_http_test::TestServer` is not a future [INFO] [stdout] --> tests/test_server.rs:665:15 [INFO] [stdout] | [INFO] [stdout] 665 | let srv = test_server(|| { [INFO] [stdout] | _______________^ [INFO] [stdout] 666 | | HttpService::build() [INFO] [stdout] 667 | | .on_connect(|_| 10usize) [INFO] [stdout] 668 | | .h1(|req: Request| { [INFO] [stdout] ... | [INFO] [stdout] 673 | | }) [INFO] [stdout] 674 | | .await; [INFO] [stdout] | |__________^ `actix_http_test::TestServer` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `actix_http_test::TestServer` [INFO] [stdout] = note: required by `std::future::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "94475580826fa33e3bfa969f7ee25492d6988a73dac0540c701e77aab0b54938", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94475580826fa33e3bfa969f7ee25492d6988a73dac0540c701e77aab0b54938", kill_on_drop: false }` [INFO] [stdout] 94475580826fa33e3bfa969f7ee25492d6988a73dac0540c701e77aab0b54938