[INFO] fetching crate sshkit_rs 0.1.0... [INFO] testing sshkit_rs-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate sshkit_rs 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate sshkit_rs 0.1.0 [INFO] finished tweaking crates.io crate sshkit_rs 0.1.0 [INFO] tweaked toml for crates.io crate sshkit_rs 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sshkit_rs 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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] Locking 61 packages to latest compatible versions [INFO] [stderr] Adding bb8 v0.8.6 (available: v0.9.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shell-escape v0.1.5 [INFO] [stderr] Downloaded bb8 v0.8.6 [INFO] [stderr] Downloaded libssh2-sys v0.3.1 [INFO] [stderr] Downloaded ssh2 v0.9.5 [INFO] [stderr] Downloaded num_cpus v1.17.0 [INFO] [stderr] Downloaded libz-sys v1.1.23 [INFO] [stderr] Downloaded hermit-abi v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c649ed7fc707ef278bb1b7a7a1d45f41521cb021d3494df2fd45c3f78fd33b8 [INFO] running `Command { std: "docker" "start" "-a" "4c649ed7fc707ef278bb1b7a7a1d45f41521cb021d3494df2fd45c3f78fd33b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c649ed7fc707ef278bb1b7a7a1d45f41521cb021d3494df2fd45c3f78fd33b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c649ed7fc707ef278bb1b7a7a1d45f41521cb021d3494df2fd45c3f78fd33b8", kill_on_drop: false }` [INFO] [stdout] 4c649ed7fc707ef278bb1b7a7a1d45f41521cb021d3494df2fd45c3f78fd33b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6960c78b2d560f324271bc25c80e55fc3c02dd93cacd39ff0a77034a7e151cd [INFO] running `Command { std: "docker" "start" "-a" "a6960c78b2d560f324271bc25c80e55fc3c02dd93cacd39ff0a77034a7e151cd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libz-sys v1.1.23 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ssh2 v0.9.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling bb8 v0.8.6 [INFO] [stderr] Compiling sshkit_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.71s [INFO] running `Command { std: "docker" "inspect" "a6960c78b2d560f324271bc25c80e55fc3c02dd93cacd39ff0a77034a7e151cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6960c78b2d560f324271bc25c80e55fc3c02dd93cacd39ff0a77034a7e151cd", kill_on_drop: false }` [INFO] [stdout] a6960c78b2d560f324271bc25c80e55fc3c02dd93cacd39ff0a77034a7e151cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c01ec8b6709f0c12b398655f1d4223b4210ab6d1847541fad3f4421218a26337 [INFO] running `Command { std: "docker" "start" "-a" "c01ec8b6709f0c12b398655f1d4223b4210ab6d1847541fad3f4421218a26337", kill_on_drop: false }` [INFO] [stderr] Compiling sshkit_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "c01ec8b6709f0c12b398655f1d4223b4210ab6d1847541fad3f4421218a26337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c01ec8b6709f0c12b398655f1d4223b4210ab6d1847541fad3f4421218a26337", kill_on_drop: false }` [INFO] [stdout] c01ec8b6709f0c12b398655f1d4223b4210ab6d1847541fad3f4421218a26337 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ff77367569988aad71f9c0a0d7fa53db7ceb9962833f6671bd828b8afcd4515c [INFO] running `Command { std: "docker" "start" "-a" "ff77367569988aad71f9c0a0d7fa53db7ceb9962833f6671bd828b8afcd4515c", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sshkit_rs-d73f9ce563ee081e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests sshkit_rs [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 3 tests [INFO] [stdout] test src/lib.rs - SshKit::download (line 413) ... FAILED [INFO] [stdout] test src/lib.rs - SshKit::upload (line 253) ... FAILED [INFO] [stdout] test src/lib.rs - SshKit::run_command (line 121) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - SshKit::download (line 413) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ssh_kit` [INFO] [stdout] --> src/lib.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 414 | use ssh_kit::{ExecMode, SshKit}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ssh_kit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ssh_kit`, use `cargo add ssh_kit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Host` [INFO] [stdout] --> src/lib.rs:417:14 [INFO] [stdout] | [INFO] [stdout] 417 | let server = Host::new("127.0.0.1", "user", None).with_password("password"); [INFO] [stdout] | ^^^^ use of undeclared type `Host` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 413 + use ssh2::Host; [INFO] [stdout] | [INFO] [stdout] 413 + use sshkit_rs::Host; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileOptions` [INFO] [stdout] --> src/lib.rs:420:17 [INFO] [stdout] | [INFO] [stdout] 420 | let file_opts = FileOptions::new("/path/to/remote/file").with_local_path("/path/to/local/file");; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FileOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 413 + use sshkit_rs::FileOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sshkit` in this scope [INFO] [stdout] --> src/lib.rs:421:15 [INFO] [stdout] | [INFO] [stdout] 421 | let results = sshkit.on(server.clone()).download(file_opts, ExecMode::Sequential(None)).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:421:89 [INFO] [stdout] | [INFO] [stdout] 413 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_413_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 421 | let results = sshkit.on(server.clone()).download(file_opts, ExecMode::Sequential(None)).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - SshKit::upload (line 253) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ssh_kit` [INFO] [stdout] --> src/lib.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | use ssh_kit::{ExecMode, SshKit}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `ssh_kit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ssh_kit`, use `cargo add ssh_kit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Host` [INFO] [stdout] --> src/lib.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 257 | let server = Host::new("127.0.0.1", "user", None).with_password("password"); [INFO] [stdout] | ^^^^ use of undeclared type `Host` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 253 + use ssh2::Host; [INFO] [stdout] | [INFO] [stdout] 253 + use sshkit_rs::Host; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileOptions` [INFO] [stdout] --> src/lib.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let file_opts = FileOptions::new("/path/to/remote/file").with_local_path("/path/to/local/file");; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FileOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 253 + use sshkit_rs::FileOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sshkit` in this scope [INFO] [stdout] --> src/lib.rs:261:15 [INFO] [stdout] | [INFO] [stdout] 261 | let results = sshkit.on(server.clone()).upload(file_opts, ExecMode::Sequential(None)).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:261:87 [INFO] [stdout] | [INFO] [stdout] 253 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_253_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 261 | let results = sshkit.on(server.clone()).upload(file_opts, ExecMode::Sequential(None)).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - SshKit::run_command (line 121) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SshKit` [INFO] [stdout] --> src/lib.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | let sshkit = SshKit::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `SshKit` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 121 + use sshkit_rs::SshKit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Host` [INFO] [stdout] --> src/lib.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | let server = Host::new("127.0.0.1", "user", None).with_password("password"); [INFO] [stdout] | ^^^^ use of undeclared type `Host` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 121 + use ssh2::Host; [INFO] [stdout] | [INFO] [stdout] 121 + use sshkit_rs::Host; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandBuilder` [INFO] [stdout] --> src/lib.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | let command_builder = CommandBuilder::new("ls -la"); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CommandBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 121 + use sshkit_rs::CommandBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExecMode` [INFO] [stdout] --> src/lib.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | let exec_mode = ExecMode::Sequential(Some(Duration::from_secs(5))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExecMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 121 + use sshkit_rs::ExecMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/lib.rs:125:43 [INFO] [stdout] | [INFO] [stdout] 125 | let exec_mode = ExecMode::Sequential(Some(Duration::from_secs(5))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 121 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 121 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:126:77 [INFO] [stdout] | [INFO] [stdout] 121 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_121_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 126 | let results = sshkit.on(server.clone()).execute(command_builder, exec_mode).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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/lib.rs - SshKit::download (line 413) [INFO] [stdout] src/lib.rs - SshKit::run_command (line 121) [INFO] [stdout] src/lib.rs - SshKit::upload (line 253) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ff77367569988aad71f9c0a0d7fa53db7ceb9962833f6671bd828b8afcd4515c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff77367569988aad71f9c0a0d7fa53db7ceb9962833f6671bd828b8afcd4515c", kill_on_drop: false }` [INFO] [stdout] ff77367569988aad71f9c0a0d7fa53db7ceb9962833f6671bd828b8afcd4515c