[INFO] cloning repository https://github.com/HotelCalifornia/er [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HotelCalifornia/er" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHotelCalifornia%2Fer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHotelCalifornia%2Fer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd3ae152e4f50e5cb681772ed4d519f372ab54b5 [INFO] checking HotelCalifornia/er against try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHotelCalifornia%2Fer" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HotelCalifornia/er on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HotelCalifornia/er [INFO] finished tweaking git repo https://github.com/HotelCalifornia/er [INFO] tweaked toml for git repo https://github.com/HotelCalifornia/er written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/HotelCalifornia/er already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded comctl32-sys v0.2.0 [INFO] [stderr] Downloaded native-windows-gui v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7d798dfa3d74201a615c861293d54e77b4078c440b815b924bcb9d7cbcc9094 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c7d798dfa3d74201a615c861293d54e77b4078c440b815b924bcb9d7cbcc9094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7d798dfa3d74201a615c861293d54e77b4078c440b815b924bcb9d7cbcc9094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7d798dfa3d74201a615c861293d54e77b4078c440b815b924bcb9d7cbcc9094", kill_on_drop: false }` [INFO] [stdout] c7d798dfa3d74201a615c861293d54e77b4078c440b815b924bcb9d7cbcc9094 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a0fc1b124a48c008742f9dc1e15a7b52badbc832851266e447f81d5286e7a181 [INFO] running `Command { std: "docker" "start" "-a" "a0fc1b124a48c008742f9dc1e15a7b52badbc832851266e447f81d5286e7a181", kill_on_drop: false }` [INFO] [stderr] Checking er v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::basetsd::{DWORD_PTR, PSIZE_T, SIZE_T}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::{BOOL, DWORD, LPCVOID, LPDWORD, LPVOID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::consoleapi::CreatePseudoConsole; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::fileapi::WriteFile; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::minwinbase::{LPSECURITY_ATTRIBUTES, LPOVERLAPPED}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::namedpipeapi::CreatePipe; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::processthreadsapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::wincon::{GetConsoleScreenBufferInfo, PCONSOLE_SCREEN_BUFFER_INFO}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::wincontypes::{COORD, HPCON}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winnt::{HANDLE, LPCWSTR, LPWSTR, PHANDLE, PVOID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/win/mod.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::{DWORD, LPCVOID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winbase::{STD_ERROR_HANDLE, STD_INPUT_HANDLE, STD_OUTPUT_HANDLE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::{HANDLE, PHANDLE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use winapi::um::minwinbase::SECURITY_ATTRIBUTES; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::basetsd::{DWORD_PTR, PSIZE_T, SIZE_T}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::{BOOL, DWORD, LPCVOID, LPDWORD, LPVOID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::consoleapi::CreatePseudoConsole; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::fileapi::WriteFile; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::minwinbase::{LPSECURITY_ATTRIBUTES, LPOVERLAPPED}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::namedpipeapi::CreatePipe; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::processthreadsapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::wincon::{GetConsoleScreenBufferInfo, PCONSOLE_SCREEN_BUFFER_INFO}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::wincontypes::{COORD, HPCON}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/win/api.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::um::winnt::{HANDLE, LPCWSTR, LPWSTR, PHANDLE, PVOID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/win/mod.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::{DWORD, LPCVOID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winbase::{STD_ERROR_HANDLE, STD_INPUT_HANDLE, STD_OUTPUT_HANDLE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::{HANDLE, PHANDLE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use winapi::um::minwinbase::SECURITY_ATTRIBUTES; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_std_handle(handle_id: winapi::shared::minwindef::DWORD) -> Result> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_std_handle(handle_id: winapi::shared::minwindef::DWORD) -> Result> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | let handle: HANDLE = unsafe { winapi::um::processenv::GetStdHandle(handle_id) }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | winapi::um::handleapi::INVALID_HANDLE_VALUE => Err("Failed to get handle!".into()), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | let mut write: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:105:33 [INFO] [stdout] | [INFO] [stdout] 105 | let mut pty_write: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | let mut read: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 107 | let mut pty_read: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:117:33 [INFO] [stdout] | [INFO] [stdout] 117 | fn get_console_size() -> Result> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:118:27 [INFO] [stdout] | [INFO] [stdout] 118 | let mut console_size: winapi::um::wincontypes::COORD = Default::default(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | let mut console_sb_inf: winapi::um::wincon::CONSOLE_SCREEN_BUFFER_INFO = Default::default(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | pc: *mut winapi::um::wincontypes::HPCON, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | if fds[3] == winapi::um::handleapi::INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | let handle: HANDLE = unsafe { winapi::um::processenv::GetStdHandle(handle_id) }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | winapi::um::handleapi::INVALID_HANDLE_VALUE => Err("Failed to get handle!".into()), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | let mut write: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:105:33 [INFO] [stdout] | [INFO] [stdout] 105 | let mut pty_write: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | let mut read: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 107 | let mut pty_read: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:117:33 [INFO] [stdout] | [INFO] [stdout] 117 | fn get_console_size() -> Result> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:118:27 [INFO] [stdout] | [INFO] [stdout] 118 | let mut console_size: winapi::um::wincontypes::COORD = Default::default(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 140 | if fds[2] == winapi::um::handleapi::INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | pc: winapi::um::wincontypes::HPCON, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | let mut si: winapi::um::winbase::STARTUPINFOEXW = Default::default(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:151:45 [INFO] [stdout] | [INFO] [stdout] 151 | si.StartupInfo.cb = std::mem::size_of::() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | si.lpAttributeList = a_list as winapi::um::processthreadsapi::LPPROC_THREAD_ATTRIBUTE_LIST; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:65:74 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_std_handle(handle_id: winapi::shared::minwindef::DWORD) -> Result> { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let handle: HANDLE = unsafe { winapi::um::processenv::GetStdHandle(handle_id) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | fn create_pty_pipes() -> Result<[HANDLE; 4], Box> { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | let mut write: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | let mut console_sb_inf: winapi::um::wincon::CONSOLE_SCREEN_BUFFER_INFO = Default::default(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | let mut pty_write: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | let mut read: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | let mut pty_read: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SECURITY_ATTRIBUTES` in this scope [INFO] [stdout] --> src/main.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | let mut attr: SECURITY_ATTRIBUTES = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_pipe` in module `win::api` [INFO] [stdout] --> src/main.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | win::api::create_pipe(&mut pty_write, &mut read, &mut attr, 0)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in `win::api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_pipe` in module `win::api` [INFO] [stdout] --> src/main.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | win::api::create_pipe(&mut write, &mut pty_read, &mut attr, 0)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in `win::api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_console_screen_buffer_info` in module `win::api` [INFO] [stdout] --> src/main.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | win::api::get_console_screen_buffer_info(get_std_handle(STD_OUTPUT_HANDLE)?, &mut console_sb_inf)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win::api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:121:61 [INFO] [stdout] | [INFO] [stdout] 121 | win::api::get_console_screen_buffer_info(get_std_handle(STD_OUTPUT_HANDLE)?, &mut console_sb_inf)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 129 | fn create_pseudoconsole_and_pipes( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 130 | pc: *mut winapi::um::wincontypes::HPCON, [INFO] [stdout] 131 | ) -> Result<[HANDLE; 2], Box> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | pc: *mut winapi::um::wincontypes::HPCON, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_pseudoconsole` in module `win::api` [INFO] [stdout] --> src/main.rs:135:15 [INFO] [stdout] | [INFO] [stdout] 135 | win::api::create_pseudoconsole(console_size, fds[2], fds[3], 0, pc)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `win::api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `close_handle` in module `win::api` [INFO] [stdout] --> src/main.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | win::api::close_handle(fds[3])?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win::api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `close_handle` in module `win::api` [INFO] [stdout] --> src/main.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | win::api::close_handle(fds[2])?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win::api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init_proc_thread_attr_list` in module `win::api` [INFO] [stdout] --> src/main.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | win::api::init_proc_thread_attr_list(std::ptr::null_mut(), 1, 0, &mut bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win::api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `update_proc_thread_attr` in module `win::api` [INFO] [stdout] --> src/main.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | win::api::update_proc_thread_attr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `win::api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | if fds[3] == winapi::um::handleapi::INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 140 | if fds[2] == winapi::um::handleapi::INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | pc: winapi::um::wincontypes::HPCON, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | let mut si: winapi::um::winbase::STARTUPINFOEXW = Default::default(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:151:45 [INFO] [stdout] | [INFO] [stdout] 151 | si.StartupInfo.cb = std::mem::size_of::() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | si.lpAttributeList = a_list as winapi::um::processthreadsapi::LPPROC_THREAD_ATTRIBUTE_LIST; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:65:74 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_std_handle(handle_id: winapi::shared::minwindef::DWORD) -> Result> { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let handle: HANDLE = unsafe { winapi::um::processenv::GetStdHandle(handle_id) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | fn create_pty_pipes() -> Result<[HANDLE; 4], Box> { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | let mut write: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | let mut pty_write: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | let mut read: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | let mut pty_read: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SECURITY_ATTRIBUTES` in this scope [INFO] [stdout] --> src/main.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | let mut attr: SECURITY_ATTRIBUTES = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_pipe` in module `win::api` [INFO] [stdout] --> src/main.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | win::api::create_pipe(&mut pty_write, &mut read, &mut attr, 0)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in `win::api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_pipe` in module `win::api` [INFO] [stdout] --> src/main.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | win::api::create_pipe(&mut write, &mut pty_read, &mut attr, 0)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in `win::api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_console_screen_buffer_info` in module `win::api` [INFO] [stdout] --> src/main.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | win::api::get_console_screen_buffer_info(get_std_handle(STD_OUTPUT_HANDLE)?, &mut console_sb_inf)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win::api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:121:61 [INFO] [stdout] | [INFO] [stdout] 121 | win::api::get_console_screen_buffer_info(get_std_handle(STD_OUTPUT_HANDLE)?, &mut console_sb_inf)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 129 | fn create_pseudoconsole_and_pipes( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 130 | pc: *mut winapi::um::wincontypes::HPCON, [INFO] [stdout] 131 | ) -> Result<[HANDLE; 2], Box> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_pseudoconsole` in module `win::api` [INFO] [stdout] --> src/main.rs:135:15 [INFO] [stdout] | [INFO] [stdout] 135 | win::api::create_pseudoconsole(console_size, fds[2], fds[3], 0, pc)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `win::api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `close_handle` in module `win::api` [INFO] [stdout] --> src/main.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | win::api::close_handle(fds[3])?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win::api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `close_handle` in module `win::api` [INFO] [stdout] --> src/main.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | win::api::close_handle(fds[2])?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `win::api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init_proc_thread_attr_list` in module `win::api` [INFO] [stdout] --> src/main.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | win::api::init_proc_thread_attr_list(std::ptr::null_mut(), 1, 0, &mut bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win::api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `update_proc_thread_attr` in module `win::api` [INFO] [stdout] --> src/main.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | win::api::update_proc_thread_attr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `win::api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/win/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | .encode_wide() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/win/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | .encode_wide() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 53 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 53 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `er` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a0fc1b124a48c008742f9dc1e15a7b52badbc832851266e447f81d5286e7a181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0fc1b124a48c008742f9dc1e15a7b52badbc832851266e447f81d5286e7a181", kill_on_drop: false }` [INFO] [stdout] a0fc1b124a48c008742f9dc1e15a7b52badbc832851266e447f81d5286e7a181