[INFO] fetching crate bolt-client 0.9.1... [INFO] testing bolt-client-0.9.1 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate bolt-client 0.9.1 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate bolt-client 0.9.1 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bolt-client 0.9.1 [INFO] finished tweaking crates.io crate bolt-client 0.9.1 [INFO] tweaked toml for crates.io crate bolt-client 0.9.1 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5adba2dc0fe86b081afc347492996c19ec2205095619ce28153742d56355049 [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" "e5adba2dc0fe86b081afc347492996c19ec2205095619ce28153742d56355049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5adba2dc0fe86b081afc347492996c19ec2205095619ce28153742d56355049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5adba2dc0fe86b081afc347492996c19ec2205095619ce28153742d56355049", kill_on_drop: false }` [INFO] [stdout] e5adba2dc0fe86b081afc347492996c19ec2205095619ce28153742d56355049 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c59ce1b5afa2b65ec147dec12a7e437db1c5bf8c68bee2cdc319504219e1982 [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" "5c59ce1b5afa2b65ec147dec12a7e437db1c5bf8c68bee2cdc319504219e1982", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bolt-proto-derive v0.5.2 [INFO] [stderr] Compiling bolt-client-macros v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling bolt-proto v0.10.0 [INFO] [stderr] Compiling bolt-client v0.9.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 53.30s [INFO] running `Command { std: "docker" "inspect" "5c59ce1b5afa2b65ec147dec12a7e437db1c5bf8c68bee2cdc319504219e1982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c59ce1b5afa2b65ec147dec12a7e437db1c5bf8c68bee2cdc319504219e1982", kill_on_drop: false }` [INFO] [stdout] 5c59ce1b5afa2b65ec147dec12a7e437db1c5bf8c68bee2cdc319504219e1982 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c8fe07ec0076f4536173d70d9fcfd07166396a0635843af2f0cd6958e8980fa9 [INFO] running `Command { std: "docker" "start" "-a" "c8fe07ec0076f4536173d70d9fcfd07166396a0635843af2f0cd6958e8980fa9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling bolt-client v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tokio::io::BufStream` [INFO] [stdout] --> src/client/v1.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | use tokio::io::BufStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `BufStream` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::stream` [INFO] [stdout] --> src/client/v1.rs:201:43 [INFO] [stdout] | [INFO] [stdout] 201 | use crate::{skip_if_handshake_failed, stream, Metadata}; [INFO] [stdout] | ^^^^^^ no `stream` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v1.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | skip_if_handshake_failed!(client); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:296:24 [INFO] [stdout] | [INFO] [stdout] 296 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v1.rs:295:33 [INFO] [stdout] | [INFO] [stdout] 295 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:296:24 [INFO] [stdout] | [INFO] [stdout] 296 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v1.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | skip_if_handshake_failed!(client); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:311:24 [INFO] [stdout] | [INFO] [stdout] 311 | let response = initialize_client(&mut client, true).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v1.rs:304:33 [INFO] [stdout] | [INFO] [stdout] 304 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:311:24 [INFO] [stdout] | [INFO] [stdout] 311 | let response = initialize_client(&mut client, true).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v1.rs:304:33 [INFO] [stdout] | [INFO] [stdout] 304 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:305:24 [INFO] [stdout] | [INFO] [stdout] 305 | let response = initialize_client(&mut client, false).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:325:24 [INFO] [stdout] | [INFO] [stdout] 320 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 325 | let response = client.ack_failure().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:340:24 [INFO] [stdout] | [INFO] [stdout] 333 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 340 | let response = client.ack_failure().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v1.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | skip_if_handshake_failed!(client); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:351:24 [INFO] [stdout] | [INFO] [stdout] 351 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v1.rs:350:33 [INFO] [stdout] | [INFO] [stdout] 350 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:351:24 [INFO] [stdout] | [INFO] [stdout] 351 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:374:25 [INFO] [stdout] | [INFO] [stdout] 357 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 374 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:391:24 [INFO] [stdout] | [INFO] [stdout] 388 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 391 | let response = client.run("RETURN 3458376 as n;", None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:397:43 [INFO] [stdout] | [INFO] [stdout] 397 | assert_eq!(records[0].fields(), &[Value::from(3_458_376)]); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 402 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 405 | client [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:446:24 [INFO] [stdout] | [INFO] [stdout] 443 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 446 | let response = client.discard_all().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:457:24 [INFO] [stdout] | [INFO] [stdout] 452 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 457 | let response = client.discard_all().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:468:24 [INFO] [stdout] | [INFO] [stdout] 463 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 468 | let response = client.discard_all().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:484:24 [INFO] [stdout] | [INFO] [stdout] 477 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 484 | let response = client.reset().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v1.rs:493:9 [INFO] [stdout] | [INFO] [stdout] 493 | skip_if_handshake_failed!(client); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:497:24 [INFO] [stdout] | [INFO] [stdout] 497 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v1.rs:494:33 [INFO] [stdout] | [INFO] [stdout] 494 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:497:24 [INFO] [stdout] | [INFO] [stdout] 497 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v1.rs:494:33 [INFO] [stdout] | [INFO] [stdout] 494 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v1.rs:495:24 [INFO] [stdout] | [INFO] [stdout] 495 | let response = run_invalid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:507:13 [INFO] [stdout] | [INFO] [stdout] 503 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 507 | client.commit().await, [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v1.rs:517:9 [INFO] [stdout] | [INFO] [stdout] 514 | let client = get_initialized_client(V1_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 517 | client.send_message(Message::Commit).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v2.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | skip_if_handshake_failed!(client); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v2.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v2.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | skip_if_handshake_failed!(client); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let response = initialize_client(&mut client, true).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v2.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let response = initialize_client(&mut client, true).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v2.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | let response = initialize_client(&mut client, false).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v2.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 42 | let client = get_initialized_client(V2_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 47 | let response = client.ack_failure().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v2.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 55 | let client = get_initialized_client(V2_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 62 | let response = client.ack_failure().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v2.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | skip_if_handshake_failed!(client); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v2.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v2.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 79 | let client = get_initialized_client(V2_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 96 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v2.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 110 | let client = get_initialized_client(V2_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 113 | let response = client [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v2.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 150 | let client = get_initialized_client(V2_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 153 | client [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v2.rs:202:24 [INFO] [stdout] | [INFO] [stdout] 199 | let client = get_initialized_client(V2_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 202 | let response = client.discard_all().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v2.rs:213:24 [INFO] [stdout] | [INFO] [stdout] 208 | let client = get_initialized_client(V2_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 213 | let response = client.discard_all().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v2.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 219 | let client = get_initialized_client(V2_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 224 | let response = client.discard_all().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v2.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 233 | let client = get_initialized_client(V2_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 240 | let response = client.reset().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v2.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | skip_if_handshake_failed!(client); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:253:24 [INFO] [stdout] | [INFO] [stdout] 253 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v2.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:253:24 [INFO] [stdout] | [INFO] [stdout] 253 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v2.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v2.rs:251:24 [INFO] [stdout] | [INFO] [stdout] 251 | let response = run_invalid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v3.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | skip_if_handshake_failed!(client); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v3.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v3.rs:132:33 [INFO] [stdout] | [INFO] [stdout] 132 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v3.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v3.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | skip_if_handshake_failed!(client); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v3.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | let response = initialize_client(&mut client, false).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v3.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v3.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | let response = initialize_client(&mut client, false).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v3.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 148 | let client = get_initialized_client(V3_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 151 | assert!(client.goodbye().await.is_ok()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v3.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | skip_if_handshake_failed!(client); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v3.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v3.rs:158:33 [INFO] [stdout] | [INFO] [stdout] 158 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v3.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v3.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 165 | let client = get_initialized_client(V3_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 186 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v3.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 200 | let client = get_initialized_client(V3_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 203 | let response = client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v3.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 209 | let client = get_initialized_client(V3_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 212 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v3.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 219 | let client = get_initialized_client(V3_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 222 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v3.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 260 | let client = get_initialized_client(V3_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 263 | let response = client.commit().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v3.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 269 | let client = get_initialized_client(V3_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 272 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v3.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 279 | let client = get_initialized_client(V3_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 282 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v3.rs:316:24 [INFO] [stdout] | [INFO] [stdout] 313 | let client = get_initialized_client(V3_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 316 | let response = client.rollback().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v4.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | skip_if_handshake_failed!(client); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v4.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 68 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v4.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | skip_if_handshake_failed!(client); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | let response = initialize_client(&mut client, false).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v4.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | let response = initialize_client(&mut client, false).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 84 | let client = get_initialized_client(V4_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 87 | assert!(client.goodbye().await.is_ok()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v4.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | skip_if_handshake_failed!(client); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v4.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 101 | let client = get_initialized_client(V4_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 122 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:108:79 [INFO] [stdout] | [INFO] [stdout] 108 | Message::Pull(Pull::new(HashMap::from_iter(vec![("n".to_string(), Value::from(1))]))), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:112:79 [INFO] [stdout] | [INFO] [stdout] 112 | Message::Pull(Pull::new(HashMap::from_iter(vec![("n".to_string(), Value::from(1))]))), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:116:79 [INFO] [stdout] | [INFO] [stdout] 116 | Message::Pull(Pull::new(HashMap::from_iter(vec![("n".to_string(), Value::from(1))]))), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:120:79 [INFO] [stdout] | [INFO] [stdout] 120 | Message::Pull(Pull::new(HashMap::from_iter(vec![("n".to_string(), Value::from(1))]))), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [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[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:160:27 [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: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] note: required because of the requirements on the impl of `FromIterator<(&str, {integer})>` for `Metadata` [INFO] [stdout] --> src/define_value_map.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | impl ::std::iter::FromIterator<(K, V)> for $T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | define_value_map!(Metadata); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] note: required by a bound in `std::iter::FromIterator::from_iter` [INFO] [stdout] = note: this error originates in the macro `define_value_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:171:27 [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: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] note: required because of the requirements on the impl of `FromIterator<(&str, {integer})>` for `Metadata` [INFO] [stdout] --> src/define_value_map.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | impl ::std::iter::FromIterator<(K, V)> for $T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | define_value_map!(Metadata); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] note: required by a bound in `std::iter::FromIterator::from_iter` [INFO] [stdout] = note: this error originates in the macro `define_value_map` (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[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:194:24 [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: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] note: required because of the requirements on the impl of `FromIterator<(&str, {integer})>` for `Metadata` [INFO] [stdout] --> src/define_value_map.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | impl ::std::iter::FromIterator<(K, V)> for $T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | define_value_map!(Metadata); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] note: required by a bound in `std::iter::FromIterator::from_iter` [INFO] [stdout] = note: this error originates in the macro `define_value_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:199:43 [INFO] [stdout] | [INFO] [stdout] 199 | assert_eq!(records[0].fields(), &[Value::from(3_458_376)]); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:209:24 [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: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] note: required because of the requirements on the impl of `FromIterator<(&str, {integer})>` for `Metadata` [INFO] [stdout] --> src/define_value_map.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | impl ::std::iter::FromIterator<(K, V)> for $T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | define_value_map!(Metadata); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] note: required by a bound in `std::iter::FromIterator::from_iter` [INFO] [stdout] = note: this error originates in the macro `define_value_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:214:43 [INFO] [stdout] | [INFO] [stdout] 214 | assert_eq!(records[0].fields(), &[Value::from(3_458_376)]); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [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[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:247:79 [INFO] [stdout] | [INFO] [stdout] 247 | Message::Pull(Pull::new(HashMap::from_iter(vec![("n".to_string(), Value::from(1))]))), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:251:79 [INFO] [stdout] | [INFO] [stdout] 251 | Message::Pull(Pull::new(HashMap::from_iter(vec![("n".to_string(), Value::from(1))]))), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | Value::from(1), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [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[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:309:79 [INFO] [stdout] | [INFO] [stdout] 309 | Message::Pull(Pull::new(HashMap::from_iter(vec![("n".to_string(), Value::from(1))]))), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:313:79 [INFO] [stdout] | [INFO] [stdout] 313 | Message::Pull(Pull::new(HashMap::from_iter(vec![("n".to_string(), Value::from(1))]))), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 327 | Value::from(1), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4.rs:341:24 [INFO] [stdout] | [INFO] [stdout] 338 | let client = get_initialized_client(V4_0).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 341 | let response = client.rollback().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v4_1.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | skip_if_handshake_failed!(client); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4_1.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v4_1.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4_1.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | let response = initialize_client(&mut client, true).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v4_1.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | skip_if_handshake_failed!(client); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4_1.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | let response = initialize_client(&mut client, false).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v4_1.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4_1.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | let response = initialize_client(&mut client, false).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4_1.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 33 | let client = get_initialized_client(V4_1).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 36 | assert!(client.goodbye().await.is_ok()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | if let ::std::result::Result::Err($crate::error::Error::HandshakeFailed(versions)) = $var { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: src/client/v4_1.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | skip_if_handshake_failed!(client); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4_1.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `skip_if_handshake_failed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/client/v4_1.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/client/v4_1.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | let response = run_valid_query(&mut client).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4_1.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 50 | let client = get_initialized_client(V4_1).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 71 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:57:79 [INFO] [stdout] | [INFO] [stdout] 57 | Message::Pull(Pull::new(HashMap::from_iter(vec![("n".to_string(), Value::from(1))]))), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:61:79 [INFO] [stdout] | [INFO] [stdout] 61 | Message::Pull(Pull::new(HashMap::from_iter(vec![("n".to_string(), Value::from(1))]))), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:65:79 [INFO] [stdout] | [INFO] [stdout] 65 | Message::Pull(Pull::new(HashMap::from_iter(vec![("n".to_string(), Value::from(1))]))), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:69:79 [INFO] [stdout] | [INFO] [stdout] 69 | Message::Pull(Pull::new(HashMap::from_iter(vec![("n".to_string(), Value::from(1))]))), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [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[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:109:27 [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: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] note: required because of the requirements on the impl of `FromIterator<(&str, {integer})>` for `Metadata` [INFO] [stdout] --> src/define_value_map.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | impl ::std::iter::FromIterator<(K, V)> for $T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | define_value_map!(Metadata); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] note: required by a bound in `std::iter::FromIterator::from_iter` [INFO] [stdout] = note: this error originates in the macro `define_value_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:120:27 [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: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] note: required because of the requirements on the impl of `FromIterator<(&str, {integer})>` for `Metadata` [INFO] [stdout] --> src/define_value_map.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | impl ::std::iter::FromIterator<(K, V)> for $T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | define_value_map!(Metadata); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] note: required by a bound in `std::iter::FromIterator::from_iter` [INFO] [stdout] = note: this error originates in the macro `define_value_map` (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[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:143:24 [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: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] note: required because of the requirements on the impl of `FromIterator<(&str, {integer})>` for `Metadata` [INFO] [stdout] --> src/define_value_map.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | impl ::std::iter::FromIterator<(K, V)> for $T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | define_value_map!(Metadata); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] note: required by a bound in `std::iter::FromIterator::from_iter` [INFO] [stdout] = note: this error originates in the macro `define_value_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:148:43 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(records[0].fields(), &[Value::from(3_458_376)]); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:158:24 [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: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] note: required because of the requirements on the impl of `FromIterator<(&str, {integer})>` for `Metadata` [INFO] [stdout] --> src/define_value_map.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | impl ::std::iter::FromIterator<(K, V)> for $T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | define_value_map!(Metadata); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] note: required by a bound in `std::iter::FromIterator::from_iter` [INFO] [stdout] = note: this error originates in the macro `define_value_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:163:43 [INFO] [stdout] | [INFO] [stdout] 163 | assert_eq!(records[0].fields(), &[Value::from(3_458_376)]); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [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[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:196:79 [INFO] [stdout] | [INFO] [stdout] 196 | Message::Pull(Pull::new(HashMap::from_iter(vec![("n".to_string(), Value::from(1))]))), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:200:79 [INFO] [stdout] | [INFO] [stdout] 200 | Message::Pull(Pull::new(HashMap::from_iter(vec![("n".to_string(), Value::from(1))]))), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | Value::from(1), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [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[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:258:79 [INFO] [stdout] | [INFO] [stdout] 258 | Message::Pull(Pull::new(HashMap::from_iter(vec![("n".to_string(), Value::from(1))]))), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:262:79 [INFO] [stdout] | [INFO] [stdout] 262 | Message::Pull(Pull::new(HashMap::from_iter(vec![("n".to_string(), Value::from(1))]))), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | Value::from(1), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `bolt_proto::Value: From<{integer}>` found in the `bolt_proto` crate: [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] - impl From for bolt_proto::Value; [INFO] [stdout] note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `std::result::Result` [INFO] [stdout] --> src/client/v4_1.rs:290:24 [INFO] [stdout] | [INFO] [stdout] 287 | let client = get_initialized_client(V4_1).await; [INFO] [stdout] | ------ consider giving `client` the explicit type `std::result::Result`, with the type parameters specified [INFO] [stdout] ... [INFO] [stdout] 290 | let response = client.rollback().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 124 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0283, E0432, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bolt-client` due to 125 previous errors [INFO] running `Command { std: "docker" "inspect" "c8fe07ec0076f4536173d70d9fcfd07166396a0635843af2f0cd6958e8980fa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8fe07ec0076f4536173d70d9fcfd07166396a0635843af2f0cd6958e8980fa9", kill_on_drop: false }` [INFO] [stdout] c8fe07ec0076f4536173d70d9fcfd07166396a0635843af2f0cd6958e8980fa9