[INFO] fetching crate sshkit_rs 0.1.0...
[INFO] testing sshkit_rs-0.1.0 against 1.75.0 for beta-1.76-1
[INFO] extracting crate sshkit_rs 0.1.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate sshkit_rs 0.1.0 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.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-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bb8 v0.8.1
[INFO] [stderr]   Downloaded ssh2 v0.9.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8a792ab15b5177b16fb0407296d6c61e3172706d8f2a7200198485a81f726a91
[INFO] running `Command { std: "docker" "start" "-a" "8a792ab15b5177b16fb0407296d6c61e3172706d8f2a7200198485a81f726a91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8a792ab15b5177b16fb0407296d6c61e3172706d8f2a7200198485a81f726a91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8a792ab15b5177b16fb0407296d6c61e3172706d8f2a7200198485a81f726a91", kill_on_drop: false }`
[INFO] [stdout] 8a792ab15b5177b16fb0407296d6c61e3172706d8f2a7200198485a81f726a91
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ea414cd2d3dc4588a668e4bb5759fc00251d8f2e656831fbaad3c04bc07ec377
[INFO] running `Command { std: "docker" "start" "-a" "ea414cd2d3dc4588a668e4bb5759fc00251d8f2e656831fbaad3c04bc07ec377", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.28
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling smallvec v1.11.2
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling shell-escape v0.1.5
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling openssl-sys v0.9.98
[INFO] [stderr]    Compiling libz-sys v1.1.12
[INFO] [stderr]    Compiling libssh2-sys v0.3.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling bb8 v0.8.1
[INFO] [stderr]    Compiling ssh2 v0.9.4
[INFO] [stderr]    Compiling sshkit_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 22.67s
[INFO] running `Command { std: "docker" "inspect" "ea414cd2d3dc4588a668e4bb5759fc00251d8f2e656831fbaad3c04bc07ec377", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea414cd2d3dc4588a668e4bb5759fc00251d8f2e656831fbaad3c04bc07ec377", kill_on_drop: false }`
[INFO] [stdout] ea414cd2d3dc4588a668e4bb5759fc00251d8f2e656831fbaad3c04bc07ec377
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e6450ad662d404e4b1fd71b3b3e3b97286cc0ef1df873eb2ac8905ebea969abe
[INFO] running `Command { std: "docker" "start" "-a" "e6450ad662d404e4b1fd71b3b3e3b97286cc0ef1df873eb2ac8905ebea969abe", 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.65s
[INFO] running `Command { std: "docker" "inspect" "e6450ad662d404e4b1fd71b3b3e3b97286cc0ef1df873eb2ac8905ebea969abe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6450ad662d404e4b1fd71b3b3e3b97286cc0ef1df873eb2ac8905ebea969abe", kill_on_drop: false }`
[INFO] [stdout] e6450ad662d404e4b1fd71b3b3e3b97286cc0ef1df873eb2ac8905ebea969abe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bf064bb5f1cdafa193dcac6d2afcf3145de57443f7256ba822c098aa21204132
[INFO] running `Command { std: "docker" "start" "-a" "bf064bb5f1cdafa193dcac6d2afcf3145de57443f7256ba822c098aa21204132", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sshkit_rs-682ca274e911494c)
[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::run_command (line 121) ... FAILED
[INFO] [stdout] test src/lib.rs - SshKit::download (line 413) ... FAILED
[INFO] [stdout] test src/lib.rs - SshKit::upload (line 253) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] ---- 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] [stderr] error: doctest failed, to rerun pass `--doc`
[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] 
[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.16s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "bf064bb5f1cdafa193dcac6d2afcf3145de57443f7256ba822c098aa21204132", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf064bb5f1cdafa193dcac6d2afcf3145de57443f7256ba822c098aa21204132", kill_on_drop: false }`
[INFO] [stdout] bf064bb5f1cdafa193dcac6d2afcf3145de57443f7256ba822c098aa21204132
[INFO] testing sshkit_rs-0.1.0 against beta-2023-12-22 for beta-1.76-1
[INFO] extracting crate sshkit_rs 0.1.0 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate sshkit_rs 0.1.0 on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "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-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "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" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1ec120614ddd63c255dc01ea1ce69ea5793d267fe045cdcef4c3924924a9755e
[INFO] running `Command { std: "docker" "start" "-a" "1ec120614ddd63c255dc01ea1ce69ea5793d267fe045cdcef4c3924924a9755e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1ec120614ddd63c255dc01ea1ce69ea5793d267fe045cdcef4c3924924a9755e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ec120614ddd63c255dc01ea1ce69ea5793d267fe045cdcef4c3924924a9755e", kill_on_drop: false }`
[INFO] [stdout] 1ec120614ddd63c255dc01ea1ce69ea5793d267fe045cdcef4c3924924a9755e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a9ade0be5feeaf79dfeead0df8c31bdbb6e047d9a668e5e2523558137ccca0a1
[INFO] running `Command { std: "docker" "start" "-a" "a9ade0be5feeaf79dfeead0df8c31bdbb6e047d9a668e5e2523558137ccca0a1", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.28
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling smallvec v1.11.2
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling shell-escape v0.1.5
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling openssl-sys v0.9.98
[INFO] [stderr]    Compiling libz-sys v1.1.12
[INFO] [stderr]    Compiling libssh2-sys v0.3.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling ssh2 v0.9.4
[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 33.16s
[INFO] running `Command { std: "docker" "inspect" "a9ade0be5feeaf79dfeead0df8c31bdbb6e047d9a668e5e2523558137ccca0a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9ade0be5feeaf79dfeead0df8c31bdbb6e047d9a668e5e2523558137ccca0a1", kill_on_drop: false }`
[INFO] [stdout] a9ade0be5feeaf79dfeead0df8c31bdbb6e047d9a668e5e2523558137ccca0a1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e4704acd21bb921212db64d41c44162b1ca0b4e482d7323c2fe6f2dd8719240b
[INFO] running `Command { std: "docker" "start" "-a" "e4704acd21bb921212db64d41c44162b1ca0b4e482d7323c2fe6f2dd8719240b", 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.64s
[INFO] running `Command { std: "docker" "inspect" "e4704acd21bb921212db64d41c44162b1ca0b4e482d7323c2fe6f2dd8719240b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4704acd21bb921212db64d41c44162b1ca0b4e482d7323c2fe6f2dd8719240b", kill_on_drop: false }`
[INFO] [stdout] e4704acd21bb921212db64d41c44162b1ca0b4e482d7323c2fe6f2dd8719240b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 74c3120ce8a6935b3dc713819208cf193365bb2c3e656bda5c14fb1fb1942316
[INFO] running `Command { std: "docker" "start" "-a" "74c3120ce8a6935b3dc713819208cf193365bb2c3e656bda5c14fb1fb1942316", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sshkit_rs-cb610dbcccda9150)
[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::run_command (line 121) ... FAILED
[INFO] [stdout] test src/lib.rs - SshKit::download (line 413) ... FAILED
[INFO] [stdout] test src/lib.rs - SshKit::upload (line 253) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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: 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] ---- 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: 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] 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: 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] 
[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.16s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "74c3120ce8a6935b3dc713819208cf193365bb2c3e656bda5c14fb1fb1942316", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74c3120ce8a6935b3dc713819208cf193365bb2c3e656bda5c14fb1fb1942316", kill_on_drop: false }`
[INFO] [stdout] 74c3120ce8a6935b3dc713819208cf193365bb2c3e656bda5c14fb1fb1942316
