[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#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnpmin%2Fnode-pty" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/npmin/node-pty on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-4-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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 v2.0.0-alpha.6 [INFO] [stderr] Downloaded napi-sys v1.1.2 [INFO] [stderr] Downloaded napi-derive v2.0.0-alpha.6 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.27.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.27.0 [INFO] [stderr] Downloaded windows_i686_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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20b0fa5547fd75db4c926a24b95274022e17a0f383a41dcefdad6c54646625ca [INFO] running `Command { std: "docker" "start" "-a" "20b0fa5547fd75db4c926a24b95274022e17a0f383a41dcefdad6c54646625ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20b0fa5547fd75db4c926a24b95274022e17a0f383a41dcefdad6c54646625ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20b0fa5547fd75db4c926a24b95274022e17a0f383a41dcefdad6c54646625ca", kill_on_drop: false }` [INFO] [stdout] 20b0fa5547fd75db4c926a24b95274022e17a0f383a41dcefdad6c54646625ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcc72b94f7a54e9e13b9fae9bfb89185d2a881d5bf39296ddfbbf730c4c562e1 [INFO] running `Command { std: "docker" "start" "-a" "dcc72b94f7a54e9e13b9fae9bfb89185d2a881d5bf39296ddfbbf730c4c562e1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling autocfg v1.0.1 [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 convert_case v0.4.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling napi-build v1.1.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking napi-sys v1.1.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling node-pty v0.1.0 (/opt/rustwide/workdir) [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) 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 test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "dcc72b94f7a54e9e13b9fae9bfb89185d2a881d5bf39296ddfbbf730c4c562e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcc72b94f7a54e9e13b9fae9bfb89185d2a881d5bf39296ddfbbf730c4c562e1", kill_on_drop: false }` [INFO] [stdout] dcc72b94f7a54e9e13b9fae9bfb89185d2a881d5bf39296ddfbbf730c4c562e1 [INFO] checking npmin/node-pty against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnpmin%2Fnode-pty" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/npmin/node-pty on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-4-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5deb96dd0c22e8cbdb63581e56614cd44eee2fc19416b26ed8ba6f1dd540b3c9 [INFO] running `Command { std: "docker" "start" "-a" "5deb96dd0c22e8cbdb63581e56614cd44eee2fc19416b26ed8ba6f1dd540b3c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5deb96dd0c22e8cbdb63581e56614cd44eee2fc19416b26ed8ba6f1dd540b3c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5deb96dd0c22e8cbdb63581e56614cd44eee2fc19416b26ed8ba6f1dd540b3c9", kill_on_drop: false }` [INFO] [stdout] 5deb96dd0c22e8cbdb63581e56614cd44eee2fc19416b26ed8ba6f1dd540b3c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e14f8a02b36a6fb8e82230e95cbc98a85fd794a39c9b40626aa76f63b2883e3d [INFO] running `Command { std: "docker" "start" "-a" "e14f8a02b36a6fb8e82230e95cbc98a85fd794a39c9b40626aa76f63b2883e3d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "e14f8a02b36a6fb8e82230e95cbc98a85fd794a39c9b40626aa76f63b2883e3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e14f8a02b36a6fb8e82230e95cbc98a85fd794a39c9b40626aa76f63b2883e3d", kill_on_drop: false }` [INFO] [stdout] e14f8a02b36a6fb8e82230e95cbc98a85fd794a39c9b40626aa76f63b2883e3d