[INFO] fetching crate rqlite 0.1.0... [INFO] testing rqlite-0.1.0 against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] extracting crate rqlite 0.1.0 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rqlite 0.1.0 on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 108 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.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0adfe760b07d567457e4ad20a73f8e040925ebc5a55d9d763e8e0609c02b84f1 [INFO] running `Command { std: "docker" "start" "-a" "0adfe760b07d567457e4ad20a73f8e040925ebc5a55d9d763e8e0609c02b84f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0adfe760b07d567457e4ad20a73f8e040925ebc5a55d9d763e8e0609c02b84f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0adfe760b07d567457e4ad20a73f8e040925ebc5a55d9d763e8e0609c02b84f1", kill_on_drop: false }` [INFO] [stdout] 0adfe760b07d567457e4ad20a73f8e040925ebc5a55d9d763e8e0609c02b84f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f62759555e9debee8d7235cdc87912cc6bab9028b77a34f60128605cb1b12269 [INFO] running `Command { std: "docker" "start" "-a" "f62759555e9debee8d7235cdc87912cc6bab9028b77a34f60128605cb1b12269", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling rqlite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cursor.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn new<'a>(connection: &'a mut Connection) -> Cursor { [INFO] [stdout] | ^^ ------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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 20.58s [INFO] running `Command { std: "docker" "inspect" "f62759555e9debee8d7235cdc87912cc6bab9028b77a34f60128605cb1b12269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f62759555e9debee8d7235cdc87912cc6bab9028b77a34f60128605cb1b12269", kill_on_drop: false }` [INFO] [stdout] f62759555e9debee8d7235cdc87912cc6bab9028b77a34f60128605cb1b12269 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26bb9b2b0eefd6adcbd1b9f2742ad6ab3948b8c493ce71ba2a81ddc2161024e2 [INFO] running `Command { std: "docker" "start" "-a" "26bb9b2b0eefd6adcbd1b9f2742ad6ab3948b8c493ce71ba2a81ddc2161024e2", kill_on_drop: false }` [INFO] [stderr] Compiling rqlite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cursor.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn new<'a>(connection: &'a mut Connection) -> Cursor { [INFO] [stdout] | ^^ ------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cursor.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn new<'a>(connection: &'a mut Connection) -> Cursor { [INFO] [stdout] | ^^ ------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to 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.54s [INFO] running `Command { std: "docker" "inspect" "26bb9b2b0eefd6adcbd1b9f2742ad6ab3948b8c493ce71ba2a81ddc2161024e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26bb9b2b0eefd6adcbd1b9f2742ad6ab3948b8c493ce71ba2a81ddc2161024e2", kill_on_drop: false }` [INFO] [stdout] 26bb9b2b0eefd6adcbd1b9f2742ad6ab3948b8c493ce71ba2a81ddc2161024e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4ceeac41d176071097bf36b79ae283e9156c30e31ce0b38194720c5c9160369f [INFO] running `Command { std: "docker" "start" "-a" "4ceeac41d176071097bf36b79ae283e9156c30e31ce0b38194720c5c9160369f", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/cursor.rs:51:40 [INFO] [stderr] | [INFO] [stderr] 51 | pub(crate) fn new<'a>(connection: &'a mut Connection) -> Cursor { [INFO] [stderr] | ^^ ------ the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to 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 [INFO] [stderr] warning: `rqlite` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rqlite-7dc8b293d3e3b53e) [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] [stderr] Doc-tests rqlite [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/lib.rs - (line 6) ... FAILED [INFO] [stdout] test src/cursor.rs - cursor::Cursor<'l>::next_row (line 165) ... FAILED [INFO] [stdout] test src/connect.rs - connect::ConnectOptions::new (line 48) ... FAILED [INFO] [stdout] test src/connect.rs - connect::Connection::ready (line 342) ... FAILED [INFO] [stdout] test src/connect.rs - connect::ConnectOptions::connect (line 131) ... FAILED [INFO] [stdout] test src/connect.rs - connect::Connection::remove (line 367) ... FAILED [INFO] [stdout] test src/connect.rs - connect::Connection::execute (line 207) ... FAILED [INFO] [stdout] test src/cursor.rs - cursor::Cursor<'l>::execute (line 66) ... FAILED [INFO] [stdout] test src/connect.rs - connect::Connection::nodes (line 285) ... FAILED [INFO] [stdout] test src/types.rs - types::par (line 49) ... 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::accept_invalid_cert (line 118) ... FAILED [INFO] [stdout] test src/connect.rs - connect::Connection::cursor (line 196) ... FAILED [INFO] [stdout] test src/connect.rs - connect::ConnectOptions::user (line 78) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 12 | 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] 2 + use rqlite::par; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scheme` [INFO] [stdout] --> src/lib.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 8 | .scheme(Scheme::HTTPS) [INFO] [stdout] | ^^^^^^ use of undeclared type `Scheme` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + 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] 4 | 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 | .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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_6_0() { [INFO] [stdout] | --------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 12 | 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/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] 6 | cur.execute("SELECT * FROM foo", par!())?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use rqlite::par; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [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:12 [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: 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::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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_48_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | .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::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] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [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:13 [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:17 [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: 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]: 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] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + 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] 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: 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::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] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [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:369:13 [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:17 [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:28 [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[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: 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/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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use rqlite::par; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [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:13 [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] [stdout] --> src/connect.rs:210:68 [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: 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/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] 6 | cur.execute("SELECT * FROM foo", par!()).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use rqlite::par; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [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:12 [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:42 [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: 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::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] 4 | 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 | .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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connect_rs_285_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | 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] 10 | println("{:?}", nodes); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 10 | 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/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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + 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] 3 | 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::ConnectOptions::scheme (line 67) 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] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + 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] 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: 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::pass (line 90) 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] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + 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] 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: 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]: 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] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + 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] 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: 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::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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use rqlite::par; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [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:13 [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: 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]: 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] | ^^^^^^^^^^^^^^ use of undeclared type `ConnectOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rqlite::ConnectOptions; [INFO] [stdout] | [INFO] [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + 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] 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: 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.34s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4ceeac41d176071097bf36b79ae283e9156c30e31ce0b38194720c5c9160369f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ceeac41d176071097bf36b79ae283e9156c30e31ce0b38194720c5c9160369f", kill_on_drop: false }` [INFO] [stdout] 4ceeac41d176071097bf36b79ae283e9156c30e31ce0b38194720c5c9160369f