[INFO] fetching crate throttle-server 0.3.14... [INFO] checking throttle-server-0.3.14 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate throttle-server 0.3.14 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate throttle-server 0.3.14 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate throttle-server 0.3.14 [INFO] finished tweaking crates.io crate throttle-server 0.3.14 [INFO] tweaked toml for crates.io crate throttle-server 0.3.14 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate throttle-server 0.3.14 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-rt v2.2.0 [INFO] [stderr] Downloaded actix-router v0.2.7 [INFO] [stderr] Downloaded actix-web-codegen v0.5.0-beta.2 [INFO] [stderr] Downloaded actix-server v2.0.0-beta.3 [INFO] [stderr] Downloaded actix-tls v3.0.0-beta.5 [INFO] [stderr] Downloaded humantime-serde v1.0.1 [INFO] [stderr] Downloaded actix-macros v0.2.0 [INFO] [stderr] Downloaded convert_case v0.4.0 [INFO] [stderr] Downloaded actix-utils v3.0.0-beta.2 [INFO] [stderr] Downloaded awc v3.0.0-beta.3 [INFO] [stderr] Downloaded const_fn v0.4.6 [INFO] [stderr] Downloaded libdeflater v0.2.0 [INFO] [stderr] Downloaded darling_core v0.12.2 [INFO] [stderr] Downloaded darling_macro v0.12.2 [INFO] [stderr] Downloaded darling v0.12.2 [INFO] [stderr] Downloaded actix-web v4.0.0-beta.4 [INFO] [stderr] Downloaded prometheus v0.12.0 [INFO] [stderr] Downloaded derive_more v0.99.13 [INFO] [stderr] Downloaded version v3.0.0 [INFO] [stderr] Downloaded bytestring v1.0.0 [INFO] [stderr] Downloaded actix-http v3.0.0-beta.4 [INFO] [stderr] Downloaded gelf v0.5.0 [INFO] [stderr] Downloaded protobuf v2.22.1 [INFO] [stderr] Downloaded actix-codec v0.4.0-beta.1 [INFO] [stderr] Downloaded actix-service v2.0.0-beta.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19f06925ae29b539978007ac8d55a55052821d2411e2f75f8454c5f85108e08a [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" "19f06925ae29b539978007ac8d55a55052821d2411e2f75f8454c5f85108e08a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19f06925ae29b539978007ac8d55a55052821d2411e2f75f8454c5f85108e08a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19f06925ae29b539978007ac8d55a55052821d2411e2f75f8454c5f85108e08a", kill_on_drop: false }` [INFO] [stdout] 19f06925ae29b539978007ac8d55a55052821d2411e2f75f8454c5f85108e08a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7724214663d7ee262ba4e4e4a12915c6c8e05004e665c1eff905f87fe0f0cde7 [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" "7724214663d7ee262ba4e4e4a12915c6c8e05004e665c1eff905f87fe0f0cde7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling protobuf v2.22.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling prometheus v0.12.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking version v3.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking actix-service v2.0.0-beta.5 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling libdeflater v0.2.0 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling darling_core v0.12.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling actix-macros v0.2.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.2 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling darling_macro v0.12.2 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Compiling darling v0.12.2 [INFO] [stderr] Compiling serde_with_macros v1.4.1 [INFO] [stderr] Checking pin-project v1.0.6 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_with v1.8.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking humantime-serde v1.0.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking gelf v0.5.0 [INFO] [stderr] Checking tokio-util v0.6.5 [INFO] [stderr] Checking actix-rt v2.2.0 [INFO] [stderr] Checking actix-codec v0.4.0-beta.1 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Checking actix-utils v3.0.0-beta.2 [INFO] [stderr] Checking actix-tls v3.0.0-beta.5 [INFO] [stderr] Checking actix-server v2.0.0-beta.3 [INFO] [stderr] Checking actix-http v3.0.0-beta.4 [INFO] [stderr] Checking awc v3.0.0-beta.3 [INFO] [stderr] Checking actix-web v4.0.0-beta.4 [INFO] [stderr] Checking throttle-server v0.3.14 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `throttle_client` [INFO] [stdout] --> tests/common.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use throttle_client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `throttle_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `throttle_client` [INFO] [stdout] --> tests/common.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use throttle_client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `throttle_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `throttle-server` [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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/client.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | assert!(client.acquire(first, "A", 1, None, None).await.unwrap()); [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/client.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | assert!(client.acquire(first, "A", 1, None, None).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/client.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | assert!(!client.acquire(second, "A", 1, None, None).await.unwrap()); [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/client.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | assert!(!client.acquire(second, "A", 1, None, None).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/client.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | client.acquire(peer, "A", 1, None, None).await.unwrap(); [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/client.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | client.acquire(peer, "A", 1, None, None).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/client.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(1, client.remove_expired().await.unwrap()); [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/client.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(1, client.remove_expired().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/client.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(1, client.remove_expired().await.unwrap()); [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/client.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(1, client.remove_expired().await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/client.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq!(1, client.remainder("A").await.unwrap()); [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/client.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq!(1, client.remainder("A").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/client.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq!(1, client.remainder("A").await.unwrap()); [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/client.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq!(1, client.remainder("A").await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/client.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | client.acquire(first, "A", 1, None, None).await.unwrap(); [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/client.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | client.acquire(first, "A", 1, None, None).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/client.rs:85:34 [INFO] [stdout] | [INFO] [stdout] 85 | client.acquire(blocker, "A", 1, None, None).await.unwrap(); [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/client.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | client.acquire(blocker, "A", 1, None, None).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/client.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | 1, [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/client.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / client [INFO] [stdout] 93 | | .acquire( [INFO] [stdout] 94 | | peer, [INFO] [stdout] 95 | | "A", [INFO] [stdout] ... | [INFO] [stdout] 99 | | ) [INFO] [stdout] 100 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/client.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | assert_eq!(0, client.remove_expired().await.unwrap()); [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/client.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | assert_eq!(0, client.remove_expired().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/client.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | assert_eq!(0, client.remove_expired().await.unwrap()); [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/client.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | assert_eq!(0, client.remove_expired().await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/client.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let peer = 5; [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/client.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | let error = client [INFO] [stdout] | _________________^ [INFO] [stdout] 120 | | .restore(peer, &acquired, Duration::from_secs(1)) [INFO] [stdout] 121 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/client.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let mut acquired = HashMap::new(); [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/client.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | let error = client [INFO] [stdout] | _________________^ [INFO] [stdout] 120 | | .restore(peer, &acquired, Duration::from_secs(1)) [INFO] [stdout] 121 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/client.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | .restore(peer, &acquired, Duration::from_secs(1)) [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/client.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | let error = client [INFO] [stdout] | _________________^ [INFO] [stdout] 120 | | .restore(peer, &acquired, Duration::from_secs(1)) [INFO] [stdout] 121 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/client.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | .restore(peer, &acquired, Duration::from_secs(1)) [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/client.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | let error = client [INFO] [stdout] | _________________^ [INFO] [stdout] 120 | | .restore(peer, &acquired, Duration::from_secs(1)) [INFO] [stdout] 121 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/client.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | .restore(peer, &acquired, Duration::from_secs(1)) [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/client.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | let error = client [INFO] [stdout] | _________________^ [INFO] [stdout] 120 | | .restore(peer, &acquired, Duration::from_secs(1)) [INFO] [stdout] 121 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/client.rs:142:40 [INFO] [stdout] | [INFO] [stdout] 142 | assert!(client.acquire(small, "A", 1, None, None).await.unwrap()); [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/client.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | assert!(client.acquire(small, "A", 1, None, None).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/client.rs:144:39 [INFO] [stdout] | [INFO] [stdout] 144 | assert!(!client.acquire(big, "A", 5, None, None).await.unwrap()); [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/client.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | assert!(!client.acquire(big, "A", 5, None, None).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/client.rs:148:36 [INFO] [stdout] | [INFO] [stdout] 148 | .acquire(other_small, "A", 1, None, None) [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/client.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | assert!(!client [INFO] [stdout] | ______________^ [INFO] [stdout] 148 | | .acquire(other_small, "A", 1, None, None) [INFO] [stdout] 149 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/client.rs:152:16 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(4, client.remainder("A").await.unwrap()); [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/client.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(4, client.remainder("A").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/client.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(4, client.remainder("A").await.unwrap()); [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/client.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(4, client.remainder("A").await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/client.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 156 | assert_eq!(0, client.remainder("A").await.unwrap()); [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/client.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | assert_eq!(0, client.remainder("A").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/client.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | assert_eq!(0, client.remainder("A").await.unwrap()); [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/client.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | assert_eq!(0, client.remainder("A").await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/client.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 167 | for _ 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/client.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | p.push(client.new_peer(Duration::from_secs(1)).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/client.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | for _ 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/client.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | p.push(client.new_peer(Duration::from_secs(1)).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/client.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 167 | for _ 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/client.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | p.push(client.new_peer(Duration::from_secs(1)).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/client.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 167 | for _ 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/client.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | p.push(client.new_peer(Duration::from_secs(1)).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/client.rs:171:39 [INFO] [stdout] | [INFO] [stdout] 171 | assert!(client.acquire(p[0], "A", 1, None, None).await.unwrap()); [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/client.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | assert!(client.acquire(p[0], "A", 1, None, None).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/client.rs:172:39 [INFO] [stdout] | [INFO] [stdout] 172 | assert!(client.acquire(p[1], "A", 1, None, None).await.unwrap()); [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/client.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | assert!(client.acquire(p[1], "A", 1, None, None).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/client.rs:173:39 [INFO] [stdout] | [INFO] [stdout] 173 | assert!(client.acquire(p[2], "A", 1, None, None).await.unwrap()); [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/client.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | assert!(client.acquire(p[2], "A", 1, None, None).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/client.rs:174:16 [INFO] [stdout] | [INFO] [stdout] 174 | assert_eq!(0, client.remainder("A").await.unwrap()); [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/client.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | assert_eq!(0, client.remainder("A").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/client.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | assert_eq!(0, client.remainder("A").await.unwrap()); [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/client.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | assert_eq!(0, client.remainder("A").await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/client.rs:175:40 [INFO] [stdout] | [INFO] [stdout] 175 | assert!(!client.acquire(p[3], "A", 1, None, None).await.unwrap()); [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/client.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | assert!(!client.acquire(p[3], "A", 1, None, None).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/client.rs:197:32 [INFO] [stdout] | [INFO] [stdout] 197 | .acquire(two, "A", 1, None, Some(Duration::from_secs(15))) [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/client.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | / client_2 [INFO] [stdout] 197 | | .acquire(two, "A", 1, None, Some(Duration::from_secs(15))) [INFO] [stdout] 198 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/client.rs:190:30 [INFO] [stdout] | [INFO] [stdout] 190 | client.acquire(one, "A", 1, None, None).await.unwrap(); [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/client.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | client.acquire(one, "A", 1, None, None).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/client.rs:221:30 [INFO] [stdout] | [INFO] [stdout] 221 | client.acquire(one, "A", 1, None, None).await.unwrap(); [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/client.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | client.acquire(one, "A", 1, None, None).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/client.rs:226:34 [INFO] [stdout] | [INFO] [stdout] 226 | client.acquire(two, "A", 1, None, Some(Duration::from_millis(1))), [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/client.rs:224:14 [INFO] [stdout] | [INFO] [stdout] 224 | assert!(!timeout( [INFO] [stdout] | ______________^ [INFO] [stdout] 225 | | Duration::from_secs(1), [INFO] [stdout] 226 | | client.acquire(two, "A", 1, None, Some(Duration::from_millis(1))), [INFO] [stdout] 227 | | ) [INFO] [stdout] 228 | | .await [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/client.rs:246:30 [INFO] [stdout] | [INFO] [stdout] 246 | client.acquire(one, "A", 1, None, None).await.unwrap(); [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/client.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | client.acquire(one, "A", 1, None, None).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/client.rs:268:38 [INFO] [stdout] | [INFO] [stdout] 268 | assert!(client.acquire(one, "A", 1, None, None).await.unwrap()); [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/client.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | assert!(client.acquire(one, "A", 1, None, None).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/client.rs:270:39 [INFO] [stdout] | [INFO] [stdout] 270 | assert!(!client.acquire(two, "A", 1, None, None).await.unwrap()); [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/client.rs:270:14 [INFO] [stdout] | [INFO] [stdout] 270 | assert!(!client.acquire(two, "A", 1, None, None).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/client.rs:273:38 [INFO] [stdout] | [INFO] [stdout] 273 | assert!(client.acquire(two, "A", 1, None, None).await.unwrap()); [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/client.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | assert!(client.acquire(two, "A", 1, None, None).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/client.rs:293:38 [INFO] [stdout] | [INFO] [stdout] 293 | assert!(client.acquire(one, "A", 1, None, None).await.unwrap()); [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/client.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | assert!(client.acquire(one, "A", 1, None, None).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/client.rs:294:38 [INFO] [stdout] | [INFO] [stdout] 294 | assert!(client.acquire(one, "B", 1, None, None).await.unwrap()); [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/client.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | assert!(client.acquire(one, "B", 1, None, None).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/client.rs:296:39 [INFO] [stdout] | [INFO] [stdout] 296 | assert!(!client.acquire(two, "B", 1, None, None).await.unwrap()); [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/client.rs:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | assert!(!client.acquire(two, "B", 1, None, None).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/client.rs:319:29 [INFO] [stdout] | [INFO] [stdout] 319 | .acquire(peer, "A", 1, Some(Duration::from_millis(1)), None) [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/client.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | / client [INFO] [stdout] 319 | | .acquire(peer, "A", 1, Some(Duration::from_millis(1)), None) [INFO] [stdout] 320 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/client.rs:323:16 [INFO] [stdout] | [INFO] [stdout] 323 | assert_eq!(1, client.remainder("A").await.unwrap()); [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/client.rs:323:19 [INFO] [stdout] | [INFO] [stdout] 323 | assert_eq!(1, client.remainder("A").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/client.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | assert_eq!(1, client.remainder("A").await.unwrap()); [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/client.rs:323:19 [INFO] [stdout] | [INFO] [stdout] 323 | assert_eq!(1, client.remainder("A").await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 49 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7724214663d7ee262ba4e4e4a12915c6c8e05004e665c1eff905f87fe0f0cde7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7724214663d7ee262ba4e4e4a12915c6c8e05004e665c1eff905f87fe0f0cde7", kill_on_drop: false }` [INFO] [stdout] 7724214663d7ee262ba4e4e4a12915c6c8e05004e665c1eff905f87fe0f0cde7