[INFO] updating cached repository https://github.com/Ratismal/window-arranger
[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] acd346102d37304b35ace79ed5e5e64d3b858a35
[INFO] checking Ratismal/window-arranger against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRatismal%2Fwindow-arranger" "/workspace/builds/worker-3/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Ratismal/window-arranger on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/Ratismal/window-arranger
[INFO] finished tweaking git repo https://github.com/Ratismal/window-arranger
[INFO] tweaked toml for git repo https://github.com/Ratismal/window-arranger written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/Ratismal/window-arranger already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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] bb53045ad66615d0d8f8325f8bf766abccd089f04abee910f400d3df13eecf47
[INFO] running `"docker" "start" "-a" "bb53045ad66615d0d8f8325f8bf766abccd089f04abee910f400d3df13eecf47"`
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]     Checking window-arranger v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/api/mod.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::shared::minwindef::{BOOL, LPARAM};
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/api/mod.rs:3:13
[INFO] [stderr]   |
[INFO] [stderr] 3 | use winapi::shared::windef::{HDC, HMONITOR, HWND, LPRECT, RECT};
[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/api/mod.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::um::winuser::{
[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/api/def.rs:1:13
[INFO] [stderr]   |
[INFO] [stderr] 1 | use winapi::shared::windef::{POINT, RECT};
[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/api/def.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::um::winuser::{MONITORINFO, TITLEBARINFO, WINDOWPLACEMENT};
[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/structs/program.rs:1:13
[INFO] [stderr]   |
[INFO] [stderr] 1 | use winapi::shared::windef::{HMONITOR, 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/structs/program.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::um::winuser::{MONITORINFO, WINDOWPLACEMENT};
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MONITORINFO` in this scope
[INFO] [stderr]  --> src/api/def.rs:4:26
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub fn monitor_info() -> MONITORINFO {
[INFO] [stderr]   |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MONITORINFO` in this scope
[INFO] [stderr]  --> src/api/def.rs:5:3
[INFO] [stderr]   |
[INFO] [stderr] 5 |   MONITORINFO {
[INFO] [stderr]   |   ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `POINT` in this scope
[INFO] [stderr]   --> src/api/def.rs:13:19
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub fn point() -> POINT {
[INFO] [stderr]    |                   ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]   --> src/api/def.rs:14:3
[INFO] [stderr]    |
[INFO] [stderr] 14 |   POINT { x: 0, y: 0 }
[INFO] [stderr]    |   ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/api/def.rs:17:18
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub fn rect() -> RECT {
[INFO] [stderr]    |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stderr]   --> src/api/def.rs:18:3
[INFO] [stderr]    |
[INFO] [stderr] 18 |   RECT {
[INFO] [stderr]    |   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope
[INFO] [stderr]   --> src/api/def.rs:26:30
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub fn window_placement() -> WINDOWPLACEMENT {
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WINDOWPLACEMENT` in this scope
[INFO] [stderr]   --> src/api/def.rs:27:3
[INFO] [stderr]    |
[INFO] [stderr] 27 |   WINDOWPLACEMENT {
[INFO] [stderr]    |   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope
[INFO] [stderr]   --> src/api/def.rs:37:34
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub fn clone_window_placement(p: WINDOWPLACEMENT) -> WINDOWPLACEMENT {
[INFO] [stderr]    |                                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope
[INFO] [stderr]   --> src/api/def.rs:37:54
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub fn clone_window_placement(p: WINDOWPLACEMENT) -> WINDOWPLACEMENT {
[INFO] [stderr]    |                                                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WINDOWPLACEMENT` in this scope
[INFO] [stderr]   --> src/api/def.rs:38:3
[INFO] [stderr]    |
[INFO] [stderr] 38 |   WINDOWPLACEMENT {
[INFO] [stderr]    |   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TITLEBARINFO` in this scope
[INFO] [stderr]   --> src/api/def.rs:48:27
[INFO] [stderr]    |
[INFO] [stderr] 48 | pub fn titlebar_info() -> TITLEBARINFO {
[INFO] [stderr]    |                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TITLEBARINFO` in this scope
[INFO] [stderr]   --> src/api/def.rs:49:3
[INFO] [stderr]    |
[INFO] [stderr] 49 |   TITLEBARINFO {
[INFO] [stderr]    |   ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stderr]   --> src/api/mod.rs:19:6
[INFO] [stderr]    |
[INFO] [stderr] 19 |   _: HMONITOR,
[INFO] [stderr]    |      ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stderr]   --> src/api/mod.rs:20:6
[INFO] [stderr]    |
[INFO] [stderr] 20 |   _: HDC,
[INFO] [stderr]    |      ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPRECT` in this scope
[INFO] [stderr]   --> src/api/mod.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 21 |   rect: LPRECT,
[INFO] [stderr]    |         ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/api/mod.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 22 |   l_param: LPARAM,
[INFO] [stderr]    |            ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stderr]   --> src/api/mod.rs:23:6
[INFO] [stderr]    |
[INFO] [stderr] 23 | ) -> BOOL {
[INFO] [stderr]    |      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/api/mod.rs:24:40
[INFO] [stderr]    |
[INFO] [stderr] 18 | unsafe extern "system" fn monitor_enum_proc(
[INFO] [stderr]    |                                            - help: you might be missing a type parameter: `<RECT>`
[INFO] [stderr] ...
[INFO] [stderr] 24 |   let vec = &mut *(l_param as *mut Vec<RECT>);
[INFO] [stderr]    |                                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/api/mod.rs:29:34
[INFO] [stderr]    |
[INFO] [stderr] 29 | pub fn get_all_monitors() -> Vec<RECT> {
[INFO] [stderr]    |                        -         ^^^^ not found in this scope
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        help: you might be missing a type parameter: `<RECT>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/api/mod.rs:30:20
[INFO] [stderr]    |
[INFO] [stderr] 29 | pub fn get_all_monitors() -> Vec<RECT> {
[INFO] [stderr]    |                        - help: you might be missing a type parameter: `<RECT>`
[INFO] [stderr] 30 |   let mut vec: Vec<RECT> = Vec::new();
[INFO] [stderr]    |                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MONITORENUMPROC` in this scope
[INFO] [stderr]   --> src/api/mod.rs:33:15
[INFO] [stderr]    |
[INFO] [stderr] 33 |     let proc: MONITORENUMPROC = Some(monitor_enum_proc);
[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/api/mod.rs:34:5
[INFO] [stderr]    |
[INFO] [stderr] 34 |     EnumDisplayMonitors(
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/api/mod.rs:38:28
[INFO] [stderr]    |
[INFO] [stderr] 29 | pub fn get_all_monitors() -> Vec<RECT> {
[INFO] [stderr]    |                        - help: you might be missing a type parameter: `<RECT>`
[INFO] [stderr] ...
[INFO] [stderr] 38 |       &mut vec as *mut Vec<RECT> as LPARAM,
[INFO] [stderr]    |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/api/mod.rs:38:37
[INFO] [stderr]    |
[INFO] [stderr] 38 |       &mut vec as *mut Vec<RECT> as LPARAM,
[INFO] [stderr]    |                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/api/mod.rs:44:50
[INFO] [stderr]    |
[INFO] [stderr] 44 | unsafe extern "system" fn window_enum_proc(hwnd: HWND, l_param: LPARAM) -> BOOL {
[INFO] [stderr]    |                                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/api/mod.rs:44:65
[INFO] [stderr]    |
[INFO] [stderr] 44 | unsafe extern "system" fn window_enum_proc(hwnd: HWND, l_param: LPARAM) -> BOOL {
[INFO] [stderr]    |                                                                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stderr]   --> src/api/mod.rs:44:76
[INFO] [stderr]    |
[INFO] [stderr] 44 | unsafe extern "system" fn window_enum_proc(hwnd: HWND, l_param: LPARAM) -> BOOL {
[INFO] [stderr]    |                                                                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/api/mod.rs:45:40
[INFO] [stderr]    |
[INFO] [stderr] 44 | unsafe extern "system" fn window_enum_proc(hwnd: HWND, l_param: LPARAM) -> BOOL {
[INFO] [stderr]    |                                           - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 45 |   let vec = &mut *(l_param as *mut Vec<HWND>);
[INFO] [stderr]    |                                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/api/mod.rs:52:33
[INFO] [stderr]    |
[INFO] [stderr] 52 | pub fn get_all_windows() -> Vec<HWND> {
[INFO] [stderr]    |                       -         ^^^^ not found in this scope
[INFO] [stderr]    |                       |
[INFO] [stderr]    |                       help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/api/mod.rs:53:20
[INFO] [stderr]    |
[INFO] [stderr] 52 | pub fn get_all_windows() -> Vec<HWND> {
[INFO] [stderr]    |                       - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 53 |   let mut vec: Vec<HWND> = Vec::new();
[INFO] [stderr]    |                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDENUMPROC` in this scope
[INFO] [stderr]   --> src/api/mod.rs:56:15
[INFO] [stderr]    |
[INFO] [stderr] 56 |     let proc: WNDENUMPROC = Some(window_enum_proc);
[INFO] [stderr]    |               ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope
[INFO] [stderr]   --> src/api/mod.rs:57:5
[INFO] [stderr]    |
[INFO] [stderr] 57 |     EnumWindows(proc, &mut vec as *mut Vec<HWND> as LPARAM);
[INFO] [stderr]    |     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/api/mod.rs:57:44
[INFO] [stderr]    |
[INFO] [stderr] 52 | pub fn get_all_windows() -> Vec<HWND> {
[INFO] [stderr]    |                       - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] ...
[INFO] [stderr] 57 |     EnumWindows(proc, &mut vec as *mut Vec<HWND> as LPARAM);
[INFO] [stderr]    |                                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/api/mod.rs:57:53
[INFO] [stderr]    |
[INFO] [stderr] 57 |     EnumWindows(proc, &mut vec as *mut Vec<HWND> as LPARAM);
[INFO] [stderr]    |                                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/api/mod.rs:63:30
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub fn get_window_text(hwnd: HWND) -> String {
[INFO] [stderr]    |                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope
[INFO] [stderr]   --> src/api/mod.rs:67:20
[INFO] [stderr]    |
[INFO] [stderr] 67 |     let read_len = GetWindowTextW(hwnd, name.as_mut_ptr(), size);
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/api/mod.rs:74:35
[INFO] [stderr]    |
[INFO] [stderr] 74 | pub fn get_window_placement(hwnd: HWND, placement: &mut WINDOWPLACEMENT) -> bool {
[INFO] [stderr]    |                                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope
[INFO] [stderr]   --> src/api/mod.rs:74:57
[INFO] [stderr]    |
[INFO] [stderr] 74 | pub fn get_window_placement(hwnd: HWND, placement: &mut WINDOWPLACEMENT) -> bool {
[INFO] [stderr]    |                                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowPlacement` in this scope
[INFO] [stderr]   --> src/api/mod.rs:78:8
[INFO] [stderr]    |
[INFO] [stderr] 74 | pub fn get_window_placement(hwnd: HWND, placement: &mut WINDOWPLACEMENT) -> bool {
[INFO] [stderr]    | -------------------------------------------------------------------------------- similarly named function `get_window_placement` defined here
[INFO] [stderr] ...
[INFO] [stderr] 78 |     if GetWindowPlacement(hwnd, placement) == 1 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_window_placement`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope
[INFO] [stderr]   --> src/api/mod.rs:79:7
[INFO] [stderr]    |
[INFO] [stderr] 79 |       GetWindowRect(hwnd, &mut placement.rcNormalPosition);
[INFO] [stderr]    |       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/api/mod.rs:96:32
[INFO] [stderr]    |
[INFO] [stderr] 96 | pub fn restore_placement(hwnd: HWND, p: WINDOWPLACEMENT) {
[INFO] [stderr]    |                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope
[INFO] [stderr]   --> src/api/mod.rs:96:41
[INFO] [stderr]    |
[INFO] [stderr] 96 | pub fn restore_placement(hwnd: HWND, p: WINDOWPLACEMENT) {
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWMINIMIZED` in this scope
[INFO] [stderr]    --> src/api/mod.rs:107:15
[INFO] [stderr]     |
[INFO] [stderr] 107 |     if cmd == SW_SHOWMINIMIZED as u32 {
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWMINNOACTIVE` in this scope
[INFO] [stderr]    --> src/api/mod.rs:108:27
[INFO] [stderr]     |
[INFO] [stderr] 108 |       placement.showCmd = SW_SHOWMINNOACTIVE as u32;
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WPF_ASYNCWINDOWPLACEMENT` in this scope
[INFO] [stderr]    --> src/api/mod.rs:109:26
[INFO] [stderr]     |
[INFO] [stderr] 109 |       placement.flags |= WPF_ASYNCWINDOWPLACEMENT;
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPlacement` in this scope
[INFO] [stderr]    --> src/api/mod.rs:110:7
[INFO] [stderr]     |
[INFO] [stderr] 74  | pub fn get_window_placement(hwnd: HWND, placement: &mut WINDOWPLACEMENT) -> bool {
[INFO] [stderr]     | -------------------------------------------------------------------------------- similarly named function `get_window_placement` defined here
[INFO] [stderr] ...
[INFO] [stderr] 110 |       SetWindowPlacement(hwnd, &placement);
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_window_placement`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWMAXIMIZED` in this scope
[INFO] [stderr]    --> src/api/mod.rs:111:22
[INFO] [stderr]     |
[INFO] [stderr] 111 |     } else if cmd == SW_SHOWMAXIMIZED as u32 {
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindowAsync` in this scope
[INFO] [stderr]    --> src/api/mod.rs:113:7
[INFO] [stderr]     |
[INFO] [stderr] 113 |       ShowWindowAsync(hwnd, SW_SHOWNOACTIVATE);
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWNOACTIVATE` in this scope
[INFO] [stderr]    --> src/api/mod.rs:113:29
[INFO] [stderr]     |
[INFO] [stderr] 113 |       ShowWindowAsync(hwnd, SW_SHOWNOACTIVATE);
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWNOACTIVATE` in this scope
[INFO] [stderr]    --> src/api/mod.rs:116:27
[INFO] [stderr]     |
[INFO] [stderr] 116 |       placement.showCmd = SW_SHOWNOACTIVATE as u32;
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WPF_ASYNCWINDOWPLACEMENT` in this scope
[INFO] [stderr]    --> src/api/mod.rs:117:26
[INFO] [stderr]     |
[INFO] [stderr] 117 |       placement.flags |= WPF_ASYNCWINDOWPLACEMENT;
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPlacement` in this scope
[INFO] [stderr]    --> src/api/mod.rs:118:7
[INFO] [stderr]     |
[INFO] [stderr] 74  | pub fn get_window_placement(hwnd: HWND, placement: &mut WINDOWPLACEMENT) -> bool {
[INFO] [stderr]     | -------------------------------------------------------------------------------- similarly named function `get_window_placement` defined here
[INFO] [stderr] ...
[INFO] [stderr] 118 |       SetWindowPlacement(hwnd, &placement);
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_window_placement`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindowAsync` in this scope
[INFO] [stderr]    --> src/api/mod.rs:121:7
[INFO] [stderr]     |
[INFO] [stderr] 121 |       ShowWindowAsync(hwnd, SW_SHOWMAXIMIZED);
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWMAXIMIZED` in this scope
[INFO] [stderr]    --> src/api/mod.rs:121:29
[INFO] [stderr]     |
[INFO] [stderr] 121 |       ShowWindowAsync(hwnd, SW_SHOWMAXIMIZED);
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWNOACTIVATE` in this scope
[INFO] [stderr]    --> src/api/mod.rs:123:27
[INFO] [stderr]     |
[INFO] [stderr] 123 |       placement.showCmd = SW_SHOWNOACTIVATE as u32;
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WPF_ASYNCWINDOWPLACEMENT` in this scope
[INFO] [stderr]    --> src/api/mod.rs:124:26
[INFO] [stderr]     |
[INFO] [stderr] 124 |       placement.flags |= WPF_ASYNCWINDOWPLACEMENT;
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPlacement` in this scope
[INFO] [stderr]    --> src/api/mod.rs:125:7
[INFO] [stderr]     |
[INFO] [stderr] 74  | pub fn get_window_placement(hwnd: HWND, placement: &mut WINDOWPLACEMENT) -> bool {
[INFO] [stderr]     | -------------------------------------------------------------------------------- similarly named function `get_window_placement` defined here
[INFO] [stderr] ...
[INFO] [stderr] 125 |       SetWindowPlacement(hwnd, &placement);
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_window_placement`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/api/mod.rs:130:36
[INFO] [stderr]     |
[INFO] [stderr] 130 | pub fn is_application_window(hwnd: HWND) -> bool {
[INFO] [stderr]     |                                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindow` in this scope
[INFO] [stderr]    --> src/api/mod.rs:132:8
[INFO] [stderr]     |
[INFO] [stderr] 132 |     if IsWindow(hwnd) == 0 {
[INFO] [stderr]     |        ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetShellWindow` in this scope
[INFO] [stderr]    --> src/api/mod.rs:136:16
[INFO] [stderr]     |
[INFO] [stderr] 136 |     if hwnd == GetShellWindow() {
[INFO] [stderr]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope
[INFO] [stderr]    --> src/api/mod.rs:140:8
[INFO] [stderr]     |
[INFO] [stderr] 140 |     if IsWindowVisible(hwnd) == 0 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IsIconic` in this scope
[INFO] [stderr]    --> src/api/mod.rs:144:8
[INFO] [stderr]     |
[INFO] [stderr] 144 |     if IsIconic(hwnd) == 1 {
[INFO] [stderr]     |        ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/api/mod.rs:148:24
[INFO] [stderr]     |
[INFO] [stderr] 148 |     let mut hwnd_walk: HWND = GetAncestor(hwnd, GA_ROOTOWNER);
[INFO] [stderr]     |                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetAncestor` in this scope
[INFO] [stderr]    --> src/api/mod.rs:148:31
[INFO] [stderr]     |
[INFO] [stderr] 148 |     let mut hwnd_walk: HWND = GetAncestor(hwnd, GA_ROOTOWNER);
[INFO] [stderr]     |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GA_ROOTOWNER` in this scope
[INFO] [stderr]    --> src/api/mod.rs:148:49
[INFO] [stderr]     |
[INFO] [stderr] 148 |     let mut hwnd_walk: HWND = GetAncestor(hwnd, GA_ROOTOWNER);
[INFO] [stderr]     |                                                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastActivePopup` in this scope
[INFO] [stderr]    --> src/api/mod.rs:149:24
[INFO] [stderr]     |
[INFO] [stderr] 149 |     let mut hwnd_try = GetLastActivePopup(hwnd);
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope
[INFO] [stderr]    --> src/api/mod.rs:151:10
[INFO] [stderr]     |
[INFO] [stderr] 151 |       if IsWindowVisible(hwnd_try) == 1 {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastActivePopup` in this scope
[INFO] [stderr]    --> src/api/mod.rs:156:18
[INFO] [stderr]     |
[INFO] [stderr] 156 |       hwnd_try = GetLastActivePopup(hwnd_walk);
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetTitleBarInfo` in this scope
[INFO] [stderr]    --> src/api/mod.rs:164:5
[INFO] [stderr]     |
[INFO] [stderr] 164 |     GetTitleBarInfo(hwnd, &mut ti);
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `STATE_SYSTEM_INVISIBLE` in this scope
[INFO] [stderr]    --> src/api/mod.rs:165:25
[INFO] [stderr]     |
[INFO] [stderr] 165 |     if (ti.rgstate[0] & STATE_SYSTEM_INVISIBLE) > 0 {
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongW` in this scope
[INFO] [stderr]    --> src/api/mod.rs:169:18
[INFO] [stderr]     |
[INFO] [stderr] 169 |     let exlong = GetWindowLongW(hwnd, GWL_EXSTYLE) as u32;
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GWL_EXSTYLE` in this scope
[INFO] [stderr]    --> src/api/mod.rs:169:39
[INFO] [stderr]     |
[INFO] [stderr] 169 |     let exlong = GetWindowLongW(hwnd, GWL_EXSTYLE) as u32;
[INFO] [stderr]     |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongW` in this scope
[INFO] [stderr]    --> src/api/mod.rs:170:16
[INFO] [stderr]     |
[INFO] [stderr] 170 |     let long = GetWindowLongW(hwnd, GWL_STYLE) as u32;
[INFO] [stderr]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GWL_STYLE` in this scope
[INFO] [stderr]    --> src/api/mod.rs:170:37
[INFO] [stderr]     |
[INFO] [stderr] 170 |     let long = GetWindowLongW(hwnd, GWL_STYLE) as u32;
[INFO] [stderr]     |                                     ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_EX_TOOLWINDOW` in this scope
[INFO] [stderr]    --> src/api/mod.rs:172:18
[INFO] [stderr]     |
[INFO] [stderr] 172 |     if (exlong & WS_EX_TOOLWINDOW) > 0 {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_POPUP` in this scope
[INFO] [stderr]    --> src/api/mod.rs:175:16
[INFO] [stderr]     |
[INFO] [stderr] 175 |     if (long & WS_POPUP) > 0 {
[INFO] [stderr]     |                ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_CHILD` in this scope
[INFO] [stderr]    --> src/api/mod.rs:178:16
[INFO] [stderr]     |
[INFO] [stderr] 178 |     if (long & WS_CHILD) > 0 {
[INFO] [stderr]     |                ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetParent` in this scope
[INFO] [stderr]    --> src/api/mod.rs:182:18
[INFO] [stderr]     |
[INFO] [stderr] 182 |     let parent = GetParent(hwnd);
[INFO] [stderr]     |                  ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindow` in this scope
[INFO] [stderr]    --> src/api/mod.rs:183:8
[INFO] [stderr]     |
[INFO] [stderr] 183 |     if IsWindow(parent) == 1 {
[INFO] [stderr]     |        ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/api/mod.rs:197:33
[INFO] [stderr]     |
[INFO] [stderr] 197 | pub fn get_window_monitor(hwdn: HWND) -> HMONITOR {
[INFO] [stderr]     |                                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stderr]    --> src/api/mod.rs:197:42
[INFO] [stderr]     |
[INFO] [stderr] 197 | pub fn get_window_monitor(hwdn: HWND) -> HMONITOR {
[INFO] [stderr]     |                                          ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MonitorFromWindow` in this scope
[INFO] [stderr]    --> src/api/mod.rs:198:12
[INFO] [stderr]     |
[INFO] [stderr] 198 |   unsafe { MonitorFromWindow(hwdn, MONITOR_DEFAULTTONEAREST) }
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MONITOR_DEFAULTTONEAREST` in this scope
[INFO] [stderr]    --> src/api/mod.rs:198:36
[INFO] [stderr]     |
[INFO] [stderr] 198 |   unsafe { MonitorFromWindow(hwdn, MONITOR_DEFAULTTONEAREST) }
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stderr]    --> src/api/mod.rs:201:35
[INFO] [stderr]     |
[INFO] [stderr] 201 | pub fn get_monitor_info(hmonitor: HMONITOR) -> MONITORINFO {
[INFO] [stderr]     |                                   ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MONITORINFO` in this scope
[INFO] [stderr]    --> src/api/mod.rs:201:48
[INFO] [stderr]     |
[INFO] [stderr] 201 | pub fn get_monitor_info(hmonitor: HMONITOR) -> MONITORINFO {
[INFO] [stderr]     |                                                ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoW` in this scope
[INFO] [stderr]    --> src/api/mod.rs:205:5
[INFO] [stderr]     |
[INFO] [stderr] 205 |     GetMonitorInfoW(hmonitor, &mut info);
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]  --> src/structs/program.rs:6:15
[INFO] [stderr]   |
[INFO] [stderr] 6 |   pub window: HWND,
[INFO] [stderr]   |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope
[INFO] [stderr]  --> src/structs/program.rs:7:18
[INFO] [stderr]   |
[INFO] [stderr] 7 |   pub placement: WINDOWPLACEMENT,
[INFO] [stderr]   |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stderr]  --> src/structs/program.rs:8:16
[INFO] [stderr]   |
[INFO] [stderr] 8 |   pub monitor: HMONITOR,
[INFO] [stderr]   |                ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MONITORINFO` in this scope
[INFO] [stderr]  --> src/structs/program.rs:9:21
[INFO] [stderr]   |
[INFO] [stderr] 9 |   pub monitor_info: MONITORINFO,
[INFO] [stderr]   |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 98 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `window-arranger`.
[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[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/api/mod.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::shared::minwindef::{BOOL, LPARAM};
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/api/mod.rs:3:13
[INFO] [stderr]   |
[INFO] [stderr] 3 | use winapi::shared::windef::{HDC, HMONITOR, HWND, LPRECT, RECT};
[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/api/mod.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 | use winapi::um::winuser::{
[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/api/def.rs:1:13
[INFO] [stderr]   |
[INFO] [stderr] 1 | use winapi::shared::windef::{POINT, RECT};
[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/api/def.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::um::winuser::{MONITORINFO, TITLEBARINFO, WINDOWPLACEMENT};
[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/structs/program.rs:1:13
[INFO] [stderr]   |
[INFO] [stderr] 1 | use winapi::shared::windef::{HMONITOR, 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/structs/program.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use winapi::um::winuser::{MONITORINFO, WINDOWPLACEMENT};
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MONITORINFO` in this scope
[INFO] [stderr]  --> src/api/def.rs:4:26
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub fn monitor_info() -> MONITORINFO {
[INFO] [stderr]   |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `MONITORINFO` in this scope
[INFO] [stderr]  --> src/api/def.rs:5:3
[INFO] [stderr]   |
[INFO] [stderr] 5 |   MONITORINFO {
[INFO] [stderr]   |   ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `POINT` in this scope
[INFO] [stderr]   --> src/api/def.rs:13:19
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub fn point() -> POINT {
[INFO] [stderr]    |                   ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stderr]   --> src/api/def.rs:14:3
[INFO] [stderr]    |
[INFO] [stderr] 14 |   POINT { x: 0, y: 0 }
[INFO] [stderr]    |   ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/api/def.rs:17:18
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub fn rect() -> RECT {
[INFO] [stderr]    |                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stderr]   --> src/api/def.rs:18:3
[INFO] [stderr]    |
[INFO] [stderr] 18 |   RECT {
[INFO] [stderr]    |   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope
[INFO] [stderr]   --> src/api/def.rs:26:30
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub fn window_placement() -> WINDOWPLACEMENT {
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WINDOWPLACEMENT` in this scope
[INFO] [stderr]   --> src/api/def.rs:27:3
[INFO] [stderr]    |
[INFO] [stderr] 27 |   WINDOWPLACEMENT {
[INFO] [stderr]    |   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope
[INFO] [stderr]   --> src/api/def.rs:37:34
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub fn clone_window_placement(p: WINDOWPLACEMENT) -> WINDOWPLACEMENT {
[INFO] [stderr]    |                                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope
[INFO] [stderr]   --> src/api/def.rs:37:54
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub fn clone_window_placement(p: WINDOWPLACEMENT) -> WINDOWPLACEMENT {
[INFO] [stderr]    |                                                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WINDOWPLACEMENT` in this scope
[INFO] [stderr]   --> src/api/def.rs:38:3
[INFO] [stderr]    |
[INFO] [stderr] 38 |   WINDOWPLACEMENT {
[INFO] [stderr]    |   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TITLEBARINFO` in this scope
[INFO] [stderr]   --> src/api/def.rs:48:27
[INFO] [stderr]    |
[INFO] [stderr] 48 | pub fn titlebar_info() -> TITLEBARINFO {
[INFO] [stderr]    |                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `TITLEBARINFO` in this scope
[INFO] [stderr]   --> src/api/def.rs:49:3
[INFO] [stderr]    |
[INFO] [stderr] 49 |   TITLEBARINFO {
[INFO] [stderr]    |   ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stderr]   --> src/api/mod.rs:19:6
[INFO] [stderr]    |
[INFO] [stderr] 19 |   _: HMONITOR,
[INFO] [stderr]    |      ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stderr]   --> src/api/mod.rs:20:6
[INFO] [stderr]    |
[INFO] [stderr] 20 |   _: HDC,
[INFO] [stderr]    |      ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPRECT` in this scope
[INFO] [stderr]   --> src/api/mod.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 21 |   rect: LPRECT,
[INFO] [stderr]    |         ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/api/mod.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 22 |   l_param: LPARAM,
[INFO] [stderr]    |            ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stderr]   --> src/api/mod.rs:23:6
[INFO] [stderr]    |
[INFO] [stderr] 23 | ) -> BOOL {
[INFO] [stderr]    |      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/api/mod.rs:24:40
[INFO] [stderr]    |
[INFO] [stderr] 18 | unsafe extern "system" fn monitor_enum_proc(
[INFO] [stderr]    |                                            - help: you might be missing a type parameter: `<RECT>`
[INFO] [stderr] ...
[INFO] [stderr] 24 |   let vec = &mut *(l_param as *mut Vec<RECT>);
[INFO] [stderr]    |                                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/api/mod.rs:29:34
[INFO] [stderr]    |
[INFO] [stderr] 29 | pub fn get_all_monitors() -> Vec<RECT> {
[INFO] [stderr]    |                        -         ^^^^ not found in this scope
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        help: you might be missing a type parameter: `<RECT>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/api/mod.rs:30:20
[INFO] [stderr]    |
[INFO] [stderr] 29 | pub fn get_all_monitors() -> Vec<RECT> {
[INFO] [stderr]    |                        - help: you might be missing a type parameter: `<RECT>`
[INFO] [stderr] 30 |   let mut vec: Vec<RECT> = Vec::new();
[INFO] [stderr]    |                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MONITORENUMPROC` in this scope
[INFO] [stderr]   --> src/api/mod.rs:33:15
[INFO] [stderr]    |
[INFO] [stderr] 33 |     let proc: MONITORENUMPROC = Some(monitor_enum_proc);
[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/api/mod.rs:34:5
[INFO] [stderr]    |
[INFO] [stderr] 34 |     EnumDisplayMonitors(
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/api/mod.rs:38:28
[INFO] [stderr]    |
[INFO] [stderr] 29 | pub fn get_all_monitors() -> Vec<RECT> {
[INFO] [stderr]    |                        - help: you might be missing a type parameter: `<RECT>`
[INFO] [stderr] ...
[INFO] [stderr] 38 |       &mut vec as *mut Vec<RECT> as LPARAM,
[INFO] [stderr]    |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/api/mod.rs:38:37
[INFO] [stderr]    |
[INFO] [stderr] 38 |       &mut vec as *mut Vec<RECT> as LPARAM,
[INFO] [stderr]    |                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/api/mod.rs:44:50
[INFO] [stderr]    |
[INFO] [stderr] 44 | unsafe extern "system" fn window_enum_proc(hwnd: HWND, l_param: LPARAM) -> BOOL {
[INFO] [stderr]    |                                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/api/mod.rs:44:65
[INFO] [stderr]    |
[INFO] [stderr] 44 | unsafe extern "system" fn window_enum_proc(hwnd: HWND, l_param: LPARAM) -> BOOL {
[INFO] [stderr]    |                                                                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stderr]   --> src/api/mod.rs:44:76
[INFO] [stderr]    |
[INFO] [stderr] 44 | unsafe extern "system" fn window_enum_proc(hwnd: HWND, l_param: LPARAM) -> BOOL {
[INFO] [stderr]    |                                                                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/api/mod.rs:45:40
[INFO] [stderr]    |
[INFO] [stderr] 44 | unsafe extern "system" fn window_enum_proc(hwnd: HWND, l_param: LPARAM) -> BOOL {
[INFO] [stderr]    |                                           - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 45 |   let vec = &mut *(l_param as *mut Vec<HWND>);
[INFO] [stderr]    |                                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/api/mod.rs:52:33
[INFO] [stderr]    |
[INFO] [stderr] 52 | pub fn get_all_windows() -> Vec<HWND> {
[INFO] [stderr]    |                       -         ^^^^ not found in this scope
[INFO] [stderr]    |                       |
[INFO] [stderr]    |                       help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/api/mod.rs:53:20
[INFO] [stderr]    |
[INFO] [stderr] 52 | pub fn get_all_windows() -> Vec<HWND> {
[INFO] [stderr]    |                       - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] 53 |   let mut vec: Vec<HWND> = Vec::new();
[INFO] [stderr]    |                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDENUMPROC` in this scope
[INFO] [stderr]   --> src/api/mod.rs:56:15
[INFO] [stderr]    |
[INFO] [stderr] 56 |     let proc: WNDENUMPROC = Some(window_enum_proc);
[INFO] [stderr]    |               ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope
[INFO] [stderr]   --> src/api/mod.rs:57:5
[INFO] [stderr]    |
[INFO] [stderr] 57 |     EnumWindows(proc, &mut vec as *mut Vec<HWND> as LPARAM);
[INFO] [stderr]    |     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/api/mod.rs:57:44
[INFO] [stderr]    |
[INFO] [stderr] 52 | pub fn get_all_windows() -> Vec<HWND> {
[INFO] [stderr]    |                       - help: you might be missing a type parameter: `<HWND>`
[INFO] [stderr] ...
[INFO] [stderr] 57 |     EnumWindows(proc, &mut vec as *mut Vec<HWND> as LPARAM);
[INFO] [stderr]    |                                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/api/mod.rs:57:53
[INFO] [stderr]    |
[INFO] [stderr] 57 |     EnumWindows(proc, &mut vec as *mut Vec<HWND> as LPARAM);
[INFO] [stderr]    |                                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/api/mod.rs:63:30
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub fn get_window_text(hwnd: HWND) -> String {
[INFO] [stderr]    |                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope
[INFO] [stderr]   --> src/api/mod.rs:67:20
[INFO] [stderr]    |
[INFO] [stderr] 67 |     let read_len = GetWindowTextW(hwnd, name.as_mut_ptr(), size);
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/api/mod.rs:74:35
[INFO] [stderr]    |
[INFO] [stderr] 74 | pub fn get_window_placement(hwnd: HWND, placement: &mut WINDOWPLACEMENT) -> bool {
[INFO] [stderr]    |                                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope
[INFO] [stderr]   --> src/api/mod.rs:74:57
[INFO] [stderr]    |
[INFO] [stderr] 74 | pub fn get_window_placement(hwnd: HWND, placement: &mut WINDOWPLACEMENT) -> bool {
[INFO] [stderr]    |                                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowPlacement` in this scope
[INFO] [stderr]   --> src/api/mod.rs:78:8
[INFO] [stderr]    |
[INFO] [stderr] 74 | pub fn get_window_placement(hwnd: HWND, placement: &mut WINDOWPLACEMENT) -> bool {
[INFO] [stderr]    | -------------------------------------------------------------------------------- similarly named function `get_window_placement` defined here
[INFO] [stderr] ...
[INFO] [stderr] 78 |     if GetWindowPlacement(hwnd, placement) == 1 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_window_placement`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope
[INFO] [stderr]   --> src/api/mod.rs:79:7
[INFO] [stderr]    |
[INFO] [stderr] 79 |       GetWindowRect(hwnd, &mut placement.rcNormalPosition);
[INFO] [stderr]    |       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/api/mod.rs:96:32
[INFO] [stderr]    |
[INFO] [stderr] 96 | pub fn restore_placement(hwnd: HWND, p: WINDOWPLACEMENT) {
[INFO] [stderr]    |                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope
[INFO] [stderr]   --> src/api/mod.rs:96:41
[INFO] [stderr]    |
[INFO] [stderr] 96 | pub fn restore_placement(hwnd: HWND, p: WINDOWPLACEMENT) {
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWMINIMIZED` in this scope
[INFO] [stderr]    --> src/api/mod.rs:107:15
[INFO] [stderr]     |
[INFO] [stderr] 107 |     if cmd == SW_SHOWMINIMIZED as u32 {
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWMINNOACTIVE` in this scope
[INFO] [stderr]    --> src/api/mod.rs:108:27
[INFO] [stderr]     |
[INFO] [stderr] 108 |       placement.showCmd = SW_SHOWMINNOACTIVE as u32;
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WPF_ASYNCWINDOWPLACEMENT` in this scope
[INFO] [stderr]    --> src/api/mod.rs:109:26
[INFO] [stderr]     |
[INFO] [stderr] 109 |       placement.flags |= WPF_ASYNCWINDOWPLACEMENT;
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPlacement` in this scope
[INFO] [stderr]    --> src/api/mod.rs:110:7
[INFO] [stderr]     |
[INFO] [stderr] 74  | pub fn get_window_placement(hwnd: HWND, placement: &mut WINDOWPLACEMENT) -> bool {
[INFO] [stderr]     | -------------------------------------------------------------------------------- similarly named function `get_window_placement` defined here
[INFO] [stderr] ...
[INFO] [stderr] 110 |       SetWindowPlacement(hwnd, &placement);
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_window_placement`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWMAXIMIZED` in this scope
[INFO] [stderr]    --> src/api/mod.rs:111:22
[INFO] [stderr]     |
[INFO] [stderr] 111 |     } else if cmd == SW_SHOWMAXIMIZED as u32 {
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindowAsync` in this scope
[INFO] [stderr]    --> src/api/mod.rs:113:7
[INFO] [stderr]     |
[INFO] [stderr] 113 |       ShowWindowAsync(hwnd, SW_SHOWNOACTIVATE);
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWNOACTIVATE` in this scope
[INFO] [stderr]    --> src/api/mod.rs:113:29
[INFO] [stderr]     |
[INFO] [stderr] 113 |       ShowWindowAsync(hwnd, SW_SHOWNOACTIVATE);
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWNOACTIVATE` in this scope
[INFO] [stderr]    --> src/api/mod.rs:116:27
[INFO] [stderr]     |
[INFO] [stderr] 116 |       placement.showCmd = SW_SHOWNOACTIVATE as u32;
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WPF_ASYNCWINDOWPLACEMENT` in this scope
[INFO] [stderr]    --> src/api/mod.rs:117:26
[INFO] [stderr]     |
[INFO] [stderr] 117 |       placement.flags |= WPF_ASYNCWINDOWPLACEMENT;
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPlacement` in this scope
[INFO] [stderr]    --> src/api/mod.rs:118:7
[INFO] [stderr]     |
[INFO] [stderr] 74  | pub fn get_window_placement(hwnd: HWND, placement: &mut WINDOWPLACEMENT) -> bool {
[INFO] [stderr]     | -------------------------------------------------------------------------------- similarly named function `get_window_placement` defined here
[INFO] [stderr] ...
[INFO] [stderr] 118 |       SetWindowPlacement(hwnd, &placement);
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_window_placement`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindowAsync` in this scope
[INFO] [stderr]    --> src/api/mod.rs:121:7
[INFO] [stderr]     |
[INFO] [stderr] 121 |       ShowWindowAsync(hwnd, SW_SHOWMAXIMIZED);
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWMAXIMIZED` in this scope
[INFO] [stderr]    --> src/api/mod.rs:121:29
[INFO] [stderr]     |
[INFO] [stderr] 121 |       ShowWindowAsync(hwnd, SW_SHOWMAXIMIZED);
[INFO] [stderr]     |                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SW_SHOWNOACTIVATE` in this scope
[INFO] [stderr]    --> src/api/mod.rs:123:27
[INFO] [stderr]     |
[INFO] [stderr] 123 |       placement.showCmd = SW_SHOWNOACTIVATE as u32;
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WPF_ASYNCWINDOWPLACEMENT` in this scope
[INFO] [stderr]    --> src/api/mod.rs:124:26
[INFO] [stderr]     |
[INFO] [stderr] 124 |       placement.flags |= WPF_ASYNCWINDOWPLACEMENT;
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPlacement` in this scope
[INFO] [stderr]    --> src/api/mod.rs:125:7
[INFO] [stderr]     |
[INFO] [stderr] 74  | pub fn get_window_placement(hwnd: HWND, placement: &mut WINDOWPLACEMENT) -> bool {
[INFO] [stderr]     | -------------------------------------------------------------------------------- similarly named function `get_window_placement` defined here
[INFO] [stderr] ...
[INFO] [stderr] 125 |       SetWindowPlacement(hwnd, &placement);
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_window_placement`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/api/mod.rs:130:36
[INFO] [stderr]     |
[INFO] [stderr] 130 | pub fn is_application_window(hwnd: HWND) -> bool {
[INFO] [stderr]     |                                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindow` in this scope
[INFO] [stderr]    --> src/api/mod.rs:132:8
[INFO] [stderr]     |
[INFO] [stderr] 132 |     if IsWindow(hwnd) == 0 {
[INFO] [stderr]     |        ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetShellWindow` in this scope
[INFO] [stderr]    --> src/api/mod.rs:136:16
[INFO] [stderr]     |
[INFO] [stderr] 136 |     if hwnd == GetShellWindow() {
[INFO] [stderr]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope
[INFO] [stderr]    --> src/api/mod.rs:140:8
[INFO] [stderr]     |
[INFO] [stderr] 140 |     if IsWindowVisible(hwnd) == 0 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IsIconic` in this scope
[INFO] [stderr]    --> src/api/mod.rs:144:8
[INFO] [stderr]     |
[INFO] [stderr] 144 |     if IsIconic(hwnd) == 1 {
[INFO] [stderr]     |        ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/api/mod.rs:148:24
[INFO] [stderr]     |
[INFO] [stderr] 148 |     let mut hwnd_walk: HWND = GetAncestor(hwnd, GA_ROOTOWNER);
[INFO] [stderr]     |                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetAncestor` in this scope
[INFO] [stderr]    --> src/api/mod.rs:148:31
[INFO] [stderr]     |
[INFO] [stderr] 148 |     let mut hwnd_walk: HWND = GetAncestor(hwnd, GA_ROOTOWNER);
[INFO] [stderr]     |                               ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GA_ROOTOWNER` in this scope
[INFO] [stderr]    --> src/api/mod.rs:148:49
[INFO] [stderr]     |
[INFO] [stderr] 148 |     let mut hwnd_walk: HWND = GetAncestor(hwnd, GA_ROOTOWNER);
[INFO] [stderr]     |                                                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastActivePopup` in this scope
[INFO] [stderr]    --> src/api/mod.rs:149:24
[INFO] [stderr]     |
[INFO] [stderr] 149 |     let mut hwnd_try = GetLastActivePopup(hwnd);
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope
[INFO] [stderr]    --> src/api/mod.rs:151:10
[INFO] [stderr]     |
[INFO] [stderr] 151 |       if IsWindowVisible(hwnd_try) == 1 {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastActivePopup` in this scope
[INFO] [stderr]    --> src/api/mod.rs:156:18
[INFO] [stderr]     |
[INFO] [stderr] 156 |       hwnd_try = GetLastActivePopup(hwnd_walk);
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetTitleBarInfo` in this scope
[INFO] [stderr]    --> src/api/mod.rs:164:5
[INFO] [stderr]     |
[INFO] [stderr] 164 |     GetTitleBarInfo(hwnd, &mut ti);
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `STATE_SYSTEM_INVISIBLE` in this scope
[INFO] [stderr]    --> src/api/mod.rs:165:25
[INFO] [stderr]     |
[INFO] [stderr] 165 |     if (ti.rgstate[0] & STATE_SYSTEM_INVISIBLE) > 0 {
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongW` in this scope
[INFO] [stderr]    --> src/api/mod.rs:169:18
[INFO] [stderr]     |
[INFO] [stderr] 169 |     let exlong = GetWindowLongW(hwnd, GWL_EXSTYLE) as u32;
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GWL_EXSTYLE` in this scope
[INFO] [stderr]    --> src/api/mod.rs:169:39
[INFO] [stderr]     |
[INFO] [stderr] 169 |     let exlong = GetWindowLongW(hwnd, GWL_EXSTYLE) as u32;
[INFO] [stderr]     |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongW` in this scope
[INFO] [stderr]    --> src/api/mod.rs:170:16
[INFO] [stderr]     |
[INFO] [stderr] 170 |     let long = GetWindowLongW(hwnd, GWL_STYLE) as u32;
[INFO] [stderr]     |                ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `GWL_STYLE` in this scope
[INFO] [stderr]    --> src/api/mod.rs:170:37
[INFO] [stderr]     |
[INFO] [stderr] 170 |     let long = GetWindowLongW(hwnd, GWL_STYLE) as u32;
[INFO] [stderr]     |                                     ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_EX_TOOLWINDOW` in this scope
[INFO] [stderr]    --> src/api/mod.rs:172:18
[INFO] [stderr]     |
[INFO] [stderr] 172 |     if (exlong & WS_EX_TOOLWINDOW) > 0 {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_POPUP` in this scope
[INFO] [stderr]    --> src/api/mod.rs:175:16
[INFO] [stderr]     |
[INFO] [stderr] 175 |     if (long & WS_POPUP) > 0 {
[INFO] [stderr]     |                ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_CHILD` in this scope
[INFO] [stderr]    --> src/api/mod.rs:178:16
[INFO] [stderr]     |
[INFO] [stderr] 178 |     if (long & WS_CHILD) > 0 {
[INFO] [stderr]     |                ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetParent` in this scope
[INFO] [stderr]    --> src/api/mod.rs:182:18
[INFO] [stderr]     |
[INFO] [stderr] 182 |     let parent = GetParent(hwnd);
[INFO] [stderr]     |                  ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindow` in this scope
[INFO] [stderr]    --> src/api/mod.rs:183:8
[INFO] [stderr]     |
[INFO] [stderr] 183 |     if IsWindow(parent) == 1 {
[INFO] [stderr]     |        ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/api/mod.rs:197:33
[INFO] [stderr]     |
[INFO] [stderr] 197 | pub fn get_window_monitor(hwdn: HWND) -> HMONITOR {
[INFO] [stderr]     |                                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stderr]    --> src/api/mod.rs:197:42
[INFO] [stderr]     |
[INFO] [stderr] 197 | pub fn get_window_monitor(hwdn: HWND) -> HMONITOR {
[INFO] [stderr]     |                                          ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MonitorFromWindow` in this scope
[INFO] [stderr]    --> src/api/mod.rs:198:12
[INFO] [stderr]     |
[INFO] [stderr] 198 |   unsafe { MonitorFromWindow(hwdn, MONITOR_DEFAULTTONEAREST) }
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MONITOR_DEFAULTTONEAREST` in this scope
[INFO] [stderr]    --> src/api/mod.rs:198:36
[INFO] [stderr]     |
[INFO] [stderr] 198 |   unsafe { MonitorFromWindow(hwdn, MONITOR_DEFAULTTONEAREST) }
[INFO] [stderr]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stderr]    --> src/api/mod.rs:201:35
[INFO] [stderr]     |
[INFO] [stderr] 201 | pub fn get_monitor_info(hmonitor: HMONITOR) -> MONITORINFO {
[INFO] [stderr]     |                                   ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MONITORINFO` in this scope
[INFO] [stderr]    --> src/api/mod.rs:201:48
[INFO] [stderr]     |
[INFO] [stderr] 201 | pub fn get_monitor_info(hmonitor: HMONITOR) -> MONITORINFO {
[INFO] [stderr]     |                                                ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoW` in this scope
[INFO] [stderr]    --> src/api/mod.rs:205:5
[INFO] [stderr]     |
[INFO] [stderr] 205 |     GetMonitorInfoW(hmonitor, &mut info);
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]  --> src/structs/program.rs:6:15
[INFO] [stderr]   |
[INFO] [stderr] 6 |   pub window: HWND,
[INFO] [stderr]   |               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WINDOWPLACEMENT` in this scope
[INFO] [stderr]  --> src/structs/program.rs:7:18
[INFO] [stderr]   |
[INFO] [stderr] 7 |   pub placement: WINDOWPLACEMENT,
[INFO] [stderr]   |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stderr]  --> src/structs/program.rs:8:16
[INFO] [stderr]   |
[INFO] [stderr] 8 |   pub monitor: HMONITOR,
[INFO] [stderr]   |                ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MONITORINFO` in this scope
[INFO] [stderr]  --> src/structs/program.rs:9:21
[INFO] [stderr]   |
[INFO] [stderr] 9 |   pub monitor_info: MONITORINFO,
[INFO] [stderr]   |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 98 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `window-arranger`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "bb53045ad66615d0d8f8325f8bf766abccd089f04abee910f400d3df13eecf47"`
[INFO] running `"docker" "rm" "-f" "bb53045ad66615d0d8f8325f8bf766abccd089f04abee910f400d3df13eecf47"`
[INFO] [stdout] bb53045ad66615d0d8f8325f8bf766abccd089f04abee910f400d3df13eecf47
