[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-07-10 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnpmin%2Fnode-pty" "/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/npmin/node-pty on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "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-7/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-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b5da7c83437ea49e524e3f0c3460f33c326af2e64a68f0f4d4e128a179a1580d
[INFO] running `Command { std: "docker" "start" "-a" "b5da7c83437ea49e524e3f0c3460f33c326af2e64a68f0f4d4e128a179a1580d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b5da7c83437ea49e524e3f0c3460f33c326af2e64a68f0f4d4e128a179a1580d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b5da7c83437ea49e524e3f0c3460f33c326af2e64a68f0f4d4e128a179a1580d", kill_on_drop: false }`
[INFO] [stdout] b5da7c83437ea49e524e3f0c3460f33c326af2e64a68f0f4d4e128a179a1580d
[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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b8acc39004023404b5a8132321cd033ccb8d4624ba31e8a899b080c93ec180c2
[INFO] running `Command { std: "docker" "start" "-a" "b8acc39004023404b5a8132321cd033ccb8d4624ba31e8a899b080c93ec180c2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]    Compiling libc v0.2.106
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling once_cell v1.8.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.7
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling napi-build v1.1.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling napi-sys v1.1.2
[INFO] [stderr]    Compiling tokio v1.14.0
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling node-pty v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling regex v1.5.4
[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" "b8acc39004023404b5a8132321cd033ccb8d4624ba31e8a899b080c93ec180c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8acc39004023404b5a8132321cd033ccb8d4624ba31e8a899b080c93ec180c2", kill_on_drop: false }`
[INFO] [stdout] b8acc39004023404b5a8132321cd033ccb8d4624ba31e8a899b080c93ec180c2
