[INFO] fetching crate bolt-client 0.9.1... [INFO] checking bolt-client-0.9.1 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate bolt-client 0.9.1 into /workspace/builds/worker-100/source [INFO] validating manifest of crates.io crate bolt-client 0.9.1 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bolt-client 0.9.1 [INFO] finished tweaking crates.io crate bolt-client 0.9.1 [INFO] tweaked toml for crates.io crate bolt-client 0.9.1 written to /workspace/builds/worker-100/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08a613151de8c438d083fffba0647ddcb24ad93268b298cd50074003dc77ed4e [INFO] running `Command { std: "docker" "start" "-a" "08a613151de8c438d083fffba0647ddcb24ad93268b298cd50074003dc77ed4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08a613151de8c438d083fffba0647ddcb24ad93268b298cd50074003dc77ed4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08a613151de8c438d083fffba0647ddcb24ad93268b298cd50074003dc77ed4e", kill_on_drop: false }` [INFO] [stdout] 08a613151de8c438d083fffba0647ddcb24ad93268b298cd50074003dc77ed4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32fffecee8efb73d55842e427cc5190e97ac13127591bd61bb8710d73471d225 [INFO] running `Command { std: "docker" "start" "-a" "32fffecee8efb73d55842e427cc5190e97ac13127591bd61bb8710d73471d225", 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] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling bolt-proto-derive v0.5.2 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling bolt-client-macros v0.2.1 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking bolt-proto v0.10.0 [INFO] [stderr] Checking bolt-client v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tokio::io::BufStream` [INFO] [stdout] --> src/client/v1.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | use tokio::io::BufStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `BufStream` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::stream` [INFO] [stdout] --> src/client/v1.rs:201:43 [INFO] [stdout] | [INFO] [stdout] 201 | use crate::{skip_if_handshake_failed, stream, Metadata}; [INFO] [stdout] | ^^^^^^ no `stream` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:258:26 [INFO] [stdout] | [INFO] [stdout] 258 | let mut client = new_client(version).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v1.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | skip_if_handshake_failed!(client); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:296:24 [INFO] [stdout] | [INFO] [stdout] 296 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (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] --> src/client/v1.rs:295:33 [INFO] [stdout] | [INFO] [stdout] 295 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:296:24 [INFO] [stdout] | [INFO] [stdout] 296 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v1.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | skip_if_handshake_failed!(client); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:311:24 [INFO] [stdout] | [INFO] [stdout] 311 | let response = initialize_client(&mut client, true).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (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] --> src/client/v1.rs:304:33 [INFO] [stdout] | [INFO] [stdout] 304 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:311:24 [INFO] [stdout] | [INFO] [stdout] 311 | let response = initialize_client(&mut client, true).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v1.rs:304:33 [INFO] [stdout] | [INFO] [stdout] 304 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:305:24 [INFO] [stdout] | [INFO] [stdout] 305 | let response = initialize_client(&mut client, false).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:325:24 [INFO] [stdout] | [INFO] [stdout] 320 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 325 | let response = client.ack_failure().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:340:24 [INFO] [stdout] | [INFO] [stdout] 333 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 340 | let response = client.ack_failure().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v1.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | skip_if_handshake_failed!(client); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:351:24 [INFO] [stdout] | [INFO] [stdout] 351 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (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] --> src/client/v1.rs:350:33 [INFO] [stdout] | [INFO] [stdout] 350 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:351:24 [INFO] [stdout] | [INFO] [stdout] 351 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:374:25 [INFO] [stdout] | [INFO] [stdout] 357 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 374 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:391:24 [INFO] [stdout] | [INFO] [stdout] 388 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 391 | let response = client.run("RETURN 3458376 as n;", None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 402 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 405 | client [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:446:24 [INFO] [stdout] | [INFO] [stdout] 443 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 446 | let response = client.discard_all().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:457:24 [INFO] [stdout] | [INFO] [stdout] 452 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 457 | let response = client.discard_all().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:468:24 [INFO] [stdout] | [INFO] [stdout] 463 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 468 | let response = client.discard_all().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:484:24 [INFO] [stdout] | [INFO] [stdout] 477 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 484 | let response = client.reset().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v1.rs:493:9 [INFO] [stdout] | [INFO] [stdout] 493 | skip_if_handshake_failed!(client); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:497:24 [INFO] [stdout] | [INFO] [stdout] 497 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (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] --> src/client/v1.rs:494:33 [INFO] [stdout] | [INFO] [stdout] 494 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:497:24 [INFO] [stdout] | [INFO] [stdout] 497 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v1.rs:494:33 [INFO] [stdout] | [INFO] [stdout] 494 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:495:24 [INFO] [stdout] | [INFO] [stdout] 495 | let response = run_invalid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:507:13 [INFO] [stdout] | [INFO] [stdout] 503 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 507 | client.commit().await, [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:517:9 [INFO] [stdout] | [INFO] [stdout] 514 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 517 | client.send_message(Message::Commit).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v2.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | skip_if_handshake_failed!(client); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (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] --> src/client/v2.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v2.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | skip_if_handshake_failed!(client); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let response = initialize_client(&mut client, true).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (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] --> src/client/v2.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let response = initialize_client(&mut client, true).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v2.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | let response = initialize_client(&mut client, false).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v2.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 42 | let client = get_initialized_client(V2_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 47 | let response = client.ack_failure().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v2.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 55 | let client = get_initialized_client(V2_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 62 | let response = client.ack_failure().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v2.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | skip_if_handshake_failed!(client); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (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] --> src/client/v2.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v2.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 79 | let client = get_initialized_client(V2_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 96 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v2.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 110 | let client = get_initialized_client(V2_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 113 | let response = client [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v2.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 150 | let client = get_initialized_client(V2_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 153 | client [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v2.rs:202:24 [INFO] [stdout] | [INFO] [stdout] 199 | let client = get_initialized_client(V2_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 202 | let response = client.discard_all().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v2.rs:213:24 [INFO] [stdout] | [INFO] [stdout] 208 | let client = get_initialized_client(V2_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 213 | let response = client.discard_all().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v2.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 219 | let client = get_initialized_client(V2_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 224 | let response = client.discard_all().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v2.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 233 | let client = get_initialized_client(V2_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 240 | let response = client.reset().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v2.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | skip_if_handshake_failed!(client); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:253:24 [INFO] [stdout] | [INFO] [stdout] 253 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (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] --> src/client/v2.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:253:24 [INFO] [stdout] | [INFO] [stdout] 253 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v2.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:251:24 [INFO] [stdout] | [INFO] [stdout] 251 | let response = run_invalid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v3.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | skip_if_handshake_failed!(client); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v3.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (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] --> src/client/v3.rs:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v3.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v3.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | skip_if_handshake_failed!(client); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v3.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | let response = initialize_client(&mut client, false).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (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] --> src/client/v3.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v3.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | let response = initialize_client(&mut client, false).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v3.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 148 | let client = get_initialized_client(V3_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 151 | assert!(client.goodbye().await.is_ok()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v3.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | skip_if_handshake_failed!(client); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v3.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (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] --> src/client/v3.rs:158:33 [INFO] [stdout] | [INFO] [stdout] 158 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v3.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v3.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 165 | let client = get_initialized_client(V3_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 186 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v3.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 200 | let client = get_initialized_client(V3_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 203 | let response = client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v3.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 209 | let client = get_initialized_client(V3_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 212 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v3.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 219 | let client = get_initialized_client(V3_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 222 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v3.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 260 | let client = get_initialized_client(V3_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 263 | let response = client.commit().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v3.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 269 | let client = get_initialized_client(V3_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 272 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v3.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 279 | let client = get_initialized_client(V3_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 282 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v3.rs:316:24 [INFO] [stdout] | [INFO] [stdout] 313 | let client = get_initialized_client(V3_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 316 | let response = client.rollback().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v4.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | skip_if_handshake_failed!(client); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (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] --> src/client/v4.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 68 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v4.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | skip_if_handshake_failed!(client); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | let response = initialize_client(&mut client, false).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (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] --> src/client/v4.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | let response = initialize_client(&mut client, false).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 84 | let client = get_initialized_client(V4_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 87 | assert!(client.goodbye().await.is_ok()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v4.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | skip_if_handshake_failed!(client); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (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] --> src/client/v4.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 101 | let client = get_initialized_client(V4_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 122 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 145 | let client = get_initialized_client(V4_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 151 | let response = client.discard(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4.rs:187:24 [INFO] [stdout] | [INFO] [stdout] 182 | let client = get_initialized_client(V4_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 187 | let response = client [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4.rs:222:24 [INFO] [stdout] | [INFO] [stdout] 219 | let client = get_initialized_client(V4_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 222 | let response = client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 228 | let client = get_initialized_client(V4_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 231 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 238 | let client = get_initialized_client(V4_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 241 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4.rs:285:24 [INFO] [stdout] | [INFO] [stdout] 282 | let client = get_initialized_client(V4_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 285 | let response = client.commit().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 291 | let client = get_initialized_client(V4_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 294 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 301 | let client = get_initialized_client(V4_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 304 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4.rs:341:24 [INFO] [stdout] | [INFO] [stdout] 338 | let client = get_initialized_client(V4_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 341 | let response = client.rollback().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v4_1.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | skip_if_handshake_failed!(client); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4_1.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (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] --> src/client/v4_1.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4_1.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v4_1.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | skip_if_handshake_failed!(client); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4_1.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | let response = initialize_client(&mut client, false).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (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] --> src/client/v4_1.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4_1.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | let response = initialize_client(&mut client, false).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4_1.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 33 | let client = get_initialized_client(V4_1).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 36 | assert!(client.goodbye().await.is_ok()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v4_1.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | skip_if_handshake_failed!(client); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4_1.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (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] --> src/client/v4_1.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4_1.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4_1.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 50 | let client = get_initialized_client(V4_1).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 71 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4_1.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 94 | let client = get_initialized_client(V4_1).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 100 | let response = client.discard(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4_1.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 131 | let client = get_initialized_client(V4_1).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 136 | let response = client [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4_1.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 168 | let client = get_initialized_client(V4_1).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 171 | let response = client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4_1.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 177 | let client = get_initialized_client(V4_1).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 180 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4_1.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 187 | let client = get_initialized_client(V4_1).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 190 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4_1.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 231 | let client = get_initialized_client(V4_1).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 234 | let response = client.commit().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4_1.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 240 | let client = get_initialized_client(V4_1).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 243 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4_1.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 250 | let client = get_initialized_client(V4_1).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 253 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4_1.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 287 | let client = get_initialized_client(V4_1).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 290 | let response = client.rollback().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 92 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bolt-client` due to 93 previous errors [INFO] running `Command { std: "docker" "inspect" "32fffecee8efb73d55842e427cc5190e97ac13127591bd61bb8710d73471d225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32fffecee8efb73d55842e427cc5190e97ac13127591bd61bb8710d73471d225", kill_on_drop: false }` [INFO] [stdout] 32fffecee8efb73d55842e427cc5190e97ac13127591bd61bb8710d73471d225