[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlfnXd%2Fget_window_rect_rs" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlfnXd/get_window_rect_rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-11/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c3a670050258ad09c42a1a25869a5ce3853c0983084b82a367e269d924b3ee9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7c3a670050258ad09c42a1a25869a5ce3853c0983084b82a367e269d924b3ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c3a670050258ad09c42a1a25869a5ce3853c0983084b82a367e269d924b3ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c3a670050258ad09c42a1a25869a5ce3853c0983084b82a367e269d924b3ee9", kill_on_drop: false }` [INFO] [stdout] 7c3a670050258ad09c42a1a25869a5ce3853c0983084b82a367e269d924b3ee9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c771d5ff8a23568d0100a31f85136e5b521a4076336c7ed5b7a7b07d47ce223a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c771d5ff8a23568d0100a31f85136e5b521a4076336c7ed5b7a7b07d47ce223a", 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" "c771d5ff8a23568d0100a31f85136e5b521a4076336c7ed5b7a7b07d47ce223a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c771d5ff8a23568d0100a31f85136e5b521a4076336c7ed5b7a7b07d47ce223a", kill_on_drop: false }` [INFO] [stdout] c771d5ff8a23568d0100a31f85136e5b521a4076336c7ed5b7a7b07d47ce223a