[INFO] fetching crate rqlite 0.1.0... [INFO] testing rqlite-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate rqlite 0.1.0 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate rqlite 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rqlite 0.1.0 [INFO] finished tweaking crates.io crate rqlite 0.1.0 [INFO] tweaked toml for crates.io crate rqlite 0.1.0 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 899c3effc830f5ed6bb4e6ae85391977d057550aa92b0fadf49ec092ef7c611d [INFO] running `Command { std: "docker" "start" "-a" "899c3effc830f5ed6bb4e6ae85391977d057550aa92b0fadf49ec092ef7c611d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "899c3effc830f5ed6bb4e6ae85391977d057550aa92b0fadf49ec092ef7c611d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "899c3effc830f5ed6bb4e6ae85391977d057550aa92b0fadf49ec092ef7c611d", kill_on_drop: false }` [INFO] [stdout] 899c3effc830f5ed6bb4e6ae85391977d057550aa92b0fadf49ec092ef7c611d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e86291415a43f942fc195968b8d592f4719720104c64e1c35cc8388f815818e [INFO] running `Command { std: "docker" "start" "-a" "5e86291415a43f942fc195968b8d592f4719720104c64e1c35cc8388f815818e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tracing-core v0.1.25 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling rqlite v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.47s [INFO] running `Command { std: "docker" "inspect" "5e86291415a43f942fc195968b8d592f4719720104c64e1c35cc8388f815818e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e86291415a43f942fc195968b8d592f4719720104c64e1c35cc8388f815818e", kill_on_drop: false }` [INFO] [stdout] 5e86291415a43f942fc195968b8d592f4719720104c64e1c35cc8388f815818e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c57aea1f13c5e40573d2ebe8e288164a05963249e232623d98d8036a6f62b31 [INFO] running `Command { std: "docker" "start" "-a" "5c57aea1f13c5e40573d2ebe8e288164a05963249e232623d98d8036a6f62b31", kill_on_drop: false }` [INFO] [stderr] Compiling rqlite v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "5c57aea1f13c5e40573d2ebe8e288164a05963249e232623d98d8036a6f62b31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c57aea1f13c5e40573d2ebe8e288164a05963249e232623d98d8036a6f62b31", kill_on_drop: false }` [INFO] [stdout] 5c57aea1f13c5e40573d2ebe8e288164a05963249e232623d98d8036a6f62b31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 42eada9d3604adf15f1bccc77c93c83fa767fa5f6afe26af0f1a23f81d163efd [INFO] running `Command { std: "docker" "start" "-a" "42eada9d3604adf15f1bccc77c93c83fa767fa5f6afe26af0f1a23f81d163efd", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rqlite-8cef5384071073c6) [INFO] [stderr] Doc-tests rqlite [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/connect.rs - connect::Connection::remove (line 367) ... FAILED [INFO] [stdout] test src/connect.rs - connect::ConnectOptions::new (line 48) ... FAILED [INFO] [stdout] test src/lib.rs - (line 6) ... FAILED [INFO] [stdout] test src/connect.rs - connect::ConnectOptions::accept_invalid_cert (line 118) ... FAILED [INFO] [stdout] test src/connect.rs - connect::Connection::ready (line 342) ... FAILED [INFO] [stdout] test src/connect.rs - connect::Connection::execute (line 207) ... FAILED [INFO] [stdout] test src/connect.rs - connect::ConnectOptions::connect (line 131) ... FAILED [INFO] [stdout] test src/connect.rs - connect::ConnectOptions::scheme (line 67) ... FAILED [INFO] [stdout] test src/connect.rs - connect::ConnectOptions::pass (line 90) ... FAILED [INFO] [stdout] test src/connect.rs - connect::ConnectOptions::user (line 78) ... FAILED [INFO] [stdout] test src/connect.rs - connect::Connection::cursor (line 196) ... FAILED [INFO] [stdout] test src/cursor.rs - cursor::Cursor::next_row (line 165) ... FAILED [INFO] [stdout] test src/connect.rs - connect::Connection::nodes (line 285) ... FAILED [INFO] [stdout] test src/cursor.rs - cursor::Cursor::execute (line 66) ... FAILED [INFO] [stdout] test src/types.rs - types::par (line 49) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/connect.rs - connect::Connection::remove (line 367) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectOptions` [INFO] [stdout] --> src/connect.rs:368:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/connect.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 7 | println("num5 removed from cluster"); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 7 | println!("num5 removed from cluster"); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_367_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 3 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | .connect().await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:370:16 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_367_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | if conn.ready().await? { [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:371:27 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_367_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 6 | if conn.remove("num5").await? { [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/connect.rs:369:18 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_367_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | | .connect().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | if conn.ready().await? { [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } _doctest_main_src_connect_rs_367_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/connect.rs:370:22 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_367_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | | .connect().await?; [INFO] [stdout] 5 | | if conn.ready().await? { [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } _doctest_main_src_connect_rs_367_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/connect.rs:371:33 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_367_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | | .connect().await?; [INFO] [stdout] 5 | | if conn.ready().await? { [INFO] [stdout] 6 | | if conn.remove("num5").await? { [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } _doctest_main_src_connect_rs_367_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0423, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connect.rs - connect::ConnectOptions::new (line 48) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_48_0() { [INFO] [stdout] | --------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | .connect().await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/connect.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_48_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use rqlite::ConnectOptions; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 7 | | .connect().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 8 | | } _doctest_main_src_connect_rs_48_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 6) stdout ---- [INFO] [stdout] error: cannot find macro `par` in this scope [INFO] [stdout] --> src/lib.rs:14:49 [INFO] [stdout] | [INFO] [stdout] 11 | conn.execute("SELECT * FROM foo where id = ?;", par!(1)).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rqlite::par [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scheme` [INFO] [stdout] --> src/lib.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 7 | .scheme(Scheme::HTTPS) [INFO] [stdout] | ^^^^^^ use of undeclared type `Scheme` [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_6_0() { [INFO] [stdout] | ---------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | .connect().await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:14:57 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_6_0() { [INFO] [stdout] | ---------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | conn.execute("SELECT * FROM foo where id = ?;", par!(1)).await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_6_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use rqlite::ConnectOptions; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let mut conn = ConnectOptions::new("my.node.local", 4001) [INFO] [stdout] ... | [INFO] [stdout] 10 | | .connect().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 11 | | conn.execute("SELECT * FROM foo where id = ?;", par!(1)).await?; [INFO] [stdout] 12 | | } _doctest_main_src_lib_rs_6_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:14:63 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_6_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use rqlite::ConnectOptions; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let mut conn = ConnectOptions::new("my.node.local", 4001) [INFO] [stdout] ... | [INFO] [stdout] 11 | | conn.execute("SELECT * FROM foo where id = ?;", par!(1)).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 12 | | } _doctest_main_src_lib_rs_6_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connect.rs - connect::ConnectOptions::accept_invalid_cert (line 118) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scheme` [INFO] [stdout] --> src/connect.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 4 | .scheme(Scheme::HTTPS) [INFO] [stdout] | ^^^^^^ use of undeclared type `Scheme` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectOptions` [INFO] [stdout] --> src/connect.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut conn = ConnectOptions::new("my.node.local", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_118_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | .connect().await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/connect.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_118_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("my.node.local", 4001) [INFO] [stdout] 4 | | .scheme(Scheme::HTTPS) [INFO] [stdout] 5 | | .user("root") [INFO] [stdout] 6 | | .accept_invalid_cert(true) [INFO] [stdout] 7 | | .connect().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 8 | | } _doctest_main_src_connect_rs_118_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connect.rs - connect::Connection::ready (line 342) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectOptions` [INFO] [stdout] --> src/connect.rs:343:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:344:12 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_342_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 3 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | .connect().await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:345:16 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_342_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | if conn.ready().await? { [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/connect.rs:344:18 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_342_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | | .connect().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | if conn.ready().await? { [INFO] [stdout] 6 | | println!("127.0.0.1:4001 is ready to receive requests"); [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } _doctest_main_src_connect_rs_342_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/connect.rs:345:22 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_342_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | | .connect().await?; [INFO] [stdout] 5 | | if conn.ready().await? { [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 6 | | println!("127.0.0.1:4001 is ready to receive requests"); [INFO] [stdout] 7 | | } [INFO] [stdout] 8 | | } _doctest_main_src_connect_rs_342_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connect.rs - connect::Connection::execute (line 207) stdout ---- [INFO] [stdout] error: cannot find macro `par` in this scope [INFO] [stdout] --> src/connect.rs:210:53 [INFO] [stdout] | [INFO] [stdout] 5 | if conn.execute("INSERT INTO foo(name) VALUES (?)", par!("fiona")).await?.rows_affected() == 1 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rqlite::par [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectOptions` [INFO] [stdout] --> src/connect.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_207_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 3 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | .connect().await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] --> src/connect.rs:210:67 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_207_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | if conn.execute("INSERT INTO foo(name) VALUES (?)", par!("fiona")).await?.rows_affected() == 1 { [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/connect.rs:209:18 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_207_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | | .connect().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | if conn.execute("INSERT INTO foo(name) VALUES (?)", par!("fiona")).await?.rows_affected() == 1 { [INFO] [stdout] 6 | | println!("fiona is now a member of foo"); [INFO] [stdout] 7 | | }; [INFO] [stdout] 8 | | } _doctest_main_src_connect_rs_207_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/connect.rs:210:73 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_207_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | | .connect().await?; [INFO] [stdout] 5 | | if conn.execute("INSERT INTO foo(name) VALUES (?)", par!("fiona")).await?.rows_affected() == 1 { [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 6 | | println!("fiona is now a member of foo"); [INFO] [stdout] 7 | | }; [INFO] [stdout] 8 | | } _doctest_main_src_connect_rs_207_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connect.rs - connect::ConnectOptions::connect (line 131) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scheme` [INFO] [stdout] --> src/connect.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 4 | .scheme(Scheme::HTTPS) [INFO] [stdout] | ^^^^^^ use of undeclared type `Scheme` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectOptions` [INFO] [stdout] --> src/connect.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut conn = ConnectOptions::new("my.node.local", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_131_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | .connect().await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/connect.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_131_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("my.node.local", 4001) [INFO] [stdout] 4 | | .scheme(Scheme::HTTPS) [INFO] [stdout] 5 | | .user("root") [INFO] [stdout] 6 | | .accept_invalid_cert(true) [INFO] [stdout] 7 | | .connect().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 8 | | } _doctest_main_src_connect_rs_131_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connect.rs - connect::ConnectOptions::scheme (line 67) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scheme` [INFO] [stdout] --> src/connect.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 4 | .scheme(Scheme::HTTPS) [INFO] [stdout] | ^^^^^^ use of undeclared type `Scheme` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectOptions` [INFO] [stdout] --> src/connect.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut conn = ConnectOptions::new("my.node.local", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_67_0() { [INFO] [stdout] | --------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | .connect().await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/connect.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_67_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("my.node.local", 4001) [INFO] [stdout] 4 | | .scheme(Scheme::HTTPS) [INFO] [stdout] 5 | | .connect().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 6 | | } _doctest_main_src_connect_rs_67_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connect.rs - connect::ConnectOptions::pass (line 90) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scheme` [INFO] [stdout] --> src/connect.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 4 | .scheme(Scheme::HTTPS) [INFO] [stdout] | ^^^^^^ use of undeclared type `Scheme` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectOptions` [INFO] [stdout] --> src/connect.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut conn = ConnectOptions::new("my.node.local", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_90_0() { [INFO] [stdout] | --------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | .connect().await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/connect.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_90_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("my.node.local", 4001) [INFO] [stdout] 4 | | .scheme(Scheme::HTTPS) [INFO] [stdout] 5 | | .user("root") [INFO] [stdout] 6 | | .pass("root") [INFO] [stdout] 7 | | .connect().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 8 | | } _doctest_main_src_connect_rs_90_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connect.rs - connect::ConnectOptions::user (line 78) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scheme` [INFO] [stdout] --> src/connect.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 4 | .scheme(Scheme::HTTPS) [INFO] [stdout] | ^^^^^^ use of undeclared type `Scheme` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectOptions` [INFO] [stdout] --> src/connect.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut conn = ConnectOptions::new("my.node.local", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_78_0() { [INFO] [stdout] | --------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 6 | .connect().await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/connect.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_78_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("my.node.local", 4001) [INFO] [stdout] 4 | | .scheme(Scheme::HTTPS) [INFO] [stdout] 5 | | .user("root") [INFO] [stdout] 6 | | .connect().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 7 | | } _doctest_main_src_connect_rs_78_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connect.rs - connect::Connection::cursor (line 196) stdout ---- [INFO] [stdout] error: cannot find macro `par` in this scope [INFO] [stdout] --> src/connect.rs:200:34 [INFO] [stdout] | [INFO] [stdout] 6 | cur.execute("SELECT * FROM foo", par!())?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rqlite::par [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectOptions` [INFO] [stdout] --> src/connect.rs:197:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_196_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 3 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | .connect().await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/connect.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_196_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | | .connect().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | let cur = conn.cursor(); [INFO] [stdout] 6 | | cur.execute("SELECT * FROM foo", par!())?; [INFO] [stdout] 7 | | } _doctest_main_src_connect_rs_196_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/connect.rs:200:41 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_196_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | | .connect().await?; [INFO] [stdout] 5 | | let cur = conn.cursor(); [INFO] [stdout] 6 | | cur.execute("SELECT * FROM foo", par!())?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 7 | | } _doctest_main_src_connect_rs_196_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cursor.rs - cursor::Cursor::next_row (line 165) stdout ---- [INFO] [stdout] error: cannot find macro `par` in this scope [INFO] [stdout] --> src/cursor.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 6 | cur.execute("SELECT * FROM foo", par!())?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rqlite::par [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectOptions` [INFO] [stdout] --> src/cursor.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/cursor.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cursor_rs_165_0() { [INFO] [stdout] | --------------------------------- this is not `async` [INFO] [stdout] 3 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | .connect().await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/cursor.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cursor_rs_165_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | | .connect().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | let cur = conn.cursor(); [INFO] [stdout] ... | [INFO] [stdout] 15 | | // 1 | diego [INFO] [stdout] 16 | | } _doctest_main_src_cursor_rs_165_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/cursor.rs:169:41 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cursor_rs_165_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | | .connect().await?; [INFO] [stdout] 5 | | let cur = conn.cursor(); [INFO] [stdout] 6 | | cur.execute("SELECT * FROM foo", par!())?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 15 | | // 1 | diego [INFO] [stdout] 16 | | } _doctest_main_src_cursor_rs_165_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/cursor.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cursor_rs_165_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | | .connect().await?; [INFO] [stdout] 5 | | let cur = conn.cursor(); [INFO] [stdout] ... | [INFO] [stdout] 10 | | i = row.get(0)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 15 | | // 1 | diego [INFO] [stdout] 16 | | } _doctest_main_src_cursor_rs_165_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/cursor.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cursor_rs_165_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | | .connect().await?; [INFO] [stdout] 5 | | let cur = conn.cursor(); [INFO] [stdout] ... | [INFO] [stdout] 11 | | str = row.get(1)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 15 | | // 1 | diego [INFO] [stdout] 16 | | } _doctest_main_src_cursor_rs_165_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connect.rs - connect::Connection::nodes (line 285) stdout ---- [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/connect.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 9 | println("{:?}", nodes); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 9 | println!("{:?}", nodes); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_285_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | .connect().await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:290:41 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_285_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | let nodes: Vec = conn.nodes(false).await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/connect.rs:289:18 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_285_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use rqlite::{ConnectOptions, Node}; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 7 | | .connect().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 15 | | // reachable: true, leader: false, time: 0.000043848 }] [INFO] [stdout] 16 | | } _doctest_main_src_connect_rs_285_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/connect.rs:290:47 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_285_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use rqlite::{ConnectOptions, Node}; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 7 | | .connect().await?; [INFO] [stdout] 8 | | let nodes: Vec = conn.nodes(false).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 15 | | // reachable: true, leader: false, time: 0.000043848 }] [INFO] [stdout] 16 | | } _doctest_main_src_connect_rs_285_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0423, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cursor.rs - cursor::Cursor::execute (line 66) stdout ---- [INFO] [stdout] error: cannot find macro `par` in this scope [INFO] [stdout] --> src/cursor.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 6 | cur.execute("SELECT * FROM foo", par!()).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rqlite::par [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConnectOptions` [INFO] [stdout] --> src/cursor.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/cursor.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cursor_rs_66_0() { [INFO] [stdout] | -------------------------------- this is not `async` [INFO] [stdout] 3 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | .connect().await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/cursor.rs:70:41 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cursor_rs_66_0() { [INFO] [stdout] | -------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 6 | cur.execute("SELECT * FROM foo", par!()).await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/cursor.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cursor_rs_66_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | | .connect().await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | let cur = conn.cursor(); [INFO] [stdout] 6 | | cur.execute("SELECT * FROM foo", par!()).await?; [INFO] [stdout] 7 | | } _doctest_main_src_cursor_rs_66_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/cursor.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cursor_rs_66_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 4 | | .connect().await?; [INFO] [stdout] 5 | | let cur = conn.cursor(); [INFO] [stdout] 6 | | cur.execute("SELECT * FROM foo", par!()).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 7 | | } _doctest_main_src_cursor_rs_66_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types.rs - types::par (line 49) stdout ---- [INFO] [stdout] error: cannot find macro `par` in this scope [INFO] [stdout] --> src/types.rs:50:50 [INFO] [stdout] | [INFO] [stdout] 3 | conn.execute("SELECT * FROM foo where name = ?", par!("fiona"))?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rqlite::par [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/types.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 3 | conn.execute("SELECT * FROM foo where name = ?", par!("fiona"))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/types.rs:50:64 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_types_rs_49_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | conn.execute("SELECT * FROM foo where name = ?", par!("fiona"))?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | } _doctest_main_src_types_rs_49_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/connect.rs - connect::ConnectOptions::accept_invalid_cert (line 118) [INFO] [stdout] src/connect.rs - connect::ConnectOptions::connect (line 131) [INFO] [stdout] src/connect.rs - connect::ConnectOptions::new (line 48) [INFO] [stdout] src/connect.rs - connect::ConnectOptions::pass (line 90) [INFO] [stdout] src/connect.rs - connect::ConnectOptions::scheme (line 67) [INFO] [stdout] src/connect.rs - connect::ConnectOptions::user (line 78) [INFO] [stdout] src/connect.rs - connect::Connection::cursor (line 196) [INFO] [stdout] src/connect.rs - connect::Connection::execute (line 207) [INFO] [stdout] src/connect.rs - connect::Connection::nodes (line 285) [INFO] [stdout] src/connect.rs - connect::Connection::ready (line 342) [INFO] [stdout] src/connect.rs - connect::Connection::remove (line 367) [INFO] [stdout] src/cursor.rs - cursor::Cursor::execute (line 66) [INFO] [stdout] src/cursor.rs - cursor::Cursor::next_row (line 165) [INFO] [stdout] src/lib.rs - (line 6) [INFO] [stdout] src/types.rs - types::par (line 49) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 15 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "42eada9d3604adf15f1bccc77c93c83fa767fa5f6afe26af0f1a23f81d163efd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42eada9d3604adf15f1bccc77c93c83fa767fa5f6afe26af0f1a23f81d163efd", kill_on_drop: false }` [INFO] [stdout] 42eada9d3604adf15f1bccc77c93c83fa767fa5f6afe26af0f1a23f81d163efd