[INFO] fetching crate sshkit_rs 0.1.0...
[INFO] testing sshkit_rs-0.1.0 against 1.73.0 for beta-1.74-1
[INFO] extracting crate sshkit_rs 0.1.0 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate sshkit_rs 0.1.0 on toolchain 1.73.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ssh2 v0.9.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e6d553cc59d14bd2dbce1f009c69d37d40c4384dc180e3ddc44431d3f68c1700
[INFO] running `Command { std: "docker" "start" "-a" "e6d553cc59d14bd2dbce1f009c69d37d40c4384dc180e3ddc44431d3f68c1700", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e6d553cc59d14bd2dbce1f009c69d37d40c4384dc180e3ddc44431d3f68c1700", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6d553cc59d14bd2dbce1f009c69d37d40c4384dc180e3ddc44431d3f68c1700", kill_on_drop: false }`
[INFO] [stdout] e6d553cc59d14bd2dbce1f009c69d37d40c4384dc180e3ddc44431d3f68c1700
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 979f6a435f037cb56df7bcc72745fa22bebe9e3ef3cffbcdd77e818156ecd3bc
[INFO] running `Command { std: "docker" "start" "-a" "979f6a435f037cb56df7bcc72745fa22bebe9e3ef3cffbcdd77e818156ecd3bc", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling smallvec v1.11.1
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling futures-io v0.3.28
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]    Compiling libssh2-sys v0.3.0
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling socket2 v0.5.4
[INFO] [stderr]    Compiling shell-escape v0.1.5
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling async-trait v0.1.73
[INFO] [stderr]    Compiling thiserror-impl v1.0.49
[INFO] [stderr]    Compiling tokio v1.33.0
[INFO] [stderr]    Compiling thiserror v1.0.49
[INFO] [stderr]    Compiling ssh2 v0.9.4
[INFO] [stderr]    Compiling futures-executor v0.3.28
[INFO] [stderr]    Compiling futures v0.3.28
[INFO] [stderr]    Compiling bb8 v0.8.1
[INFO] [stderr]    Compiling sshkit_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 8.42s
[INFO] running `Command { std: "docker" "inspect" "979f6a435f037cb56df7bcc72745fa22bebe9e3ef3cffbcdd77e818156ecd3bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "979f6a435f037cb56df7bcc72745fa22bebe9e3ef3cffbcdd77e818156ecd3bc", kill_on_drop: false }`
[INFO] [stdout] 979f6a435f037cb56df7bcc72745fa22bebe9e3ef3cffbcdd77e818156ecd3bc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9d0875cb9f8d01075c7896b43ca2c54dc922c754bd51edd35f3b441b9599807b
[INFO] running `Command { std: "docker" "start" "-a" "9d0875cb9f8d01075c7896b43ca2c54dc922c754bd51edd35f3b441b9599807b", kill_on_drop: false }`
[INFO] [stderr]    Compiling sshkit_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.74s
[INFO] running `Command { std: "docker" "inspect" "9d0875cb9f8d01075c7896b43ca2c54dc922c754bd51edd35f3b441b9599807b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d0875cb9f8d01075c7896b43ca2c54dc922c754bd51edd35f3b441b9599807b", kill_on_drop: false }`
[INFO] [stdout] 9d0875cb9f8d01075c7896b43ca2c54dc922c754bd51edd35f3b441b9599807b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 21f413f44e14e815b9f05818538dd3ee8a75b5f30c91c2e8faaac1bdd071172a
[INFO] running `Command { std: "docker" "start" "-a" "21f413f44e14e815b9f05818538dd3ee8a75b5f30c91c2e8faaac1bdd071172a", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sshkit_rs-8622b35003bc5f38)
[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 sshkit_rs
[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] 3 | use ssh_kit::{ExecMode, SshKit};
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `ssh_kit`
[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] 6 | 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 items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use ssh2::Host;
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 9 | 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] 2 + 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] 10 | 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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_413_0() {
[INFO] [stdout]    |                                         ------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | 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[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:421:94
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_413_0() {
[INFO] [stdout]    |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | let results = sshkit.on(server.clone()).download(file_opts, ExecMode::Sequential(None)).await?;
[INFO] [stdout]    |                                                                                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - SshKit::upload (line 253) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ssh_kit`
[INFO] [stdout]  --> src/lib.rs:254:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ssh_kit::{ExecMode, SshKit};
[INFO] [stdout]   |     ^^^^^^^ use of undeclared crate or module `ssh_kit`
[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] 6 | 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 items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use ssh2::Host;
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 9 | 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] 2 + 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] 10 | 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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_253_0() {
[INFO] [stdout]    |                                         ------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | 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[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:261:92
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_253_0() {
[INFO] [stdout]    |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | let results = sshkit.on(server.clone()).upload(file_opts, ExecMode::Sequential(None)).await?;
[INFO] [stdout]    |                                                                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - 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] 3 | let sshkit = SshKit::new();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `SshKit`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 4 | 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 items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use ssh2::Host;
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 5 | 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] 2 + 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] 6 | 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] 2 + 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] 6 | 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 items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_121_0() {
[INFO] [stdout]   |                                         ------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | 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[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:126:82
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_121_0() {
[INFO] [stdout]   |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let results = sshkit.on(server.clone()).execute(command_builder, exec_mode).await?;
[INFO] [stdout]   |                                                                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[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.08s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "21f413f44e14e815b9f05818538dd3ee8a75b5f30c91c2e8faaac1bdd071172a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21f413f44e14e815b9f05818538dd3ee8a75b5f30c91c2e8faaac1bdd071172a", kill_on_drop: false }`
[INFO] [stdout] 21f413f44e14e815b9f05818538dd3ee8a75b5f30c91c2e8faaac1bdd071172a
