[INFO] fetching crate rustyConsoleGameEngine 0.1.0... [INFO] checking rustyConsoleGameEngine-0.1.0 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate rustyConsoleGameEngine 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate rustyConsoleGameEngine 0.1.0 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustyConsoleGameEngine 0.1.0 [INFO] finished tweaking crates.io crate rustyConsoleGameEngine 0.1.0 [INFO] tweaked toml for crates.io crate rustyConsoleGameEngine 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate rustyConsoleGameEngine 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d172c6713ce79741576a299d51d93b3ca53e798caed0f7c9a2f869e5311cf24 [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" "9d172c6713ce79741576a299d51d93b3ca53e798caed0f7c9a2f869e5311cf24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d172c6713ce79741576a299d51d93b3ca53e798caed0f7c9a2f869e5311cf24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d172c6713ce79741576a299d51d93b3ca53e798caed0f7c9a2f869e5311cf24", kill_on_drop: false }` [INFO] [stdout] 9d172c6713ce79741576a299d51d93b3ca53e798caed0f7c9a2f869e5311cf24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ac3735c4fde9b0d9112bf69575d2e27e9be3debf8728d6a5cb89a4c91739bef9 [INFO] running `Command { std: "docker" "start" "-a" "ac3735c4fde9b0d9112bf69575d2e27e9be3debf8728d6a5cb89a4c91739bef9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking widestring v0.4.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking rustyConsoleGameEngine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::ctypes:: { wchar_t }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::{ BOOL, TRUE, FALSE }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::processenv::GetStdHandle; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winbase::{ lstrcpyW, STD_OUTPUT_HANDLE, STD_INPUT_HANDLE }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::wincon::{ GetConsoleScreenBufferInfo, SetCurrentConsoleFontEx, SetConsoleWindowInfo, SetConsoleScreenBufferSize, SetConso... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::wincontypes::{ CHAR_INFO, CHAR_INFO_Char, COORD, PSMALL_RECT, SMALL_RECT }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::wingdi::{ FF_DONTCARE, FW_NORMAL }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winnt::{ HANDLE, WCHAR, SHORT, LPCWSTR, LPWSTR }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winuser::wsprintfW; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::ctypes:: { wchar_t }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::{ BOOL, TRUE, FALSE }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::processenv::GetStdHandle; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winbase::{ lstrcpyW, STD_OUTPUT_HANDLE, STD_INPUT_HANDLE }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::wincon::{ GetConsoleScreenBufferInfo, SetCurrentConsoleFontEx, SetConsoleWindowInfo, SetConsoleScreenBufferSize, SetConso... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::wincontypes::{ CHAR_INFO, CHAR_INFO_Char, COORD, PSMALL_RECT, SMALL_RECT }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::wingdi::{ FF_DONTCARE, FW_NORMAL }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winnt::{ HANDLE, WCHAR, SHORT, LPCWSTR, LPWSTR }; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winuser::wsprintfW; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CHAR_INFO_Char` [INFO] [stdout] --> src/lib.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | Char: CHAR_INFO_Char::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CHAR_INFO_Char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `COORD` [INFO] [stdout] --> src/lib.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | dwFontSize: COORD::empty(), [INFO] [stdout] | ^^^^^ use of undeclared type `COORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `COORD` [INFO] [stdout] --> src/lib.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | dwSize: COORD::empty(), [INFO] [stdout] | ^^^^^ use of undeclared type `COORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `COORD` [INFO] [stdout] --> src/lib.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | dwCursorPosition: COORD::empty(), [INFO] [stdout] | ^^^^^ use of undeclared type `COORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CHAR_INFO_Char` [INFO] [stdout] --> src/lib.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | Char: CHAR_INFO_Char::empty(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CHAR_INFO_Char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SMALL_RECT` [INFO] [stdout] --> src/lib.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | srWindow: SMALL_RECT::empty(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SMALL_RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `COORD` [INFO] [stdout] --> src/lib.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | dwMaximumWindowSize: COORD::empty(), [INFO] [stdout] | ^^^^^ use of undeclared type `COORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SMALL_RECT` [INFO] [stdout] --> src/lib.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | let rect_window = SMALL_RECT::empty(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SMALL_RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CONSOLE_FONT_INFOEX` [INFO] [stdout] --> src/lib.rs:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | let mut font_cfi = CONSOLE_FONT_INFOEX::empty(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CONSOLE_FONT_INFOEX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `COORD` [INFO] [stdout] --> src/lib.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | dwFontSize: COORD::empty(), [INFO] [stdout] | ^^^^^ use of undeclared type `COORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CONSOLE_SCREEN_BUFFER_INFO` [INFO] [stdout] --> src/lib.rs:186:38 [INFO] [stdout] | [INFO] [stdout] 186 | let mut screen_buffer_csbi = CONSOLE_SCREEN_BUFFER_INFO::empty(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CONSOLE_SCREEN_BUFFER_INFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `COORD` [INFO] [stdout] --> src/lib.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | dwSize: COORD::empty(), [INFO] [stdout] | ^^^^^ use of undeclared type `COORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `COORD` [INFO] [stdout] --> src/lib.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | dwCursorPosition: COORD::empty(), [INFO] [stdout] | ^^^^^ use of undeclared type `COORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CHAR_INFO` [INFO] [stdout] --> src/lib.rs:208:33 [INFO] [stdout] | [INFO] [stdout] 208 | self.text_buffer = vec![CHAR_INFO::empty(); (self.screen_width * self.screen_height).try_into().unwrap()]; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CHAR_INFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SMALL_RECT` [INFO] [stdout] --> src/lib.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | srWindow: SMALL_RECT::empty(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SMALL_RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `COORD` [INFO] [stdout] --> src/lib.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | dwMaximumWindowSize: COORD::empty(), [INFO] [stdout] | ^^^^^ use of undeclared type `COORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SMALL_RECT` [INFO] [stdout] --> src/lib.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | let rect_window = SMALL_RECT::empty(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SMALL_RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CONSOLE_FONT_INFOEX` [INFO] [stdout] --> src/lib.rs:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | let mut font_cfi = CONSOLE_FONT_INFOEX::empty(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CONSOLE_FONT_INFOEX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CONSOLE_SCREEN_BUFFER_INFO` [INFO] [stdout] --> src/lib.rs:186:38 [INFO] [stdout] | [INFO] [stdout] 186 | let mut screen_buffer_csbi = CONSOLE_SCREEN_BUFFER_INFO::empty(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CONSOLE_SCREEN_BUFFER_INFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CHAR_INFO` [INFO] [stdout] --> src/lib.rs:208:33 [INFO] [stdout] | [INFO] [stdout] 208 | self.text_buffer = vec![CHAR_INFO::empty(); (self.screen_width * self.screen_height).try_into().unwrap()]; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CHAR_INFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CHAR_INFO_Char` [INFO] [stdout] --> src/lib.rs:315:47 [INFO] [stdout] | [INFO] [stdout] 315 | let mut chr: CHAR_INFO_Char = CHAR_INFO_Char::empty(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CHAR_INFO_Char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO` in this scope [INFO] [stdout] --> src/lib.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | impl Empty for CHAR_INFO { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO` in this scope [INFO] [stdout] --> src/lib.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | fn empty() -> CHAR_INFO { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CHAR_INFO` in this scope [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | CHAR_INFO { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO_Char` in this scope [INFO] [stdout] --> src/lib.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | impl Empty for CHAR_INFO_Char { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO_Char` in this scope [INFO] [stdout] --> src/lib.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | fn empty() -> CHAR_INFO_Char { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO_Char` in this scope [INFO] [stdout] --> src/lib.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | let mut char_struct_char: CHAR_INFO_Char = unsafe { zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COORD` in this scope [INFO] [stdout] --> src/lib.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | impl Empty for COORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COORD` in this scope [INFO] [stdout] --> src/lib.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | fn empty() -> COORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | COORD { X: 0, Y: 0 } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_FONT_INFOEX` in this scope [INFO] [stdout] --> src/lib.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | impl Empty for CONSOLE_FONT_INFOEX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_FONT_INFOEX` in this scope [INFO] [stdout] --> src/lib.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | fn empty() -> CONSOLE_FONT_INFOEX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CONSOLE_FONT_INFOEX` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | CONSOLE_FONT_INFOEX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stdout] --> src/lib.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | FaceName: [0 as WCHAR; 32], [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_SCREEN_BUFFER_INFO` in this scope [INFO] [stdout] --> src/lib.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | impl Empty for CONSOLE_SCREEN_BUFFER_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_SCREEN_BUFFER_INFO` in this scope [INFO] [stdout] --> src/lib.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | fn empty() -> CONSOLE_SCREEN_BUFFER_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CONSOLE_SCREEN_BUFFER_INFO` in this scope [INFO] [stdout] --> src/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | CONSOLE_SCREEN_BUFFER_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SMALL_RECT` in this scope [INFO] [stdout] --> src/lib.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | impl Empty for SMALL_RECT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SMALL_RECT` in this scope [INFO] [stdout] --> src/lib.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | fn empty() -> SMALL_RECT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SMALL_RECT` in this scope [INFO] [stdout] --> src/lib.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | SMALL_RECT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | console_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] --> src/lib.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | console_handle_in: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SMALL_RECT` in this scope [INFO] [stdout] --> src/lib.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | rect_window: SMALL_RECT, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO` in this scope [INFO] [stdout] --> src/lib.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct OlcConsoleGameEngine { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 101 | pub text_buffer: Vec, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStdHandle` in this scope [INFO] [stdout] --> src/lib.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | let output_handle = unsafe{ GetStdHandle(STD_OUTPUT_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] --> src/lib.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | let output_handle = unsafe{ GetStdHandle(STD_OUTPUT_HANDLE) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStdHandle` in this scope [INFO] [stdout] --> src/lib.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | let input_handle = unsafe{ GetStdHandle(STD_INPUT_HANDLE) }; [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] --> src/lib.rs:113:49 [INFO] [stdout] | [INFO] [stdout] 113 | let input_handle = unsafe{ GetStdHandle(STD_INPUT_HANDLE) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO` in this scope [INFO] [stdout] --> src/lib.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 106 | impl OlcConsoleGameEngine { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 115 | let window_buffer: Vec = Vec::new(); [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] --> src/lib.rs:135:35 [INFO] [stdout] | [INFO] [stdout] 135 | if self.console_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SMALL_RECT` in this scope [INFO] [stdout] --> src/lib.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | self.rect_window = SMALL_RECT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:152:59 [INFO] [stdout] | [INFO] [stdout] 152 | self.set_console_window_info(self.console_handle, TRUE, &self.rect_window).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/lib.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | let coord = COORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_FONT_INFOEX` in this scope [INFO] [stdout] --> src/lib.rs:167:37 [INFO] [stdout] | [INFO] [stdout] 106 | impl OlcConsoleGameEngine { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 167 | font_cfi.cbSize = size_of::().try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FF_DONTCARE` in this scope [INFO] [stdout] --> src/lib.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 171 | font_cfi.FontFamily = FF_DONTCARE; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FW_NORMAL` in this scope [INFO] [stdout] --> src/lib.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | font_cfi.FontWeight = FW_NORMAL.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:183:63 [INFO] [stdout] | [INFO] [stdout] 183 | self.set_current_console_font_ex(self.console_handle, FALSE, &mut font_cfi).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SMALL_RECT` in this scope [INFO] [stdout] --> src/lib.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 195 | self.rect_window = SMALL_RECT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:202:59 [INFO] [stdout] | [INFO] [stdout] 202 | self.set_console_window_info(self.console_handle, TRUE, &self.rect_window).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:219:62 [INFO] [stdout] | [INFO] [stdout] 219 | fn get_console_screen_buffer_info(&self, console_handle: HANDLE, buffer_struct: PCONSOLE_SCREEN_BUFFER_INFO) -> Result src/lib.rs:219:85 [INFO] [stdout] | [INFO] [stdout] 219 | ..., console_handle: HANDLE, buffer_struct: PCONSOLE_SCREEN_BUFFER_INFO) -> Result { [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] --> src/lib.rs:220:43 [INFO] [stdout] | [INFO] [stdout] 220 | let screen_buffer_info = unsafe { GetConsoleScreenBufferInfo(console_handle, buffer_struct) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:229:64 [INFO] [stdout] | [INFO] [stdout] 229 | fn set_console_active_screen_buffer(&self, console_handle: HANDLE) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleActiveScreenBuffer` in this scope [INFO] [stdout] --> src/lib.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 230 | let active_buffer = unsafe { SetConsoleActiveScreenBuffer(console_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] --> src/lib.rs:239:62 [INFO] [stdout] | [INFO] [stdout] 239 | fn set_console_screen_buffer_size(&self, console_handle: HANDLE, size: COORD) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COORD` in this scope [INFO] [stdout] --> src/lib.rs:239:76 [INFO] [stdout] | [INFO] [stdout] 239 | fn set_console_screen_buffer_size(&self, console_handle: HANDLE, size: COORD) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleScreenBufferSize` in this scope [INFO] [stdout] --> src/lib.rs:240:33 [INFO] [stdout] | [INFO] [stdout] 240 | let set_size = unsafe { SetConsoleScreenBufferSize(console_handle, size) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:249:48 [INFO] [stdout] | [INFO] [stdout] 249 | fn set_console_title(&self, console_title: LPCWSTR) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleTitleW` in this scope [INFO] [stdout] --> src/lib.rs:250:37 [INFO] [stdout] | [INFO] [stdout] 250 | let title_string = unsafe { SetConsoleTitleW(console_title) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:259:55 [INFO] [stdout] | [INFO] [stdout] 259 | fn set_console_window_info(&self, console_handle: HANDLE, absolute: BOOL, rect_struct: *const SMALL_RECT) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:259:73 [INFO] [stdout] | [INFO] [stdout] 259 | fn set_console_window_info(&self, console_handle: HANDLE, absolute: BOOL, rect_struct: *const SMALL_RECT) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SMALL_RECT` in this scope [INFO] [stdout] --> src/lib.rs:259:99 [INFO] [stdout] | [INFO] [stdout] 259 | fn set_console_window_info(&self, console_handle: HANDLE, absolute: BOOL, rect_struct: *const SMALL_RECT) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleWindowInfo` in this scope [INFO] [stdout] --> src/lib.rs:260:36 [INFO] [stdout] | [INFO] [stdout] 260 | let window_info = unsafe { SetConsoleWindowInfo(console_handle, absolute, rect_struct) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:269:59 [INFO] [stdout] | [INFO] [stdout] 269 | fn set_current_console_font_ex(&self, console_handle: HANDLE, max_window: BOOL, font_struct: PCONSOLE_FONT_INFOEX) -> Result src/lib.rs:269:79 [INFO] [stdout] | [INFO] [stdout] 269 | fn set_current_console_font_ex(&self, console_handle: HANDLE, max_window: BOOL, font_struct: PCONSOLE_FONT_INFOEX) -> Result src/lib.rs:269:98 [INFO] [stdout] | [INFO] [stdout] 269 | ...ndle: HANDLE, max_window: BOOL, font_struct: PCONSOLE_FONT_INFOEX) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCurrentConsoleFontEx` in this scope [INFO] [stdout] --> src/lib.rs:270:33 [INFO] [stdout] | [INFO] [stdout] 270 | let set_font = unsafe { SetCurrentConsoleFontEx(console_handle, max_window, font_struct) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/lib.rs:280:39 [INFO] [stdout] | [INFO] [stdout] 280 | fn set_face_name(&self, string_1: LPWSTR, string_2: LPCWSTR) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:280:57 [INFO] [stdout] | [INFO] [stdout] 280 | fn set_face_name(&self, string_1: LPWSTR, string_2: LPCWSTR) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lstrcpyW` in this scope [INFO] [stdout] --> src/lib.rs:281:18 [INFO] [stdout] | [INFO] [stdout] 281 | unsafe { lstrcpyW(string_1, string_2) }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_SCREEN_BUFFER_INFO` in this scope [INFO] [stdout] --> src/lib.rs:284:52 [INFO] [stdout] | [INFO] [stdout] 284 | fn validate_window_size(&self, buffer_struct: &CONSOLE_SCREEN_BUFFER_INFO) -> Result<&'static str, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:294:52 [INFO] [stdout] | [INFO] [stdout] 294 | fn write_console_output(&self, console_handle: HANDLE, buffer: *const CHAR_INFO, buffer_size: COORD, buffer_coord: COORD, write_regio... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO` in this scope [INFO] [stdout] --> src/lib.rs:294:75 [INFO] [stdout] | [INFO] [stdout] 294 | fn write_console_output(&self, console_handle: HANDLE, buffer: *const CHAR_INFO, buffer_size: COORD, buffer_coord: COORD, write_regio... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COORD` in this scope [INFO] [stdout] --> src/lib.rs:294:99 [INFO] [stdout] | [INFO] [stdout] 294 | fn write_console_output(&self, console_handle: HANDLE, buffer: *const CHAR_INFO, buffer_size: COORD, buffer_coord: COORD, write_regio... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COORD` in this scope [INFO] [stdout] --> src/lib.rs:294:120 [INFO] [stdout] | [INFO] [stdout] 294 | ...*const CHAR_INFO, buffer_size: COORD, buffer_coord: COORD, write_region: PSMALL_RECT) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PSMALL_RECT` in this scope [INFO] [stdout] --> src/lib.rs:294:141 [INFO] [stdout] | [INFO] [stdout] 294 | ..._size: COORD, buffer_coord: COORD, write_region: PSMALL_RECT) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteConsoleOutputW` in this scope [INFO] [stdout] --> src/lib.rs:295:38 [INFO] [stdout] | [INFO] [stdout] 295 | let buffer_output = unsafe { WriteConsoleOutputW(console_handle, buffer, buffer_size, buffer_coord, write_region) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHORT` in this scope [INFO] [stdout] --> src/lib.rs:312:51 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn draw(&mut self, x: usize, y: usize, c: SHORT, col: SHORT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHORT` in this scope [INFO] [stdout] --> src/lib.rs:312:63 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn draw(&mut self, x: usize, y: usize, c: SHORT, col: SHORT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO_Char` in this scope [INFO] [stdout] --> src/lib.rs:315:30 [INFO] [stdout] | [INFO] [stdout] 315 | let mut chr: CHAR_INFO_Char = CHAR_INFO_Char::empty(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHORT` in this scope [INFO] [stdout] --> src/lib.rs:325:66 [INFO] [stdout] | [INFO] [stdout] 325 | fn draw_circle(&mut self, xc: usize, yc: usize, r: usize, c: SHORT, col: SHORT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHORT` in this scope [INFO] [stdout] --> src/lib.rs:325:78 [INFO] [stdout] | [INFO] [stdout] 325 | fn draw_circle(&mut self, xc: usize, yc: usize, r: usize, c: SHORT, col: SHORT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHORT` in this scope [INFO] [stdout] --> src/lib.rs:354:72 [INFO] [stdout] | [INFO] [stdout] 354 | fn draw_line(&mut self, x_1: i16, y_1: i16, x_2: i16, y_2: i16, c: SHORT, col: SHORT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHORT` in this scope [INFO] [stdout] --> src/lib.rs:354:84 [INFO] [stdout] | [INFO] [stdout] 354 | fn draw_line(&mut self, x_1: i16, y_1: i16, x_2: i16, y_2: i16, c: SHORT, col: SHORT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHORT` in this scope [INFO] [stdout] --> src/lib.rs:452:79 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn fill(&mut self, x_1: usize, y_1: usize, x_2: usize, y_2: usize, c: SHORT, col: SHORT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHORT` in this scope [INFO] [stdout] --> src/lib.rs:452:91 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn fill(&mut self, x_1: usize, y_1: usize, x_2: usize, y_2: usize, c: SHORT, col: SHORT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `wchar_t` in this scope [INFO] [stdout] --> src/lib.rs:478:21 [INFO] [stdout] | [INFO] [stdout] 478 | let mut s: [wchar_t; 256] = [0; 256]; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wsprintfW` in this scope [INFO] [stdout] --> src/lib.rs:513:21 [INFO] [stdout] | [INFO] [stdout] 513 | wsprintfW(s_ptr, w_ptr); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/lib.rs:517:95 [INFO] [stdout] | [INFO] [stdout] 517 | ... self.write_console_output(self.console_handle, self.text_buffer.as_ptr(), COORD {X: self.screen_width, Y: self.screen_height}, COOR... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/lib.rs:517:148 [INFO] [stdout] | [INFO] [stdout] 517 | ...OORD {X: self.screen_width, Y: self.screen_height}, COORD { X:0, Y:0 }, rect_ptr).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/lib.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time:: { Duration, Instant }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CHAR_INFO_Char` [INFO] [stdout] --> src/lib.rs:315:47 [INFO] [stdout] | [INFO] [stdout] 315 | let mut chr: CHAR_INFO_Char = CHAR_INFO_Char::empty(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CHAR_INFO_Char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO` in this scope [INFO] [stdout] --> src/lib.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | impl Empty for CHAR_INFO { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO` in this scope [INFO] [stdout] --> src/lib.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | fn empty() -> CHAR_INFO { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CHAR_INFO` in this scope [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | CHAR_INFO { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO_Char` in this scope [INFO] [stdout] --> src/lib.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | impl Empty for CHAR_INFO_Char { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO_Char` in this scope [INFO] [stdout] --> src/lib.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | fn empty() -> CHAR_INFO_Char { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO_Char` in this scope [INFO] [stdout] --> src/lib.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | let mut char_struct_char: CHAR_INFO_Char = unsafe { zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COORD` in this scope [INFO] [stdout] --> src/lib.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | impl Empty for COORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COORD` in this scope [INFO] [stdout] --> src/lib.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | fn empty() -> COORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | COORD { X: 0, Y: 0 } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_FONT_INFOEX` in this scope [INFO] [stdout] --> src/lib.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | impl Empty for CONSOLE_FONT_INFOEX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_FONT_INFOEX` in this scope [INFO] [stdout] --> src/lib.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | fn empty() -> CONSOLE_FONT_INFOEX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CONSOLE_FONT_INFOEX` in this scope [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | CONSOLE_FONT_INFOEX { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stdout] --> src/lib.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | FaceName: [0 as WCHAR; 32], [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_SCREEN_BUFFER_INFO` in this scope [INFO] [stdout] --> src/lib.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | impl Empty for CONSOLE_SCREEN_BUFFER_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_SCREEN_BUFFER_INFO` in this scope [INFO] [stdout] --> src/lib.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | fn empty() -> CONSOLE_SCREEN_BUFFER_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CONSOLE_SCREEN_BUFFER_INFO` in this scope [INFO] [stdout] --> src/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | CONSOLE_SCREEN_BUFFER_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SMALL_RECT` in this scope [INFO] [stdout] --> src/lib.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | impl Empty for SMALL_RECT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SMALL_RECT` in this scope [INFO] [stdout] --> src/lib.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | fn empty() -> SMALL_RECT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SMALL_RECT` in this scope [INFO] [stdout] --> src/lib.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | SMALL_RECT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | console_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] --> src/lib.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | console_handle_in: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SMALL_RECT` in this scope [INFO] [stdout] --> src/lib.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | rect_window: SMALL_RECT, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO` in this scope [INFO] [stdout] --> src/lib.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct OlcConsoleGameEngine { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 101 | pub text_buffer: Vec, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStdHandle` in this scope [INFO] [stdout] --> src/lib.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | let output_handle = unsafe{ GetStdHandle(STD_OUTPUT_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] --> src/lib.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | let output_handle = unsafe{ GetStdHandle(STD_OUTPUT_HANDLE) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStdHandle` in this scope [INFO] [stdout] --> src/lib.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | let input_handle = unsafe{ GetStdHandle(STD_INPUT_HANDLE) }; [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] --> src/lib.rs:113:49 [INFO] [stdout] | [INFO] [stdout] 113 | let input_handle = unsafe{ GetStdHandle(STD_INPUT_HANDLE) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO` in this scope [INFO] [stdout] --> src/lib.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 106 | impl OlcConsoleGameEngine { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 115 | let window_buffer: Vec = Vec::new(); [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] --> src/lib.rs:135:35 [INFO] [stdout] | [INFO] [stdout] 135 | if self.console_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SMALL_RECT` in this scope [INFO] [stdout] --> src/lib.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | self.rect_window = SMALL_RECT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:152:59 [INFO] [stdout] | [INFO] [stdout] 152 | self.set_console_window_info(self.console_handle, TRUE, &self.rect_window).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/lib.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | let coord = COORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_FONT_INFOEX` in this scope [INFO] [stdout] --> src/lib.rs:167:37 [INFO] [stdout] | [INFO] [stdout] 106 | impl OlcConsoleGameEngine { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 167 | font_cfi.cbSize = size_of::().try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FF_DONTCARE` in this scope [INFO] [stdout] --> src/lib.rs:171:31 [INFO] [stdout] | [INFO] [stdout] 171 | font_cfi.FontFamily = FF_DONTCARE; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FW_NORMAL` in this scope [INFO] [stdout] --> src/lib.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | font_cfi.FontWeight = FW_NORMAL.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:183:63 [INFO] [stdout] | [INFO] [stdout] 183 | self.set_current_console_font_ex(self.console_handle, FALSE, &mut font_cfi).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SMALL_RECT` in this scope [INFO] [stdout] --> src/lib.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 195 | self.rect_window = SMALL_RECT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:202:59 [INFO] [stdout] | [INFO] [stdout] 202 | self.set_console_window_info(self.console_handle, TRUE, &self.rect_window).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:219:62 [INFO] [stdout] | [INFO] [stdout] 219 | fn get_console_screen_buffer_info(&self, console_handle: HANDLE, buffer_struct: PCONSOLE_SCREEN_BUFFER_INFO) -> Result src/lib.rs:219:85 [INFO] [stdout] | [INFO] [stdout] 219 | ..., console_handle: HANDLE, buffer_struct: PCONSOLE_SCREEN_BUFFER_INFO) -> Result { [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] --> src/lib.rs:220:43 [INFO] [stdout] | [INFO] [stdout] 220 | let screen_buffer_info = unsafe { GetConsoleScreenBufferInfo(console_handle, buffer_struct) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:229:64 [INFO] [stdout] | [INFO] [stdout] 229 | fn set_console_active_screen_buffer(&self, console_handle: HANDLE) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleActiveScreenBuffer` in this scope [INFO] [stdout] --> src/lib.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 230 | let active_buffer = unsafe { SetConsoleActiveScreenBuffer(console_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] --> src/lib.rs:239:62 [INFO] [stdout] | [INFO] [stdout] 239 | fn set_console_screen_buffer_size(&self, console_handle: HANDLE, size: COORD) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COORD` in this scope [INFO] [stdout] --> src/lib.rs:239:76 [INFO] [stdout] | [INFO] [stdout] 239 | fn set_console_screen_buffer_size(&self, console_handle: HANDLE, size: COORD) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleScreenBufferSize` in this scope [INFO] [stdout] --> src/lib.rs:240:33 [INFO] [stdout] | [INFO] [stdout] 240 | let set_size = unsafe { SetConsoleScreenBufferSize(console_handle, size) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:249:48 [INFO] [stdout] | [INFO] [stdout] 249 | fn set_console_title(&self, console_title: LPCWSTR) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleTitleW` in this scope [INFO] [stdout] --> src/lib.rs:250:37 [INFO] [stdout] | [INFO] [stdout] 250 | let title_string = unsafe { SetConsoleTitleW(console_title) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:259:55 [INFO] [stdout] | [INFO] [stdout] 259 | fn set_console_window_info(&self, console_handle: HANDLE, absolute: BOOL, rect_struct: *const SMALL_RECT) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:259:73 [INFO] [stdout] | [INFO] [stdout] 259 | fn set_console_window_info(&self, console_handle: HANDLE, absolute: BOOL, rect_struct: *const SMALL_RECT) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SMALL_RECT` in this scope [INFO] [stdout] --> src/lib.rs:259:99 [INFO] [stdout] | [INFO] [stdout] 259 | fn set_console_window_info(&self, console_handle: HANDLE, absolute: BOOL, rect_struct: *const SMALL_RECT) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleWindowInfo` in this scope [INFO] [stdout] --> src/lib.rs:260:36 [INFO] [stdout] | [INFO] [stdout] 260 | let window_info = unsafe { SetConsoleWindowInfo(console_handle, absolute, rect_struct) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:269:59 [INFO] [stdout] | [INFO] [stdout] 269 | fn set_current_console_font_ex(&self, console_handle: HANDLE, max_window: BOOL, font_struct: PCONSOLE_FONT_INFOEX) -> Result src/lib.rs:269:79 [INFO] [stdout] | [INFO] [stdout] 269 | fn set_current_console_font_ex(&self, console_handle: HANDLE, max_window: BOOL, font_struct: PCONSOLE_FONT_INFOEX) -> Result src/lib.rs:269:98 [INFO] [stdout] | [INFO] [stdout] 269 | ...ndle: HANDLE, max_window: BOOL, font_struct: PCONSOLE_FONT_INFOEX) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCurrentConsoleFontEx` in this scope [INFO] [stdout] --> src/lib.rs:270:33 [INFO] [stdout] | [INFO] [stdout] 270 | let set_font = unsafe { SetCurrentConsoleFontEx(console_handle, max_window, font_struct) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/lib.rs:280:39 [INFO] [stdout] | [INFO] [stdout] 280 | fn set_face_name(&self, string_1: LPWSTR, string_2: LPCWSTR) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:280:57 [INFO] [stdout] | [INFO] [stdout] 280 | fn set_face_name(&self, string_1: LPWSTR, string_2: LPCWSTR) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lstrcpyW` in this scope [INFO] [stdout] --> src/lib.rs:281:18 [INFO] [stdout] | [INFO] [stdout] 281 | unsafe { lstrcpyW(string_1, string_2) }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_SCREEN_BUFFER_INFO` in this scope [INFO] [stdout] --> src/lib.rs:284:52 [INFO] [stdout] | [INFO] [stdout] 284 | fn validate_window_size(&self, buffer_struct: &CONSOLE_SCREEN_BUFFER_INFO) -> Result<&'static str, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:294:52 [INFO] [stdout] | [INFO] [stdout] 294 | fn write_console_output(&self, console_handle: HANDLE, buffer: *const CHAR_INFO, buffer_size: COORD, buffer_coord: COORD, write_regio... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO` in this scope [INFO] [stdout] --> src/lib.rs:294:75 [INFO] [stdout] | [INFO] [stdout] 294 | fn write_console_output(&self, console_handle: HANDLE, buffer: *const CHAR_INFO, buffer_size: COORD, buffer_coord: COORD, write_regio... [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COORD` in this scope [INFO] [stdout] --> src/lib.rs:294:99 [INFO] [stdout] | [INFO] [stdout] 294 | fn write_console_output(&self, console_handle: HANDLE, buffer: *const CHAR_INFO, buffer_size: COORD, buffer_coord: COORD, write_regio... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COORD` in this scope [INFO] [stdout] --> src/lib.rs:294:120 [INFO] [stdout] | [INFO] [stdout] 294 | ...*const CHAR_INFO, buffer_size: COORD, buffer_coord: COORD, write_region: PSMALL_RECT) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PSMALL_RECT` in this scope [INFO] [stdout] --> src/lib.rs:294:141 [INFO] [stdout] | [INFO] [stdout] 294 | ..._size: COORD, buffer_coord: COORD, write_region: PSMALL_RECT) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteConsoleOutputW` in this scope [INFO] [stdout] --> src/lib.rs:295:38 [INFO] [stdout] | [INFO] [stdout] 295 | let buffer_output = unsafe { WriteConsoleOutputW(console_handle, buffer, buffer_size, buffer_coord, write_region) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHORT` in this scope [INFO] [stdout] --> src/lib.rs:312:51 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn draw(&mut self, x: usize, y: usize, c: SHORT, col: SHORT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHORT` in this scope [INFO] [stdout] --> src/lib.rs:312:63 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn draw(&mut self, x: usize, y: usize, c: SHORT, col: SHORT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CHAR_INFO_Char` in this scope [INFO] [stdout] --> src/lib.rs:315:30 [INFO] [stdout] | [INFO] [stdout] 315 | let mut chr: CHAR_INFO_Char = CHAR_INFO_Char::empty(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHORT` in this scope [INFO] [stdout] --> src/lib.rs:325:66 [INFO] [stdout] | [INFO] [stdout] 325 | fn draw_circle(&mut self, xc: usize, yc: usize, r: usize, c: SHORT, col: SHORT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHORT` in this scope [INFO] [stdout] --> src/lib.rs:325:78 [INFO] [stdout] | [INFO] [stdout] 325 | fn draw_circle(&mut self, xc: usize, yc: usize, r: usize, c: SHORT, col: SHORT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHORT` in this scope [INFO] [stdout] --> src/lib.rs:354:72 [INFO] [stdout] | [INFO] [stdout] 354 | fn draw_line(&mut self, x_1: i16, y_1: i16, x_2: i16, y_2: i16, c: SHORT, col: SHORT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHORT` in this scope [INFO] [stdout] --> src/lib.rs:354:84 [INFO] [stdout] | [INFO] [stdout] 354 | fn draw_line(&mut self, x_1: i16, y_1: i16, x_2: i16, y_2: i16, c: SHORT, col: SHORT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHORT` in this scope [INFO] [stdout] --> src/lib.rs:452:79 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn fill(&mut self, x_1: usize, y_1: usize, x_2: usize, y_2: usize, c: SHORT, col: SHORT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHORT` in this scope [INFO] [stdout] --> src/lib.rs:452:91 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn fill(&mut self, x_1: usize, y_1: usize, x_2: usize, y_2: usize, c: SHORT, col: SHORT) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `wchar_t` in this scope [INFO] [stdout] --> src/lib.rs:478:21 [INFO] [stdout] | [INFO] [stdout] 478 | let mut s: [wchar_t; 256] = [0; 256]; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wsprintfW` in this scope [INFO] [stdout] --> src/lib.rs:513:21 [INFO] [stdout] | [INFO] [stdout] 513 | wsprintfW(s_ptr, w_ptr); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/lib.rs:517:95 [INFO] [stdout] | [INFO] [stdout] 517 | ... self.write_console_output(self.console_handle, self.text_buffer.as_ptr(), COORD {X: self.screen_width, Y: self.screen_height}, COOR... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/lib.rs:517:148 [INFO] [stdout] | [INFO] [stdout] 517 | ...OORD {X: self.screen_width, Y: self.screen_height}, COORD { X:0, Y:0 }, rect_ptr).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/lib.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time:: { Duration, Instant }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 100 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustyConsoleGameEngine` [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: aborting due to 100 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ac3735c4fde9b0d9112bf69575d2e27e9be3debf8728d6a5cb89a4c91739bef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac3735c4fde9b0d9112bf69575d2e27e9be3debf8728d6a5cb89a4c91739bef9", kill_on_drop: false }` [INFO] [stdout] ac3735c4fde9b0d9112bf69575d2e27e9be3debf8728d6a5cb89a4c91739bef9