[INFO] fetching crate winpty-rs 0.4.1... [INFO] checking winpty-rs-0.4.1 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate winpty-rs 0.4.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate winpty-rs 0.4.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate winpty-rs 0.4.1 [INFO] tweaked toml for crates.io crate winpty-rs 0.4.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate winpty-rs 0.4.1 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate winpty-rs 0.4.1 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7c82b262245068d80be5e92cfe5a843af9d25b9c7302e26fab66aa77a21f52a [INFO] running `Command { std: "docker" "start" "-a" "e7c82b262245068d80be5e92cfe5a843af9d25b9c7302e26fab66aa77a21f52a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7c82b262245068d80be5e92cfe5a843af9d25b9c7302e26fab66aa77a21f52a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7c82b262245068d80be5e92cfe5a843af9d25b9c7302e26fab66aa77a21f52a", kill_on_drop: false }` [INFO] [stdout] e7c82b262245068d80be5e92cfe5a843af9d25b9c7302e26fab66aa77a21f52a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3281585731f5faea35122c18a8345b48a1aef318b37d1ff4cb6ea8e02c92f9a7 [INFO] running `Command { std: "docker" "start" "-a" "3281585731f5faea35122c18a8345b48a1aef318b37d1ff4cb6ea8e02c92f9a7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling windows_x86_64_gnu v0.53.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling windows-result v0.2.0 [INFO] [stderr] Checking windows-targets v0.53.0 [INFO] [stderr] Checking windows-result v0.3.0 [INFO] [stderr] Checking windows-strings v0.3.0 [INFO] [stderr] Compiling windows-strings v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling which v7.0.1 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-implement v0.59.0 [INFO] [stderr] Compiling windows-interface v0.59.0 [INFO] [stderr] Compiling enum-primitive-derive v0.3.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking windows-core v0.59.0 [INFO] [stderr] Compiling windows-core v0.58.0 [INFO] [stderr] Checking windows v0.59.0 [INFO] [stderr] Compiling windows v0.58.0 [INFO] [stderr] Compiling winpty-rs v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::i64` [INFO] [stdout] --> build.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::i64; [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] --> build.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> build.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `which::which` [INFO] [stdout] --> build.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use which::which; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/pty/base.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::Foundation::{CloseHandle, HANDLE, STATUS_PENDING, S_OK, WAIT_FAILED, WAIT_OBJECT_0, WAIT_TIMEOUT}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/pty/base.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::Storage::FileSystem::{GetFileSizeEx, ReadFile, WriteFile}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/pty/base.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::System::Pipes::PeekNamedPipe; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/pty/base.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::Win32::System::IO::CancelIoEx; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/pty/base.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::System::Threading::{GetExitCodeProcess, GetProcessId, WaitForSingleObject}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/pty/base.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::Win32::Globalization::{MultiByteToWideChar, WideCharToMultiByte, CP_UTF8, MULTI_BYTE_TO_WIDE_CHAR_FLAGS}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/pty/base.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::Win32::System::Threading::INFINITE; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/pty/base.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::core::{HRESULT, Error, PCSTR}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/pty/base.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::Foundation::{CloseHandle, HANDLE, STATUS_PENDING, S_OK, WAIT_FAILED, WAIT_OBJECT_0, WAIT_TIMEOUT}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/pty/base.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::Storage::FileSystem::{GetFileSizeEx, ReadFile, WriteFile}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/pty/base.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::System::Pipes::PeekNamedPipe; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/pty/base.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::Win32::System::IO::CancelIoEx; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/pty/base.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::System::Threading::{GetExitCodeProcess, GetProcessId, WaitForSingleObject}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/pty/base.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::Win32::Globalization::{MultiByteToWideChar, WideCharToMultiByte, CP_UTF8, MULTI_BYTE_TO_WIDE_CHAR_FLAGS}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/pty/base.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::Win32::System::Threading::INFINITE; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/pty/base.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::core::{HRESULT, Error, PCSTR}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `Self` constructor can only be used with tuple or unit structs [INFO] [stdout] --> src/pty/base.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | Self(value.0) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `Self` constructor can only be used with tuple or unit structs [INFO] [stdout] --> src/pty/base.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | Self(value.0) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winpty-rs` (lib test) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winpty-rs` (lib) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "3281585731f5faea35122c18a8345b48a1aef318b37d1ff4cb6ea8e02c92f9a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3281585731f5faea35122c18a8345b48a1aef318b37d1ff4cb6ea8e02c92f9a7", kill_on_drop: false }` [INFO] [stdout] 3281585731f5faea35122c18a8345b48a1aef318b37d1ff4cb6ea8e02c92f9a7