[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-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finsinfo%2Ftest_ssh" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/insinfo/test_ssh on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-6/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-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] fd944f544308ccc753b95d2692931b71df8b03ee851c053cc86c09731c699665 [INFO] running `Command { std: "docker" "start" "-a" "fd944f544308ccc753b95d2692931b71df8b03ee851c053cc86c09731c699665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd944f544308ccc753b95d2692931b71df8b03ee851c053cc86c09731c699665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd944f544308ccc753b95d2692931b71df8b03ee851c053cc86c09731c699665", kill_on_drop: false }` [INFO] [stdout] fd944f544308ccc753b95d2692931b71df8b03ee851c053cc86c09731c699665 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 8ed2056e95096286bea0a017655d2bf9557b1a2e218aa5553648a9853e6d22f4 [INFO] running `Command { std: "docker" "start" "-a" "8ed2056e95096286bea0a017655d2bf9557b1a2e218aa5553648a9853e6d22f4", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling base64ct v1.3.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ssh v0.1.4 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling test_ssh v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [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 parking_lot_core v0.8.5 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling env_logger v0.8.4 [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 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 password-hash v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling cryptovec v0.6.1 [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 thiserror v1.0.30 [INFO] [stderr] Compiling ssh2 v0.9.3 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling futures-executor v0.3.18 [INFO] [stderr] Compiling futures v0.3.18 [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" "8ed2056e95096286bea0a017655d2bf9557b1a2e218aa5553648a9853e6d22f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ed2056e95096286bea0a017655d2bf9557b1a2e218aa5553648a9853e6d22f4", kill_on_drop: false }` [INFO] [stdout] 8ed2056e95096286bea0a017655d2bf9557b1a2e218aa5553648a9853e6d22f4