[INFO] cloning repository https://github.com/insinfo/test_ssh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/insinfo/test_ssh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finsinfo%2Ftest_ssh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finsinfo%2Ftest_ssh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 116bf4116e5bacafc8848dbc55ad9842706f07c9 [INFO] testing insinfo/test_ssh against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finsinfo%2Ftest_ssh" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/insinfo/test_ssh on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/insinfo/test_ssh [INFO] finished tweaking git repo https://github.com/insinfo/test_ssh [INFO] tweaked toml for git repo https://github.com/insinfo/test_ssh written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/insinfo/test_ssh already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bcrypt-pbkdf v0.6.2 [INFO] [stderr] Downloaded thrussh-libsodium v0.2.1 [INFO] [stderr] Downloaded cryptovec v0.6.1 [INFO] [stderr] Downloaded thrussh v0.33.5 [INFO] [stderr] Downloaded password-hash v0.2.3 [INFO] [stderr] Downloaded yasna v0.4.0 [INFO] [stderr] Downloaded ssh v0.1.4 [INFO] [stderr] Downloaded base64ct v1.3.0 [INFO] [stderr] Downloaded thrussh-keys v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "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] 0e906499b131a1dae5d66bfd1b5f6f8bdcf86104b7815883532395c834c597ab [INFO] running `Command { std: "docker" "start" "-a" "0e906499b131a1dae5d66bfd1b5f6f8bdcf86104b7815883532395c834c597ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e906499b131a1dae5d66bfd1b5f6f8bdcf86104b7815883532395c834c597ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e906499b131a1dae5d66bfd1b5f6f8bdcf86104b7815883532395c834c597ab", kill_on_drop: false }` [INFO] [stdout] 0e906499b131a1dae5d66bfd1b5f6f8bdcf86104b7815883532395c834c597ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f38cf5062bfc768bd18465fc2f2c74e7b4b4637864af3a90aad6838c6d2af134 [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" "f38cf5062bfc768bd18465fc2f2c74e7b4b4637864af3a90aad6838c6d2af134", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling base64ct v1.3.0 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling ssh v0.1.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling test_ssh v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling password-hash v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cryptovec v0.6.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling blowfish v0.8.0 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling bcrypt-pbkdf v0.6.2 [INFO] [stderr] Compiling simplelog v0.10.2 [INFO] [stderr] Compiling yasna v0.4.0 [INFO] [stderr] Compiling ssh2 v0.9.3 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling futures-executor v0.3.18 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling thrussh-libsodium v0.2.1 [INFO] [stderr] Compiling thrussh-keys v0.21.0 [INFO] [stderr] Compiling thrussh v0.33.5 [INFO] [stdout] warning: field is never read: `code` [INFO] [stdout] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | code: ErrorCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `msg` [INFO] [stdout] --> src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | msg: Cow<'static, str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsRawSocket` in this scope [INFO] [stdout] --> src/libssh2.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn connect(&mut self, stream: S, user: &str, pass: &str) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `test_ssh` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "f38cf5062bfc768bd18465fc2f2c74e7b4b4637864af3a90aad6838c6d2af134", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f38cf5062bfc768bd18465fc2f2c74e7b4b4637864af3a90aad6838c6d2af134", kill_on_drop: false }` [INFO] [stdout] f38cf5062bfc768bd18465fc2f2c74e7b4b4637864af3a90aad6838c6d2af134