[INFO] updating cached repository https://github.com/Programming4life/display_off [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9abf1c3c09e1ba3980f4b66118b7ba19411c98c9 [INFO] checking Programming4life/display_off against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProgramming4life%2Fdisplay_off" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Programming4life/display_off on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Programming4life/display_off [INFO] finished tweaking git repo https://github.com/Programming4life/display_off [INFO] tweaked toml for git repo https://github.com/Programming4life/display_off written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Programming4life/display_off already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fa9b6e8f83ca0fc38f6326e987c65be662ccadfe0b909de6d0c7af754f79028e [INFO] running `"docker" "start" "-a" "fa9b6e8f83ca0fc38f6326e987c65be662ccadfe0b909de6d0c7af754f79028e"` [INFO] [stderr] Compiling winapi v0.3.5 [INFO] [stderr] Checking display_off v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::windef::{HMONITOR, HDC, LPRECT, HWND}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::lowlevelmonitorconfigurationapi::SetVCPFeature; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::winuser::{GetMessageW, [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use winapi::um::physicalmonitorenumerationapi::{GetPhysicalMonitorsFromHMONITOR, PHYSICAL_MONITOR}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/main.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::ctypes::c_void; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetVCPFeature` in this scope [INFO] [stderr] --> src/main.rs:36:14 [INFO] [stderr] | [INFO] [stderr] 36 | if unsafe { SetVCPFeature(display_handle, 0xD6, state as u32)} == 0 { return false; } [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayMonitors` in this scope [INFO] [stderr] --> src/main.rs:49:3 [INFO] [stderr] | [INFO] [stderr] 49 | EnumDisplayMonitors(null_mut(), null_mut(), Some(monitor_enum_proc), display_list_ptr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:69:21 [INFO] [stderr] | [INFO] [stderr] 69 | fn run_loop(window: HWND) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:71:20 [INFO] [stderr] | [INFO] [stderr] 71 | let mut message: MSG = mem::uninitialized(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stderr] --> src/main.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | while GetMessageW(&mut message as *mut MSG, window, 0, 0) == 1 { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:72:42 [INFO] [stderr] | [INFO] [stderr] 72 | while GetMessageW(&mut message as *mut MSG, window, 0, 0) == 1 { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stderr] --> src/main.rs:73:10 [INFO] [stderr] | [INFO] [stderr] 73 | TranslateMessage(&message as *const MSG); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:73:46 [INFO] [stderr] | [INFO] [stderr] 73 | TranslateMessage(&message as *const MSG); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stderr] --> src/main.rs:74:10 [INFO] [stderr] | [INFO] [stderr] 74 | DispatchMessageW(&message as *const MSG); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:74:46 [INFO] [stderr] | [INFO] [stderr] 74 | DispatchMessageW(&message as *const MSG); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:82:23 [INFO] [stderr] | [INFO] [stderr] 82 | fn create_window() -> HWND { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stderr] --> src/main.rs:85:29 [INFO] [stderr] | [INFO] [stderr] 85 | let instance = unsafe { GetModuleHandleW(null_mut()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stderr] --> src/main.rs:88:25 [INFO] [stderr] | [INFO] [stderr] 88 | let wnd_class = WNDCLASSW { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_OWNDC` in this scope [INFO] [stderr] --> src/main.rs:89:21 [INFO] [stderr] | [INFO] [stderr] 89 | style : CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stderr] --> src/main.rs:89:32 [INFO] [stderr] | [INFO] [stderr] 89 | style : CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stderr] --> src/main.rs:89:45 [INFO] [stderr] | [INFO] [stderr] 89 | style : CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stderr] --> src/main.rs:101:9 [INFO] [stderr] | [INFO] [stderr] 101 | RegisterClassW(&wnd_class); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stderr] --> src/main.rs:103:9 [INFO] [stderr] | [INFO] [stderr] 103 | CreateWindowExW(0, name.as_ptr(), title.as_ptr(), 0, 0, 0, 0, 0, null_mut(), null_mut(), instance, null_mut()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/main.rs:110:56 [INFO] [stderr] | [INFO] [stderr] 110 | unsafe extern "system" fn monitor_enum_proc(h_monitor: HMONITOR, _: HDC, _: LPRECT, data: isize) -> i32 { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/main.rs:110:69 [INFO] [stderr] | [INFO] [stderr] 110 | unsafe extern "system" fn monitor_enum_proc(h_monitor: HMONITOR, _: HDC, _: LPRECT, data: isize) -> i32 { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stderr] --> src/main.rs:110:77 [INFO] [stderr] | [INFO] [stderr] 110 | unsafe extern "system" fn monitor_enum_proc(h_monitor: HMONITOR, _: HDC, _: LPRECT, data: isize) -> i32 { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stderr] --> src/main.rs:113:24 [INFO] [stderr] | [INFO] [stderr] 110 | unsafe extern "system" fn monitor_enum_proc(h_monitor: HMONITOR, _: HDC, _: LPRECT, data: isize) -> i32 { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 113 | let mut temp_mon: Vec = Vec::with_capacity(1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `PHYSICAL_MONITOR` in this scope [INFO] [stderr] --> src/main.rs:114:16 [INFO] [stderr] | [INFO] [stderr] 114 | temp_mon.push(PHYSICAL_MONITOR{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetPhysicalMonitorsFromHMONITOR` in this scope [INFO] [stderr] --> src/main.rs:119:2 [INFO] [stderr] | [INFO] [stderr] 119 | GetPhysicalMonitorsFromHMONITOR(h_monitor, 1, temp_mon.as_mut_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:131:42 [INFO] [stderr] | [INFO] [stderr] 131 | unsafe extern "system" fn win_proc(hwnd: HWND, msg: u32, w_param: usize, l_param: isize) -> isize { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stderr] --> src/main.rs:139:2 [INFO] [stderr] | [INFO] [stderr] 139 | DefWindowProcW(hwnd, msg, w_param, l_param) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/main.rs:71:26 [INFO] [stderr] | [INFO] [stderr] 71 | let mut message: MSG = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::windef::{HMONITOR, HDC, LPRECT, HWND}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::lowlevelmonitorconfigurationapi::SetVCPFeature; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::um::winuser::{GetMessageW, [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use winapi::um::physicalmonitorenumerationapi::{GetPhysicalMonitorsFromHMONITOR, PHYSICAL_MONITOR}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/main.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::ctypes::c_void; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetVCPFeature` in this scope [INFO] [stderr] --> src/main.rs:36:14 [INFO] [stderr] | [INFO] [stderr] 36 | if unsafe { SetVCPFeature(display_handle, 0xD6, state as u32)} == 0 { return false; } [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayMonitors` in this scope [INFO] [stderr] --> src/main.rs:49:3 [INFO] [stderr] | [INFO] [stderr] 49 | EnumDisplayMonitors(null_mut(), null_mut(), Some(monitor_enum_proc), display_list_ptr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:69:21 [INFO] [stderr] | [INFO] [stderr] 69 | fn run_loop(window: HWND) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:71:20 [INFO] [stderr] | [INFO] [stderr] 71 | let mut message: MSG = mem::uninitialized(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stderr] --> src/main.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | while GetMessageW(&mut message as *mut MSG, window, 0, 0) == 1 { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:72:42 [INFO] [stderr] | [INFO] [stderr] 72 | while GetMessageW(&mut message as *mut MSG, window, 0, 0) == 1 { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stderr] --> src/main.rs:73:10 [INFO] [stderr] | [INFO] [stderr] 73 | TranslateMessage(&message as *const MSG); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:73:46 [INFO] [stderr] | [INFO] [stderr] 73 | TranslateMessage(&message as *const MSG); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stderr] --> src/main.rs:74:10 [INFO] [stderr] | [INFO] [stderr] 74 | DispatchMessageW(&message as *const MSG); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope [INFO] [stderr] --> src/main.rs:74:46 [INFO] [stderr] | [INFO] [stderr] 74 | DispatchMessageW(&message as *const MSG); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:82:23 [INFO] [stderr] | [INFO] [stderr] 82 | fn create_window() -> HWND { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stderr] --> src/main.rs:85:29 [INFO] [stderr] | [INFO] [stderr] 85 | let instance = unsafe { GetModuleHandleW(null_mut()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stderr] --> src/main.rs:88:25 [INFO] [stderr] | [INFO] [stderr] 88 | let wnd_class = WNDCLASSW { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_OWNDC` in this scope [INFO] [stderr] --> src/main.rs:89:21 [INFO] [stderr] | [INFO] [stderr] 89 | style : CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stderr] --> src/main.rs:89:32 [INFO] [stderr] | [INFO] [stderr] 89 | style : CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stderr] --> src/main.rs:89:45 [INFO] [stderr] | [INFO] [stderr] 89 | style : CS_OWNDC | CS_HREDRAW | CS_VREDRAW, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stderr] --> src/main.rs:101:9 [INFO] [stderr] | [INFO] [stderr] 101 | RegisterClassW(&wnd_class); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stderr] --> src/main.rs:103:9 [INFO] [stderr] | [INFO] [stderr] 103 | CreateWindowExW(0, name.as_ptr(), title.as_ptr(), 0, 0, 0, 0, 0, null_mut(), null_mut(), instance, null_mut()) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope [INFO] [stderr] --> src/main.rs:110:56 [INFO] [stderr] | [INFO] [stderr] 110 | unsafe extern "system" fn monitor_enum_proc(h_monitor: HMONITOR, _: HDC, _: LPRECT, data: isize) -> i32 { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope [INFO] [stderr] --> src/main.rs:110:69 [INFO] [stderr] | [INFO] [stderr] 110 | unsafe extern "system" fn monitor_enum_proc(h_monitor: HMONITOR, _: HDC, _: LPRECT, data: isize) -> i32 { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stderr] --> src/main.rs:110:77 [INFO] [stderr] | [INFO] [stderr] 110 | unsafe extern "system" fn monitor_enum_proc(h_monitor: HMONITOR, _: HDC, _: LPRECT, data: isize) -> i32 { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope [INFO] [stderr] --> src/main.rs:113:24 [INFO] [stderr] | [INFO] [stderr] 110 | unsafe extern "system" fn monitor_enum_proc(h_monitor: HMONITOR, _: HDC, _: LPRECT, data: isize) -> i32 { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 113 | let mut temp_mon: Vec = Vec::with_capacity(1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `PHYSICAL_MONITOR` in this scope [INFO] [stderr] --> src/main.rs:114:16 [INFO] [stderr] | [INFO] [stderr] 114 | temp_mon.push(PHYSICAL_MONITOR{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetPhysicalMonitorsFromHMONITOR` in this scope [INFO] [stderr] --> src/main.rs:119:2 [INFO] [stderr] | [INFO] [stderr] 119 | GetPhysicalMonitorsFromHMONITOR(h_monitor, 1, temp_mon.as_mut_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:131:42 [INFO] [stderr] | [INFO] [stderr] 131 | unsafe extern "system" fn win_proc(hwnd: HWND, msg: u32, w_param: usize, l_param: isize) -> isize { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stderr] --> src/main.rs:139:2 [INFO] [stderr] | [INFO] [stderr] 139 | DefWindowProcW(hwnd, msg, w_param, l_param) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/main.rs:71:26 [INFO] [stderr] | [INFO] [stderr] 71 | let mut message: MSG = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 32 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `display_off`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 32 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `display_off`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "fa9b6e8f83ca0fc38f6326e987c65be662ccadfe0b909de6d0c7af754f79028e"` [INFO] running `"docker" "rm" "-f" "fa9b6e8f83ca0fc38f6326e987c65be662ccadfe0b909de6d0c7af754f79028e"` [INFO] [stdout] fa9b6e8f83ca0fc38f6326e987c65be662ccadfe0b909de6d0c7af754f79028e