[INFO] fetching crate bolt-client 0.11.0... [INFO] testing bolt-client-0.11.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate bolt-client 0.11.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate bolt-client 0.11.0 [INFO] finished tweaking crates.io crate bolt-client 0.11.0 [INFO] tweaked toml for crates.io crate bolt-client 0.11.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bolt-client 0.11.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 96 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tokio-rustls v0.23.4 (available: v0.26.4) [INFO] [stderr] Adding webpki-roots v0.22.6 (available: v1.0.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 709974034d9cd158cf0beccd697f8db0a693c478f78b24145da38a77f919a7e2 [INFO] running `Command { std: "docker" "start" "-a" "709974034d9cd158cf0beccd697f8db0a693c478f78b24145da38a77f919a7e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "709974034d9cd158cf0beccd697f8db0a693c478f78b24145da38a77f919a7e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "709974034d9cd158cf0beccd697f8db0a693c478f78b24145da38a77f919a7e2", kill_on_drop: false }` [INFO] [stdout] 709974034d9cd158cf0beccd697f8db0a693c478f78b24145da38a77f919a7e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 792b8fdef7cedafb09689c43e83958b4adf2860115db925323ad3c7a9f8bba7d [INFO] running `Command { std: "docker" "start" "-a" "792b8fdef7cedafb09689c43e83958b4adf2860115db925323ad3c7a9f8bba7d", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bolt-proto-derive v0.6.0 [INFO] [stderr] Compiling bolt-client-macros v0.3.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling bolt-proto v0.12.0 [INFO] [stderr] Compiling bolt-client v0.11.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.13s [INFO] running `Command { std: "docker" "inspect" "792b8fdef7cedafb09689c43e83958b4adf2860115db925323ad3c7a9f8bba7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "792b8fdef7cedafb09689c43e83958b4adf2860115db925323ad3c7a9f8bba7d", kill_on_drop: false }` [INFO] [stdout] 792b8fdef7cedafb09689c43e83958b4adf2860115db925323ad3c7a9f8bba7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6d22f2c6096132781c66703f1cb8d4127b7dbe981983a608ace106c972d1338 [INFO] running `Command { std: "docker" "start" "-a" "b6d22f2c6096132781c66703f1cb8d4127b7dbe981983a608ace106c972d1338", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling bolt-client v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tokio::io::BufStream` [INFO] [stdout] --> src/client/v1.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::io::BufStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `BufStream` in `io` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/io/mod.rs:287:20 [INFO] [stdout] | [INFO] [stdout] 277 | / cfg_io_util! { [INFO] [stdout] 278 | | mod split; [INFO] [stdout] 279 | | pub use split::{split, ReadHalf, WriteHalf}; [INFO] [stdout] 280 | | mod join; [INFO] [stdout] ... | [INFO] [stdout] 287 | | BufReader, BufStream, BufWriter, Chain, DuplexStream, Empty, Lines, Repeat, Sink, Split, Take, SimplexStream, [INFO] [stdout] | | ^^^^^^^^^ [INFO] [stdout] 288 | | }; [INFO] [stdout] 289 | | } [INFO] [stdout] | |_- the item is gated behind the `io-util` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::stream` [INFO] [stdout] --> src/client/v1.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | skip_if_handshake_failed, stream, Client, Metadata, Params, [INFO] [stdout] | ^^^^^^ no `stream` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these modules instead: [INFO] [stdout] futures_util::stream [INFO] [stdout] tokio::stream [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 236 | #[cfg(feature = "tokio-stream")] [INFO] [stdout] | ------------------------ the item is gated behind the `tokio-stream` feature [INFO] [stdout] 237 | mod stream; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 87 | assert_eq!(client.server_state(), Connected); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 86 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 98 | assert_eq!(client.server_state(), Connected); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 97 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 116 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 115 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | let response = client.ack_failure().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 133 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 132 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | let response = client.ack_failure().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 153 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 152 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 163 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 195 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 194 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 197 | | .run("RETURN 3458376 as n;", None, None) [INFO] [stdout] 198 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:203:35 [INFO] [stdout] | [INFO] [stdout] 203 | let (records, response) = client.pull(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:206:20 [INFO] [stdout] | [INFO] [stdout] 206 | assert_eq!(records.len(), 1); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 215 | client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 214 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | / client [INFO] [stdout] 216 | | .run( [INFO] [stdout] 217 | | "MATCH (n {test: 'v1-node-rel'}) DETACH DELETE n;", [INFO] [stdout] 218 | | None, [INFO] [stdout] ... | [INFO] [stdout] 221 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | client.pull(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | ... client.run("CREATE (:Client {name: 'bolt-client', test: 'v1-node-rel'})-[:WRITTEN_IN]->(:Language {name: 'Rust', test: 'v1-node-rel'});", None, None).await.un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | client.pull(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | / client [INFO] [stdout] 228 | | .run( [INFO] [stdout] 229 | | "MATCH (c {test: 'v1-node-rel'})-[r:WRITTEN_IN]->(l) RETURN c, r, l;", [INFO] [stdout] 230 | | None, [INFO] [stdout] ... | [INFO] [stdout] 233 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:235:36 [INFO] [stdout] | [INFO] [stdout] 235 | let (records, _response) = client.pull(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 261 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 260 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 273 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 272 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | let response = client.discard(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 287 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 286 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:291:24 [INFO] [stdout] | [INFO] [stdout] 291 | let response = client.discard(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 305 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 304 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:312:24 [INFO] [stdout] | [INFO] [stdout] 312 | let response = client.reset().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 325 | [INFO] [stdout] 326 | let mut messages = client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 324 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:326:28 [INFO] [stdout] | [INFO] [stdout] 326 | let mut messages = client [INFO] [stdout] | ____________________________^ [INFO] [stdout] 327 | | .pipeline(vec![ [INFO] [stdout] 328 | | Message::Run(Run::new(String::from("RETURN 1;"), Default::default())), [INFO] [stdout] 329 | | Message::PullAll, [INFO] [stdout] ... | [INFO] [stdout] 333 | | ]) [INFO] [stdout] 334 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 355 | [INFO] [stdout] 356 | client.run("RETURN 1;", None, None).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 354 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | client.run("RETURN 1;", None, None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | client.send_message(Message::PullAll).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | client.send_message(Message::Reset).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:366:20 [INFO] [stdout] | [INFO] [stdout] 366 | assert_eq!(client.read_message().await.unwrap(), Message::Ignored); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:368:15 [INFO] [stdout] | [INFO] [stdout] 368 | match client.read_message().await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:372:35 [INFO] [stdout] | [INFO] [stdout] 372 | Success::try_from(client.read_message().await.unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 385 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 384 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 399 | assert!(matches!( [INFO] [stdout] 400 | client.commit().await, [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 398 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 410 | let begin = Begin::new(Default::default()); [INFO] [stdout] 411 | client.send_message(Message::Begin(begin)).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 409 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v1.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | client.send_message(Message::Begin(begin)).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | assert_eq!(client.server_state(), Connected); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 13 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | assert_eq!(client.server_state(), Connected); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 24 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 43 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 42 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | let response = client.ack_failure().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 60 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 59 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | let response = client.ack_failure().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 80 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 79 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 90 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 122 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 121 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 124 | | .run( [INFO] [stdout] 125 | | "RETURN localdatetime('2010-03-05T12:30:01.000000500');", [INFO] [stdout] 126 | | None, [INFO] [stdout] ... | [INFO] [stdout] 129 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | let (records, response) = client.pull(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | assert_eq!(records.len(), 1); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 147 | | .run("RETURN point({x: 42.5123, y: 1.123, z: 3214});", None, None) [INFO] [stdout] 148 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:153:35 [INFO] [stdout] | [INFO] [stdout] 153 | let (records, response) = client.pull(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | assert_eq!(records.len(), 1); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 168 | client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 167 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | / client [INFO] [stdout] 169 | | .run( [INFO] [stdout] 170 | | "MATCH (n {test: 'v2-node-rel'}) DETACH DELETE n;", [INFO] [stdout] 171 | | None, [INFO] [stdout] ... | [INFO] [stdout] 174 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | client.pull(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | ... client.run("CREATE (:Client {name: 'bolt-client', starting: datetime('2019-12-19T16:08:04.322-08:00'), test: 'v2-node-rel'})-[:WRITTEN_IN]->(:Language {name: 'Rust', test: 'v2-node-rel'});", None, None).await.un... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | client.pull(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | / client [INFO] [stdout] 181 | | .run( [INFO] [stdout] 182 | | "MATCH (c {test: 'v2-node-rel'})-[r:WRITTEN_IN]->(l) RETURN c, r, l;", [INFO] [stdout] 183 | | None, [INFO] [stdout] ... | [INFO] [stdout] 186 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:188:36 [INFO] [stdout] | [INFO] [stdout] 188 | let (records, _response) = client.pull(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 225 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 224 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 237 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 236 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:241:24 [INFO] [stdout] | [INFO] [stdout] 241 | let response = client.discard(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 251 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 250 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:255:24 [INFO] [stdout] | [INFO] [stdout] 255 | let response = client.discard(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 269 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 268 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:276:24 [INFO] [stdout] | [INFO] [stdout] 276 | let response = client.reset().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 289 | [INFO] [stdout] 290 | let mut messages = client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 288 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | let mut messages = client [INFO] [stdout] | ____________________________^ [INFO] [stdout] 291 | | .pipeline(vec![ [INFO] [stdout] 292 | | Message::Run(Run::new(String::from("RETURN 1;"), Default::default())), [INFO] [stdout] 293 | | Message::PullAll, [INFO] [stdout] ... | [INFO] [stdout] 297 | | ]) [INFO] [stdout] 298 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 319 | [INFO] [stdout] 320 | client.run("RETURN 1;", None, None).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 318 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | client.run("RETURN 1;", None, None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | client.send_message(Message::PullAll).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | client.send_message(Message::Reset).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:330:20 [INFO] [stdout] | [INFO] [stdout] 330 | assert_eq!(client.read_message().await.unwrap(), Message::Ignored); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:332:15 [INFO] [stdout] | [INFO] [stdout] 332 | match client.read_message().await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:336:35 [INFO] [stdout] | [INFO] [stdout] 336 | Success::try_from(client.read_message().await.unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v2.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 349 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 348 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | assert_eq!(client.server_state(), Connected); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 11 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | assert_eq!(client.server_state(), Connected); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 22 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 33 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | assert!(client.goodbye().await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 43 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 54 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 90 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 89 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 92 | | .run("RETURN 3458376 as n;", None, None) [INFO] [stdout] 93 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:98:35 [INFO] [stdout] | [INFO] [stdout] 98 | let (records, response) = client.pull(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(records.len(), 1); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 110 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 109 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 122 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 121 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | let response = client.discard(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 136 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 135 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | let response = client.discard(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 154 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 153 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | let response = client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 165 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 164 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:168:24 [INFO] [stdout] | [INFO] [stdout] 168 | let response = client.commit().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 178 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 177 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | client.pipeline(messages).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:194:24 [INFO] [stdout] | [INFO] [stdout] 194 | let response = client.commit().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 223 | assert!(matches!( [INFO] [stdout] 224 | client.commit().await, [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 222 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 234 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 233 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:237:24 [INFO] [stdout] | [INFO] [stdout] 237 | let response = client.rollback().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 247 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 246 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | client.pipeline(messages).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:262:24 [INFO] [stdout] | [INFO] [stdout] 262 | let response = client.rollback().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:274:25 [INFO] [stdout] | [INFO] [stdout] 274 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 285 | assert!(matches!( [INFO] [stdout] 286 | client.rollback().await, [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 284 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 296 | [INFO] [stdout] 297 | let mut messages = client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 295 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:297:28 [INFO] [stdout] | [INFO] [stdout] 297 | let mut messages = client [INFO] [stdout] | ____________________________^ [INFO] [stdout] 298 | | .pipeline(vec![ [INFO] [stdout] 299 | | Message::RunWithMetadata(RunWithMetadata::new( [INFO] [stdout] 300 | | String::from("RETURN 1;"), [INFO] [stdout] ... | [INFO] [stdout] 312 | | ]) [INFO] [stdout] 313 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 334 | [INFO] [stdout] 335 | client.run("RETURN 1;", None, None).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 333 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | client.run("RETURN 1;", None, None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | client.send_message(Message::PullAll).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | client.send_message(Message::Reset).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:345:20 [INFO] [stdout] | [INFO] [stdout] 345 | assert_eq!(client.read_message().await.unwrap(), Message::Ignored); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:347:15 [INFO] [stdout] | [INFO] [stdout] 347 | match client.read_message().await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v3.rs:351:35 [INFO] [stdout] | [INFO] [stdout] 351 | Success::try_from(client.read_message().await.unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | assert_eq!(client.server_state(), Connected); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 15 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | assert_eq!(client.server_state(), Connected); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 26 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 37 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | assert!(client.goodbye().await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 47 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 58 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 103 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 102 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | let response = client.discard(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let response = client.reset().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 120 | | .discard(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 121 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | let response = client.reset().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 134 | | .discard(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 135 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 149 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 148 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 152 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 153 | | .run("RETURN 3458376 as n;", None, None) [INFO] [stdout] 154 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:159:35 [INFO] [stdout] | [INFO] [stdout] 159 | let (records, response) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 160 | | .pull(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 161 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(records.len(), 1); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 170 | | .run("RETURN 3458376 as n;", None, None) [INFO] [stdout] 171 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:176:35 [INFO] [stdout] | [INFO] [stdout] 176 | let (records, response) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 177 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 178 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | assert_eq!(records.len(), 1); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 191 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 190 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:192:24 [INFO] [stdout] | [INFO] [stdout] 192 | let response = client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 202 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 201 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | let response = client.commit().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 215 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 214 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | client.pipeline(messages).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:231:24 [INFO] [stdout] | [INFO] [stdout] 231 | let response = client.commit().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:247:25 [INFO] [stdout] | [INFO] [stdout] 247 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 263 | assert!(matches!( [INFO] [stdout] 264 | client.commit().await, [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 262 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 274 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 273 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | let response = client.rollback().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 287 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 286 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | client.pipeline(messages).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:302:24 [INFO] [stdout] | [INFO] [stdout] 302 | let response = client.rollback().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:317:25 [INFO] [stdout] | [INFO] [stdout] 317 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 328 | assert!(matches!( [INFO] [stdout] 329 | client.rollback().await, [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 327 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 339 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 338 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | / client [INFO] [stdout] 344 | | .run( [INFO] [stdout] 345 | | "MATCH (n {test: 'v4-multi-stream'}) DETACH DELETE n;", [INFO] [stdout] 346 | | None, [INFO] [stdout] ... | [INFO] [stdout] 349 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | / client [INFO] [stdout] 352 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 353 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:359:28 [INFO] [stdout] | [INFO] [stdout] 359 | let response = client [INFO] [stdout] | ____________________________^ [INFO] [stdout] 360 | | .run( [INFO] [stdout] 361 | | format!( [INFO] [stdout] 362 | | "CREATE (s:Stream {{number: {}, test: 'v4-multi-stream'}}) RETURN s", [INFO] [stdout] ... | [INFO] [stdout] 368 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `i64` cannot be dereferenced [INFO] [stdout] --> src/client/v4.rs:373:43 [INFO] [stdout] | [INFO] [stdout] 373 | qids.insert(n as i32, *qid); [INFO] [stdout] | ^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:384:39 [INFO] [stdout] | [INFO] [stdout] 384 | let (records, response) = client [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 385 | | .pull(Some(Metadata::from_iter(vec![("n", -1), ("qid", qid)]))) [INFO] [stdout] 386 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 403 | [INFO] [stdout] 404 | let mut messages = client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 402 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:404:28 [INFO] [stdout] | [INFO] [stdout] 404 | let mut messages = client [INFO] [stdout] | ____________________________^ [INFO] [stdout] 405 | | .pipeline(vec![ [INFO] [stdout] 406 | | Message::RunWithMetadata(RunWithMetadata::new( [INFO] [stdout] 407 | | String::from("RETURN 1;"), [INFO] [stdout] ... | [INFO] [stdout] 425 | | ]) [INFO] [stdout] 426 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 447 | [INFO] [stdout] 448 | client.run("RETURN 1;", None, None).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 446 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | client.run("RETURN 1;", None, None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | / client [INFO] [stdout] 450 | | .send_message(Message::Pull(Pull::new(HashMap::from_iter(vec![( [INFO] [stdout] 451 | | String::from("n"), [INFO] [stdout] 452 | | Value::from(1), [INFO] [stdout] 453 | | )])))) [INFO] [stdout] 454 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | client.send_message(Message::Reset).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:464:20 [INFO] [stdout] | [INFO] [stdout] 464 | assert_eq!(client.read_message().await.unwrap(), Message::Ignored); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:466:15 [INFO] [stdout] | [INFO] [stdout] 466 | match client.read_message().await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4.rs:470:35 [INFO] [stdout] | [INFO] [stdout] 470 | Success::try_from(client.read_message().await.unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | assert_eq!(client.server_state(), Connected); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 15 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | assert_eq!(client.server_state(), Connected); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 26 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 37 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | assert!(client.goodbye().await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 47 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 58 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 103 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 102 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | let response = client.discard(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let response = client.reset().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 120 | | .discard(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 121 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | let response = client.reset().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 134 | | .discard(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 135 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 149 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 148 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 152 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 153 | | .run("RETURN 3458376 as n;", None, None) [INFO] [stdout] 154 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:159:35 [INFO] [stdout] | [INFO] [stdout] 159 | let (records, response) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 160 | | .pull(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 161 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(records.len(), 1); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 170 | | .run("RETURN 3458376 as n;", None, None) [INFO] [stdout] 171 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:176:35 [INFO] [stdout] | [INFO] [stdout] 176 | let (records, response) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 177 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 178 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | assert_eq!(records.len(), 1); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 191 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 190 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:192:24 [INFO] [stdout] | [INFO] [stdout] 192 | let response = client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 202 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 201 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | let response = client.commit().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 215 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 214 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | client.pipeline(messages).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:231:24 [INFO] [stdout] | [INFO] [stdout] 231 | let response = client.commit().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:247:25 [INFO] [stdout] | [INFO] [stdout] 247 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 263 | assert!(matches!( [INFO] [stdout] 264 | client.commit().await, [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 262 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 274 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 273 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | let response = client.rollback().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 287 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 286 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | client.pipeline(messages).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:302:24 [INFO] [stdout] | [INFO] [stdout] 302 | let response = client.rollback().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:317:25 [INFO] [stdout] | [INFO] [stdout] 317 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 328 | assert!(matches!( [INFO] [stdout] 329 | client.rollback().await, [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 327 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 339 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 338 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | / client [INFO] [stdout] 344 | | .run( [INFO] [stdout] 345 | | "MATCH (n {test: 'v4.1-multi-stream'}) DETACH DELETE n;", [INFO] [stdout] 346 | | None, [INFO] [stdout] ... | [INFO] [stdout] 349 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | / client [INFO] [stdout] 352 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 353 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:359:28 [INFO] [stdout] | [INFO] [stdout] 359 | let response = client [INFO] [stdout] | ____________________________^ [INFO] [stdout] 360 | | .run( [INFO] [stdout] 361 | | format!( [INFO] [stdout] 362 | | "CREATE (s:Stream {{number: {}, test: 'v4.1-multi-stream'}}) RETURN s", [INFO] [stdout] ... | [INFO] [stdout] 368 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `i64` cannot be dereferenced [INFO] [stdout] --> src/client/v4_1.rs:373:43 [INFO] [stdout] | [INFO] [stdout] 373 | qids.insert(n as i32, *qid); [INFO] [stdout] | ^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:384:39 [INFO] [stdout] | [INFO] [stdout] 384 | let (records, response) = client [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 385 | | .pull(Some(Metadata::from_iter(vec![("n", -1), ("qid", qid)]))) [INFO] [stdout] 386 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 403 | [INFO] [stdout] 404 | let mut messages = client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 402 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:404:28 [INFO] [stdout] | [INFO] [stdout] 404 | let mut messages = client [INFO] [stdout] | ____________________________^ [INFO] [stdout] 405 | | .pipeline(vec![ [INFO] [stdout] 406 | | Message::RunWithMetadata(RunWithMetadata::new( [INFO] [stdout] 407 | | String::from("RETURN 1;"), [INFO] [stdout] ... | [INFO] [stdout] 425 | | ]) [INFO] [stdout] 426 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 447 | [INFO] [stdout] 448 | client.run("RETURN 1;", None, None).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 446 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | client.run("RETURN 1;", None, None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | / client [INFO] [stdout] 450 | | .send_message(Message::Pull(Pull::new(HashMap::from_iter(vec![( [INFO] [stdout] 451 | | String::from("n"), [INFO] [stdout] 452 | | Value::from(1), [INFO] [stdout] 453 | | )])))) [INFO] [stdout] 454 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | client.send_message(Message::Reset).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:464:20 [INFO] [stdout] | [INFO] [stdout] 464 | assert_eq!(client.read_message().await.unwrap(), Message::Ignored); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:466:15 [INFO] [stdout] | [INFO] [stdout] 466 | match client.read_message().await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_1.rs:470:35 [INFO] [stdout] | [INFO] [stdout] 470 | Success::try_from(client.read_message().await.unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | assert_eq!(client.server_state(), Connected); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 15 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | assert_eq!(client.server_state(), Connected); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 26 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 37 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | assert!(client.goodbye().await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 47 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 58 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 103 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 102 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | let response = client.discard(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let response = client.reset().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 120 | | .discard(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 121 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | let response = client.reset().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 134 | | .discard(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 135 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 149 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 148 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 152 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 153 | | .run("RETURN 3458376 as n;", None, None) [INFO] [stdout] 154 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:159:35 [INFO] [stdout] | [INFO] [stdout] 159 | let (records, response) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 160 | | .pull(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 161 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(records.len(), 1); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 170 | | .run("RETURN 3458376 as n;", None, None) [INFO] [stdout] 171 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:176:35 [INFO] [stdout] | [INFO] [stdout] 176 | let (records, response) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 177 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 178 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | assert_eq!(records.len(), 1); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 191 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 190 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:192:24 [INFO] [stdout] | [INFO] [stdout] 192 | let response = client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 202 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 201 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | let response = client.commit().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 215 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 214 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | client.pipeline(messages).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:231:24 [INFO] [stdout] | [INFO] [stdout] 231 | let response = client.commit().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:247:25 [INFO] [stdout] | [INFO] [stdout] 247 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 263 | assert!(matches!( [INFO] [stdout] 264 | client.commit().await, [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 262 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 274 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 273 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | let response = client.rollback().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 287 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 286 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | client.pipeline(messages).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:302:24 [INFO] [stdout] | [INFO] [stdout] 302 | let response = client.rollback().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:317:25 [INFO] [stdout] | [INFO] [stdout] 317 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 328 | assert!(matches!( [INFO] [stdout] 329 | client.rollback().await, [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 327 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 339 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 338 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | / client [INFO] [stdout] 344 | | .run( [INFO] [stdout] 345 | | "MATCH (n {test: 'v4.2-multi-stream'}) DETACH DELETE n;", [INFO] [stdout] 346 | | None, [INFO] [stdout] ... | [INFO] [stdout] 349 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | / client [INFO] [stdout] 352 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 353 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:359:28 [INFO] [stdout] | [INFO] [stdout] 359 | let response = client [INFO] [stdout] | ____________________________^ [INFO] [stdout] 360 | | .run( [INFO] [stdout] 361 | | format!( [INFO] [stdout] 362 | | "CREATE (s:Stream {{number: {}, test: 'v4.2-multi-stream'}}) RETURN s", [INFO] [stdout] ... | [INFO] [stdout] 368 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `i64` cannot be dereferenced [INFO] [stdout] --> src/client/v4_2.rs:373:43 [INFO] [stdout] | [INFO] [stdout] 373 | qids.insert(n as i32, *qid); [INFO] [stdout] | ^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:384:39 [INFO] [stdout] | [INFO] [stdout] 384 | let (records, response) = client [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 385 | | .pull(Some(Metadata::from_iter(vec![("n", -1), ("qid", qid)]))) [INFO] [stdout] 386 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 403 | [INFO] [stdout] 404 | let mut messages = client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 402 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:404:28 [INFO] [stdout] | [INFO] [stdout] 404 | let mut messages = client [INFO] [stdout] | ____________________________^ [INFO] [stdout] 405 | | .pipeline(vec![ [INFO] [stdout] 406 | | Message::RunWithMetadata(RunWithMetadata::new( [INFO] [stdout] 407 | | String::from("RETURN 1;"), [INFO] [stdout] ... | [INFO] [stdout] 425 | | ]) [INFO] [stdout] 426 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 447 | [INFO] [stdout] 448 | client.run("RETURN 1;", None, None).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 446 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | client.run("RETURN 1;", None, None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | / client [INFO] [stdout] 450 | | .send_message(Message::Pull(Pull::new(HashMap::from_iter(vec![( [INFO] [stdout] 451 | | String::from("n"), [INFO] [stdout] 452 | | Value::from(1), [INFO] [stdout] 453 | | )])))) [INFO] [stdout] 454 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | client.send_message(Message::Reset).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:464:20 [INFO] [stdout] | [INFO] [stdout] 464 | assert_eq!(client.read_message().await.unwrap(), Message::Ignored); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:466:15 [INFO] [stdout] | [INFO] [stdout] 466 | match client.read_message().await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_2.rs:470:35 [INFO] [stdout] | [INFO] [stdout] 470 | Success::try_from(client.read_message().await.unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | assert_eq!(client.server_state(), Connected); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 16 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | assert_eq!(client.server_state(), Connected); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 27 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 38 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | assert!(client.goodbye().await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 48 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 59 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 104 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 103 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | let response = client.discard(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | let response = client.reset().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 121 | | .discard(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 122 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | let response = client.reset().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 135 | | .discard(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 136 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 150 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 149 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 154 | | .run("RETURN 3458376 as n;", None, None) [INFO] [stdout] 155 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 160 | let (records, response) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 161 | | .pull(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 162 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | assert_eq!(records.len(), 1); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 171 | | .run("RETURN 3458376 as n;", None, None) [INFO] [stdout] 172 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | let (records, response) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 178 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 179 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:183:20 [INFO] [stdout] | [INFO] [stdout] 183 | assert_eq!(records.len(), 1); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 192 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 191 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | let response = client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 203 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 202 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | let response = client.commit().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 216 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 215 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | client.pipeline(messages).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:232:24 [INFO] [stdout] | [INFO] [stdout] 232 | let response = client.commit().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:248:25 [INFO] [stdout] | [INFO] [stdout] 248 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 264 | assert!(matches!( [INFO] [stdout] 265 | client.commit().await, [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 263 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 275 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 274 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:278:24 [INFO] [stdout] | [INFO] [stdout] 278 | let response = client.rollback().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 288 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 287 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | client.pipeline(messages).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:303:24 [INFO] [stdout] | [INFO] [stdout] 303 | let response = client.rollback().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:318:25 [INFO] [stdout] | [INFO] [stdout] 318 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 329 | assert!(matches!( [INFO] [stdout] 330 | client.rollback().await, [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 328 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 340 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 339 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | / client [INFO] [stdout] 345 | | .run( [INFO] [stdout] 346 | | "MATCH (n {test: 'v4.3-multi-stream'}) DETACH DELETE n;", [INFO] [stdout] 347 | | None, [INFO] [stdout] ... | [INFO] [stdout] 350 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | / client [INFO] [stdout] 353 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 354 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:360:28 [INFO] [stdout] | [INFO] [stdout] 360 | let response = client [INFO] [stdout] | ____________________________^ [INFO] [stdout] 361 | | .run( [INFO] [stdout] 362 | | format!( [INFO] [stdout] 363 | | "CREATE (s:Stream {{number: {}, test: 'v4.3-multi-stream'}}) RETURN s", [INFO] [stdout] ... | [INFO] [stdout] 369 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `i64` cannot be dereferenced [INFO] [stdout] --> src/client/v4_3.rs:374:43 [INFO] [stdout] | [INFO] [stdout] 374 | qids.insert(n as i32, *qid); [INFO] [stdout] | ^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:385:39 [INFO] [stdout] | [INFO] [stdout] 385 | let (records, response) = client [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 386 | | .pull(Some(Metadata::from_iter(vec![("n", -1), ("qid", qid)]))) [INFO] [stdout] 387 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 404 | [INFO] [stdout] 405 | let mut messages = client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 403 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:405:28 [INFO] [stdout] | [INFO] [stdout] 405 | let mut messages = client [INFO] [stdout] | ____________________________^ [INFO] [stdout] 406 | | .pipeline(vec![ [INFO] [stdout] 407 | | Message::RunWithMetadata(RunWithMetadata::new( [INFO] [stdout] 408 | | String::from("RETURN 1;"), [INFO] [stdout] ... | [INFO] [stdout] 426 | | ]) [INFO] [stdout] 427 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 448 | [INFO] [stdout] 449 | client.run("RETURN 1;", None, None).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 447 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | client.run("RETURN 1;", None, None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | / client [INFO] [stdout] 451 | | .send_message(Message::Pull(Pull::new(HashMap::from_iter(vec![( [INFO] [stdout] 452 | | String::from("n"), [INFO] [stdout] 453 | | Value::from(1), [INFO] [stdout] 454 | | )])))) [INFO] [stdout] 455 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | client.send_message(Message::Reset).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:465:20 [INFO] [stdout] | [INFO] [stdout] 465 | assert_eq!(client.read_message().await.unwrap(), Message::Ignored); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:467:15 [INFO] [stdout] | [INFO] [stdout] 467 | match client.read_message().await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:471:35 [INFO] [stdout] | [INFO] [stdout] 471 | Success::try_from(client.read_message().await.unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:483:13 [INFO] [stdout] | [INFO] [stdout] 483 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 484 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 483 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:485:24 [INFO] [stdout] | [INFO] [stdout] 485 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 486 | | .route( [INFO] [stdout] 487 | | RoutingContext::from_iter(vec![("address", "localhost:7687")]), [INFO] [stdout] 488 | | vec![], [INFO] [stdout] ... | [INFO] [stdout] 491 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:496:24 [INFO] [stdout] | [INFO] [stdout] 496 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 497 | | .route( [INFO] [stdout] 498 | | RoutingContext::from_iter(vec![("address", "localhost:7687")]), [INFO] [stdout] 499 | | vec![], [INFO] [stdout] ... | [INFO] [stdout] 502 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_3.rs:507:24 [INFO] [stdout] | [INFO] [stdout] 507 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 508 | | .route( [INFO] [stdout] 509 | | RoutingContext::from_iter(vec![("address", "localhost:7687")]), [INFO] [stdout] 510 | | vec![], [INFO] [stdout] ... | [INFO] [stdout] 513 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | assert_eq!(client.server_state(), Connected); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 16 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | assert_eq!(client.server_state(), Connected); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 27 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 38 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | assert!(client.goodbye().await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 48 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 59 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 104 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 103 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | let response = client.discard(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | let response = client.reset().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 121 | | .discard(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 122 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | let response = client.reset().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 135 | | .discard(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 136 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 150 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 149 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 154 | | .run("RETURN 3458376 as n;", None, None) [INFO] [stdout] 155 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 160 | let (records, response) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 161 | | .pull(Some(Metadata::from_iter(vec![("n", 1)]))) [INFO] [stdout] 162 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | assert_eq!(records.len(), 1); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 171 | | .run("RETURN 3458376 as n;", None, None) [INFO] [stdout] 172 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | let (records, response) = client [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 178 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 179 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:183:20 [INFO] [stdout] | [INFO] [stdout] 183 | assert_eq!(records.len(), 1); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 192 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 191 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | let response = client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 203 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 202 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | let response = client.commit().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 216 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 215 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | client.pipeline(messages).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:232:24 [INFO] [stdout] | [INFO] [stdout] 232 | let response = client.commit().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:248:25 [INFO] [stdout] | [INFO] [stdout] 248 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 264 | assert!(matches!( [INFO] [stdout] 265 | client.commit().await, [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 263 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 275 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 274 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:278:24 [INFO] [stdout] | [INFO] [stdout] 278 | let response = client.rollback().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 288 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 287 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | client.pipeline(messages).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:303:24 [INFO] [stdout] | [INFO] [stdout] 303 | let response = client.rollback().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:318:25 [INFO] [stdout] | [INFO] [stdout] 318 | for response in client.pipeline(messages).await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 329 | assert!(matches!( [INFO] [stdout] 330 | client.rollback().await, [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 328 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 340 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 339 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | client.begin(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | / client [INFO] [stdout] 345 | | .run( [INFO] [stdout] 346 | | "MATCH (n {test: 'v4.4-multi-stream'}) DETACH DELETE n;", [INFO] [stdout] 347 | | None, [INFO] [stdout] ... | [INFO] [stdout] 350 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | / client [INFO] [stdout] 353 | | .pull(Some(Metadata::from_iter(vec![("n", -1)]))) [INFO] [stdout] 354 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:360:28 [INFO] [stdout] | [INFO] [stdout] 360 | let response = client [INFO] [stdout] | ____________________________^ [INFO] [stdout] 361 | | .run( [INFO] [stdout] 362 | | format!( [INFO] [stdout] 363 | | "CREATE (s:Stream {{number: {}, test: 'v4.4-multi-stream'}}) RETURN s", [INFO] [stdout] ... | [INFO] [stdout] 369 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `i64` cannot be dereferenced [INFO] [stdout] --> src/client/v4_4.rs:374:43 [INFO] [stdout] | [INFO] [stdout] 374 | qids.insert(n as i32, *qid); [INFO] [stdout] | ^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:385:39 [INFO] [stdout] | [INFO] [stdout] 385 | let (records, response) = client [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 386 | | .pull(Some(Metadata::from_iter(vec![("n", -1), ("qid", qid)]))) [INFO] [stdout] 387 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 404 | [INFO] [stdout] 405 | let mut messages = client [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 403 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:405:28 [INFO] [stdout] | [INFO] [stdout] 405 | let mut messages = client [INFO] [stdout] | ____________________________^ [INFO] [stdout] 406 | | .pipeline(vec![ [INFO] [stdout] 407 | | Message::RunWithMetadata(RunWithMetadata::new( [INFO] [stdout] 408 | | String::from("RETURN 1;"), [INFO] [stdout] ... | [INFO] [stdout] 426 | | ]) [INFO] [stdout] 427 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 448 | [INFO] [stdout] 449 | client.run("RETURN 1;", None, None).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 447 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | client.run("RETURN 1;", None, None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | / client [INFO] [stdout] 451 | | .send_message(Message::Pull(Pull::new(HashMap::from_iter(vec![( [INFO] [stdout] 452 | | String::from("n"), [INFO] [stdout] 453 | | Value::from(1), [INFO] [stdout] 454 | | )])))) [INFO] [stdout] 455 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | client.send_message(Message::Reset).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:465:20 [INFO] [stdout] | [INFO] [stdout] 465 | assert_eq!(client.read_message().await.unwrap(), Message::Ignored); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:467:15 [INFO] [stdout] | [INFO] [stdout] 467 | match client.read_message().await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:471:35 [INFO] [stdout] | [INFO] [stdout] 471 | Success::try_from(client.read_message().await.unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:483:13 [INFO] [stdout] | [INFO] [stdout] 483 | let mut client = client.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 484 | assert_eq!(client.server_state(), Ready); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 483 | let mut client: /* Type */ = client.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:485:24 [INFO] [stdout] | [INFO] [stdout] 485 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 486 | | .route( [INFO] [stdout] 487 | | RoutingContext::from_iter(vec![("address", "localhost:7687")]), [INFO] [stdout] 488 | | vec![], [INFO] [stdout] ... | [INFO] [stdout] 491 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:496:24 [INFO] [stdout] | [INFO] [stdout] 496 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 497 | | .route( [INFO] [stdout] 498 | | RoutingContext::from_iter(vec![("address", "localhost:7687")]), [INFO] [stdout] 499 | | vec![], [INFO] [stdout] ... | [INFO] [stdout] 502 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/v4_4.rs:507:24 [INFO] [stdout] | [INFO] [stdout] 507 | let response = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 508 | | .route( [INFO] [stdout] 509 | | RoutingContext::from_iter(vec![("address", "localhost:7687")]), [INFO] [stdout] 510 | | vec![], [INFO] [stdout] ... | [INFO] [stdout] 513 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bolt-client` (lib test) due to 415 previous errors [INFO] running `Command { std: "docker" "inspect" "b6d22f2c6096132781c66703f1cb8d4127b7dbe981983a608ace106c972d1338", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6d22f2c6096132781c66703f1cb8d4127b7dbe981983a608ace106c972d1338", kill_on_drop: false }` [INFO] [stdout] b6d22f2c6096132781c66703f1cb8d4127b7dbe981983a608ace106c972d1338