[INFO] cloning repository https://github.com/leino/rubik2x2-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leino/rubik2x2-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleino%2Frubik2x2-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleino%2Frubik2x2-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62bf1745f75d51c1ca76d801c94da050c73698c9 [INFO] checking leino/rubik2x2-code against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleino%2Frubik2x2-code" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leino/rubik2x2-code on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/leino/rubik2x2-code [INFO] finished tweaking git repo https://github.com/leino/rubik2x2-code [INFO] tweaked toml for git repo https://github.com/leino/rubik2x2-code written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/leino/rubik2x2-code already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2abe9eef72e6be2382f10738bc96c98440f33f8219742875ed4a466a5177ad99 [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" "2abe9eef72e6be2382f10738bc96c98440f33f8219742875ed4a466a5177ad99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2abe9eef72e6be2382f10738bc96c98440f33f8219742875ed4a466a5177ad99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2abe9eef72e6be2382f10738bc96c98440f33f8219742875ed4a466a5177ad99", kill_on_drop: false }` [INFO] [stdout] 2abe9eef72e6be2382f10738bc96c98440f33f8219742875ed4a466a5177ad99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14045b06159e0c2264b00cb783bb3ae7fd01598bff2005f09ec0923e8c84319e [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" "14045b06159e0c2264b00cb783bb3ae7fd01598bff2005f09ec0923e8c84319e", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.4 [INFO] [stderr] Checking rubik2x2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | use winapi::um::wincon::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | use winapi::um::consoleapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | use winapi::um::synchapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ui.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | use winapi::um::winbase::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | use winapi::um::winbase::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | use winapi::um::handleapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | use winapi::um::consoleapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:320:21 [INFO] [stdout] | [INFO] [stdout] 320 | use winapi::um::consoleapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ui.rs:121:35 [INFO] [stdout] | [INFO] [stdout] 121 | character_attributes: winapi::shared::minwindef::WORD, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:122:35 [INFO] [stdout] | [INFO] [stdout] 122 | output_device_handle: winapi::um::winnt::HANDLE, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | input_device_handle: winapi::um::winnt::HANDLE, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ui.rs:124:35 [INFO] [stdout] | [INFO] [stdout] 124 | initial_console_mode: winapi::shared::minwindef::DWORD, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ui.rs:129:60 [INFO] [stdout] | [INFO] [stdout] 129 | StandardInputDeviceHandleIsInvalid{error_code: winapi::shared::minwindef::DWORD}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ui.rs:130:61 [INFO] [stdout] | [INFO] [stdout] 130 | StandardOutputDeviceHandleIsInvalid{error_code: winapi::shared::minwindef::DWORD}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ui.rs:137:50 [INFO] [stdout] | [INFO] [stdout] 137 | FailedToResetConsoleMode{error_code: winapi::shared::minwindef::DWORD}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | use winapi::um::wincon::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | use winapi::um::consoleapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | use winapi::um::synchapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ui.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | use winapi::um::winbase::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | use winapi::um::winbase::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | use winapi::um::handleapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | use winapi::um::consoleapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:320:21 [INFO] [stdout] | [INFO] [stdout] 320 | use winapi::um::consoleapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ui.rs:121:35 [INFO] [stdout] | [INFO] [stdout] 121 | character_attributes: winapi::shared::minwindef::WORD, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:122:35 [INFO] [stdout] | [INFO] [stdout] 122 | output_device_handle: winapi::um::winnt::HANDLE, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | input_device_handle: winapi::um::winnt::HANDLE, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ui.rs:124:35 [INFO] [stdout] | [INFO] [stdout] 124 | initial_console_mode: winapi::shared::minwindef::DWORD, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ui.rs:129:60 [INFO] [stdout] | [INFO] [stdout] 129 | StandardInputDeviceHandleIsInvalid{error_code: winapi::shared::minwindef::DWORD}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ui.rs:130:61 [INFO] [stdout] | [INFO] [stdout] 130 | StandardOutputDeviceHandleIsInvalid{error_code: winapi::shared::minwindef::DWORD}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ui.rs:137:50 [INFO] [stdout] | [INFO] [stdout] 137 | FailedToResetConsoleMode{error_code: winapi::shared::minwindef::DWORD}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | winapi::um::processenv::GetStdHandle(standard_device_handle) as HANDLE [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:247:47 [INFO] [stdout] | [INFO] [stdout] 247 | let error_code = unsafe { winapi::um::errhandlingapi::GetLastError() }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | winapi::um::processenv::GetStdHandle(standard_device_handle) as HANDLE [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:259:47 [INFO] [stdout] | [INFO] [stdout] 259 | let error_code = unsafe { winapi::um::errhandlingapi::GetLastError() }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:268:41 [INFO] [stdout] | [INFO] [stdout] 268 | let result = unsafe{winapi::um::wincon::GetConsoleScreenBufferInfo(output_device_handle, &mut info)}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:270:50 [INFO] [stdout] | [INFO] [stdout] 270 | let error_code = unsafe {winapi::um::errhandlingapi::GetLastError()}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ui.rs:271:42 [INFO] [stdout] | [INFO] [stdout] 271 | if error_code == winapi::shared::winerror::ERROR_INVALID_HANDLE { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:300:32 [INFO] [stdout] | [INFO] [stdout] 300 | let mode = winapi::um::wincon::ENABLE_WINDOW_INPUT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:326:51 [INFO] [stdout] | [INFO] [stdout] 326 | let error_code = unsafe { winapi::um::errhandlingapi::GetLastError() }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/log.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | let error_code = unsafe { winapi::um::errhandlingapi::GetLastError() }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/ui.rs:184:40 [INFO] [stdout] | [INFO] [stdout] 184 | let timeout_duration = INFINITE; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope [INFO] [stdout] --> src/ui.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | WaitForSingleObject( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stdout] --> src/ui.rs:192:30 [INFO] [stdout] | [INFO] [stdout] 192 | if result != WAIT_OBJECT_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/ui.rs:198:41 [INFO] [stdout] | [INFO] [stdout] 198 | let mut input_records: [INPUT_RECORD; 128] = unsafe{std::mem::uninitialized()}; [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/ui.rs:202:25 [INFO] [stdout] | [INFO] [stdout] 202 | ReadConsoleInputW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_RIGHT` in this scope [INFO] [stdout] --> src/ui.rs:218:66 [INFO] [stdout] | [INFO] [stdout] 218 | ... if (event.wVirtualKeyCode as i32) == VK_RIGHT && event.bKeyDown == TRUE { [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/ui.rs:218:96 [INFO] [stdout] | [INFO] [stdout] 218 | ... if (event.wVirtualKeyCode as i32) == VK_RIGHT && event.bKeyDown == TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LEFT` in this scope [INFO] [stdout] --> src/ui.rs:221:66 [INFO] [stdout] | [INFO] [stdout] 221 | ... if (event.wVirtualKeyCode as i32) == VK_LEFT && event.bKeyDown == TRUE { [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/ui.rs:221:95 [INFO] [stdout] | [INFO] [stdout] 221 | ... if (event.wVirtualKeyCode as i32) == VK_LEFT && event.bKeyDown == TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_ESCAPE` in this scope [INFO] [stdout] --> src/ui.rs:224:66 [INFO] [stdout] | [INFO] [stdout] 224 | ... if (event.wVirtualKeyCode as i32) == VK_ESCAPE && event.bKeyDown == TRUE { [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/ui.rs:224:97 [INFO] [stdout] | [INFO] [stdout] 224 | ... if (event.wVirtualKeyCode as i32) == VK_ESCAPE && event.bKeyDown == TRUE { [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/ui.rs:243:42 [INFO] [stdout] | [INFO] [stdout] 243 | let standard_device_handle = STD_OUTPUT_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/ui.rs:244:77 [INFO] [stdout] | [INFO] [stdout] 244 | winapi::um::processenv::GetStdHandle(standard_device_handle) as HANDLE [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/ui.rs:246:36 [INFO] [stdout] | [INFO] [stdout] 246 | if output_device_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/ui.rs:250:42 [INFO] [stdout] | [INFO] [stdout] 250 | if output_device_handle == (0 as 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/ui.rs:255:42 [INFO] [stdout] | [INFO] [stdout] 255 | let standard_device_handle = STD_INPUT_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/ui.rs:256:77 [INFO] [stdout] | [INFO] [stdout] 256 | winapi::um::processenv::GetStdHandle(standard_device_handle) as HANDLE [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/ui.rs:258:35 [INFO] [stdout] | [INFO] [stdout] 258 | if input_device_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/ui.rs:262:41 [INFO] [stdout] | [INFO] [stdout] 262 | if input_device_handle == (0 as HANDLE) { [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/ui.rs:272:53 [INFO] [stdout] | [INFO] [stdout] 272 | assert!(output_device_handle != INVALID_HANDLE_VALUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/ui.rs:273:58 [INFO] [stdout] | [INFO] [stdout] 273 | assert!(output_device_handle != 0 as HANDLE); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleMode` in this scope [INFO] [stdout] --> src/ui.rs:292:34 [INFO] [stdout] | [INFO] [stdout] 292 | let result = unsafe{ GetConsoleMode(input_device_handle, &mut mode) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleMode` in this scope [INFO] [stdout] --> src/ui.rs:301:35 [INFO] [stdout] | [INFO] [stdout] 301 | let result = unsafe { SetConsoleMode(input_device_handle, mode) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleMode` in this scope [INFO] [stdout] --> src/ui.rs:324:35 [INFO] [stdout] | [INFO] [stdout] 324 | let result = unsafe { SetConsoleMode(self.input_device_handle, self.initial_console_mode) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `notify_error` in this scope [INFO] [stdout] --> src/error.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | notify_error(message); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `notify_error` in module `error` [INFO] [stdout] --> src/log.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | error::notify_error(&String::from("A fatal error occurred.\nInformation identifying the error was logged.")); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:388:35 [INFO] [stdout] | [INFO] [stdout] 388 | fn print_diagram(side_alias: &mut FnMut(cube::Side) -> String, cube: &cube::Cube) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(cube::Side) -> String` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null_mut` [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | winapi::um::processenv::GetStdHandle(standard_device_handle) as HANDLE [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ui.rs:198:69 [INFO] [stdout] | [INFO] [stdout] 198 | let mut input_records: [INPUT_RECORD; 128] = unsafe{std::mem::uninitialized()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:247:47 [INFO] [stdout] | [INFO] [stdout] 247 | let error_code = unsafe { winapi::um::errhandlingapi::GetLastError() }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | winapi::um::processenv::GetStdHandle(standard_device_handle) as HANDLE [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:259:47 [INFO] [stdout] | [INFO] [stdout] 259 | let error_code = unsafe { winapi::um::errhandlingapi::GetLastError() }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:268:41 [INFO] [stdout] | [INFO] [stdout] 268 | let result = unsafe{winapi::um::wincon::GetConsoleScreenBufferInfo(output_device_handle, &mut info)}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:270:50 [INFO] [stdout] | [INFO] [stdout] 270 | let error_code = unsafe {winapi::um::errhandlingapi::GetLastError()}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ui.rs:271:42 [INFO] [stdout] | [INFO] [stdout] 271 | if error_code == winapi::shared::winerror::ERROR_INVALID_HANDLE { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:300:32 [INFO] [stdout] | [INFO] [stdout] 300 | let mode = winapi::um::wincon::ENABLE_WINDOW_INPUT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ui.rs:326:51 [INFO] [stdout] | [INFO] [stdout] 326 | let error_code = unsafe { winapi::um::errhandlingapi::GetLastError() }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ui.rs:267:35 [INFO] [stdout] | [INFO] [stdout] 267 | let mut info = unsafe{std::mem::uninitialized()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/cli.rs:283:63 [INFO] [stdout] | [INFO] [stdout] 283 | let mut configuration: [cube::Side; 4] = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/log.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | let error_code = unsafe { winapi::um::errhandlingapi::GetLastError() }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/ui.rs:184:40 [INFO] [stdout] | [INFO] [stdout] 184 | let timeout_duration = INFINITE; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope [INFO] [stdout] --> src/ui.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | WaitForSingleObject( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_OBJECT_0` in this scope [INFO] [stdout] --> src/ui.rs:192:30 [INFO] [stdout] | [INFO] [stdout] 192 | if result != WAIT_OBJECT_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/ui.rs:198:41 [INFO] [stdout] | [INFO] [stdout] 198 | let mut input_records: [INPUT_RECORD; 128] = unsafe{std::mem::uninitialized()}; [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/ui.rs:202:25 [INFO] [stdout] | [INFO] [stdout] 202 | ReadConsoleInputW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_RIGHT` in this scope [INFO] [stdout] --> src/ui.rs:218:66 [INFO] [stdout] | [INFO] [stdout] 218 | ... if (event.wVirtualKeyCode as i32) == VK_RIGHT && event.bKeyDown == TRUE { [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/ui.rs:218:96 [INFO] [stdout] | [INFO] [stdout] 218 | ... if (event.wVirtualKeyCode as i32) == VK_RIGHT && event.bKeyDown == TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LEFT` in this scope [INFO] [stdout] --> src/ui.rs:221:66 [INFO] [stdout] | [INFO] [stdout] 221 | ... if (event.wVirtualKeyCode as i32) == VK_LEFT && event.bKeyDown == TRUE { [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/ui.rs:221:95 [INFO] [stdout] | [INFO] [stdout] 221 | ... if (event.wVirtualKeyCode as i32) == VK_LEFT && event.bKeyDown == TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_ESCAPE` in this scope [INFO] [stdout] --> src/ui.rs:224:66 [INFO] [stdout] | [INFO] [stdout] 224 | ... if (event.wVirtualKeyCode as i32) == VK_ESCAPE && event.bKeyDown == TRUE { [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/ui.rs:224:97 [INFO] [stdout] | [INFO] [stdout] 224 | ... if (event.wVirtualKeyCode as i32) == VK_ESCAPE && event.bKeyDown == TRUE { [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/ui.rs:243:42 [INFO] [stdout] | [INFO] [stdout] 243 | let standard_device_handle = STD_OUTPUT_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/ui.rs:244:77 [INFO] [stdout] | [INFO] [stdout] 244 | winapi::um::processenv::GetStdHandle(standard_device_handle) as HANDLE [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/ui.rs:246:36 [INFO] [stdout] | [INFO] [stdout] 246 | if output_device_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/ui.rs:250:42 [INFO] [stdout] | [INFO] [stdout] 250 | if output_device_handle == (0 as 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/ui.rs:255:42 [INFO] [stdout] | [INFO] [stdout] 255 | let standard_device_handle = STD_INPUT_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/ui.rs:256:77 [INFO] [stdout] | [INFO] [stdout] 256 | winapi::um::processenv::GetStdHandle(standard_device_handle) as HANDLE [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/ui.rs:258:35 [INFO] [stdout] | [INFO] [stdout] 258 | if input_device_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/ui.rs:262:41 [INFO] [stdout] | [INFO] [stdout] 262 | if input_device_handle == (0 as HANDLE) { [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/ui.rs:272:53 [INFO] [stdout] | [INFO] [stdout] 272 | assert!(output_device_handle != INVALID_HANDLE_VALUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/ui.rs:273:58 [INFO] [stdout] | [INFO] [stdout] 273 | assert!(output_device_handle != 0 as HANDLE); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleMode` in this scope [INFO] [stdout] --> src/ui.rs:292:34 [INFO] [stdout] | [INFO] [stdout] 292 | let result = unsafe{ GetConsoleMode(input_device_handle, &mut mode) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleMode` in this scope [INFO] [stdout] --> src/ui.rs:301:35 [INFO] [stdout] | [INFO] [stdout] 301 | let result = unsafe { SetConsoleMode(input_device_handle, mode) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleMode` in this scope [INFO] [stdout] --> src/ui.rs:324:35 [INFO] [stdout] | [INFO] [stdout] 324 | let result = unsafe { SetConsoleMode(self.input_device_handle, self.initial_console_mode) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `notify_error` in this scope [INFO] [stdout] --> src/error.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | notify_error(message); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `notify_error` in module `error` [INFO] [stdout] --> src/log.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | error::notify_error(&String::from("A fatal error occurred.\nInformation identifying the error was logged.")); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui.rs:388:35 [INFO] [stdout] | [INFO] [stdout] 388 | fn print_diagram(side_alias: &mut FnMut(cube::Side) -> String, cube: &cube::Cube) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(cube::Side) -> String` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null_mut` [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::null_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ui.rs:198:69 [INFO] [stdout] | [INFO] [stdout] 198 | let mut input_records: [INPUT_RECORD; 128] = unsafe{std::mem::uninitialized()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ui.rs:267:35 [INFO] [stdout] | [INFO] [stdout] 267 | let mut info = unsafe{std::mem::uninitialized()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/cli.rs:283:63 [INFO] [stdout] | [INFO] [stdout] 283 | let mut configuration: [cube::Side; 4] = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clear` found for reference `&ConsoleContext` in the current scope [INFO] [stdout] --> src/ui.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | console_context.clear(); [INFO] [stdout] | ^^^^^ method not found in `&ConsoleContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clear` found for reference `&ConsoleContext` in the current scope [INFO] [stdout] --> src/ui.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | console_context.clear(); [INFO] [stdout] | ^^^^^ method not found in `&ConsoleContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 55 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rubik2x2` [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 55 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "14045b06159e0c2264b00cb783bb3ae7fd01598bff2005f09ec0923e8c84319e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14045b06159e0c2264b00cb783bb3ae7fd01598bff2005f09ec0923e8c84319e", kill_on_drop: false }` [INFO] [stdout] 14045b06159e0c2264b00cb783bb3ae7fd01598bff2005f09ec0923e8c84319e