[INFO] fetching crate bolt-client 0.8.0... [INFO] checking bolt-client-0.8.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate bolt-client 0.8.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate bolt-client 0.8.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bolt-client 0.8.0 [INFO] finished tweaking crates.io crate bolt-client 0.8.0 [INFO] tweaked toml for crates.io crate bolt-client 0.8.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bolt-client-macros v0.2.0 [INFO] [stderr] Downloaded bolt-proto v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e324be234fdfc30050b00af3c5bf9705d2f192c4758e03443b212923c85021fe [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" "e324be234fdfc30050b00af3c5bf9705d2f192c4758e03443b212923c85021fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e324be234fdfc30050b00af3c5bf9705d2f192c4758e03443b212923c85021fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e324be234fdfc30050b00af3c5bf9705d2f192c4758e03443b212923c85021fe", kill_on_drop: false }` [INFO] [stdout] e324be234fdfc30050b00af3c5bf9705d2f192c4758e03443b212923c85021fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f3df125b1a55efa63c28d8873a5a2226fea460e571bc88c218822a7948efcdd [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" "1f3df125b1a55efa63c28d8873a5a2226fea460e571bc88c218822a7948efcdd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling regex v1.4.4 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling bolt-proto-derive v0.5.1 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling bolt-client-macros v0.2.0 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking bolt-proto v0.9.1 [INFO] [stderr] Checking bolt-client v0.8.0 (/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:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | 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 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] --> 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:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | 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 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] --> 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:343: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] 343 | 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:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | 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:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | 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:354:24 [INFO] [stdout] | [INFO] [stdout] 354 | let response = run_valid_query(&mut client).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] --> src/client/v1.rs:353:33 [INFO] [stdout] | [INFO] [stdout] 353 | 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:354:24 [INFO] [stdout] | [INFO] [stdout] 354 | 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:377:25 [INFO] [stdout] | [INFO] [stdout] 360 | 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] 377 | 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:394:24 [INFO] [stdout] | [INFO] [stdout] 391 | 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] 394 | 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:408:9 [INFO] [stdout] | [INFO] [stdout] 405 | 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] 408 | 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:449:24 [INFO] [stdout] | [INFO] [stdout] 446 | 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] 449 | 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:460:24 [INFO] [stdout] | [INFO] [stdout] 455 | 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] 460 | 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:471:24 [INFO] [stdout] | [INFO] [stdout] 466 | 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] 471 | 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:490:24 [INFO] [stdout] | [INFO] [stdout] 480 | 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] 490 | 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:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | 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:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | 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:503:24 [INFO] [stdout] | [INFO] [stdout] 503 | let response = run_valid_query(&mut client).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] --> src/client/v1.rs:500:33 [INFO] [stdout] | [INFO] [stdout] 500 | 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:503:24 [INFO] [stdout] | [INFO] [stdout] 503 | 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:500:33 [INFO] [stdout] | [INFO] [stdout] 500 | 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:501:24 [INFO] [stdout] | [INFO] [stdout] 501 | 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:515:23 [INFO] [stdout] | [INFO] [stdout] 512 | 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] 515 | assert!(match 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:526:9 [INFO] [stdout] | [INFO] [stdout] 523 | 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] 526 | 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:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | 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 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] --> 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:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | 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 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] --> 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:65: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] 65 | 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:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | 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:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | 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:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | let response = run_valid_query(&mut client).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] --> src/client/v2.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | 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:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | 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:99:25 [INFO] [stdout] | [INFO] [stdout] 82 | 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] 99 | 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:116:24 [INFO] [stdout] | [INFO] [stdout] 113 | 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] 116 | 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:156:9 [INFO] [stdout] | [INFO] [stdout] 153 | 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] 156 | 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:205:24 [INFO] [stdout] | [INFO] [stdout] 202 | 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] 205 | 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:216:24 [INFO] [stdout] | [INFO] [stdout] 211 | 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] 216 | 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:227:24 [INFO] [stdout] | [INFO] [stdout] 222 | 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] 227 | 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:246:24 [INFO] [stdout] | [INFO] [stdout] 236 | 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] 246 | 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:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | 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:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | 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:259:24 [INFO] [stdout] | [INFO] [stdout] 259 | let response = run_valid_query(&mut client).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] --> src/client/v2.rs:256:33 [INFO] [stdout] | [INFO] [stdout] 256 | 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:259:24 [INFO] [stdout] | [INFO] [stdout] 259 | 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:256:33 [INFO] [stdout] | [INFO] [stdout] 256 | 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:257:24 [INFO] [stdout] | [INFO] [stdout] 257 | 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:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | 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 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] --> 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:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | 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 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] --> 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:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | 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 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] --> 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:319:24 [INFO] [stdout] | [INFO] [stdout] 316 | 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] 319 | 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:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | 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 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] --> 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:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | 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 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] --> 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:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | 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 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] --> 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v4.rs:160:58 [INFO] [stdout] | [INFO] [stdout] 160 | .discard(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 160 | | .discard(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 161 | | .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/v4.rs:160:52 [INFO] [stdout] | [INFO] [stdout] 160 | .discard(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 160 | | .discard(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 161 | | .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/v4.rs:160:47 [INFO] [stdout] | [INFO] [stdout] 160 | .discard(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 160 | | .discard(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 161 | | .await [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] --> src/client/v4.rs:160:47 [INFO] [stdout] | [INFO] [stdout] 160 | .discard(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 160 | | .discard(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 161 | | .await [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] --> src/client/v4.rs:160:47 [INFO] [stdout] | [INFO] [stdout] 160 | .discard(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 160 | | .discard(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 161 | | .await [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] --> src/client/v4.rs:171:59 [INFO] [stdout] | [INFO] [stdout] 171 | .discard(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 171 | | .discard(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 172 | | .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/v4.rs:171:58 [INFO] [stdout] | [INFO] [stdout] 171 | .discard(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 171 | | .discard(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 172 | | .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/v4.rs:171:52 [INFO] [stdout] | [INFO] [stdout] 171 | .discard(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 171 | | .discard(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 172 | | .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/v4.rs:171:47 [INFO] [stdout] | [INFO] [stdout] 171 | .discard(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 171 | | .discard(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 172 | | .await [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] --> src/client/v4.rs:171:47 [INFO] [stdout] | [INFO] [stdout] 171 | .discard(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 171 | | .discard(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 172 | | .await [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] --> src/client/v4.rs:171:47 [INFO] [stdout] | [INFO] [stdout] 171 | .discard(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 171 | | .discard(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 172 | | .await [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[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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v4.rs:194:55 [INFO] [stdout] | [INFO] [stdout] 194 | .pull(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4.rs:193:35 [INFO] [stdout] | [INFO] [stdout] 193 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 194 | | .pull(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 195 | | .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/v4.rs:194:49 [INFO] [stdout] | [INFO] [stdout] 194 | .pull(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4.rs:193:35 [INFO] [stdout] | [INFO] [stdout] 193 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 194 | | .pull(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 195 | | .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/v4.rs:194:44 [INFO] [stdout] | [INFO] [stdout] 194 | .pull(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4.rs:193:35 [INFO] [stdout] | [INFO] [stdout] 193 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 194 | | .pull(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 195 | | .await [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] --> src/client/v4.rs:194:44 [INFO] [stdout] | [INFO] [stdout] 194 | .pull(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4.rs:193:35 [INFO] [stdout] | [INFO] [stdout] 193 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 194 | | .pull(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 195 | | .await [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] --> src/client/v4.rs:194:44 [INFO] [stdout] | [INFO] [stdout] 194 | .pull(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4.rs:193:35 [INFO] [stdout] | [INFO] [stdout] 193 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 194 | | .pull(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 195 | | .await [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] --> src/client/v4.rs:209:56 [INFO] [stdout] | [INFO] [stdout] 209 | .pull(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4.rs:208:35 [INFO] [stdout] | [INFO] [stdout] 208 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 209 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 210 | | .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/v4.rs:209:55 [INFO] [stdout] | [INFO] [stdout] 209 | .pull(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4.rs:208:35 [INFO] [stdout] | [INFO] [stdout] 208 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 209 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 210 | | .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/v4.rs:209:49 [INFO] [stdout] | [INFO] [stdout] 209 | .pull(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4.rs:208:35 [INFO] [stdout] | [INFO] [stdout] 208 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 209 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 210 | | .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/v4.rs:209:44 [INFO] [stdout] | [INFO] [stdout] 209 | .pull(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4.rs:208:35 [INFO] [stdout] | [INFO] [stdout] 208 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 209 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 210 | | .await [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] --> src/client/v4.rs:209:44 [INFO] [stdout] | [INFO] [stdout] 209 | .pull(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4.rs:208:35 [INFO] [stdout] | [INFO] [stdout] 208 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 209 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 210 | | .await [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] --> src/client/v4.rs:209:44 [INFO] [stdout] | [INFO] [stdout] 209 | .pull(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4.rs:208:35 [INFO] [stdout] | [INFO] [stdout] 208 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 209 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 210 | | .await [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[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:344:24 [INFO] [stdout] | [INFO] [stdout] 341 | 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] 344 | 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:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | 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 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] --> 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:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | 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 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] --> 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:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | 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 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] --> 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v4_1.rs:109:58 [INFO] [stdout] | [INFO] [stdout] 109 | .discard(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4_1.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 109 | | .discard(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 110 | | .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/v4_1.rs:109:52 [INFO] [stdout] | [INFO] [stdout] 109 | .discard(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4_1.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 109 | | .discard(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 110 | | .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/v4_1.rs:109:47 [INFO] [stdout] | [INFO] [stdout] 109 | .discard(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4_1.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 109 | | .discard(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 110 | | .await [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] --> src/client/v4_1.rs:109:47 [INFO] [stdout] | [INFO] [stdout] 109 | .discard(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4_1.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 109 | | .discard(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 110 | | .await [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] --> src/client/v4_1.rs:109:47 [INFO] [stdout] | [INFO] [stdout] 109 | .discard(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4_1.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 109 | | .discard(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 110 | | .await [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] --> src/client/v4_1.rs:120:59 [INFO] [stdout] | [INFO] [stdout] 120 | .discard(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4_1.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 120 | | .discard(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4_1.rs:120:58 [INFO] [stdout] | [INFO] [stdout] 120 | .discard(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4_1.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 120 | | .discard(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4_1.rs:120:52 [INFO] [stdout] | [INFO] [stdout] 120 | .discard(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4_1.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 120 | | .discard(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4_1.rs:120:47 [INFO] [stdout] | [INFO] [stdout] 120 | .discard(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4_1.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 120 | | .discard(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 121 | | .await [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] --> src/client/v4_1.rs:120:47 [INFO] [stdout] | [INFO] [stdout] 120 | .discard(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4_1.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 120 | | .discard(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 121 | | .await [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] --> src/client/v4_1.rs:120:47 [INFO] [stdout] | [INFO] [stdout] 120 | .discard(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4_1.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 120 | | .discard(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 121 | | .await [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[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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v4_1.rs:143:55 [INFO] [stdout] | [INFO] [stdout] 143 | .pull(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4_1.rs:142:35 [INFO] [stdout] | [INFO] [stdout] 142 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 143 | | .pull(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 144 | | .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/v4_1.rs:143:49 [INFO] [stdout] | [INFO] [stdout] 143 | .pull(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4_1.rs:142:35 [INFO] [stdout] | [INFO] [stdout] 142 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 143 | | .pull(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 144 | | .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/v4_1.rs:143:44 [INFO] [stdout] | [INFO] [stdout] 143 | .pull(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4_1.rs:142:35 [INFO] [stdout] | [INFO] [stdout] 142 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 143 | | .pull(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 144 | | .await [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] --> src/client/v4_1.rs:143:44 [INFO] [stdout] | [INFO] [stdout] 143 | .pull(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4_1.rs:142:35 [INFO] [stdout] | [INFO] [stdout] 142 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 143 | | .pull(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 144 | | .await [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] --> src/client/v4_1.rs:143:44 [INFO] [stdout] | [INFO] [stdout] 143 | .pull(Some(Metadata::from_iter(vec![("n", 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] --> src/client/v4_1.rs:142:35 [INFO] [stdout] | [INFO] [stdout] 142 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 143 | | .pull(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 144 | | .await [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] --> src/client/v4_1.rs:158:56 [INFO] [stdout] | [INFO] [stdout] 158 | .pull(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4_1.rs:157:35 [INFO] [stdout] | [INFO] [stdout] 157 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 158 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 159 | | .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/v4_1.rs:158:55 [INFO] [stdout] | [INFO] [stdout] 158 | .pull(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4_1.rs:157:35 [INFO] [stdout] | [INFO] [stdout] 157 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 158 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 159 | | .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/v4_1.rs:158:49 [INFO] [stdout] | [INFO] [stdout] 158 | .pull(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4_1.rs:157:35 [INFO] [stdout] | [INFO] [stdout] 157 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 158 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 159 | | .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/v4_1.rs:158:44 [INFO] [stdout] | [INFO] [stdout] 158 | .pull(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4_1.rs:157:35 [INFO] [stdout] | [INFO] [stdout] 157 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 158 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 159 | | .await [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] --> src/client/v4_1.rs:158:44 [INFO] [stdout] | [INFO] [stdout] 158 | .pull(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4_1.rs:157:35 [INFO] [stdout] | [INFO] [stdout] 157 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 158 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 159 | | .await [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] --> src/client/v4_1.rs:158:44 [INFO] [stdout] | [INFO] [stdout] 158 | .pull(Some(Metadata::from_iter(vec![("n", -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] --> src/client/v4_1.rs:157:35 [INFO] [stdout] | [INFO] [stdout] 157 | let (response, records) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 158 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 159 | | .await [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[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:293:24 [INFO] [stdout] | [INFO] [stdout] 290 | 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] 293 | 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 136 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "1f3df125b1a55efa63c28d8873a5a2226fea460e571bc88c218822a7948efcdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f3df125b1a55efa63c28d8873a5a2226fea460e571bc88c218822a7948efcdd", kill_on_drop: false }` [INFO] [stdout] 1f3df125b1a55efa63c28d8873a5a2226fea460e571bc88c218822a7948efcdd