[INFO] cloning repository https://github.com/felix-pb/massh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/felix-pb/massh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-pb%2Fmassh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-pb%2Fmassh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5bfb584b634d3f9bdcee60f1e7540d6500a09484 [INFO] testing felix-pb/massh against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-pb%2Fmassh" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felix-pb/massh on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/felix-pb/massh [INFO] finished tweaking git repo https://github.com/felix-pb/massh [INFO] tweaked toml for git repo https://github.com/felix-pb/massh written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/felix-pb/massh already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt v0.3.23 [INFO] [stderr] Downloaded structopt-derive v0.4.16 [INFO] [stderr] Downloaded serde_yaml v0.8.21 [INFO] [stderr] Downloaded h2 v0.3.6 [INFO] [stderr] Downloaded ssh2 v0.9.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1c299822832d860cbca2310281887e7d3a37a45f67ab91b0cd70d293f77fa5c2 [INFO] running `Command { std: "docker" "start" "-a" "1c299822832d860cbca2310281887e7d3a37a45f67ab91b0cd70d293f77fa5c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c299822832d860cbca2310281887e7d3a37a45f67ab91b0cd70d293f77fa5c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c299822832d860cbca2310281887e7d3a37a45f67ab91b0cd70d293f77fa5c2", kill_on_drop: false }` [INFO] [stdout] 1c299822832d860cbca2310281887e7d3a37a45f67ab91b0cd70d293f77fa5c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] be0d6d33148bc1af82cf788978b781d1c67af5436de912fb942320851996f7ae [INFO] running `Command { std: "docker" "start" "-a" "be0d6d33148bc1af82cf788978b781d1c67af5436de912fb942320851996f7ae", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling instant v0.1.11 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling ssh2 v0.9.3 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-tungstenite v0.13.0 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling h2 v0.3.6 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.8.21 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling warp v0.3.1 [INFO] [stderr] Compiling massh v0.6.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 07s [INFO] running `Command { std: "docker" "inspect" "be0d6d33148bc1af82cf788978b781d1c67af5436de912fb942320851996f7ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be0d6d33148bc1af82cf788978b781d1c67af5436de912fb942320851996f7ae", kill_on_drop: false }` [INFO] [stdout] be0d6d33148bc1af82cf788978b781d1c67af5436de912fb942320851996f7ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 34ceaaf0cdd20e674a85de7c4bc7753da612184dd460a25ce5f984421d72c0e2 [INFO] running `Command { std: "docker" "start" "-a" "34ceaaf0cdd20e674a85de7c4bc7753da612184dd460a25ce5f984421d72c0e2", kill_on_drop: false }` [INFO] [stderr] Compiling massh v0.6.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.50s [INFO] running `Command { std: "docker" "inspect" "34ceaaf0cdd20e674a85de7c4bc7753da612184dd460a25ce5f984421d72c0e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34ceaaf0cdd20e674a85de7c4bc7753da612184dd460a25ce5f984421d72c0e2", kill_on_drop: false }` [INFO] [stdout] 34ceaaf0cdd20e674a85de7c4bc7753da612184dd460a25ce5f984421d72c0e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eb5ea2d3bc21aca75c10579d2063538a0cc1b916fdfaa5785e54809052df92a6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eb5ea2d3bc21aca75c10579d2063538a0cc1b916fdfaa5785e54809052df92a6", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/massh-9efc568caf403a0d) [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] Running unittests (/opt/rustwide/target/debug/deps/massh-c40c69977b034d49) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/masshd-9a690043cd50f682) [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 massh [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/config.rs - config::MasshConfig::from_yaml (line 156) - compile ... ok [INFO] [stdout] test src/ssh_client.rs - ssh_client::SshClient (line 67) - compile ... ok [INFO] [stdout] test src/massh_client.rs - massh_client::MasshClient::from (line 61) - compile ... ok [INFO] [stdout] test src/config.rs - config::MasshConfig::from_json (line 101) - compile ... ok [INFO] [stdout] test src/ssh_client.rs - ssh_client::SshClient::from (line 103) - compile ... ok [INFO] [stdout] test src/massh_client.rs - massh_client::MasshClient (line 30) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 9) - compile ... FAILED [INFO] [stdout] test src/ssh_client.rs - ssh_client::SshClient::set_auth_agent (line 154) - compile ... FAILED [INFO] [stdout] test src/ssh_client.rs - ssh_client::SshClient::scp_upload (line 334) - compile ... FAILED [INFO] [stdout] test src/ssh_client.rs - ssh_client::SshClient::try_from (line 127) - compile ... ok [INFO] [stdout] test src/ssh_client.rs - ssh_client::SshClient::disconnect (line 436) - compile ... FAILED [INFO] [stdout] test src/massh_client.rs - massh_client::MasshClient::scp_upload (line 208) - compile ... FAILED [INFO] [stdout] test src/ssh_client.rs - ssh_client::SshClient::scp_download (line 294) - compile ... FAILED [INFO] [stdout] test src/ssh_client.rs - ssh_client::SshClient::connect (line 383) - compile ... FAILED [INFO] [stdout] test src/massh_client.rs - massh_client::MasshClient::execute (line 114) - compile ... FAILED [INFO] [stdout] test src/ssh_client.rs - ssh_client::SshClient::execute (line 245) - compile ... FAILED [INFO] [stdout] test src/massh_client.rs - massh_client::MasshClient::scp_download (line 160) - compile ... FAILED [INFO] [stdout] test src/ssh_client.rs - ssh_client::SshClient::set_timeout (line 197) - compile ... FAILED [INFO] [stdout] test src/ssh_client.rs - ssh_client::SshClient::set_auth_password (line 168) - compile ... FAILED [INFO] [stdout] test src/ssh_client.rs - ssh_client::SshClient::set_auth_pubkey (line 182) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 9) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `install` [INFO] [stdout] --> src/lib.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 4 | cargo install massh [INFO] [stdout] | ^^^^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ssh_client.rs - ssh_client::SshClient::set_auth_agent (line 154) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ipv4Addr` [INFO] [stdout] --> src/ssh_client.rs:155:44 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ssh = SshClient::from("username", (Ipv4Addr::LOCALHOST, 22)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ipv4Addr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SshClient` [INFO] [stdout] --> src/ssh_client.rs:155:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ssh = SshClient::from("username", (Ipv4Addr::LOCALHOST, 22)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use massh::SshClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ssh_client.rs - ssh_client::SshClient::scp_upload (line 334) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ipv4Addr` [INFO] [stdout] --> src/ssh_client.rs:335:44 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ssh = SshClient::from("username", (Ipv4Addr::LOCALHOST, 22)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ipv4Addr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SshClient` [INFO] [stdout] --> src/ssh_client.rs:335:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ssh = SshClient::from("username", (Ipv4Addr::LOCALHOST, 22)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use massh::SshClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ssh_client.rs - ssh_client::SshClient::disconnect (line 436) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ipv4Addr` [INFO] [stdout] --> src/ssh_client.rs:437:44 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ssh = SshClient::from("username", (Ipv4Addr::LOCALHOST, 22)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ipv4Addr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SshClient` [INFO] [stdout] --> src/ssh_client.rs:437:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ssh = SshClient::from("username", (Ipv4Addr::LOCALHOST, 22)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use massh::SshClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/massh_client.rs - massh_client::MasshClient::scp_upload (line 208) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MasshClient` [INFO] [stdout] --> src/massh_client.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 4 | let massh = MasshClient::from(&config); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use massh::MasshClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> src/massh_client.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 4 | let massh = MasshClient::from(&config); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ssh_client.rs - ssh_client::SshClient::scp_download (line 294) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ipv4Addr` [INFO] [stdout] --> src/ssh_client.rs:295:44 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ssh = SshClient::from("username", (Ipv4Addr::LOCALHOST, 22)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ipv4Addr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SshClient` [INFO] [stdout] --> src/ssh_client.rs:295:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ssh = SshClient::from("username", (Ipv4Addr::LOCALHOST, 22)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use massh::SshClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ssh_client.rs - ssh_client::SshClient::connect (line 383) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ipv4Addr` [INFO] [stdout] --> src/ssh_client.rs:384:44 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ssh = SshClient::from("username", (Ipv4Addr::LOCALHOST, 22)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ipv4Addr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SshClient` [INFO] [stdout] --> src/ssh_client.rs:384:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ssh = SshClient::from("username", (Ipv4Addr::LOCALHOST, 22)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use massh::SshClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/massh_client.rs - massh_client::MasshClient::execute (line 114) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MasshClient` [INFO] [stdout] --> src/massh_client.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 4 | let massh = MasshClient::from(&config); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use massh::MasshClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> src/massh_client.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 4 | let massh = MasshClient::from(&config); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ssh_client.rs - ssh_client::SshClient::execute (line 245) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ipv4Addr` [INFO] [stdout] --> src/ssh_client.rs:246:44 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ssh = SshClient::from("username", (Ipv4Addr::LOCALHOST, 22)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ipv4Addr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SshClient` [INFO] [stdout] --> src/ssh_client.rs:246:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ssh = SshClient::from("username", (Ipv4Addr::LOCALHOST, 22)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use massh::SshClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/massh_client.rs - massh_client::MasshClient::scp_download (line 160) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MasshClient` [INFO] [stdout] --> src/massh_client.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 4 | let massh = MasshClient::from(&config); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use massh::MasshClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> src/massh_client.rs:161:32 [INFO] [stdout] | [INFO] [stdout] 4 | let massh = MasshClient::from(&config); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ssh_client.rs - ssh_client::SshClient::set_timeout (line 197) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ipv4Addr` [INFO] [stdout] --> src/ssh_client.rs:198:44 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ssh = SshClient::from("username", (Ipv4Addr::LOCALHOST, 22)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ipv4Addr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SshClient` [INFO] [stdout] --> src/ssh_client.rs:198:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ssh = SshClient::from("username", (Ipv4Addr::LOCALHOST, 22)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use massh::SshClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ssh_client.rs - ssh_client::SshClient::set_auth_password (line 168) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ipv4Addr` [INFO] [stdout] --> src/ssh_client.rs:169:44 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ssh = SshClient::from("username", (Ipv4Addr::LOCALHOST, 22)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ipv4Addr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SshClient` [INFO] [stdout] --> src/ssh_client.rs:169:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ssh = SshClient::from("username", (Ipv4Addr::LOCALHOST, 22)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use massh::SshClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ssh_client.rs - ssh_client::SshClient::set_auth_pubkey (line 182) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ipv4Addr` [INFO] [stdout] --> src/ssh_client.rs:183:44 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ssh = SshClient::from("username", (Ipv4Addr::LOCALHOST, 22)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ipv4Addr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SshClient` [INFO] [stdout] --> src/ssh_client.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut ssh = SshClient::from("username", (Ipv4Addr::LOCALHOST, 22)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use massh::SshClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 9) [INFO] [stdout] src/massh_client.rs - massh_client::MasshClient::execute (line 114) [INFO] [stdout] src/massh_client.rs - massh_client::MasshClient::scp_download (line 160) [INFO] [stdout] src/massh_client.rs - massh_client::MasshClient::scp_upload (line 208) [INFO] [stdout] src/ssh_client.rs - ssh_client::SshClient::connect (line 383) [INFO] [stdout] src/ssh_client.rs - ssh_client::SshClient::disconnect (line 436) [INFO] [stdout] src/ssh_client.rs - ssh_client::SshClient::execute (line 245) [INFO] [stdout] src/ssh_client.rs - ssh_client::SshClient::scp_download (line 294) [INFO] [stdout] src/ssh_client.rs - ssh_client::SshClient::scp_upload (line 334) [INFO] [stdout] src/ssh_client.rs - ssh_client::SshClient::set_auth_agent (line 154) [INFO] [stdout] src/ssh_client.rs - ssh_client::SshClient::set_auth_password (line 168) [INFO] [stdout] src/ssh_client.rs - ssh_client::SshClient::set_auth_pubkey (line 182) [INFO] [stdout] src/ssh_client.rs - ssh_client::SshClient::set_timeout (line 197) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "eb5ea2d3bc21aca75c10579d2063538a0cc1b916fdfaa5785e54809052df92a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb5ea2d3bc21aca75c10579d2063538a0cc1b916fdfaa5785e54809052df92a6", kill_on_drop: false }` [INFO] [stdout] eb5ea2d3bc21aca75c10579d2063538a0cc1b916fdfaa5785e54809052df92a6