[INFO] fetching crate rqlite 0.1.0... [INFO] testing rqlite-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate rqlite 0.1.0 into /workspace/builds/worker-4-tc2/source [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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rqlite 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 112 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding hyper v0.14.32 (available: v1.9.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f21c4a05dd5b1cdd3ede46a22381d71fcbb99a0f7a5575f0911d9f77efd2a6c [INFO] running `Command { std: "docker" "start" "-a" "8f21c4a05dd5b1cdd3ede46a22381d71fcbb99a0f7a5575f0911d9f77efd2a6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f21c4a05dd5b1cdd3ede46a22381d71fcbb99a0f7a5575f0911d9f77efd2a6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f21c4a05dd5b1cdd3ede46a22381d71fcbb99a0f7a5575f0911d9f77efd2a6c", kill_on_drop: false }` [INFO] [stdout] 8f21c4a05dd5b1cdd3ede46a22381d71fcbb99a0f7a5575f0911d9f77efd2a6c [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5dc13927fd1bd7756d3ea403773626dfa982537797174d4e3304a36f9ade2eb1 [INFO] running `Command { std: "docker" "start" "-a" "5dc13927fd1bd7756d3ea403773626dfa982537797174d4e3304a36f9ade2eb1", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling openssl v0.10.78 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling rqlite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/cursor.rs:51:62 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn new<'a>(connection: &'a mut Connection) -> Cursor { [INFO] [stdout] | -- ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn new<'a>(connection: &'a mut Connection) -> Cursor<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.74s [INFO] running `Command { std: "docker" "inspect" "5dc13927fd1bd7756d3ea403773626dfa982537797174d4e3304a36f9ade2eb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dc13927fd1bd7756d3ea403773626dfa982537797174d4e3304a36f9ade2eb1", kill_on_drop: false }` [INFO] [stdout] 5dc13927fd1bd7756d3ea403773626dfa982537797174d4e3304a36f9ade2eb1 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1c8322814601f34a59aac0a825667883560782f01a4d3f10c289a4ed81f031e [INFO] running `Command { std: "docker" "start" "-a" "c1c8322814601f34a59aac0a825667883560782f01a4d3f10c289a4ed81f031e", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/cursor.rs:51:62 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn new<'a>(connection: &'a mut Connection) -> Cursor { [INFO] [stdout] | -- ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn new<'a>(connection: &'a mut Connection) -> Cursor<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rqlite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/cursor.rs:51:62 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn new<'a>(connection: &'a mut Connection) -> Cursor { [INFO] [stdout] | -- ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn new<'a>(connection: &'a mut Connection) -> Cursor<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "c1c8322814601f34a59aac0a825667883560782f01a4d3f10c289a4ed81f031e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1c8322814601f34a59aac0a825667883560782f01a4d3f10c289a4ed81f031e", kill_on_drop: false }` [INFO] [stdout] c1c8322814601f34a59aac0a825667883560782f01a4d3f10c289a4ed81f031e [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 20fd24f5eba0ffec65c8703f9100c40899187cdd8151cb3d002c22b01f33ea96 [INFO] running `Command { std: "docker" "start" "-a" "20fd24f5eba0ffec65c8703f9100c40899187cdd8151cb3d002c22b01f33ea96", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/cursor.rs:51:62 [INFO] [stderr] | [INFO] [stderr] 51 | pub(crate) fn new<'a>(connection: &'a mut Connection) -> Cursor { [INFO] [stderr] | -- ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 51 | pub(crate) fn new<'a>(connection: &'a mut Connection) -> Cursor<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rqlite` (lib) generated 1 warning (run `cargo fix --lib -p rqlite` to apply 1 suggestion) [INFO] [stderr] warning: `rqlite` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rqlite-1d3165ca4d917bad) [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::cursor (line 196) ... FAILED [INFO] [stdout] test src/connect.rs - connect::ConnectOptions::accept_invalid_cert (line 118) ... FAILED [INFO] [stdout] test src/connect.rs - connect::ConnectOptions::connect (line 131) ... FAILED [INFO] [stdout] test src/connect.rs - connect::Connection::nodes (line 285) ... FAILED [INFO] [stdout] test src/cursor.rs - cursor::Cursor<'l>::execute (line 66) ... FAILED [INFO] [stdout] test src/connect.rs - connect::ConnectOptions::new (line 48) ... 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/cursor.rs - cursor::Cursor<'l>::next_row (line 165) ... FAILED [INFO] [stdout] test src/lib.rs - (line 6) ... FAILED [INFO] [stdout] test src/connect.rs - connect::Connection::remove (line 367) ... FAILED [INFO] [stdout] test src/types.rs - types::par (line 49) ... FAILED [INFO] [stdout] test src/connect.rs - connect::Connection::execute (line 207) ... FAILED [INFO] [stdout] test src/connect.rs - connect::ConnectOptions::scheme (line 67) ... FAILED [INFO] [stdout] test src/connect.rs - connect::Connection::ready (line 342) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 200 | cur.execute("SELECT * FROM foo", par!())?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 196 + use rqlite::par; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ConnectOptions` in this scope [INFO] [stdout] --> src/connect.rs:197:16 [INFO] [stdout] | [INFO] [stdout] 197 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 196 + 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:13 [INFO] [stdout] | [INFO] [stdout] 196 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_196_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] 197 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 198 | .connect().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connect.rs - connect::ConnectOptions::accept_invalid_cert (line 118) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `ConnectOptions` in this scope [INFO] [stdout] --> src/connect.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | let mut conn = ConnectOptions::new("my.node.local", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 118 + use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Scheme` in this scope [INFO] [stdout] --> src/connect.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | .scheme(Scheme::HTTPS) [INFO] [stdout] | ^^^^^^ use of undeclared type `Scheme` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 118 + use rqlite::Scheme; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 118 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_118_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 123 | .connect().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connect.rs - connect::ConnectOptions::connect (line 131) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `ConnectOptions` in this scope [INFO] [stdout] --> src/connect.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | let mut conn = ConnectOptions::new("my.node.local", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 131 + use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Scheme` in this scope [INFO] [stdout] --> src/connect.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | .scheme(Scheme::HTTPS) [INFO] [stdout] | ^^^^^^ use of undeclared type `Scheme` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 131 + use rqlite::Scheme; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 131 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_131_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 136 | .connect().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connect.rs - connect::Connection::nodes (line 285) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 286 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_285_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 290 | .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:291:42 [INFO] [stdout] | [INFO] [stdout] 286 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_285_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 291 | let nodes: Vec = conn.nodes(false).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/connect.rs:292:1 [INFO] [stdout] | [INFO] [stdout] 292 | println("{:?}", nodes); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 292 | println!("{:?}", nodes); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cursor.rs - cursor::Cursor<'l>::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] 70 | cur.execute("SELECT * FROM foo", par!()).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 66 + use rqlite::par; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ConnectOptions` in this scope [INFO] [stdout] --> src/cursor.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 66 + 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:12 [INFO] [stdout] | [INFO] [stdout] 66 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cursor_rs_66_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 67 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 68 | .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:42 [INFO] [stdout] | [INFO] [stdout] 66 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cursor_rs_66_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 70 | cur.execute("SELECT * FROM foo", par!()).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [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:53:13 [INFO] [stdout] | [INFO] [stdout] 49 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_48_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 53 | .connect().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connect.rs - connect::ConnectOptions::pass (line 90) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `ConnectOptions` in this scope [INFO] [stdout] --> src/connect.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | let mut conn = ConnectOptions::new("my.node.local", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 90 + use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Scheme` in this scope [INFO] [stdout] --> src/connect.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | .scheme(Scheme::HTTPS) [INFO] [stdout] | ^^^^^^ use of undeclared type `Scheme` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 90 + use rqlite::Scheme; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 90 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_90_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 95 | .connect().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connect.rs - connect::ConnectOptions::user (line 78) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `ConnectOptions` in this scope [INFO] [stdout] --> src/connect.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | let mut conn = ConnectOptions::new("my.node.local", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 78 + use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Scheme` in this scope [INFO] [stdout] --> src/connect.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | .scheme(Scheme::HTTPS) [INFO] [stdout] | ^^^^^^ use of undeclared type `Scheme` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 78 + use rqlite::Scheme; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 78 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_78_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 82 | .connect().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cursor.rs - cursor::Cursor<'l>::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] 169 | cur.execute("SELECT * FROM foo", par!())?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 165 + use rqlite::par; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ConnectOptions` in this scope [INFO] [stdout] --> src/cursor.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 165 + 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:12 [INFO] [stdout] | [INFO] [stdout] 165 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cursor_rs_165_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] 166 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 167 | .connect().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [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:15:49 [INFO] [stdout] | [INFO] [stdout] 15 | conn.execute("SELECT * FROM foo where id = ?;", par!(1)).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 5 + use rqlite::par; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Scheme` in this scope [INFO] [stdout] --> src/lib.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | .scheme(Scheme::HTTPS) [INFO] [stdout] | ^^^^^^ use of undeclared type `Scheme` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use rqlite::Scheme; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_6_0() { [INFO] [stdout] | --------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 14 | .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:15:58 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_6_0() { [INFO] [stdout] | --------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 15 | conn.execute("SELECT * FROM foo where id = ?;", par!(1)).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connect.rs - connect::Connection::remove (line 367) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `ConnectOptions` in this scope [INFO] [stdout] --> src/connect.rs:368:16 [INFO] [stdout] | [INFO] [stdout] 368 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 367 + 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:369:13 [INFO] [stdout] | [INFO] [stdout] 367 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_367_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] 368 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 369 | .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:17 [INFO] [stdout] | [INFO] [stdout] 367 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_367_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 370 | 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:28 [INFO] [stdout] | [INFO] [stdout] 367 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_367_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 371 | if conn.remove("num5").await? { [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/connect.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | println("num5 removed from cluster"); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 372 | println!("num5 removed from cluster"); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [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] 50 | conn.execute("SELECT * FROM foo where name = ?", par!("fiona"))?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 49 + use rqlite::par; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `conn` in this scope [INFO] [stdout] --> src/types.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | conn.execute("SELECT * FROM foo where name = ?", par!("fiona"))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [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] 210 | if conn.execute("INSERT INTO foo(name) VALUES (?)", par!("fiona")).await?.rows_affected() == 1 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 207 + use rqlite::par; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ConnectOptions` in this scope [INFO] [stdout] --> src/connect.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 208 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 207 + 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:13 [INFO] [stdout] | [INFO] [stdout] 207 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_207_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] 208 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 209 | .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:210:68 [INFO] [stdout] | [INFO] [stdout] 207 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_207_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 210 | 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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connect.rs - connect::ConnectOptions::scheme (line 67) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `ConnectOptions` in this scope [INFO] [stdout] --> src/connect.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | let mut conn = ConnectOptions::new("my.node.local", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 67 + use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Scheme` in this scope [INFO] [stdout] --> src/connect.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | .scheme(Scheme::HTTPS) [INFO] [stdout] | ^^^^^^ use of undeclared type `Scheme` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 67 + use rqlite::Scheme; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/connect.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 67 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_67_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 70 | .connect().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connect.rs - connect::Connection::ready (line 342) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `ConnectOptions` in this scope [INFO] [stdout] --> src/connect.rs:343:16 [INFO] [stdout] | [INFO] [stdout] 343 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 342 + 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:13 [INFO] [stdout] | [INFO] [stdout] 342 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_342_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] 343 | let mut conn = ConnectOptions::new("127.0.0.1", 4001) [INFO] [stdout] 344 | .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:17 [INFO] [stdout] | [INFO] [stdout] 342 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_342_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 345 | if conn.ready().await? { [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [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<'l>::execute (line 66) [INFO] [stdout] src/cursor.rs - cursor::Cursor<'l>::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.70s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "20fd24f5eba0ffec65c8703f9100c40899187cdd8151cb3d002c22b01f33ea96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20fd24f5eba0ffec65c8703f9100c40899187cdd8151cb3d002c22b01f33ea96", kill_on_drop: false }` [INFO] [stdout] 20fd24f5eba0ffec65c8703f9100c40899187cdd8151cb3d002c22b01f33ea96