[INFO] cloning repository https://github.com/miraclx/ssh-stage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miraclx/ssh-stage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiraclx%2Fssh-stage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiraclx%2Fssh-stage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c16d3fca7c4b4151d12f20ab543be2f5c4031d36 [INFO] testing miraclx/ssh-stage against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiraclx%2Fssh-stage" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miraclx/ssh-stage on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/miraclx/ssh-stage [INFO] finished tweaking git repo https://github.com/miraclx/ssh-stage [INFO] tweaked toml for git repo https://github.com/miraclx/ssh-stage written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/miraclx/ssh-stage already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking_lot_core v0.9.2 [INFO] [stderr] Downloaded windows_i686_msvc v0.34.0 [INFO] [stderr] Downloaded ssh2 v0.9.3 [INFO] [stderr] Downloaded async-ssh2-lite v0.2.1 [INFO] [stderr] Downloaded lock_api v0.4.7 [INFO] [stderr] Downloaded sshkeys v0.3.2 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.34.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.34.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.34.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.34.0 [INFO] [stderr] Downloaded windows-sys v0.34.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31be2e113c44a45ec008fd03ee97e6e04a164b63a42eef0591c088a52bf616ae [INFO] running `Command { std: "docker" "start" "-a" "31be2e113c44a45ec008fd03ee97e6e04a164b63a42eef0591c088a52bf616ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31be2e113c44a45ec008fd03ee97e6e04a164b63a42eef0591c088a52bf616ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31be2e113c44a45ec008fd03ee97e6e04a164b63a42eef0591c088a52bf616ae", kill_on_drop: false }` [INFO] [stdout] 31be2e113c44a45ec008fd03ee97e6e04a164b63a42eef0591c088a52bf616ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca443e28f70e0cef452ef2053eba2b7adeae986a361b73fa0293f67200dbf8a7 [INFO] running `Command { std: "docker" "start" "-a" "ca443e28f70e0cef452ef2053eba2b7adeae986a361b73fa0293f67200dbf8a7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling libz-sys v1.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sshkeys v0.3.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling ssh2 v0.9.3 [INFO] [stderr] Compiling async-ssh2-lite v0.2.1 [INFO] [stderr] Compiling test-ssh2 v0.1.0 (/opt/rustwide/workdir/ssh2) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> ssh2/src/main.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | let mut stdin = io::stdin().lock(); [INFO] [stdout] | ^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 91 | while let Ok(n) = stdin.read(&mut buf) { [INFO] [stdout] | -------------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> ssh2/src/main.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | let mut stdout = io::stdout().lock(); [INFO] [stdout] | ^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 116 | }); [INFO] [stdout] | - borrow might be used here, when `stdout` is dropped and runs the destructor for type `StdoutLock<'_>` [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> ssh2/src/main.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | let mut stderr = io::stderr().lock(); [INFO] [stdout] | ^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 132 | }); [INFO] [stdout] | - borrow might be used here, when `stderr` is dropped and runs the destructor for type `StderrLock<'_>` [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `test-ssh2` due to 4 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ca443e28f70e0cef452ef2053eba2b7adeae986a361b73fa0293f67200dbf8a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca443e28f70e0cef452ef2053eba2b7adeae986a361b73fa0293f67200dbf8a7", kill_on_drop: false }` [INFO] [stdout] ca443e28f70e0cef452ef2053eba2b7adeae986a361b73fa0293f67200dbf8a7