[INFO] updating cached repository https://github.com/AlfnXd/get_window_rect_rs
[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] 51aca2ee068c6247ce85b4e31142c1f11769c7a9
[INFO] checking AlfnXd/get_window_rect_rs against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlfnXd%2Fget_window_rect_rs" "/workspace/builds/worker-6/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AlfnXd/get_window_rect_rs 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/AlfnXd/get_window_rect_rs
[INFO] finished tweaking git repo https://github.com/AlfnXd/get_window_rect_rs
[INFO] tweaked toml for git repo https://github.com/AlfnXd/get_window_rect_rs written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/AlfnXd/get_window_rect_rs 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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 37dc60d8c12b369ad60b46761df70e263748a94c11c6e38de7b5f28234d05a77
[INFO] running `"docker" "start" "-a" "37dc60d8c12b369ad60b46761df70e263748a94c11c6e38de7b5f28234d05a77"`
[INFO] [stderr]    Compiling winapi v0.3.6
[INFO] [stderr]     Checking win32api_test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]   --> src/main.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 | use winapi::shared::minwindef::{DWORD, LPVOID};
[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/main.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 | use winapi::shared::windef::{HWND, LPRECT, RECT};
[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/main.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 | use winapi::shared::winerror::SUCCEEDED;
[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:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 | use winapi::um::dwmapi::{DwmGetWindowAttribute, DWMWA_EXTENDED_FRAME_BOUNDS};
[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:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 | use winapi::shared::minwindef::{DWORD, LPVOID};
[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/main.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 | use winapi::shared::windef::{HWND, LPRECT, RECT};
[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/main.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 | use winapi::shared::winerror::SUCCEEDED;
[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:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 | use winapi::um::dwmapi::{DwmGetWindowAttribute, DWMWA_EXTENDED_FRAME_BOUNDS};
[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::winnt::{LPWSTR, WCHAR};
[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:16:13
[INFO] [stderr]    |
[INFO] [stderr] 16 | use winapi::um::winuser::{GetWindowRect, GetWindowTextLengthW, GetWindowTextW};
[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::winnt::{LPWSTR, WCHAR};
[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:16:13
[INFO] [stderr]    |
[INFO] [stderr] 16 | use winapi::um::winuser::{GetWindowRect, GetWindowTextLengthW, GetWindowTextW};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/main.rs:41:11
[INFO] [stderr]    |
[INFO] [stderr] 41 | impl From<RECT> for PrettyPrintRect {
[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/main.rs:42:19
[INFO] [stderr]    |
[INFO] [stderr] 42 |     fn from(rect: RECT) -> Self {
[INFO] [stderr]    |                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/main.rs:53:19
[INFO] [stderr]    |
[INFO] [stderr] 53 |     let mut rect: 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/main.rs:53:26
[INFO] [stderr]    |
[INFO] [stderr] 53 |     let mut rect: RECT = RECT {
[INFO] [stderr]    |                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DwmGetWindowAttribute` in this scope
[INFO] [stderr]   --> src/main.rs:60:9
[INFO] [stderr]    |
[INFO] [stderr] 60 |         DwmGetWindowAttribute(
[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:61:21
[INFO] [stderr]    |
[INFO] [stderr] 61 |             hwnd as HWND,
[INFO] [stderr]    |                     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DWMWA_EXTENDED_FRAME_BOUNDS` in this scope
[INFO] [stderr]   --> src/main.rs:62:13
[INFO] [stderr]    |
[INFO] [stderr] 62 |             DWMWA_EXTENDED_FRAME_BOUNDS,
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/main.rs:63:31
[INFO] [stderr]    |
[INFO] [stderr] 63 |             &mut rect as *mut RECT as LPVOID,
[INFO] [stderr]    |                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]   --> src/main.rs:63:39
[INFO] [stderr]    |
[INFO] [stderr] 63 |             &mut rect as *mut RECT as LPVOID,
[INFO] [stderr]    |                                       ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/main.rs:64:28
[INFO] [stderr]    |
[INFO] [stderr] 52 | fn dwm_get_window_rect(hwnd: i32) -> Result<PrettyPrintRect, Error> {
[INFO] [stderr]    |                       - help: you might be missing a type parameter: `<RECT>`
[INFO] [stderr] ...
[INFO] [stderr] 64 |             mem::size_of::<RECT>() as DWORD,
[INFO] [stderr]    |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/main.rs:64:39
[INFO] [stderr]    |
[INFO] [stderr] 64 |             mem::size_of::<RECT>() as DWORD,
[INFO] [stderr]    |                                       ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope
[INFO] [stderr]   --> src/main.rs:67:8
[INFO] [stderr]    |
[INFO] [stderr] 67 |     if SUCCEEDED(ret) {
[INFO] [stderr]    |        ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/main.rs:75:19
[INFO] [stderr]    |
[INFO] [stderr] 75 |     let mut rect: 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/main.rs:75:26
[INFO] [stderr]    |
[INFO] [stderr] 75 |     let mut rect: RECT = RECT {
[INFO] [stderr]    |                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope
[INFO] [stderr]   --> src/main.rs:81:24
[INFO] [stderr]    |
[INFO] [stderr] 81 |     let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) };
[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:81:46
[INFO] [stderr]    |
[INFO] [stderr] 81 |     let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) };
[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:81:65
[INFO] [stderr]    |
[INFO] [stderr] 81 |     let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) };
[INFO] [stderr]    |                                                                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthW` in this scope
[INFO] [stderr]   --> src/main.rs:91:24
[INFO] [stderr]    |
[INFO] [stderr] 91 |         let text_len = GetWindowTextLengthW(hwnd as HWND);
[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:91:53
[INFO] [stderr]    |
[INFO] [stderr] 91 |         let text_len = GetWindowTextLengthW(hwnd as HWND);
[INFO] [stderr]    |                                                     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stderr]   --> src/main.rs:95:31
[INFO] [stderr]    |
[INFO] [stderr] 89 | fn get_window_title_text(hwnd: i32) -> Result<String, Error> {
[INFO] [stderr]    |                         - help: you might be missing a type parameter: `<WCHAR>`
[INFO] [stderr] ...
[INFO] [stderr] 95 |             let mut wide: Vec<WCHAR> = Vec::with_capacity(max_size);
[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/main.rs:97:23
[INFO] [stderr]    |
[INFO] [stderr] 97 |             let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32);
[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:97:46
[INFO] [stderr]    |
[INFO] [stderr] 97 |             let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32);
[INFO] [stderr]    |                                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stderr]   --> src/main.rs:97:69
[INFO] [stderr]    |
[INFO] [stderr] 97 |             let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32);
[INFO] [stderr]    |                                                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/main.rs:41:11
[INFO] [stderr]    |
[INFO] [stderr] 41 | impl From<RECT> for PrettyPrintRect {
[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/main.rs:42:19
[INFO] [stderr]    |
[INFO] [stderr] 42 |     fn from(rect: RECT) -> Self {
[INFO] [stderr]    |                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/main.rs:53:19
[INFO] [stderr]    |
[INFO] [stderr] 53 |     let mut rect: 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/main.rs:53:26
[INFO] [stderr]    |
[INFO] [stderr] 53 |     let mut rect: RECT = RECT {
[INFO] [stderr]    |                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DwmGetWindowAttribute` in this scope
[INFO] [stderr]   --> src/main.rs:60:9
[INFO] [stderr]    |
[INFO] [stderr] 60 |         DwmGetWindowAttribute(
[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:61:21
[INFO] [stderr]    |
[INFO] [stderr] 61 |             hwnd as HWND,
[INFO] [stderr]    |                     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `DWMWA_EXTENDED_FRAME_BOUNDS` in this scope
[INFO] [stderr]   --> src/main.rs:62:13
[INFO] [stderr]    |
[INFO] [stderr] 62 |             DWMWA_EXTENDED_FRAME_BOUNDS,
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/main.rs:63:31
[INFO] [stderr]    |
[INFO] [stderr] 63 |             &mut rect as *mut RECT as LPVOID,
[INFO] [stderr]    |                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stderr]   --> src/main.rs:63:39
[INFO] [stderr]    |
[INFO] [stderr] 63 |             &mut rect as *mut RECT as LPVOID,
[INFO] [stderr]    |                                       ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/main.rs:64:28
[INFO] [stderr]    |
[INFO] [stderr] 52 | fn dwm_get_window_rect(hwnd: i32) -> Result<PrettyPrintRect, Error> {
[INFO] [stderr]    |                       - help: you might be missing a type parameter: `<RECT>`
[INFO] [stderr] ...
[INFO] [stderr] 64 |             mem::size_of::<RECT>() as DWORD,
[INFO] [stderr]    |                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stderr]   --> src/main.rs:64:39
[INFO] [stderr]    |
[INFO] [stderr] 64 |             mem::size_of::<RECT>() as DWORD,
[INFO] [stderr]    |                                       ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope
[INFO] [stderr]   --> src/main.rs:67:8
[INFO] [stderr]    |
[INFO] [stderr] 67 |     if SUCCEEDED(ret) {
[INFO] [stderr]    |        ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stderr]   --> src/main.rs:75:19
[INFO] [stderr]    |
[INFO] [stderr] 75 |     let mut rect: 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/main.rs:75:26
[INFO] [stderr]    |
[INFO] [stderr] 75 |     let mut rect: RECT = RECT {
[INFO] [stderr]    |                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope
[INFO] [stderr]   --> src/main.rs:81:24
[INFO] [stderr]    |
[INFO] [stderr] 81 |     let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) };
[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:81:46
[INFO] [stderr]    |
[INFO] [stderr] 81 |     let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) };
[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:81:65
[INFO] [stderr]    |
[INFO] [stderr] 81 |     let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) };
[INFO] [stderr]    |                                                                 ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthW` in this scope
[INFO] [stderr]   --> src/main.rs:91:24
[INFO] [stderr]    |
[INFO] [stderr] 91 |         let text_len = GetWindowTextLengthW(hwnd as HWND);
[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:91:53
[INFO] [stderr]    |
[INFO] [stderr] 91 |         let text_len = GetWindowTextLengthW(hwnd as HWND);
[INFO] [stderr]    |                                                     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stderr]   --> src/main.rs:95:31
[INFO] [stderr]    |
[INFO] [stderr] 89 | fn get_window_title_text(hwnd: i32) -> Result<String, Error> {
[INFO] [stderr]    |                         - help: you might be missing a type parameter: `<WCHAR>`
[INFO] [stderr] ...
[INFO] [stderr] 95 |             let mut wide: Vec<WCHAR> = Vec::with_capacity(max_size);
[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/main.rs:97:23
[INFO] [stderr]    |
[INFO] [stderr] 97 |             let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32);
[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:97:46
[INFO] [stderr]    |
[INFO] [stderr] 97 |             let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32);
[INFO] [stderr]    |                                              ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stderr]   --> src/main.rs:97:69
[INFO] [stderr]    |
[INFO] [stderr] 97 |             let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32);
[INFO] [stderr]    |                                                                     ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 29 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: aborting due to 29 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 `win32api_test`.
[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: could not compile `win32api_test`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "37dc60d8c12b369ad60b46761df70e263748a94c11c6e38de7b5f28234d05a77"`
[INFO] running `"docker" "rm" "-f" "37dc60d8c12b369ad60b46761df70e263748a94c11c6e38de7b5f28234d05a77"`
[INFO] [stdout] 37dc60d8c12b369ad60b46761df70e263748a94c11c6e38de7b5f28234d05a77
