[INFO] fetching crate rqlite 0.1.0... [INFO] testing rqlite-0.1.0 against 1.86.0 for beta-1.87-1 [INFO] extracting crate rqlite 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate rqlite 0.1.0 on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 98 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" "+1.86.0" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 245eb7b1fb3e5a914acce584b765dad59d6794aaf3f26b698cdef1f77b0b8688 [INFO] running `Command { std: "docker" "start" "-a" "245eb7b1fb3e5a914acce584b765dad59d6794aaf3f26b698cdef1f77b0b8688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "245eb7b1fb3e5a914acce584b765dad59d6794aaf3f26b698cdef1f77b0b8688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "245eb7b1fb3e5a914acce584b765dad59d6794aaf3f26b698cdef1f77b0b8688", kill_on_drop: false }` [INFO] [stdout] 245eb7b1fb3e5a914acce584b765dad59d6794aaf3f26b698cdef1f77b0b8688 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1a1dfa347a4010831f9d22c64a373238190889f10ff5f50b449a16a25cce77e [INFO] running `Command { std: "docker" "start" "-a" "c1a1dfa347a4010831f9d22c64a373238190889f10ff5f50b449a16a25cce77e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cfg-if v1.0.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.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [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 memchr v2.7.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.3 [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.44.2 [INFO] [stderr] Compiling tokio-util v0.7.14 [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: elided lifetime has a name [INFO] [stdout] --> src/cursor.rs:51:62 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn new<'a>(connection: &'a mut Connection) -> Cursor { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.18s [INFO] running `Command { std: "docker" "inspect" "c1a1dfa347a4010831f9d22c64a373238190889f10ff5f50b449a16a25cce77e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1a1dfa347a4010831f9d22c64a373238190889f10ff5f50b449a16a25cce77e", kill_on_drop: false }` [INFO] [stdout] c1a1dfa347a4010831f9d22c64a373238190889f10ff5f50b449a16a25cce77e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3687d9f29b3cbb8041a92b27fd3c07973435c4a7e57efeccf305b8f86b89fd9f [INFO] running `Command { std: "docker" "start" "-a" "3687d9f29b3cbb8041a92b27fd3c07973435c4a7e57efeccf305b8f86b89fd9f", kill_on_drop: false }` [INFO] [stderr] Compiling rqlite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/cursor.rs:51:62 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn new<'a>(connection: &'a mut Connection) -> Cursor { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/cursor.rs:51:62 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn new<'a>(connection: &'a mut Connection) -> Cursor { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "3687d9f29b3cbb8041a92b27fd3c07973435c4a7e57efeccf305b8f86b89fd9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3687d9f29b3cbb8041a92b27fd3c07973435c4a7e57efeccf305b8f86b89fd9f", kill_on_drop: false }` [INFO] [stdout] 3687d9f29b3cbb8041a92b27fd3c07973435c4a7e57efeccf305b8f86b89fd9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b36144ba21226b0fef0c05ecfbe0e8f8fc111cb276b0871623cbeb55f751299f [INFO] running `Command { std: "docker" "start" "-a" "b36144ba21226b0fef0c05ecfbe0e8f8fc111cb276b0871623cbeb55f751299f", kill_on_drop: false }` [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/cursor.rs:51:62 [INFO] [stderr] | [INFO] [stderr] 51 | pub(crate) fn new<'a>(connection: &'a mut Connection) -> Cursor { [INFO] [stderr] | -- lifetime `'a` declared here ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [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.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rqlite-ab38bfd95f7d98df) [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::ConnectOptions::new (line 48) ... FAILED [INFO] [stdout] test src/connect.rs - connect::ConnectOptions::user (line 78) ... FAILED [INFO] [stdout] test src/types.rs - types::par (line 49) ... FAILED [INFO] [stdout] test src/connect.rs - connect::Connection::cursor (line 196) ... 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/connect.rs - connect::ConnectOptions::scheme (line 67) ... FAILED [INFO] [stdout] test src/lib.rs - (line 6) ... 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/cursor.rs - cursor::Cursor<'l>::next_row (line 165) ... FAILED [INFO] [stdout] test src/connect.rs - connect::ConnectOptions::pass (line 90) ... FAILED [INFO] [stdout] test src/cursor.rs - cursor::Cursor<'l>::execute (line 66) ... FAILED [INFO] [stdout] test src/connect.rs - connect::ConnectOptions::accept_invalid_cert (line 118) ... FAILED [INFO] [stdout] test src/connect.rs - connect::Connection::remove (line 367) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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::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] ---- 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::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::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::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/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/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/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::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>::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::pass (line 90) stdout ---- [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [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/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::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::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] [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.58s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b36144ba21226b0fef0c05ecfbe0e8f8fc111cb276b0871623cbeb55f751299f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b36144ba21226b0fef0c05ecfbe0e8f8fc111cb276b0871623cbeb55f751299f", kill_on_drop: false }` [INFO] [stdout] b36144ba21226b0fef0c05ecfbe0e8f8fc111cb276b0871623cbeb55f751299f