[INFO] cloning repository https://github.com/AlfnXd/get_window_rect_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlfnXd/get_window_rect_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlfnXd%2Fget_window_rect_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlfnXd%2Fget_window_rect_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51aca2ee068c6247ce85b4e31142c1f11769c7a9 [INFO] checking AlfnXd/get_window_rect_rs against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlfnXd%2Fget_window_rect_rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlfnXd/get_window_rect_rs on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-7/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f7debc0e34f945d3f1a81ebf93561ed341eaf1e2850cc51708156c05f56f6b5c [INFO] running `Command { std: "docker" "start" "-a" "f7debc0e34f945d3f1a81ebf93561ed341eaf1e2850cc51708156c05f56f6b5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7debc0e34f945d3f1a81ebf93561ed341eaf1e2850cc51708156c05f56f6b5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7debc0e34f945d3f1a81ebf93561ed341eaf1e2850cc51708156c05f56f6b5c", kill_on_drop: false }` [INFO] [stdout] f7debc0e34f945d3f1a81ebf93561ed341eaf1e2850cc51708156c05f56f6b5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4cc014736ed477ad74cdca360b84da7d7617b74c4a372e847b0675652071c067 [INFO] running `Command { std: "docker" "start" "-a" "4cc014736ed477ad74cdca360b84da7d7617b74c4a372e847b0675652071c067", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.6 [INFO] [stderr] Checking win32api_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::minwindef::{DWORD, LPVOID}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::windef::{HWND, LPRECT, RECT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::winerror::SUCCEEDED; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::dwmapi::{DwmGetWindowAttribute, DWMWA_EXTENDED_FRAME_BOUNDS}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winnt::{LPWSTR, WCHAR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winuser::{GetWindowRect, GetWindowTextLengthW, GetWindowTextW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::minwindef::{DWORD, LPVOID}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::windef::{HWND, LPRECT, RECT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::winerror::SUCCEEDED; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::dwmapi::{DwmGetWindowAttribute, DWMWA_EXTENDED_FRAME_BOUNDS}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winnt::{LPWSTR, WCHAR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winuser::{GetWindowRect, GetWindowTextLengthW, GetWindowTextW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/main.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | impl From for PrettyPrintRect { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/main.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | fn from(rect: RECT) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/main.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | let mut rect: RECT = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/main.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | let mut rect: RECT = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DwmGetWindowAttribute` in this scope [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | DwmGetWindowAttribute( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | hwnd as HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWMWA_EXTENDED_FRAME_BOUNDS` in this scope [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | DWMWA_EXTENDED_FRAME_BOUNDS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/main.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | &mut rect as *mut RECT as LPVOID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/main.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | &mut rect as *mut RECT as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/main.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 52 | fn dwm_get_window_rect(hwnd: i32) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 64 | mem::size_of::() as DWORD, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:64:39 [INFO] [stdout] | [INFO] [stdout] 64 | mem::size_of::() as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/main.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | if SUCCEEDED(ret) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/main.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | let mut rect: RECT = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/main.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | let mut rect: RECT = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/main.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:81:46 [INFO] [stdout] | [INFO] [stdout] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stdout] --> src/main.rs:81:65 [INFO] [stdout] | [INFO] [stdout] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthW` in this scope [INFO] [stdout] --> src/main.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | let text_len = GetWindowTextLengthW(hwnd as HWND); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:91:53 [INFO] [stdout] | [INFO] [stdout] 91 | let text_len = GetWindowTextLengthW(hwnd as HWND); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stdout] --> src/main.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 89 | fn get_window_title_text(hwnd: i32) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 95 | let mut wide: Vec = Vec::with_capacity(max_size); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope [INFO] [stdout] --> src/main.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:97:46 [INFO] [stdout] | [INFO] [stdout] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/main.rs:97:69 [INFO] [stdout] | [INFO] [stdout] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/main.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | impl From for PrettyPrintRect { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/main.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | fn from(rect: RECT) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/main.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | let mut rect: RECT = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/main.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | let mut rect: RECT = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DwmGetWindowAttribute` in this scope [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | DwmGetWindowAttribute( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | hwnd as HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DWMWA_EXTENDED_FRAME_BOUNDS` in this scope [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | DWMWA_EXTENDED_FRAME_BOUNDS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/main.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | &mut rect as *mut RECT as LPVOID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/main.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | &mut rect as *mut RECT as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/main.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 52 | fn dwm_get_window_rect(hwnd: i32) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 64 | mem::size_of::() as DWORD, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:64:39 [INFO] [stdout] | [INFO] [stdout] 64 | mem::size_of::() as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/main.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | if SUCCEEDED(ret) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/main.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | let mut rect: RECT = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/main.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | let mut rect: RECT = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/main.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:81:46 [INFO] [stdout] | [INFO] [stdout] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stdout] --> src/main.rs:81:65 [INFO] [stdout] | [INFO] [stdout] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthW` in this scope [INFO] [stdout] --> src/main.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | let text_len = GetWindowTextLengthW(hwnd as HWND); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:91:53 [INFO] [stdout] | [INFO] [stdout] 91 | let text_len = GetWindowTextLengthW(hwnd as HWND); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stdout] --> src/main.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 89 | fn get_window_title_text(hwnd: i32) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 95 | let mut wide: Vec = Vec::with_capacity(max_size); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope [INFO] [stdout] --> src/main.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:97:46 [INFO] [stdout] | [INFO] [stdout] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/main.rs:97:69 [INFO] [stdout] | [INFO] [stdout] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [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] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4cc014736ed477ad74cdca360b84da7d7617b74c4a372e847b0675652071c067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cc014736ed477ad74cdca360b84da7d7617b74c4a372e847b0675652071c067", kill_on_drop: false }` [INFO] [stdout] 4cc014736ed477ad74cdca360b84da7d7617b74c4a372e847b0675652071c067