[INFO] cloning repository https://github.com/npmin/node-pty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/npmin/node-pty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnpmin%2Fnode-pty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnpmin%2Fnode-pty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 221b5222d0c0bee630c28c6e4e3d6f59aab880cd [INFO] testing npmin/node-pty 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%2Fnpmin%2Fnode-pty" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/npmin/node-pty 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/npmin/node-pty [INFO] finished tweaking git repo https://github.com/npmin/node-pty [INFO] tweaked toml for git repo https://github.com/npmin/node-pty written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/npmin/node-pty 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 napi-sys v1.1.2 [INFO] [stderr] Downloaded nix v0.23.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.27.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.27.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.27.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.27.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.27.0 [INFO] [stderr] Downloaded windows-sys v0.27.0 [INFO] [stderr] Downloaded napi-build v1.1.1 [INFO] [stderr] Downloaded windows v0.27.0 [INFO] [stderr] Downloaded napi v2.0.0-alpha.6 [INFO] [stderr] Downloaded napi-derive-backend v1.0.7 [INFO] [stderr] Downloaded napi-derive v2.0.0-alpha.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] [stdout] c701010e140951d1fbc34711543dc276aeb4a548886602ebfdb86617cede8e96 [INFO] running `Command { std: "docker" "start" "-a" "c701010e140951d1fbc34711543dc276aeb4a548886602ebfdb86617cede8e96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c701010e140951d1fbc34711543dc276aeb4a548886602ebfdb86617cede8e96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c701010e140951d1fbc34711543dc276aeb4a548886602ebfdb86617cede8e96", kill_on_drop: false }` [INFO] [stdout] c701010e140951d1fbc34711543dc276aeb4a548886602ebfdb86617cede8e96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 734e8d9503c0668e2bae4ae312c49a0d6cf5017a09f349170977077930d17a12 [INFO] running `Command { std: "docker" "start" "-a" "734e8d9503c0668e2bae4ae312c49a0d6cf5017a09f349170977077930d17a12", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling napi-build v1.1.1 [INFO] [stderr] Compiling napi-sys v1.1.2 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling node-pty v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nix v0.23.0 [INFO] [stderr] Compiling napi-derive-backend v1.0.7 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling napi-derive v2.0.0-alpha.6 [INFO] [stderr] Compiling napi v2.0.0-alpha.6 [INFO] [stdout] error[E0432]: unresolved imports `nix::libc::CTL_KERN`, `nix::libc::KERN_PROC`, `nix::libc::KERN_PROC_PID` [INFO] [stdout] --> src/unix/pty.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | use nix::libc::{O_NONBLOCK, TIOCSWINSZ, CTL_KERN, KERN_PROC, KERN_PROC_PID, winsize}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ no `KERN_PROC_PID` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `KERN_PROC` in the root [INFO] [stdout] | no `CTL_KERN` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pty_forkpty` in this scope [INFO] [stdout] --> src/unix/pty.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let pid = pty_forkpty(&mut master, term, winp); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/unix/pty.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/unix/pty.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TIOCSWINSZ` [INFO] [stdout] --> src/unix/pty.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use nix::libc::{O_NONBLOCK, TIOCSWINSZ, CTL_KERN, KERN_PROC, KERN_PROC_PID, winsize}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `forkpty`, `ioctl`, `sysctl` [INFO] [stdout] --> src/unix/pty.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use nix::libc::{sigfillset, ioctl, sysctl, forkpty, fcntl, termios}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unix/pty.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | let mut newmask: sigset_t = 0; [INFO] [stdout] | -------- ^ expected struct `nix::libc::sigset_t`, found integer [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unix/pty.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | let mut oldmask: sigset_t = 0; [INFO] [stdout] | -------- ^ expected struct `nix::libc::sigset_t`, found integer [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unix/pty.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | sa_mask: 0, [INFO] [stdout] | ^ expected struct `nix::libc::sigset_t`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `sa_restorer` in initializer of `nix::libc::sigaction` [INFO] [stdout] --> src/unix/pty.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | let mut sig_action = sigaction { [INFO] [stdout] | ^^^^^^^^^ missing `sa_restorer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `c_line` in initializer of `nix::libc::termios` [INFO] [stdout] --> src/unix/pty.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | let mut term = termios { [INFO] [stdout] | ^^^^^^^ missing `c_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `node-pty` due to 8 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "734e8d9503c0668e2bae4ae312c49a0d6cf5017a09f349170977077930d17a12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "734e8d9503c0668e2bae4ae312c49a0d6cf5017a09f349170977077930d17a12", kill_on_drop: false }` [INFO] [stdout] 734e8d9503c0668e2bae4ae312c49a0d6cf5017a09f349170977077930d17a12