[INFO] fetching crate sshkit_rs 0.1.0...
[INFO] testing sshkit_rs-0.1.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate sshkit_rs 0.1.0 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate sshkit_rs 0.1.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "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-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 83 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding parking_lot v0.11.2 (latest: v0.12.3)
[INFO] [stderr]       Adding parking_lot_core v0.8.6 (latest: v0.9.10)
[INFO] [stderr]       Adding redox_syscall v0.2.16 (latest: v0.5.1)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ef9e4adf0c7f606a989d25a95ff2fdbd478fd2d31cba3fb2fb2bf3ae3e43d4c9
[INFO] running `Command { std: "docker" "start" "-a" "ef9e4adf0c7f606a989d25a95ff2fdbd478fd2d31cba3fb2fb2bf3ae3e43d4c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ef9e4adf0c7f606a989d25a95ff2fdbd478fd2d31cba3fb2fb2bf3ae3e43d4c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef9e4adf0c7f606a989d25a95ff2fdbd478fd2d31cba3fb2fb2bf3ae3e43d4c9", kill_on_drop: false }`
[INFO] [stdout] ef9e4adf0c7f606a989d25a95ff2fdbd478fd2d31cba3fb2fb2bf3ae3e43d4c9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5e1b9351cf8167ccd503c591f7a35f4960c9a52224b093d4a58afc168e103a9c
[INFO] running `Command { std: "docker" "start" "-a" "5e1b9351cf8167ccd503c591f7a35f4960c9a52224b093d4a58afc168e103a9c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling shell-escape v0.1.5
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling libz-sys v1.1.18
[INFO] [stderr]    Compiling libssh2-sys v0.3.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling ssh2 v0.9.4
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling bb8 v0.8.3
[INFO] [stderr]    Compiling sshkit_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.71s
[INFO] running `Command { std: "docker" "inspect" "5e1b9351cf8167ccd503c591f7a35f4960c9a52224b093d4a58afc168e103a9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e1b9351cf8167ccd503c591f7a35f4960c9a52224b093d4a58afc168e103a9c", kill_on_drop: false }`
[INFO] [stdout] 5e1b9351cf8167ccd503c591f7a35f4960c9a52224b093d4a58afc168e103a9c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bfd82c486ca8d6079736e52a4df80419ba8422ac18cbb2edc2561c37bcf65983
[INFO] running `Command { std: "docker" "start" "-a" "bfd82c486ca8d6079736e52a4df80419ba8422ac18cbb2edc2561c37bcf65983", 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.61s
[INFO] running `Command { std: "docker" "inspect" "bfd82c486ca8d6079736e52a4df80419ba8422ac18cbb2edc2561c37bcf65983", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bfd82c486ca8d6079736e52a4df80419ba8422ac18cbb2edc2561c37bcf65983", kill_on_drop: false }`
[INFO] [stdout] bfd82c486ca8d6079736e52a4df80419ba8422ac18cbb2edc2561c37bcf65983
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d3495b37d2a98577554469da815cd888d0e1e9d4a30f60c3912c4f5b0c7d91ff
[INFO] running `Command { std: "docker" "start" "-a" "d3495b37d2a98577554469da815cd888d0e1e9d4a30f60c3912c4f5b0c7d91ff", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sshkit_rs-6bc059552777dc32)
[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: 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] ---- 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] 
[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.09s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "d3495b37d2a98577554469da815cd888d0e1e9d4a30f60c3912c4f5b0c7d91ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3495b37d2a98577554469da815cd888d0e1e9d4a30f60c3912c4f5b0c7d91ff", kill_on_drop: false }`
[INFO] [stdout] d3495b37d2a98577554469da815cd888d0e1e9d4a30f60c3912c4f5b0c7d91ff
[INFO] testing sshkit_rs-0.1.0 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate sshkit_rs 0.1.0 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate sshkit_rs 0.1.0 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "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-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 83 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding parking_lot v0.11.2 (latest: v0.12.3)
[INFO] [stderr]       Adding parking_lot_core v0.8.6 (latest: v0.9.10)
[INFO] [stderr]       Adding redox_syscall v0.2.16 (latest: v0.5.1)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 20dfbb24dc1801cf084095e26665191d8e97226268e93aadf9014b4eec78688b
[INFO] running `Command { std: "docker" "start" "-a" "20dfbb24dc1801cf084095e26665191d8e97226268e93aadf9014b4eec78688b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "20dfbb24dc1801cf084095e26665191d8e97226268e93aadf9014b4eec78688b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "20dfbb24dc1801cf084095e26665191d8e97226268e93aadf9014b4eec78688b", kill_on_drop: false }`
[INFO] [stdout] 20dfbb24dc1801cf084095e26665191d8e97226268e93aadf9014b4eec78688b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0edb4debd8c844908a4a1474ec590f334b0a0545d39efefd5fd51d98e23431b4
[INFO] running `Command { std: "docker" "start" "-a" "0edb4debd8c844908a4a1474ec590f334b0a0545d39efefd5fd51d98e23431b4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling shell-escape v0.1.5
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling libz-sys v1.1.18
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[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 async-trait v0.1.80
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling ssh2 v0.9.4
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling bb8 v0.8.3
[INFO] [stderr]    Compiling sshkit_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.37s
[INFO] running `Command { std: "docker" "inspect" "0edb4debd8c844908a4a1474ec590f334b0a0545d39efefd5fd51d98e23431b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0edb4debd8c844908a4a1474ec590f334b0a0545d39efefd5fd51d98e23431b4", kill_on_drop: false }`
[INFO] [stdout] 0edb4debd8c844908a4a1474ec590f334b0a0545d39efefd5fd51d98e23431b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0134e9f7906ebf3164d210df4839ba92f29bec8e34f8c06591d4a729748602dc
[INFO] running `Command { std: "docker" "start" "-a" "0134e9f7906ebf3164d210df4839ba92f29bec8e34f8c06591d4a729748602dc", 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.41s
[INFO] running `Command { std: "docker" "inspect" "0134e9f7906ebf3164d210df4839ba92f29bec8e34f8c06591d4a729748602dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0134e9f7906ebf3164d210df4839ba92f29bec8e34f8c06591d4a729748602dc", kill_on_drop: false }`
[INFO] [stdout] 0134e9f7906ebf3164d210df4839ba92f29bec8e34f8c06591d4a729748602dc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 50beca6eb99530a41a1af84029f82f6b409331f582724ce3c596e82ead6f9ad0
[INFO] running `Command { std: "docker" "start" "-a" "50beca6eb99530a41a1af84029f82f6b409331f582724ce3c596e82ead6f9ad0", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sshkit_rs-6bc059552777dc32)
[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: 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] ---- 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] 
[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.05s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "50beca6eb99530a41a1af84029f82f6b409331f582724ce3c596e82ead6f9ad0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50beca6eb99530a41a1af84029f82f6b409331f582724ce3c596e82ead6f9ad0", kill_on_drop: false }`
[INFO] [stdout] 50beca6eb99530a41a1af84029f82f6b409331f582724ce3c596e82ead6f9ad0
