[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] checking npmin/node-pty against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnpmin%2Fnode-pty" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/npmin/node-pty on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded napi-derive-backend v1.0.7 [INFO] [stderr] Downloaded napi-sys v1.1.2 [INFO] [stderr] Downloaded napi-derive v2.0.0-alpha.6 [INFO] [stderr] Downloaded napi v2.0.0-alpha.6 [INFO] [stderr] Downloaded nix v0.23.0 [INFO] [stderr] Downloaded tokio v1.14.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_gnu v0.27.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.27.0 [INFO] [stderr] Downloaded windows_x86_64_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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18818fc71e03c8aae44170f181e639e883f1eec88f8c6b8e875f85cc6b5bad35 [INFO] running `Command { std: "docker" "start" "-a" "18818fc71e03c8aae44170f181e639e883f1eec88f8c6b8e875f85cc6b5bad35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18818fc71e03c8aae44170f181e639e883f1eec88f8c6b8e875f85cc6b5bad35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18818fc71e03c8aae44170f181e639e883f1eec88f8c6b8e875f85cc6b5bad35", kill_on_drop: false }` [INFO] [stdout] 18818fc71e03c8aae44170f181e639e883f1eec88f8c6b8e875f85cc6b5bad35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26dd629834ed53062ef83c7263c7e34ec64a5b26ac743acabcc6aecd0c0dd429 [INFO] running `Command { std: "docker" "start" "-a" "26dd629834ed53062ef83c7263c7e34ec64a5b26ac743acabcc6aecd0c0dd429", 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 regex-syntax v0.6.25 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling napi-build v1.1.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking napi-sys v1.1.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling tokio v1.14.0 [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] Checking num_cpus v1.13.0 [INFO] [stderr] Checking nix v0.23.0 [INFO] [stderr] Compiling regex v1.5.4 [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] Checking 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[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[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 `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:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | let mut newmask: sigset_t = 0; [INFO] [stdout] | -------- ^ expected `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 `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 `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 `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[E0308]: mismatched types [INFO] [stdout] --> src/unix/pty.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | sa_mask: 0, [INFO] [stdout] | ^ expected `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[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[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] 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] error: aborting due to 7 previous errors [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] [stdout] error: aborting due to 7 previous errors [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` (lib test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `node-pty` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "26dd629834ed53062ef83c7263c7e34ec64a5b26ac743acabcc6aecd0c0dd429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26dd629834ed53062ef83c7263c7e34ec64a5b26ac743acabcc6aecd0c0dd429", kill_on_drop: false }` [INFO] [stdout] 26dd629834ed53062ef83c7263c7e34ec64a5b26ac743acabcc6aecd0c0dd429