[INFO] fetching crate pepper-win 0.1.0... [INFO] checking pepper-win-0.1.0 against try#15a786332e2f0dd343b226ab6bb8ec028a350f73 for pr-81782 [INFO] extracting crate pepper-win 0.1.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate pepper-win 0.1.0 on toolchain 15a786332e2f0dd343b226ab6bb8ec028a350f73 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pepper-win 0.1.0 [INFO] finished tweaking crates.io crate pepper-win 0.1.0 [INFO] tweaked toml for crates.io crate pepper-win 0.1.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate crates.io crate pepper-win 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "fetch" "--locked" "--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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68ef7c822c57f86b55f49a239182cc4adce7249d54f300b243b801bc6495630b [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" "68ef7c822c57f86b55f49a239182cc4adce7249d54f300b243b801bc6495630b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68ef7c822c57f86b55f49a239182cc4adce7249d54f300b243b801bc6495630b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68ef7c822c57f86b55f49a239182cc4adce7249d54f300b243b801bc6495630b", kill_on_drop: false }` [INFO] [stdout] 68ef7c822c57f86b55f49a239182cc4adce7249d54f300b243b801bc6495630b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 774e4b46d15e5b5b70883f0782f49b1cbd48ae7f5a916b1fdec1eb7dc2be7e58 [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" "774e4b46d15e5b5b70883f0782f49b1cbd48ae7f5a916b1fdec1eb7dc2be7e58", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling argh_derive v0.1.4 [INFO] [stderr] Checking argh v0.1.4 [INFO] [stderr] Checking pepper v0.6.0 [INFO] [stderr] Checking pepper-win v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | os::windows::io::AsRawHandle, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | os::windows::io::AsRawHandle, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DWORD` [INFO] [stdout] --> main.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | let mut mode = DWORD::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `DWORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DWORD` [INFO] [stdout] --> main.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | let mut mode = DWORD::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `DWORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STD_INPUT_HANDLE` in this scope [INFO] [stdout] --> main.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | let input_handle = get_std_handle(STD_INPUT_HANDLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope [INFO] [stdout] --> main.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | let output_handle = get_std_handle(STD_OUTPUT_HANDLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> main.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | fn get_last_error() -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> main.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | unsafe { GetLastError() } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> main.rs:115:56 [INFO] [stdout] | [INFO] [stdout] 115 | unsafe extern "system" fn ctrl_handler(_ctrl_type: DWORD) -> BOOL { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> main.rs:115:66 [INFO] [stdout] | [INFO] [stdout] 115 | unsafe extern "system" fn ctrl_handler(_ctrl_type: DWORD) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | FALSE [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleCtrlHandler` in this scope [INFO] [stdout] --> main.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | if unsafe { SetConsoleCtrlHandler(Some(ctrl_handler), TRUE) } == FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> main.rs:119:59 [INFO] [stdout] | [INFO] [stdout] 119 | if unsafe { SetConsoleCtrlHandler(Some(ctrl_handler), TRUE) } == FALSE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:119:70 [INFO] [stdout] | [INFO] [stdout] 119 | if unsafe { SetConsoleCtrlHandler(Some(ctrl_handler), TRUE) } == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentDirectoryW` in this scope [INFO] [stdout] --> main.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | let len = unsafe { GetCurrentDirectoryW(0, std::ptr::null_mut()) } as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentDirectoryW` in this scope [INFO] [stdout] --> main.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | let len = unsafe { GetCurrentDirectoryW(buf.len() as _, buf.as_mut_ptr()) } as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindFirstFileW` in this scope [INFO] [stdout] --> main.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | let find_handle = FindFirstFileW(path.as_ptr(), &mut find_data); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> main.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | if find_handle != INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindClose` in this scope [INFO] [stdout] --> main.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | FindClose(find_handle); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> main.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | fn get_std_handle(which: DWORD) -> Option { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:147:43 [INFO] [stdout] | [INFO] [stdout] 147 | fn get_std_handle(which: DWORD) -> Option { [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[E0425]: cannot find function, tuple struct or tuple variant `GetStdHandle` in this scope [INFO] [stdout] --> main.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 148 | let handle = unsafe { GetStdHandle(which) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> main.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | if handle != NULL && handle != INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> main.rs:149:36 [INFO] [stdout] | [INFO] [stdout] 149 | if handle != NULL && handle != 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] --> main.rs:156:37 [INFO] [stdout] | [INFO] [stdout] 156 | fn get_console_mode(console_handle: HANDLE) -> DWORD { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> main.rs:156:48 [INFO] [stdout] | [INFO] [stdout] 156 | fn get_console_mode(console_handle: HANDLE) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleMode` in this scope [INFO] [stdout] --> main.rs:158:27 [INFO] [stdout] | [INFO] [stdout] 158 | let result = unsafe { GetConsoleMode(console_handle, &mut mode) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:165:36 [INFO] [stdout] | [INFO] [stdout] 165 | fn get_console_size(output_handle: HANDLE) -> (usize, usize) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleScreenBufferInfo` in this scope [INFO] [stdout] --> main.rs:167:27 [INFO] [stdout] | [INFO] [stdout] 167 | let result = unsafe { GetConsoleScreenBufferInfo(output_handle, &mut console_info) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 168 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:174:37 [INFO] [stdout] | [INFO] [stdout] 174 | fn read_console_input(input_handle: HANDLE, events: &mut [INPUT_RECORD]) -> &[INPUT_RECORD] { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT_RECORD` in this scope [INFO] [stdout] --> main.rs:174:59 [INFO] [stdout] | [INFO] [stdout] 174 | fn read_console_input(input_handle: HANDLE, events: &mut [INPUT_RECORD]) -> &[INPUT_RECORD] { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT_RECORD` in this scope [INFO] [stdout] --> main.rs:174:79 [INFO] [stdout] | [INFO] [stdout] 174 | fn read_console_input(input_handle: HANDLE, events: &mut [INPUT_RECORD]) -> &[INPUT_RECORD] { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> main.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | let mut event_count: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadConsoleInputW` in this scope [INFO] [stdout] --> main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | ReadConsoleInputW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:190:37 [INFO] [stdout] | [INFO] [stdout] 190 | fn set_console_mode(console_handle: HANDLE, mode: DWORD) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> main.rs:190:51 [INFO] [stdout] | [INFO] [stdout] 190 | fn set_console_mode(console_handle: HANDLE, mode: DWORD) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleMode` in this scope [INFO] [stdout] --> main.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 191 | let result = unsafe { SetConsoleMode(console_handle, mode) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:192:18 [INFO] [stdout] | [INFO] [stdout] 192 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:197:27 [INFO] [stdout] | [INFO] [stdout] 197 | fn global_lock(handle: HANDLE) -> Option> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalLock` in this scope [INFO] [stdout] --> main.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 198 | NonNull::new(unsafe { GlobalLock(handle) as _ }) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:201:26 [INFO] [stdout] | [INFO] [stdout] 201 | fn global_unlock(handle: HANDLE) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalUnlock` in this scope [INFO] [stdout] --> main.rs:202:14 [INFO] [stdout] | [INFO] [stdout] 197 | fn global_lock(handle: HANDLE) -> Option> { [INFO] [stdout] | ------------------------------------------------------- similarly named function `global_lock` defined here [INFO] [stdout] ... [INFO] [stdout] 202 | unsafe { GlobalUnlock(handle) }; [INFO] [stdout] | ^^^^^^^^^^^^ help: a function with a similar name exists: `global_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOW` in this scope [INFO] [stdout] --> main.rs:206:56 [INFO] [stdout] | [INFO] [stdout] 205 | fn fork() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 206 | let mut startup_info = unsafe { std::mem::zeroed::() }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOW` in this scope [INFO] [stdout] --> main.rs:207:43 [INFO] [stdout] | [INFO] [stdout] 205 | fn fork() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 206 | let mut startup_info = unsafe { std::mem::zeroed::() }; [INFO] [stdout] 207 | startup_info.cb = std::mem::size_of::() as _; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STARTF_USESTDHANDLES` in this scope [INFO] [stdout] --> main.rs:208:28 [INFO] [stdout] | [INFO] [stdout] 208 | startup_info.dwFlags = STARTF_USESTDHANDLES; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> main.rs:209:30 [INFO] [stdout] | [INFO] [stdout] 209 | startup_info.hStdInput = INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> main.rs:210:31 [INFO] [stdout] | [INFO] [stdout] 210 | startup_info.hStdOutput = INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> main.rs:211:30 [INFO] [stdout] | [INFO] [stdout] 211 | startup_info.hStdError = INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_INFORMATION` in this scope [INFO] [stdout] --> main.rs:213:56 [INFO] [stdout] | [INFO] [stdout] 205 | fn fork() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 213 | let mut process_info = unsafe { std::mem::zeroed::() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateProcessW` in this scope [INFO] [stdout] --> main.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | CreateProcessW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCommandLineW` in this scope [INFO] [stdout] --> main.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | GetCommandLineW(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NORMAL_PRIORITY_CLASS` in this scope [INFO] [stdout] --> main.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | NORMAL_PRIORITY_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> main.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:238:41 [INFO] [stdout] | [INFO] [stdout] 238 | fn wait_for_multiple_objects(handles: &[HANDLE], timeout: Option) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> main.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | None => INFINITE, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAXIMUM_WAIT_OBJECTS` in this scope [INFO] [stdout] --> main.rs:243:15 [INFO] [stdout] | [INFO] [stdout] 243 | let len = MAXIMUM_WAIT_OBJECTS.min(handles.len() as DWORD); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> main.rs:243:57 [INFO] [stdout] | [INFO] [stdout] 243 | let len = MAXIMUM_WAIT_OBJECTS.min(handles.len() as DWORD); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForMultipleObjects` in this scope [INFO] [stdout] --> main.rs:244:27 [INFO] [stdout] | [INFO] [stdout] 244 | let result = unsafe { WaitForMultipleObjects(len, handles.as_ptr(), FALSE, timeout) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:244:73 [INFO] [stdout] | [INFO] [stdout] 244 | let result = unsafe { WaitForMultipleObjects(len, handles.as_ptr(), FALSE, timeout) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_TIMEOUT` in this scope [INFO] [stdout] --> main.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | if result == WAIT_TIMEOUT { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stdout] --> main.rs:247:25 [INFO] [stdout] | [INFO] [stdout] 247 | } else if result >= WAIT_OBJECT_0 && result < (WAIT_OBJECT_0 + len) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stdout] --> main.rs:247:52 [INFO] [stdout] | [INFO] [stdout] 247 | } else if result >= WAIT_OBJECT_0 && result < (WAIT_OBJECT_0 + len) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stdout] --> main.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 248 | Some((result - WAIT_OBJECT_0) as _) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:254:19 [INFO] [stdout] | [INFO] [stdout] 254 | struct Handle(pub HANDLE); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> main.rs:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | unsafe { CloseHandle(self.0) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:261:14 [INFO] [stdout] | [INFO] [stdout] 261 | struct Event(HANDLE); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateEventW` in this scope [INFO] [stdout] --> main.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | let handle = unsafe { CreateEventW(std::ptr::null_mut(), TRUE, FALSE, std::ptr::null()) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> main.rs:264:66 [INFO] [stdout] | [INFO] [stdout] 264 | let handle = unsafe { CreateEventW(std::ptr::null_mut(), TRUE, FALSE, std::ptr::null()) }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:264:72 [INFO] [stdout] | [INFO] [stdout] 264 | let handle = unsafe { CreateEventW(std::ptr::null_mut(), TRUE, FALSE, std::ptr::null()) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> main.rs:265:22 [INFO] [stdout] | [INFO] [stdout] 265 | if handle == NULL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:271:29 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn handle(&self) -> HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetEvent` in this scope [INFO] [stdout] --> main.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | if unsafe { SetEvent(self.0) } == FALSE { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:276:43 [INFO] [stdout] | [INFO] [stdout] 276 | if unsafe { SetEvent(self.0) } == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> main.rs:283:18 [INFO] [stdout] | [INFO] [stdout] 283 | unsafe { CloseHandle(self.0) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenClipboard` in this scope [INFO] [stdout] --> main.rs:290:31 [INFO] [stdout] | [INFO] [stdout] 287 | struct Clipboard; [INFO] [stdout] | ----------------- similarly named unit struct `Clipboard` defined here [INFO] [stdout] ... [INFO] [stdout] 290 | let result = unsafe { OpenClipboard(std::ptr::null_mut()) }; [INFO] [stdout] | ^^^^^^^^^^^^^ help: a unit struct with a similar name exists: `Clipboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:291:22 [INFO] [stdout] | [INFO] [stdout] 291 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseClipboard` in this scope [INFO] [stdout] --> main.rs:298:31 [INFO] [stdout] | [INFO] [stdout] 298 | let result = unsafe { CloseClipboard() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:299:22 [INFO] [stdout] | [INFO] [stdout] 299 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope [INFO] [stdout] --> main.rs:305:19 [INFO] [stdout] | [INFO] [stdout] 305 | struct Overlapped(OVERLAPPED); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope [INFO] [stdout] --> main.rs:308:58 [INFO] [stdout] | [INFO] [stdout] 306 | impl Overlapped { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 307 | pub fn with_event(event: &Event) -> Self { [INFO] [stdout] 308 | let mut overlapped = unsafe { std::mem::zeroed::() }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope [INFO] [stdout] --> main.rs:313:42 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn as_mut_ptr(&mut self) -> *mut OVERLAPPED { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOverlappedResult` in this scope [INFO] [stdout] --> main.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | GetOverlappedResult( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:358:21 [INFO] [stdout] | [INFO] [stdout] 358 | FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:362:26 [INFO] [stdout] | [INFO] [stdout] 362 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadFile` in this scope [INFO] [stdout] --> main.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | ReadFile( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:390:26 [INFO] [stdout] | [INFO] [stdout] 390 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteFile` in this scope [INFO] [stdout] --> main.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 417 | WriteFile( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:426:26 [INFO] [stdout] | [INFO] [stdout] 426 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DisconnectNamedPipe` in this scope [INFO] [stdout] --> main.rs:452:13 [INFO] [stdout] | [INFO] [stdout] 452 | DisconnectNamedPipe(self.0.handle.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileW` in this scope [INFO] [stdout] --> main.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | CreateFileW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> main.rs:463:17 [INFO] [stdout] | [INFO] [stdout] 463 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stdout] --> main.rs:463:32 [INFO] [stdout] | [INFO] [stdout] 463 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> main.rs:466:17 [INFO] [stdout] | [INFO] [stdout] 466 | OPEN_EXISTING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_FLAG_OVERLAPPED` in this scope [INFO] [stdout] --> main.rs:467:17 [INFO] [stdout] | [INFO] [stdout] 467 | FILE_FLAG_OVERLAPPED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> main.rs:468:17 [INFO] [stdout] | [INFO] [stdout] 468 | NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> main.rs:471:27 [INFO] [stdout] | [INFO] [stdout] 471 | if pipe_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PIPE_READMODE_BYTE` in this scope [INFO] [stdout] --> main.rs:475:24 [INFO] [stdout] | [INFO] [stdout] 475 | let mut mode = PIPE_READMODE_BYTE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetNamedPipeHandleState` in this scope [INFO] [stdout] --> main.rs:477:13 [INFO] [stdout] | [INFO] [stdout] 477 | SetNamedPipeHandleState( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:485:22 [INFO] [stdout] | [INFO] [stdout] 485 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateNamedPipeW` in this scope [INFO] [stdout] --> main.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | CreateNamedPipeW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PIPE_ACCESS_DUPLEX` in this scope [INFO] [stdout] --> main.rs:515:17 [INFO] [stdout] | [INFO] [stdout] 515 | PIPE_ACCESS_DUPLEX | FILE_FLAG_OVERLAPPED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_FLAG_OVERLAPPED` in this scope [INFO] [stdout] --> main.rs:515:38 [INFO] [stdout] | [INFO] [stdout] 515 | PIPE_ACCESS_DUPLEX | FILE_FLAG_OVERLAPPED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PIPE_TYPE_BYTE` in this scope [INFO] [stdout] --> main.rs:516:17 [INFO] [stdout] | [INFO] [stdout] 516 | PIPE_TYPE_BYTE | PIPE_READMODE_BYTE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PIPE_READMODE_BYTE` in this scope [INFO] [stdout] --> main.rs:516:34 [INFO] [stdout] | [INFO] [stdout] 516 | PIPE_TYPE_BYTE | PIPE_READMODE_BYTE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PIPE_UNLIMITED_INSTANCES` in this scope [INFO] [stdout] --> main.rs:517:17 [INFO] [stdout] | [INFO] [stdout] 517 | PIPE_UNLIMITED_INSTANCES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> main.rs:524:27 [INFO] [stdout] | [INFO] [stdout] 524 | if pipe_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ConnectNamedPipe` in this scope [INFO] [stdout] --> main.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | if unsafe { ConnectNamedPipe(pipe.handle.0, pipe.overlapped.as_mut_ptr()) } != FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:531:88 [INFO] [stdout] | [INFO] [stdout] 531 | if unsafe { ConnectNamedPipe(pipe.handle.0, pipe.overlapped.as_mut_ptr()) } != FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:624:23 [INFO] [stdout] | [INFO] [stdout] 623 | struct Events { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 624 | wait_handles: Vec, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClipboardData` in this scope [INFO] [stdout] --> main.rs:708:31 [INFO] [stdout] | [INFO] [stdout] 708 | let handle = unsafe { GetClipboardData(CF_UNICODETEXT) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CF_UNICODETEXT` in this scope [INFO] [stdout] --> main.rs:708:48 [INFO] [stdout] | [INFO] [stdout] 708 | let handle = unsafe { GetClipboardData(CF_UNICODETEXT) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> main.rs:709:22 [INFO] [stdout] | [INFO] [stdout] 709 | if handle == NULL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WideCharToMultiByte` in this scope [INFO] [stdout] --> main.rs:718:13 [INFO] [stdout] | [INFO] [stdout] 718 | WideCharToMultiByte( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CP_UTF8` in this scope [INFO] [stdout] --> main.rs:719:17 [INFO] [stdout] | [INFO] [stdout] 719 | CP_UTF8, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WideCharToMultiByte` in this scope [INFO] [stdout] --> main.rs:737:17 [INFO] [stdout] | [INFO] [stdout] 737 | WideCharToMultiByte( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CP_UTF8` in this scope [INFO] [stdout] --> main.rs:738:21 [INFO] [stdout] | [INFO] [stdout] 738 | CP_UTF8, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MultiByteToWideChar` in this scope [INFO] [stdout] --> main.rs:760:13 [INFO] [stdout] | [INFO] [stdout] 760 | MultiByteToWideChar( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CP_UTF8` in this scope [INFO] [stdout] --> main.rs:761:17 [INFO] [stdout] | [INFO] [stdout] 761 | CP_UTF8, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalAlloc` in this scope [INFO] [stdout] --> main.rs:771:35 [INFO] [stdout] | [INFO] [stdout] 771 | let handle = unsafe { GlobalAlloc(GMEM_MOVEABLE, size as _) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GMEM_MOVEABLE` in this scope [INFO] [stdout] --> main.rs:771:47 [INFO] [stdout] | [INFO] [stdout] 771 | let handle = unsafe { GlobalAlloc(GMEM_MOVEABLE, size as _) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> main.rs:772:26 [INFO] [stdout] | [INFO] [stdout] 772 | if handle == NULL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalFree` in this scope [INFO] [stdout] --> main.rs:778:30 [INFO] [stdout] | [INFO] [stdout] 778 | unsafe { GlobalFree(handle) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MultiByteToWideChar` in this scope [INFO] [stdout] --> main.rs:783:17 [INFO] [stdout] | [INFO] [stdout] 783 | MultiByteToWideChar(CP_UTF8, 0, text.as_ptr() as _, text.len() as _, data, len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CP_UTF8` in this scope [INFO] [stdout] --> main.rs:783:37 [INFO] [stdout] | [INFO] [stdout] 783 | MultiByteToWideChar(CP_UTF8, 0, text.as_ptr() as _, text.len() as _, data, len); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EmptyClipboard` in this scope [INFO] [stdout] --> main.rs:788:22 [INFO] [stdout] | [INFO] [stdout] 788 | unsafe { EmptyClipboard() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetClipboardData` in this scope [INFO] [stdout] --> main.rs:789:35 [INFO] [stdout] | [INFO] [stdout] 789 | let result = unsafe { SetClipboardData(CF_UNICODETEXT, handle) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CF_UNICODETEXT` in this scope [INFO] [stdout] --> main.rs:789:52 [INFO] [stdout] | [INFO] [stdout] 789 | let result = unsafe { SetClipboardData(CF_UNICODETEXT, handle) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> main.rs:790:26 [INFO] [stdout] | [INFO] [stdout] 790 | if result == NULL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalFree` in this scope [INFO] [stdout] --> main.rs:791:26 [INFO] [stdout] | [INFO] [stdout] 791 | unsafe { GlobalFree(handle) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:1005:60 [INFO] [stdout] | [INFO] [stdout] 1005 | fn run_client(args: Args, pipe_path: &[u16], input_handle: HANDLE, output_handle: HANDLE) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:1005:83 [INFO] [stdout] | [INFO] [stdout] 1005 | fn run_client(args: Args, pipe_path: &[u16], input_handle: HANDLE, output_handle: HANDLE) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ENABLE_WINDOW_INPUT` in this scope [INFO] [stdout] --> main.rs:1019:36 [INFO] [stdout] | [INFO] [stdout] 1019 | set_console_mode(input_handle, ENABLE_WINDOW_INPUT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ENABLE_PROCESSED_OUTPUT` in this scope [INFO] [stdout] --> main.rs:1023:9 [INFO] [stdout] | [INFO] [stdout] 1023 | ENABLE_PROCESSED_OUTPUT | ENABLE_VIRTUAL_TERMINAL_PROCESSING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ENABLE_VIRTUAL_TERMINAL_PROCESSING` in this scope [INFO] [stdout] --> main.rs:1023:35 [INFO] [stdout] | [INFO] [stdout] 1023 | ENABLE_PROCESSED_OUTPUT | ENABLE_VIRTUAL_TERMINAL_PROCESSING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:1053:50 [INFO] [stdout] | [INFO] [stdout] 1053 | ... if event.bKeyDown == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F1` in this scope [INFO] [stdout] --> main.rs:1077:33 [INFO] [stdout] | [INFO] [stdout] 1077 | ... VK_F1..=VK_F24 => Key::F((keycode - VK_F1 + 1) as _), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F24` in this scope [INFO] [stdout] --> main.rs:1077:41 [INFO] [stdout] | [INFO] [stdout] 1077 | ... VK_F1..=VK_F24 => Key::F((keycode - VK_F1 + 1) as _), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F1` in this scope [INFO] [stdout] --> main.rs:1077:69 [INFO] [stdout] | [INFO] [stdout] 1077 | ... VK_F1..=VK_F24 => Key::F((keycode - VK_F1 + 1) as _), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> main.rs:1088:61 [INFO] [stdout] | [INFO] [stdout] 1088 | ... const ALT_PRESSED_MASK: DWORD = [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEFT_ALT_PRESSED` in this scope [INFO] [stdout] --> main.rs:1089:41 [INFO] [stdout] | [INFO] [stdout] 1089 | ... LEFT_ALT_PRESSED | RIGHT_ALT_PRESSED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIGHT_ALT_PRESSED` in this scope [INFO] [stdout] --> main.rs:1089:60 [INFO] [stdout] | [INFO] [stdout] 1089 | ... LEFT_ALT_PRESSED | RIGHT_ALT_PRESSED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> main.rs:1090:62 [INFO] [stdout] | [INFO] [stdout] 1090 | ... const CTRL_PRESSED_MASK: DWORD = [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEFT_CTRL_PRESSED` in this scope [INFO] [stdout] --> main.rs:1091:41 [INFO] [stdout] | [INFO] [stdout] 1091 | ... LEFT_CTRL_PRESSED | RIGHT_CTRL_PRESSED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIGHT_CTRL_PRESSED` in this scope [INFO] [stdout] --> main.rs:1091:61 [INFO] [stdout] | [INFO] [stdout] 1091 | ... LEFT_CTRL_PRESSED | RIGHT_CTRL_PRESSED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STD_INPUT_HANDLE` in this scope [INFO] [stdout] --> main.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | let input_handle = get_std_handle(STD_INPUT_HANDLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope [INFO] [stdout] --> main.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | let output_handle = get_std_handle(STD_OUTPUT_HANDLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> main.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | fn get_last_error() -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> main.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | unsafe { GetLastError() } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> main.rs:115:56 [INFO] [stdout] | [INFO] [stdout] 115 | unsafe extern "system" fn ctrl_handler(_ctrl_type: DWORD) -> BOOL { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> main.rs:115:66 [INFO] [stdout] | [INFO] [stdout] 115 | unsafe extern "system" fn ctrl_handler(_ctrl_type: DWORD) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | FALSE [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleCtrlHandler` in this scope [INFO] [stdout] --> main.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | if unsafe { SetConsoleCtrlHandler(Some(ctrl_handler), TRUE) } == FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> main.rs:119:59 [INFO] [stdout] | [INFO] [stdout] 119 | if unsafe { SetConsoleCtrlHandler(Some(ctrl_handler), TRUE) } == FALSE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:119:70 [INFO] [stdout] | [INFO] [stdout] 119 | if unsafe { SetConsoleCtrlHandler(Some(ctrl_handler), TRUE) } == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentDirectoryW` in this scope [INFO] [stdout] --> main.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | let len = unsafe { GetCurrentDirectoryW(0, std::ptr::null_mut()) } as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentDirectoryW` in this scope [INFO] [stdout] --> main.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | let len = unsafe { GetCurrentDirectoryW(buf.len() as _, buf.as_mut_ptr()) } as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindFirstFileW` in this scope [INFO] [stdout] --> main.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | let find_handle = FindFirstFileW(path.as_ptr(), &mut find_data); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> main.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | if find_handle != INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindClose` in this scope [INFO] [stdout] --> main.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | FindClose(find_handle); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> main.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | fn get_std_handle(which: DWORD) -> Option { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:147:43 [INFO] [stdout] | [INFO] [stdout] 147 | fn get_std_handle(which: DWORD) -> Option { [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[E0425]: cannot find function, tuple struct or tuple variant `GetStdHandle` in this scope [INFO] [stdout] --> main.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 148 | let handle = unsafe { GetStdHandle(which) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> main.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | if handle != NULL && handle != INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> main.rs:149:36 [INFO] [stdout] | [INFO] [stdout] 149 | if handle != NULL && handle != 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] --> main.rs:156:37 [INFO] [stdout] | [INFO] [stdout] 156 | fn get_console_mode(console_handle: HANDLE) -> DWORD { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> main.rs:156:48 [INFO] [stdout] | [INFO] [stdout] 156 | fn get_console_mode(console_handle: HANDLE) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleMode` in this scope [INFO] [stdout] --> main.rs:158:27 [INFO] [stdout] | [INFO] [stdout] 158 | let result = unsafe { GetConsoleMode(console_handle, &mut mode) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:165:36 [INFO] [stdout] | [INFO] [stdout] 165 | fn get_console_size(output_handle: HANDLE) -> (usize, usize) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleScreenBufferInfo` in this scope [INFO] [stdout] --> main.rs:167:27 [INFO] [stdout] | [INFO] [stdout] 167 | let result = unsafe { GetConsoleScreenBufferInfo(output_handle, &mut console_info) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 168 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:174:37 [INFO] [stdout] | [INFO] [stdout] 174 | fn read_console_input(input_handle: HANDLE, events: &mut [INPUT_RECORD]) -> &[INPUT_RECORD] { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT_RECORD` in this scope [INFO] [stdout] --> main.rs:174:59 [INFO] [stdout] | [INFO] [stdout] 174 | fn read_console_input(input_handle: HANDLE, events: &mut [INPUT_RECORD]) -> &[INPUT_RECORD] { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT_RECORD` in this scope [INFO] [stdout] --> main.rs:174:79 [INFO] [stdout] | [INFO] [stdout] 174 | fn read_console_input(input_handle: HANDLE, events: &mut [INPUT_RECORD]) -> &[INPUT_RECORD] { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> main.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | let mut event_count: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadConsoleInputW` in this scope [INFO] [stdout] --> main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | ReadConsoleInputW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:190:37 [INFO] [stdout] | [INFO] [stdout] 190 | fn set_console_mode(console_handle: HANDLE, mode: DWORD) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> main.rs:190:51 [INFO] [stdout] | [INFO] [stdout] 190 | fn set_console_mode(console_handle: HANDLE, mode: DWORD) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleMode` in this scope [INFO] [stdout] --> main.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 191 | let result = unsafe { SetConsoleMode(console_handle, mode) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:192:18 [INFO] [stdout] | [INFO] [stdout] 192 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:197:27 [INFO] [stdout] | [INFO] [stdout] 197 | fn global_lock(handle: HANDLE) -> Option> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalLock` in this scope [INFO] [stdout] --> main.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 198 | NonNull::new(unsafe { GlobalLock(handle) as _ }) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:201:26 [INFO] [stdout] | [INFO] [stdout] 201 | fn global_unlock(handle: HANDLE) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalUnlock` in this scope [INFO] [stdout] --> main.rs:202:14 [INFO] [stdout] | [INFO] [stdout] 197 | fn global_lock(handle: HANDLE) -> Option> { [INFO] [stdout] | ------------------------------------------------------- similarly named function `global_lock` defined here [INFO] [stdout] ... [INFO] [stdout] 202 | unsafe { GlobalUnlock(handle) }; [INFO] [stdout] | ^^^^^^^^^^^^ help: a function with a similar name exists: `global_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOW` in this scope [INFO] [stdout] --> main.rs:206:56 [INFO] [stdout] | [INFO] [stdout] 205 | fn fork() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 206 | let mut startup_info = unsafe { std::mem::zeroed::() }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOW` in this scope [INFO] [stdout] --> main.rs:207:43 [INFO] [stdout] | [INFO] [stdout] 205 | fn fork() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 206 | let mut startup_info = unsafe { std::mem::zeroed::() }; [INFO] [stdout] 207 | startup_info.cb = std::mem::size_of::() as _; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STARTF_USESTDHANDLES` in this scope [INFO] [stdout] --> main.rs:208:28 [INFO] [stdout] | [INFO] [stdout] 208 | startup_info.dwFlags = STARTF_USESTDHANDLES; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> main.rs:209:30 [INFO] [stdout] | [INFO] [stdout] 209 | startup_info.hStdInput = INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> main.rs:210:31 [INFO] [stdout] | [INFO] [stdout] 210 | startup_info.hStdOutput = INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> main.rs:211:30 [INFO] [stdout] | [INFO] [stdout] 211 | startup_info.hStdError = INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_INFORMATION` in this scope [INFO] [stdout] --> main.rs:213:56 [INFO] [stdout] | [INFO] [stdout] 205 | fn fork() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 213 | let mut process_info = unsafe { std::mem::zeroed::() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateProcessW` in this scope [INFO] [stdout] --> main.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | CreateProcessW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCommandLineW` in this scope [INFO] [stdout] --> main.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | GetCommandLineW(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NORMAL_PRIORITY_CLASS` in this scope [INFO] [stdout] --> main.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | NORMAL_PRIORITY_CLASS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> main.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:238:41 [INFO] [stdout] | [INFO] [stdout] 238 | fn wait_for_multiple_objects(handles: &[HANDLE], timeout: Option) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> main.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | None => INFINITE, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAXIMUM_WAIT_OBJECTS` in this scope [INFO] [stdout] --> main.rs:243:15 [INFO] [stdout] | [INFO] [stdout] 243 | let len = MAXIMUM_WAIT_OBJECTS.min(handles.len() as DWORD); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> main.rs:243:57 [INFO] [stdout] | [INFO] [stdout] 243 | let len = MAXIMUM_WAIT_OBJECTS.min(handles.len() as DWORD); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForMultipleObjects` in this scope [INFO] [stdout] --> main.rs:244:27 [INFO] [stdout] | [INFO] [stdout] 244 | let result = unsafe { WaitForMultipleObjects(len, handles.as_ptr(), FALSE, timeout) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:244:73 [INFO] [stdout] | [INFO] [stdout] 244 | let result = unsafe { WaitForMultipleObjects(len, handles.as_ptr(), FALSE, timeout) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_TIMEOUT` in this scope [INFO] [stdout] --> main.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | if result == WAIT_TIMEOUT { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stdout] --> main.rs:247:25 [INFO] [stdout] | [INFO] [stdout] 247 | } else if result >= WAIT_OBJECT_0 && result < (WAIT_OBJECT_0 + len) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stdout] --> main.rs:247:52 [INFO] [stdout] | [INFO] [stdout] 247 | } else if result >= WAIT_OBJECT_0 && result < (WAIT_OBJECT_0 + len) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stdout] --> main.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 248 | Some((result - WAIT_OBJECT_0) as _) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:254:19 [INFO] [stdout] | [INFO] [stdout] 254 | struct Handle(pub HANDLE); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> main.rs:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | unsafe { CloseHandle(self.0) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:261:14 [INFO] [stdout] | [INFO] [stdout] 261 | struct Event(HANDLE); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateEventW` in this scope [INFO] [stdout] --> main.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | let handle = unsafe { CreateEventW(std::ptr::null_mut(), TRUE, FALSE, std::ptr::null()) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> main.rs:264:66 [INFO] [stdout] | [INFO] [stdout] 264 | let handle = unsafe { CreateEventW(std::ptr::null_mut(), TRUE, FALSE, std::ptr::null()) }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:264:72 [INFO] [stdout] | [INFO] [stdout] 264 | let handle = unsafe { CreateEventW(std::ptr::null_mut(), TRUE, FALSE, std::ptr::null()) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> main.rs:265:22 [INFO] [stdout] | [INFO] [stdout] 265 | if handle == NULL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:271:29 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn handle(&self) -> HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetEvent` in this scope [INFO] [stdout] --> main.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | if unsafe { SetEvent(self.0) } == FALSE { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:276:43 [INFO] [stdout] | [INFO] [stdout] 276 | if unsafe { SetEvent(self.0) } == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> main.rs:283:18 [INFO] [stdout] | [INFO] [stdout] 283 | unsafe { CloseHandle(self.0) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenClipboard` in this scope [INFO] [stdout] --> main.rs:290:31 [INFO] [stdout] | [INFO] [stdout] 287 | struct Clipboard; [INFO] [stdout] | ----------------- similarly named unit struct `Clipboard` defined here [INFO] [stdout] ... [INFO] [stdout] 290 | let result = unsafe { OpenClipboard(std::ptr::null_mut()) }; [INFO] [stdout] | ^^^^^^^^^^^^^ help: a unit struct with a similar name exists: `Clipboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:291:22 [INFO] [stdout] | [INFO] [stdout] 291 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseClipboard` in this scope [INFO] [stdout] --> main.rs:298:31 [INFO] [stdout] | [INFO] [stdout] 298 | let result = unsafe { CloseClipboard() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:299:22 [INFO] [stdout] | [INFO] [stdout] 299 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope [INFO] [stdout] --> main.rs:305:19 [INFO] [stdout] | [INFO] [stdout] 305 | struct Overlapped(OVERLAPPED); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope [INFO] [stdout] --> main.rs:308:58 [INFO] [stdout] | [INFO] [stdout] 306 | impl Overlapped { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 307 | pub fn with_event(event: &Event) -> Self { [INFO] [stdout] 308 | let mut overlapped = unsafe { std::mem::zeroed::() }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope [INFO] [stdout] --> main.rs:313:42 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn as_mut_ptr(&mut self) -> *mut OVERLAPPED { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOverlappedResult` in this scope [INFO] [stdout] --> main.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | GetOverlappedResult( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:358:21 [INFO] [stdout] | [INFO] [stdout] 358 | FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:362:26 [INFO] [stdout] | [INFO] [stdout] 362 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadFile` in this scope [INFO] [stdout] --> main.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | ReadFile( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:390:26 [INFO] [stdout] | [INFO] [stdout] 390 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteFile` in this scope [INFO] [stdout] --> main.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 417 | WriteFile( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:426:26 [INFO] [stdout] | [INFO] [stdout] 426 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DisconnectNamedPipe` in this scope [INFO] [stdout] --> main.rs:452:13 [INFO] [stdout] | [INFO] [stdout] 452 | DisconnectNamedPipe(self.0.handle.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileW` in this scope [INFO] [stdout] --> main.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | CreateFileW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> main.rs:463:17 [INFO] [stdout] | [INFO] [stdout] 463 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stdout] --> main.rs:463:32 [INFO] [stdout] | [INFO] [stdout] 463 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> main.rs:466:17 [INFO] [stdout] | [INFO] [stdout] 466 | OPEN_EXISTING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_FLAG_OVERLAPPED` in this scope [INFO] [stdout] --> main.rs:467:17 [INFO] [stdout] | [INFO] [stdout] 467 | FILE_FLAG_OVERLAPPED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> main.rs:468:17 [INFO] [stdout] | [INFO] [stdout] 468 | NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> main.rs:471:27 [INFO] [stdout] | [INFO] [stdout] 471 | if pipe_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PIPE_READMODE_BYTE` in this scope [INFO] [stdout] --> main.rs:475:24 [INFO] [stdout] | [INFO] [stdout] 475 | let mut mode = PIPE_READMODE_BYTE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetNamedPipeHandleState` in this scope [INFO] [stdout] --> main.rs:477:13 [INFO] [stdout] | [INFO] [stdout] 477 | SetNamedPipeHandleState( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:485:22 [INFO] [stdout] | [INFO] [stdout] 485 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateNamedPipeW` in this scope [INFO] [stdout] --> main.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | CreateNamedPipeW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PIPE_ACCESS_DUPLEX` in this scope [INFO] [stdout] --> main.rs:515:17 [INFO] [stdout] | [INFO] [stdout] 515 | PIPE_ACCESS_DUPLEX | FILE_FLAG_OVERLAPPED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_FLAG_OVERLAPPED` in this scope [INFO] [stdout] --> main.rs:515:38 [INFO] [stdout] | [INFO] [stdout] 515 | PIPE_ACCESS_DUPLEX | FILE_FLAG_OVERLAPPED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PIPE_TYPE_BYTE` in this scope [INFO] [stdout] --> main.rs:516:17 [INFO] [stdout] | [INFO] [stdout] 516 | PIPE_TYPE_BYTE | PIPE_READMODE_BYTE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PIPE_READMODE_BYTE` in this scope [INFO] [stdout] --> main.rs:516:34 [INFO] [stdout] | [INFO] [stdout] 516 | PIPE_TYPE_BYTE | PIPE_READMODE_BYTE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PIPE_UNLIMITED_INSTANCES` in this scope [INFO] [stdout] --> main.rs:517:17 [INFO] [stdout] | [INFO] [stdout] 517 | PIPE_UNLIMITED_INSTANCES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> main.rs:524:27 [INFO] [stdout] | [INFO] [stdout] 524 | if pipe_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ConnectNamedPipe` in this scope [INFO] [stdout] --> main.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | if unsafe { ConnectNamedPipe(pipe.handle.0, pipe.overlapped.as_mut_ptr()) } != FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:531:88 [INFO] [stdout] | [INFO] [stdout] 531 | if unsafe { ConnectNamedPipe(pipe.handle.0, pipe.overlapped.as_mut_ptr()) } != FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:624:23 [INFO] [stdout] | [INFO] [stdout] 623 | struct Events { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 624 | wait_handles: Vec, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClipboardData` in this scope [INFO] [stdout] --> main.rs:708:31 [INFO] [stdout] | [INFO] [stdout] 708 | let handle = unsafe { GetClipboardData(CF_UNICODETEXT) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CF_UNICODETEXT` in this scope [INFO] [stdout] --> main.rs:708:48 [INFO] [stdout] | [INFO] [stdout] 708 | let handle = unsafe { GetClipboardData(CF_UNICODETEXT) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> main.rs:709:22 [INFO] [stdout] | [INFO] [stdout] 709 | if handle == NULL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WideCharToMultiByte` in this scope [INFO] [stdout] --> main.rs:718:13 [INFO] [stdout] | [INFO] [stdout] 718 | WideCharToMultiByte( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CP_UTF8` in this scope [INFO] [stdout] --> main.rs:719:17 [INFO] [stdout] | [INFO] [stdout] 719 | CP_UTF8, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WideCharToMultiByte` in this scope [INFO] [stdout] --> main.rs:737:17 [INFO] [stdout] | [INFO] [stdout] 737 | WideCharToMultiByte( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CP_UTF8` in this scope [INFO] [stdout] --> main.rs:738:21 [INFO] [stdout] | [INFO] [stdout] 738 | CP_UTF8, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MultiByteToWideChar` in this scope [INFO] [stdout] --> main.rs:760:13 [INFO] [stdout] | [INFO] [stdout] 760 | MultiByteToWideChar( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CP_UTF8` in this scope [INFO] [stdout] --> main.rs:761:17 [INFO] [stdout] | [INFO] [stdout] 761 | CP_UTF8, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalAlloc` in this scope [INFO] [stdout] --> main.rs:771:35 [INFO] [stdout] | [INFO] [stdout] 771 | let handle = unsafe { GlobalAlloc(GMEM_MOVEABLE, size as _) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GMEM_MOVEABLE` in this scope [INFO] [stdout] --> main.rs:771:47 [INFO] [stdout] | [INFO] [stdout] 771 | let handle = unsafe { GlobalAlloc(GMEM_MOVEABLE, size as _) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> main.rs:772:26 [INFO] [stdout] | [INFO] [stdout] 772 | if handle == NULL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalFree` in this scope [INFO] [stdout] --> main.rs:778:30 [INFO] [stdout] | [INFO] [stdout] 778 | unsafe { GlobalFree(handle) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MultiByteToWideChar` in this scope [INFO] [stdout] --> main.rs:783:17 [INFO] [stdout] | [INFO] [stdout] 783 | MultiByteToWideChar(CP_UTF8, 0, text.as_ptr() as _, text.len() as _, data, len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CP_UTF8` in this scope [INFO] [stdout] --> main.rs:783:37 [INFO] [stdout] | [INFO] [stdout] 783 | MultiByteToWideChar(CP_UTF8, 0, text.as_ptr() as _, text.len() as _, data, len); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EmptyClipboard` in this scope [INFO] [stdout] --> main.rs:788:22 [INFO] [stdout] | [INFO] [stdout] 788 | unsafe { EmptyClipboard() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetClipboardData` in this scope [INFO] [stdout] --> main.rs:789:35 [INFO] [stdout] | [INFO] [stdout] 789 | let result = unsafe { SetClipboardData(CF_UNICODETEXT, handle) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CF_UNICODETEXT` in this scope [INFO] [stdout] --> main.rs:789:52 [INFO] [stdout] | [INFO] [stdout] 789 | let result = unsafe { SetClipboardData(CF_UNICODETEXT, handle) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> main.rs:790:26 [INFO] [stdout] | [INFO] [stdout] 790 | if result == NULL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalFree` in this scope [INFO] [stdout] --> main.rs:791:26 [INFO] [stdout] | [INFO] [stdout] 791 | unsafe { GlobalFree(handle) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:1005:60 [INFO] [stdout] | [INFO] [stdout] 1005 | fn run_client(args: Args, pipe_path: &[u16], input_handle: HANDLE, output_handle: HANDLE) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> main.rs:1005:83 [INFO] [stdout] | [INFO] [stdout] 1005 | fn run_client(args: Args, pipe_path: &[u16], input_handle: HANDLE, output_handle: HANDLE) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ENABLE_WINDOW_INPUT` in this scope [INFO] [stdout] --> main.rs:1019:36 [INFO] [stdout] | [INFO] [stdout] 1019 | set_console_mode(input_handle, ENABLE_WINDOW_INPUT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ENABLE_PROCESSED_OUTPUT` in this scope [INFO] [stdout] --> main.rs:1023:9 [INFO] [stdout] | [INFO] [stdout] 1023 | ENABLE_PROCESSED_OUTPUT | ENABLE_VIRTUAL_TERMINAL_PROCESSING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ENABLE_VIRTUAL_TERMINAL_PROCESSING` in this scope [INFO] [stdout] --> main.rs:1023:35 [INFO] [stdout] | [INFO] [stdout] 1023 | ENABLE_PROCESSED_OUTPUT | ENABLE_VIRTUAL_TERMINAL_PROCESSING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> main.rs:1053:50 [INFO] [stdout] | [INFO] [stdout] 1053 | ... if event.bKeyDown == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F1` in this scope [INFO] [stdout] --> main.rs:1077:33 [INFO] [stdout] | [INFO] [stdout] 1077 | ... VK_F1..=VK_F24 => Key::F((keycode - VK_F1 + 1) as _), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F24` in this scope [INFO] [stdout] --> main.rs:1077:41 [INFO] [stdout] | [INFO] [stdout] 1077 | ... VK_F1..=VK_F24 => Key::F((keycode - VK_F1 + 1) as _), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F1` in this scope [INFO] [stdout] --> main.rs:1077:69 [INFO] [stdout] | [INFO] [stdout] 1077 | ... VK_F1..=VK_F24 => Key::F((keycode - VK_F1 + 1) as _), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> main.rs:1088:61 [INFO] [stdout] | [INFO] [stdout] 1088 | ... const ALT_PRESSED_MASK: DWORD = [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEFT_ALT_PRESSED` in this scope [INFO] [stdout] --> main.rs:1089:41 [INFO] [stdout] | [INFO] [stdout] 1089 | ... LEFT_ALT_PRESSED | RIGHT_ALT_PRESSED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIGHT_ALT_PRESSED` in this scope [INFO] [stdout] --> main.rs:1089:60 [INFO] [stdout] | [INFO] [stdout] 1089 | ... LEFT_ALT_PRESSED | RIGHT_ALT_PRESSED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> main.rs:1090:62 [INFO] [stdout] | [INFO] [stdout] 1090 | ... const CTRL_PRESSED_MASK: DWORD = [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEFT_CTRL_PRESSED` in this scope [INFO] [stdout] --> main.rs:1091:41 [INFO] [stdout] | [INFO] [stdout] 1091 | ... LEFT_CTRL_PRESSED | RIGHT_CTRL_PRESSED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIGHT_CTRL_PRESSED` in this scope [INFO] [stdout] --> main.rs:1091:61 [INFO] [stdout] | [INFO] [stdout] 1091 | ... LEFT_CTRL_PRESSED | RIGHT_CTRL_PRESSED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_handle` found for reference `&ChildStdout` in the current scope [INFO] [stdout] --> main.rs:596:35 [INFO] [stdout] | [INFO] [stdout] 596 | .map(|s| Handle(s.as_raw_handle() as _)), [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&ChildStdout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_handle` found for reference `&ChildStderr` in the current scope [INFO] [stdout] --> main.rs:603:35 [INFO] [stdout] | [INFO] [stdout] 603 | .map(|s| Handle(s.as_raw_handle() as _)), [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&ChildStderr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> main.rs:624:5 [INFO] [stdout] | [INFO] [stdout] 624 | wait_handles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 152 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pepper-win` [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] [stdout] error[E0599]: no method named `as_raw_handle` found for reference `&ChildStdout` in the current scope [INFO] [stdout] --> main.rs:596:35 [INFO] [stdout] | [INFO] [stdout] 596 | .map(|s| Handle(s.as_raw_handle() as _)), [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&ChildStdout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_handle` found for reference `&ChildStderr` in the current scope [INFO] [stdout] --> main.rs:603:35 [INFO] [stdout] | [INFO] [stdout] 603 | .map(|s| Handle(s.as_raw_handle() as _)), [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&ChildStderr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> main.rs:624:5 [INFO] [stdout] | [INFO] [stdout] 624 | wait_handles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 152 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "774e4b46d15e5b5b70883f0782f49b1cbd48ae7f5a916b1fdec1eb7dc2be7e58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "774e4b46d15e5b5b70883f0782f49b1cbd48ae7f5a916b1fdec1eb7dc2be7e58", kill_on_drop: false }` [INFO] [stdout] 774e4b46d15e5b5b70883f0782f49b1cbd48ae7f5a916b1fdec1eb7dc2be7e58