[INFO] cloning repository https://github.com/pabloordonez/rustlike [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pabloordonez/rustlike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpabloordonez%2Frustlike", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpabloordonez%2Frustlike'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae54ea8715b9ffd892ee25aaee5896b8990683e4 [INFO] testing pabloordonez/rustlike against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpabloordonez%2Frustlike" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pabloordonez/rustlike on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pabloordonez/rustlike [INFO] finished tweaking git repo https://github.com/pabloordonez/rustlike [INFO] tweaked toml for git repo https://github.com/pabloordonez/rustlike written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/pabloordonez/rustlike already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4a2d5b9aed42538822fe24ee416500f1330f5ba1f5db984d68a3882e3bfbe7a [INFO] running `Command { std: "docker" "start" "-a" "d4a2d5b9aed42538822fe24ee416500f1330f5ba1f5db984d68a3882e3bfbe7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4a2d5b9aed42538822fe24ee416500f1330f5ba1f5db984d68a3882e3bfbe7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4a2d5b9aed42538822fe24ee416500f1330f5ba1f5db984d68a3882e3bfbe7a", kill_on_drop: false }` [INFO] [stdout] d4a2d5b9aed42538822fe24ee416500f1330f5ba1f5db984d68a3882e3bfbe7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efdef5f68407aa827a04e4572e6c9a9d14c2435b62b5d5f4c5ac6c6a1686d460 [INFO] running `Command { std: "docker" "start" "-a" "efdef5f68407aa827a04e4572e6c9a9d14c2435b62b5d5f4c5ac6c6a1686d460", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rustlike v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `winapi` [INFO] [stdout] --> src/windows/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `winapi` [INFO] [stdout] --> src/windows/mouse.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `winapi` [INFO] [stdout] --> src/windows/terminal.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `winapi` [INFO] [stdout] --> src/windows/window.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/windows/mod.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `INPUT_RECORD` [INFO] [stdout] --> src/windows/application.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | let mut input_records = [INPUT_RECORD::empty(); 128]; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `INPUT_RECORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `POINT` [INFO] [stdout] --> src/windows/mouse.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let mut point = POINT::empty(); [INFO] [stdout] | ^^^^^ use of undeclared type `POINT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CONSOLE_CURSOR_INFO` [INFO] [stdout] --> src/windows/terminal.rs:87:39 [INFO] [stdout] | [INFO] [stdout] 87 | let mut console_cursor_info = CONSOLE_CURSOR_INFO::empty(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CONSOLE_CURSOR_INFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CONSOLE_SCREEN_BUFFER_INFO` [INFO] [stdout] --> src/windows/terminal.rs:124:46 [INFO] [stdout] | [INFO] [stdout] 124 | let mut console_screen_buffer_info = 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/windows/terminal.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | let mut char_info = CHAR_INFO::empty(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CHAR_INFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `COORD` [INFO] [stdout] --> src/windows/terminal.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | 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/windows/terminal.rs:201:37 [INFO] [stdout] | [INFO] [stdout] 201 | let mut char_info = CHAR_INFO::empty(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CHAR_INFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `COORD` [INFO] [stdout] --> src/windows/terminal.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | COORD::empty(), [INFO] [stdout] | ^^^^^ use of undeclared type `COORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/windows/window.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | let mut rect = RECT::empty(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/windows/window.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let mut rect = RECT::empty(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/windows/window.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | let mut rect = RECT::empty(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/windows/window.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | let mut rect = RECT::empty(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RECT` [INFO] [stdout] --> src/windows/window.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | let mut rect = RECT::empty(); [INFO] [stdout] | ^^^^ use of undeclared type `RECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `COORD` [INFO] [stdout] --> src/windows/mod.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | 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/windows/mod.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | 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 `SMALL_RECT` [INFO] [stdout] --> src/windows/mod.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | 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/windows/mod.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | dwMaximumWindowSize: COORD::empty(), [INFO] [stdout] | ^^^^^ use of undeclared type `COORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleMode` in this scope [INFO] [stdout] --> src/windows/application.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | SetConsoleMode( [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] --> src/windows/application.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | ENABLE_WINDOW_INPUT | ENABLE_MOUSE_INPUT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ENABLE_MOUSE_INPUT` in this scope [INFO] [stdout] --> src/windows/application.rs:62:39 [INFO] [stdout] | [INFO] [stdout] 62 | ENABLE_WINDOW_INPUT | ENABLE_MOUSE_INPUT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetNumberOfConsoleInputEvents` in this scope [INFO] [stdout] --> src/windows/application.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | unsafe { GetNumberOfConsoleInputEvents(self.terminal.input_handle, &mut events_read) }; [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] --> src/windows/application.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | ReadConsoleInputW( [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] --> src/windows/application.rs:170:38 [INFO] [stdout] | [INFO] [stdout] 170 | fn process_key_events(input_record: &INPUT_RECORD) -> Event { [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] --> src/windows/application.rs:182:58 [INFO] [stdout] | [INFO] [stdout] 182 | left_control: keyboard_event.dwControlKeyState & LEFT_CTRL_PRESSED != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope [INFO] [stdout] --> src/windows/application.rs:183:30 [INFO] [stdout] | [INFO] [stdout] 183 | left_shift: unsafe { GetKeyState(VK_LSHIFT) as u16 } & 0x8000 != 0, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LSHIFT` in this scope [INFO] [stdout] --> src/windows/application.rs:183:42 [INFO] [stdout] | [INFO] [stdout] 183 | left_shift: unsafe { GetKeyState(VK_LSHIFT) as u16 } & 0x8000 != 0, [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] --> src/windows/application.rs:184:55 [INFO] [stdout] | [INFO] [stdout] 184 | left_menu: keyboard_event.dwControlKeyState & LEFT_ALT_PRESSED != 0, [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] --> src/windows/application.rs:185:59 [INFO] [stdout] | [INFO] [stdout] 185 | right_control: keyboard_event.dwControlKeyState & RIGHT_CTRL_PRESSED != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in this scope [INFO] [stdout] --> src/windows/application.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | right_shift: unsafe { GetKeyState(VK_RSHIFT) as u16 } & 0x8000 != 0, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_RSHIFT` in this scope [INFO] [stdout] --> src/windows/application.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | right_shift: unsafe { GetKeyState(VK_RSHIFT) as u16 } & 0x8000 != 0, [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] --> src/windows/application.rs:187:56 [INFO] [stdout] | [INFO] [stdout] 187 | right_menu: keyboard_event.dwControlKeyState & RIGHT_ALT_PRESSED != 0, [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] --> src/windows/application.rs:192:40 [INFO] [stdout] | [INFO] [stdout] 192 | fn process_mouse_events(input_record: &INPUT_RECORD) -> Event { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FROM_LEFT_1ST_BUTTON_PRESSED` in this scope [INFO] [stdout] --> src/windows/application.rs:204:50 [INFO] [stdout] | [INFO] [stdout] 204 | left_button: mouse_event.dwButtonState & FROM_LEFT_1ST_BUTTON_PRESSED != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FROM_LEFT_2ND_BUTTON_PRESSED` in this scope [INFO] [stdout] --> src/windows/application.rs:205:52 [INFO] [stdout] | [INFO] [stdout] 205 | middle_button: mouse_event.dwButtonState & FROM_LEFT_2ND_BUTTON_PRESSED != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIGHTMOST_BUTTON_PRESSED` in this scope [INFO] [stdout] --> src/windows/application.rs:206:51 [INFO] [stdout] | [INFO] [stdout] 206 | right_button: mouse_event.dwButtonState & RIGHTMOST_BUTTON_PRESSED != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FROM_LEFT_3RD_BUTTON_PRESSED` in this scope [INFO] [stdout] --> src/windows/application.rs:207:53 [INFO] [stdout] | [INFO] [stdout] 207 | extra_button_1: mouse_event.dwButtonState & FROM_LEFT_3RD_BUTTON_PRESSED != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FROM_LEFT_4TH_BUTTON_PRESSED` in this scope [INFO] [stdout] --> src/windows/application.rs:208:53 [INFO] [stdout] | [INFO] [stdout] 208 | extra_button_2: mouse_event.dwButtonState & FROM_LEFT_4TH_BUTTON_PRESSED != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/mouse.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | window_handle: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleWindow` in this scope [INFO] [stdout] --> src/windows/mouse.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | window_handle: unsafe { GetConsoleWindow() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> src/windows/mouse.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | let success = unsafe { GetCursorPos(&mut point) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/windows/mouse.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | let mut point = POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ScreenToClient` in this scope [INFO] [stdout] --> src/windows/mouse.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | let success = unsafe { ScreenToClient(self.window_handle, &mut point) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursorPos` in this scope [INFO] [stdout] --> src/windows/mouse.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | let success = unsafe { SetCursorPos(position.x as i32, position.y as i32) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursor` in this scope [INFO] [stdout] --> src/windows/mouse.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { SetCursor(LoadCursorW(null_mut(), IDC_ARROW)) } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> src/windows/mouse.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { SetCursor(LoadCursorW(null_mut(), IDC_ARROW)) } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/windows/mouse.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { SetCursor(LoadCursorW(null_mut(), IDC_ARROW)) } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursor` in this scope [INFO] [stdout] --> src/windows/mouse.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe { SetCursor(null_mut()) } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/windows/terminal.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | pub console_handle: *mut c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/windows/terminal.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | pub 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] --> src/windows/terminal.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | pub input_handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/terminal.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | pub window_handle: HWND, [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] --> src/windows/terminal.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | CreateFileW( [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/windows/terminal.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | 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/windows/terminal.rs:52:51 [INFO] [stdout] | [INFO] [stdout] 52 | 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/windows/terminal.rs:58:37 [INFO] [stdout] | [INFO] [stdout] 58 | 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/windows/terminal.rs:58:50 [INFO] [stdout] | [INFO] [stdout] 58 | 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 function, tuple struct or tuple variant `GetConsoleWindow` in this scope [INFO] [stdout] --> src/windows/terminal.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | let window_handle = unsafe { GetConsoleWindow() }; [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] --> src/windows/terminal.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | unsafe { CloseHandle(self.console_handle) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleCursorInfo` in this scope [INFO] [stdout] --> src/windows/terminal.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | let success = unsafe { GetConsoleCursorInfo(self.output_handle, &mut console_cursor_info) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleCursorInfo` in this scope [INFO] [stdout] --> src/windows/terminal.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | let success = unsafe { SetConsoleCursorInfo(self.output_handle, &mut console_cursor_info) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleCursorPosition` in this scope [INFO] [stdout] --> src/windows/terminal.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | SetConsoleCursorPosition( [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/windows/terminal.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | COORD { [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/windows/terminal.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | GetConsoleScreenBufferInfo(self.output_handle, &mut 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 `SMALL_RECT` in this scope [INFO] [stdout] --> src/windows/terminal.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | let mut rect = SMALL_RECT { [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/windows/terminal.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | WriteConsoleOutputW( [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/windows/terminal.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | COORD { [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/windows/terminal.rs:183:35 [INFO] [stdout] | [INFO] [stdout] 183 | &mut rect as *mut 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/windows/terminal.rs:209:28 [INFO] [stdout] | [INFO] [stdout] 80 | impl Terminal for WindowsTerminal { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 209 | .collect::>(); [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/windows/terminal.rs:211:24 [INFO] [stdout] | [INFO] [stdout] 211 | let mut rect = SMALL_RECT { [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/windows/terminal.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | WriteConsoleOutputW( [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/windows/terminal.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | COORD { [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/windows/terminal.rs:227:35 [INFO] [stdout] | [INFO] [stdout] 227 | &mut rect as *mut SMALL_RECT, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/window.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | pub window_handle: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleWindow` in this scope [INFO] [stdout] --> src/windows/window.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | window_handle: unsafe { GetConsoleWindow() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/windows/window.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | let success = unsafe { GetWindowRect(self.window_handle, &mut rect) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/windows/window.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | let success = unsafe { GetClientRect(self.window_handle, &mut rect) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/windows/window.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | let success = unsafe { GetWindowRect(self.window_handle, &mut rect) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/windows/window.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/window.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | 0 as HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/windows/window.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | let success = unsafe { GetWindowRect(self.window_handle, &mut rect) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/windows/window.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | let success = unsafe { GetWindowRect(self.window_handle, &mut rect) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/windows/window.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/windows/window.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | 0 as HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/windows/mod.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | impl Empty for POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope [INFO] [stdout] --> src/windows/mod.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | fn empty() -> POINT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> src/windows/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | POINT { x: 0, y: 0 } [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/windows/mod.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | 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/windows/mod.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | 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/windows/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | COORD { X: 0, Y: 0 } [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/windows/mod.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | 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/windows/mod.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | 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/windows/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | SMALL_RECT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/windows/mod.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | impl Empty for RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/windows/mod.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | fn empty() -> RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/windows/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | RECT { [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/windows/mod.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | 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/windows/mod.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | 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/windows/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | CONSOLE_SCREEN_BUFFER_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_CURSOR_INFO` in this scope [INFO] [stdout] --> src/windows/mod.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | impl Empty for CONSOLE_CURSOR_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_CURSOR_INFO` in this scope [INFO] [stdout] --> src/windows/mod.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | fn empty() -> CONSOLE_CURSOR_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CONSOLE_CURSOR_INFO` in this scope [INFO] [stdout] --> src/windows/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | CONSOLE_CURSOR_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/windows/mod.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | 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/windows/mod.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | fn empty() -> 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/windows/mod.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 75 | impl Empty for CHAR_INFO { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 76 | fn empty() -> CHAR_INFO { [INFO] [stdout] 77 | unsafe { zeroed::() } [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] --> src/windows/mod.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | impl Empty for 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] --> src/windows/mod.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | fn empty() -> 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] --> src/windows/mod.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 81 | impl Empty for INPUT_RECORD { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 82 | fn empty() -> INPUT_RECORD { [INFO] [stdout] 83 | unsafe { zeroed::() } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windows::Empty` [INFO] [stdout] --> src/windows/application.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use windows::Empty; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windows::Empty` [INFO] [stdout] --> src/windows/mouse.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Empty; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windows::Empty` [INFO] [stdout] --> src/windows/window.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Empty; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | fn check_size(application: &Application, buffer: &mut CellBuffer) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - fn check_size(application: &Application, buffer: &mut CellBuffer) -> Result<()> { [INFO] [stdout] 77 + fn check_size(application: &dyn Application, buffer: &mut CellBuffer) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | fn draw_stats(application: &Application, buffer: &mut CellBuffer, fps: i32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - fn draw_stats(application: &Application, buffer: &mut CellBuffer, fps: i32) -> Result<()> { [INFO] [stdout] 87 + fn draw_stats(application: &dyn Application, buffer: &mut CellBuffer, fps: i32) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/application.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_terminal(&self) -> &Terminal; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - fn get_terminal(&self) -> &Terminal; [INFO] [stdout] 10 + fn get_terminal(&self) -> &dyn Terminal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/application.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | fn get_window(&self) -> &Window; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - fn get_window(&self) -> &Window; [INFO] [stdout] 12 + fn get_window(&self) -> &dyn Window; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/application.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_mouse(&self) -> &Mouse; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - fn get_mouse(&self) -> &Mouse; [INFO] [stdout] 14 + fn get_mouse(&self) -> &dyn Mouse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/terminal.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_char_size(&self, window: &Window) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - fn get_char_size(&self, window: &Window) -> Result; [INFO] [stdout] 21 + fn get_char_size(&self, window: &dyn Window) -> Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/windows/application.rs:76:32 [INFO] [stdout] | [INFO] [stdout] 76 | fn get_terminal(&self) -> &Terminal { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - fn get_terminal(&self) -> &Terminal { [INFO] [stdout] 76 + fn get_terminal(&self) -> &dyn Terminal { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/windows/application.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | fn get_window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - fn get_window(&self) -> &Window { [INFO] [stdout] 81 + fn get_window(&self) -> &dyn Window { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/windows/application.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | fn get_mouse(&self) -> &Mouse { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - fn get_mouse(&self) -> &Mouse { [INFO] [stdout] 86 + fn get_mouse(&self) -> &dyn Mouse { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/windows/terminal.rs:141:38 [INFO] [stdout] | [INFO] [stdout] 141 | fn get_char_size(&self, window: &Window) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 - fn get_char_size(&self, window: &Window) -> Result { [INFO] [stdout] 141 + fn get_char_size(&self, window: &dyn Window) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/windows/mod.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | OsStr::new(msg).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Empty` [INFO] [stdout] --> src/windows/terminal.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | use windows::{get_wstring, Empty}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 113 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustlike` due to 114 previous errors; 14 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "efdef5f68407aa827a04e4572e6c9a9d14c2435b62b5d5f4c5ac6c6a1686d460", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efdef5f68407aa827a04e4572e6c9a9d14c2435b62b5d5f4c5ac6c6a1686d460", kill_on_drop: false }` [INFO] [stdout] efdef5f68407aa827a04e4572e6c9a9d14c2435b62b5d5f4c5ac6c6a1686d460