Nov 30 12:11:20.947 INFO checking AlfnXd/get_window_rect_rs against try#32252761328f59ccfadb1bafb8148c685bc830b3 for pr-56323 Nov 30 12:11:20.947 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-56323/worker-0/try#32252761328f59ccfadb1bafb8148c685bc830b3:/target:rw,Z" "-v" "/mnt/big/crater/work/local/test-source/worker-0/pr-56323/try#32252761328f59ccfadb1bafb8148c685bc830b3:/source:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +32252761328f59ccfadb1bafb8148c685bc830b3-alt check --frozen --all --all-targets" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Nov 30 12:11:21.362 INFO [stdout] 6a1b1fc7dff94cd107042f1c04e0d2f6bfd5f2aaa5ee2961aed92c9198a45f03 Nov 30 12:11:21.370 INFO running `"docker" "start" "-a" "6a1b1fc7dff94cd107042f1c04e0d2f6bfd5f2aaa5ee2961aed92c9198a45f03"` Nov 30 12:11:22.292 INFO [stderr] usermod: no changes Nov 30 12:11:22.360 INFO [stderr] Compiling winapi v0.3.6 Nov 30 12:11:24.692 INFO [stderr] Checking win32api_test v0.1.0 (/source) Nov 30 12:11:25.196 INFO [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` Nov 30 12:11:25.196 INFO [stderr] --> src/main.rs:11:13 Nov 30 12:11:25.196 INFO [stderr] | Nov 30 12:11:25.196 INFO [stderr] 11 | use winapi::shared::minwindef::{DWORD, LPVOID}; Nov 30 12:11:25.196 INFO [stderr] | ^^^^^^ could not find `shared` in `winapi` Nov 30 12:11:25.196 INFO [stderr] Nov 30 12:11:25.196 INFO [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` Nov 30 12:11:25.196 INFO [stderr] --> src/main.rs:12:13 Nov 30 12:11:25.196 INFO [stderr] | Nov 30 12:11:25.197 INFO [stderr] 12 | use winapi::shared::windef::{HWND, LPRECT, RECT}; Nov 30 12:11:25.197 INFO [stderr] | ^^^^^^ could not find `shared` in `winapi` Nov 30 12:11:25.197 INFO [stderr] Nov 30 12:11:25.197 INFO [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` Nov 30 12:11:25.197 INFO [stderr] --> src/main.rs:13:13 Nov 30 12:11:25.197 INFO [stderr] | Nov 30 12:11:25.197 INFO [stderr] 13 | use winapi::shared::winerror::SUCCEEDED; Nov 30 12:11:25.197 INFO [stderr] | ^^^^^^ could not find `shared` in `winapi` Nov 30 12:11:25.197 INFO [stderr] Nov 30 12:11:25.197 INFO [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` Nov 30 12:11:25.197 INFO [stderr] --> src/main.rs:14:13 Nov 30 12:11:25.197 INFO [stderr] | Nov 30 12:11:25.197 INFO [stderr] 14 | use winapi::um::dwmapi::{DwmGetWindowAttribute, DWMWA_EXTENDED_FRAME_BOUNDS}; Nov 30 12:11:25.197 INFO [stderr] | ^^ could not find `um` in `winapi` Nov 30 12:11:25.197 INFO [stderr] Nov 30 12:11:25.197 INFO [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` Nov 30 12:11:25.197 INFO [stderr] --> src/main.rs:15:13 Nov 30 12:11:25.197 INFO [stderr] | Nov 30 12:11:25.197 INFO [stderr] 15 | use winapi::um::winnt::{LPWSTR, WCHAR}; Nov 30 12:11:25.197 INFO [stderr] | ^^ could not find `um` in `winapi` Nov 30 12:11:25.197 INFO [stderr] Nov 30 12:11:25.197 INFO [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` Nov 30 12:11:25.197 INFO [stderr] --> src/main.rs:16:13 Nov 30 12:11:25.197 INFO [stderr] | Nov 30 12:11:25.197 INFO [stderr] 16 | use winapi::um::winuser::{GetWindowRect, GetWindowTextLengthW, GetWindowTextW}; Nov 30 12:11:25.197 INFO [stderr] | ^^ could not find `um` in `winapi` Nov 30 12:11:25.197 INFO [stderr] Nov 30 12:11:25.248 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:25.248 INFO [stderr] --> src/main.rs:41:11 Nov 30 12:11:25.248 INFO [stderr] | Nov 30 12:11:25.248 INFO [stderr] 41 | impl From for PrettyPrintRect { Nov 30 12:11:25.248 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.248 INFO [stderr] Nov 30 12:11:25.248 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:25.248 INFO [stderr] --> src/main.rs:42:19 Nov 30 12:11:25.248 INFO [stderr] | Nov 30 12:11:25.248 INFO [stderr] 42 | fn from(rect: RECT) -> Self { Nov 30 12:11:25.248 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.248 INFO [stderr] Nov 30 12:11:25.248 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:25.248 INFO [stderr] --> src/main.rs:53:19 Nov 30 12:11:25.249 INFO [stderr] | Nov 30 12:11:25.249 INFO [stderr] 53 | let mut rect: RECT = RECT { Nov 30 12:11:25.249 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.249 INFO [stderr] Nov 30 12:11:25.249 INFO [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope Nov 30 12:11:25.249 INFO [stderr] --> src/main.rs:53:26 Nov 30 12:11:25.249 INFO [stderr] | Nov 30 12:11:25.249 INFO [stderr] 53 | let mut rect: RECT = RECT { Nov 30 12:11:25.249 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.249 INFO [stderr] Nov 30 12:11:25.249 INFO [stderr] error[E0425]: cannot find function `DwmGetWindowAttribute` in this scope Nov 30 12:11:25.249 INFO [stderr] --> src/main.rs:60:9 Nov 30 12:11:25.249 INFO [stderr] | Nov 30 12:11:25.249 INFO [stderr] 60 | DwmGetWindowAttribute( Nov 30 12:11:25.249 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:25.249 INFO [stderr] Nov 30 12:11:25.249 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 30 12:11:25.249 INFO [stderr] --> src/main.rs:61:21 Nov 30 12:11:25.249 INFO [stderr] | Nov 30 12:11:25.249 INFO [stderr] 61 | hwnd as HWND, Nov 30 12:11:25.249 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.249 INFO [stderr] Nov 30 12:11:25.249 INFO [stderr] error[E0425]: cannot find value `DWMWA_EXTENDED_FRAME_BOUNDS` in this scope Nov 30 12:11:25.249 INFO [stderr] --> src/main.rs:62:13 Nov 30 12:11:25.249 INFO [stderr] | Nov 30 12:11:25.249 INFO [stderr] 62 | DWMWA_EXTENDED_FRAME_BOUNDS, Nov 30 12:11:25.249 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:25.249 INFO [stderr] Nov 30 12:11:25.249 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:25.249 INFO [stderr] --> src/main.rs:63:31 Nov 30 12:11:25.249 INFO [stderr] | Nov 30 12:11:25.249 INFO [stderr] 63 | &mut rect as *mut RECT as LPVOID, Nov 30 12:11:25.249 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.249 INFO [stderr] Nov 30 12:11:25.249 INFO [stderr] error[E0412]: cannot find type `LPVOID` in this scope Nov 30 12:11:25.249 INFO [stderr] --> src/main.rs:63:39 Nov 30 12:11:25.249 INFO [stderr] | Nov 30 12:11:25.249 INFO [stderr] 63 | &mut rect as *mut RECT as LPVOID, Nov 30 12:11:25.249 INFO [stderr] | ^^^^^^ not found in this scope Nov 30 12:11:25.249 INFO [stderr] Nov 30 12:11:25.249 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:25.249 INFO [stderr] --> src/main.rs:64:28 Nov 30 12:11:25.249 INFO [stderr] | Nov 30 12:11:25.249 INFO [stderr] 64 | mem::size_of::() as DWORD, Nov 30 12:11:25.249 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.249 INFO [stderr] Nov 30 12:11:25.249 INFO [stderr] error[E0412]: cannot find type `DWORD` in this scope Nov 30 12:11:25.249 INFO [stderr] --> src/main.rs:64:39 Nov 30 12:11:25.249 INFO [stderr] | Nov 30 12:11:25.249 INFO [stderr] 64 | mem::size_of::() as DWORD, Nov 30 12:11:25.249 INFO [stderr] | ^^^^^ not found in this scope Nov 30 12:11:25.249 INFO [stderr] Nov 30 12:11:25.250 INFO [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope Nov 30 12:11:25.250 INFO [stderr] --> src/main.rs:67:8 Nov 30 12:11:25.250 INFO [stderr] | Nov 30 12:11:25.250 INFO [stderr] 67 | if SUCCEEDED(ret) { Nov 30 12:11:25.250 INFO [stderr] | ^^^^^^^^^ not found in this scope Nov 30 12:11:25.250 INFO [stderr] Nov 30 12:11:25.250 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:25.250 INFO [stderr] --> src/main.rs:75:19 Nov 30 12:11:25.250 INFO [stderr] | Nov 30 12:11:25.250 INFO [stderr] 75 | let mut rect: RECT = RECT { Nov 30 12:11:25.250 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.250 INFO [stderr] Nov 30 12:11:25.250 INFO [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope Nov 30 12:11:25.250 INFO [stderr] --> src/main.rs:75:26 Nov 30 12:11:25.250 INFO [stderr] | Nov 30 12:11:25.250 INFO [stderr] 75 | let mut rect: RECT = RECT { Nov 30 12:11:25.250 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.250 INFO [stderr] Nov 30 12:11:25.250 INFO [stderr] error[E0425]: cannot find function `GetWindowRect` in this scope Nov 30 12:11:25.250 INFO [stderr] --> src/main.rs:81:24 Nov 30 12:11:25.250 INFO [stderr] | Nov 30 12:11:25.250 INFO [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; Nov 30 12:11:25.250 INFO [stderr] | ^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:25.250 INFO [stderr] Nov 30 12:11:25.250 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 30 12:11:25.250 INFO [stderr] --> src/main.rs:81:46 Nov 30 12:11:25.250 INFO [stderr] | Nov 30 12:11:25.250 INFO [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; Nov 30 12:11:25.250 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.250 INFO [stderr] Nov 30 12:11:25.250 INFO [stderr] error[E0412]: cannot find type `LPRECT` in this scope Nov 30 12:11:25.250 INFO [stderr] --> src/main.rs:81:65 Nov 30 12:11:25.250 INFO [stderr] | Nov 30 12:11:25.250 INFO [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; Nov 30 12:11:25.250 INFO [stderr] | ^^^^^^ not found in this scope Nov 30 12:11:25.250 INFO [stderr] Nov 30 12:11:25.250 INFO [stderr] error[E0425]: cannot find function `GetWindowTextLengthW` in this scope Nov 30 12:11:25.250 INFO [stderr] --> src/main.rs:91:24 Nov 30 12:11:25.250 INFO [stderr] | Nov 30 12:11:25.250 INFO [stderr] 91 | let text_len = GetWindowTextLengthW(hwnd as HWND); Nov 30 12:11:25.250 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:25.250 INFO [stderr] Nov 30 12:11:25.250 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 30 12:11:25.250 INFO [stderr] --> src/main.rs:91:53 Nov 30 12:11:25.250 INFO [stderr] | Nov 30 12:11:25.250 INFO [stderr] 91 | let text_len = GetWindowTextLengthW(hwnd as HWND); Nov 30 12:11:25.250 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.250 INFO [stderr] Nov 30 12:11:25.250 INFO [stderr] error[E0412]: cannot find type `WCHAR` in this scope Nov 30 12:11:25.250 INFO [stderr] --> src/main.rs:95:31 Nov 30 12:11:25.250 INFO [stderr] | Nov 30 12:11:25.250 INFO [stderr] 95 | let mut wide: Vec = Vec::with_capacity(max_size); Nov 30 12:11:25.250 INFO [stderr] | ^^^^^ not found in this scope Nov 30 12:11:25.250 INFO [stderr] Nov 30 12:11:25.250 INFO [stderr] error[E0425]: cannot find function `GetWindowTextW` in this scope Nov 30 12:11:25.250 INFO [stderr] --> src/main.rs:97:23 Nov 30 12:11:25.250 INFO [stderr] | Nov 30 12:11:25.250 INFO [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); Nov 30 12:11:25.250 INFO [stderr] | ^^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:25.250 INFO [stderr] Nov 30 12:11:25.250 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 30 12:11:25.250 INFO [stderr] --> src/main.rs:97:46 Nov 30 12:11:25.250 INFO [stderr] | Nov 30 12:11:25.250 INFO [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); Nov 30 12:11:25.250 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.250 INFO [stderr] Nov 30 12:11:25.250 INFO [stderr] error[E0412]: cannot find type `LPWSTR` in this scope Nov 30 12:11:25.250 INFO [stderr] --> src/main.rs:97:69 Nov 30 12:11:25.250 INFO [stderr] | Nov 30 12:11:25.251 INFO [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); Nov 30 12:11:25.251 INFO [stderr] | ^^^^^^ not found in this scope Nov 30 12:11:25.251 INFO [stderr] Nov 30 12:11:25.251 INFO [stderr] warning: unused imports: `DWORD`, `LPVOID` Nov 30 12:11:25.251 INFO [stderr] --> src/main.rs:11:33 Nov 30 12:11:25.251 INFO [stderr] | Nov 30 12:11:25.251 INFO [stderr] 11 | use winapi::shared::minwindef::{DWORD, LPVOID}; Nov 30 12:11:25.251 INFO [stderr] | ^^^^^ ^^^^^^ Nov 30 12:11:25.251 INFO [stderr] | Nov 30 12:11:25.251 INFO [stderr] = note: #[warn(unused_imports)] on by default Nov 30 12:11:25.251 INFO [stderr] Nov 30 12:11:25.251 INFO [stderr] warning: unused imports: `HWND`, `LPRECT`, `RECT` Nov 30 12:11:25.251 INFO [stderr] --> src/main.rs:12:30 Nov 30 12:11:25.251 INFO [stderr] | Nov 30 12:11:25.251 INFO [stderr] 12 | use winapi::shared::windef::{HWND, LPRECT, RECT}; Nov 30 12:11:25.251 INFO [stderr] | ^^^^ ^^^^^^ ^^^^ Nov 30 12:11:25.251 INFO [stderr] Nov 30 12:11:25.251 INFO [stderr] warning: unused import: `winapi::shared::winerror::SUCCEEDED` Nov 30 12:11:25.251 INFO [stderr] --> src/main.rs:13:5 Nov 30 12:11:25.251 INFO [stderr] | Nov 30 12:11:25.251 INFO [stderr] 13 | use winapi::shared::winerror::SUCCEEDED; Nov 30 12:11:25.251 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 30 12:11:25.251 INFO [stderr] Nov 30 12:11:25.251 INFO [stderr] warning: unused imports: `DWMWA_EXTENDED_FRAME_BOUNDS`, `DwmGetWindowAttribute` Nov 30 12:11:25.251 INFO [stderr] --> src/main.rs:14:26 Nov 30 12:11:25.251 INFO [stderr] | Nov 30 12:11:25.251 INFO [stderr] 14 | use winapi::um::dwmapi::{DwmGetWindowAttribute, DWMWA_EXTENDED_FRAME_BOUNDS}; Nov 30 12:11:25.251 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 30 12:11:25.251 INFO [stderr] Nov 30 12:11:25.251 INFO [stderr] warning: unused imports: `LPWSTR`, `WCHAR` Nov 30 12:11:25.251 INFO [stderr] --> src/main.rs:15:25 Nov 30 12:11:25.251 INFO [stderr] | Nov 30 12:11:25.251 INFO [stderr] 15 | use winapi::um::winnt::{LPWSTR, WCHAR}; Nov 30 12:11:25.251 INFO [stderr] | ^^^^^^ ^^^^^ Nov 30 12:11:25.251 INFO [stderr] Nov 30 12:11:25.251 INFO [stderr] warning: unused imports: `GetWindowRect`, `GetWindowTextLengthW`, `GetWindowTextW` Nov 30 12:11:25.251 INFO [stderr] --> src/main.rs:16:27 Nov 30 12:11:25.251 INFO [stderr] | Nov 30 12:11:25.251 INFO [stderr] 16 | use winapi::um::winuser::{GetWindowRect, GetWindowTextLengthW, GetWindowTextW}; Nov 30 12:11:25.251 INFO [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ Nov 30 12:11:25.251 INFO [stderr] Nov 30 12:11:25.524 INFO [stderr] error: aborting due to 29 previous errors Nov 30 12:11:25.524 INFO [stderr] Nov 30 12:11:25.524 INFO [stderr] Some errors occurred: E0412, E0422, E0425, E0433. Nov 30 12:11:25.524 INFO [stderr] For more information about an error, try `rustc --explain E0412`. Nov 30 12:11:25.545 INFO [stderr] error: Could not compile `win32api_test`. Nov 30 12:11:25.545 INFO [stderr] warning: build failed, waiting for other jobs to finish... Nov 30 12:11:25.552 INFO [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` Nov 30 12:11:25.552 INFO [stderr] --> src/main.rs:11:13 Nov 30 12:11:25.552 INFO [stderr] | Nov 30 12:11:25.552 INFO [stderr] 11 | use winapi::shared::minwindef::{DWORD, LPVOID}; Nov 30 12:11:25.552 INFO [stderr] | ^^^^^^ could not find `shared` in `winapi` Nov 30 12:11:25.552 INFO [stderr] Nov 30 12:11:25.552 INFO [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` Nov 30 12:11:25.552 INFO [stderr] --> src/main.rs:12:13 Nov 30 12:11:25.552 INFO [stderr] | Nov 30 12:11:25.552 INFO [stderr] 12 | use winapi::shared::windef::{HWND, LPRECT, RECT}; Nov 30 12:11:25.552 INFO [stderr] | ^^^^^^ could not find `shared` in `winapi` Nov 30 12:11:25.553 INFO [stderr] Nov 30 12:11:25.553 INFO [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` Nov 30 12:11:25.553 INFO [stderr] --> src/main.rs:13:13 Nov 30 12:11:25.553 INFO [stderr] | Nov 30 12:11:25.553 INFO [stderr] 13 | use winapi::shared::winerror::SUCCEEDED; Nov 30 12:11:25.553 INFO [stderr] | ^^^^^^ could not find `shared` in `winapi` Nov 30 12:11:25.553 INFO [stderr] Nov 30 12:11:25.553 INFO [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` Nov 30 12:11:25.553 INFO [stderr] --> src/main.rs:14:13 Nov 30 12:11:25.553 INFO [stderr] | Nov 30 12:11:25.553 INFO [stderr] 14 | use winapi::um::dwmapi::{DwmGetWindowAttribute, DWMWA_EXTENDED_FRAME_BOUNDS}; Nov 30 12:11:25.553 INFO [stderr] | ^^ could not find `um` in `winapi` Nov 30 12:11:25.553 INFO [stderr] Nov 30 12:11:25.553 INFO [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` Nov 30 12:11:25.553 INFO [stderr] --> src/main.rs:15:13 Nov 30 12:11:25.553 INFO [stderr] | Nov 30 12:11:25.553 INFO [stderr] 15 | use winapi::um::winnt::{LPWSTR, WCHAR}; Nov 30 12:11:25.553 INFO [stderr] | ^^ could not find `um` in `winapi` Nov 30 12:11:25.553 INFO [stderr] Nov 30 12:11:25.553 INFO [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` Nov 30 12:11:25.553 INFO [stderr] --> src/main.rs:16:13 Nov 30 12:11:25.553 INFO [stderr] | Nov 30 12:11:25.553 INFO [stderr] 16 | use winapi::um::winuser::{GetWindowRect, GetWindowTextLengthW, GetWindowTextW}; Nov 30 12:11:25.553 INFO [stderr] | ^^ could not find `um` in `winapi` Nov 30 12:11:25.553 INFO [stderr] Nov 30 12:11:25.627 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:25.627 INFO [stderr] --> src/main.rs:41:11 Nov 30 12:11:25.627 INFO [stderr] | Nov 30 12:11:25.627 INFO [stderr] 41 | impl From for PrettyPrintRect { Nov 30 12:11:25.627 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.627 INFO [stderr] Nov 30 12:11:25.627 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:25.627 INFO [stderr] --> src/main.rs:42:19 Nov 30 12:11:25.627 INFO [stderr] | Nov 30 12:11:25.627 INFO [stderr] 42 | fn from(rect: RECT) -> Self { Nov 30 12:11:25.628 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.628 INFO [stderr] Nov 30 12:11:25.628 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:25.628 INFO [stderr] --> src/main.rs:53:19 Nov 30 12:11:25.628 INFO [stderr] | Nov 30 12:11:25.628 INFO [stderr] 53 | let mut rect: RECT = RECT { Nov 30 12:11:25.628 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.628 INFO [stderr] Nov 30 12:11:25.628 INFO [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope Nov 30 12:11:25.628 INFO [stderr] --> src/main.rs:53:26 Nov 30 12:11:25.628 INFO [stderr] | Nov 30 12:11:25.628 INFO [stderr] 53 | let mut rect: RECT = RECT { Nov 30 12:11:25.628 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.628 INFO [stderr] Nov 30 12:11:25.628 INFO [stderr] error[E0425]: cannot find function `DwmGetWindowAttribute` in this scope Nov 30 12:11:25.628 INFO [stderr] --> src/main.rs:60:9 Nov 30 12:11:25.628 INFO [stderr] | Nov 30 12:11:25.628 INFO [stderr] 60 | DwmGetWindowAttribute( Nov 30 12:11:25.628 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:25.628 INFO [stderr] Nov 30 12:11:25.628 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 30 12:11:25.628 INFO [stderr] --> src/main.rs:61:21 Nov 30 12:11:25.628 INFO [stderr] | Nov 30 12:11:25.628 INFO [stderr] 61 | hwnd as HWND, Nov 30 12:11:25.628 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.628 INFO [stderr] Nov 30 12:11:25.628 INFO [stderr] error[E0425]: cannot find value `DWMWA_EXTENDED_FRAME_BOUNDS` in this scope Nov 30 12:11:25.628 INFO [stderr] --> src/main.rs:62:13 Nov 30 12:11:25.628 INFO [stderr] | Nov 30 12:11:25.628 INFO [stderr] 62 | DWMWA_EXTENDED_FRAME_BOUNDS, Nov 30 12:11:25.628 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:25.628 INFO [stderr] Nov 30 12:11:25.628 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:25.628 INFO [stderr] --> src/main.rs:63:31 Nov 30 12:11:25.628 INFO [stderr] | Nov 30 12:11:25.628 INFO [stderr] 63 | &mut rect as *mut RECT as LPVOID, Nov 30 12:11:25.628 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.628 INFO [stderr] Nov 30 12:11:25.628 INFO [stderr] error[E0412]: cannot find type `LPVOID` in this scope Nov 30 12:11:25.628 INFO [stderr] --> src/main.rs:63:39 Nov 30 12:11:25.628 INFO [stderr] | Nov 30 12:11:25.628 INFO [stderr] 63 | &mut rect as *mut RECT as LPVOID, Nov 30 12:11:25.628 INFO [stderr] | ^^^^^^ not found in this scope Nov 30 12:11:25.628 INFO [stderr] Nov 30 12:11:25.628 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:25.628 INFO [stderr] --> src/main.rs:64:28 Nov 30 12:11:25.628 INFO [stderr] | Nov 30 12:11:25.628 INFO [stderr] 64 | mem::size_of::() as DWORD, Nov 30 12:11:25.628 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.628 INFO [stderr] Nov 30 12:11:25.628 INFO [stderr] error[E0412]: cannot find type `DWORD` in this scope Nov 30 12:11:25.628 INFO [stderr] --> src/main.rs:64:39 Nov 30 12:11:25.628 INFO [stderr] | Nov 30 12:11:25.628 INFO [stderr] 64 | mem::size_of::() as DWORD, Nov 30 12:11:25.628 INFO [stderr] | ^^^^^ not found in this scope Nov 30 12:11:25.628 INFO [stderr] Nov 30 12:11:25.628 INFO [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope Nov 30 12:11:25.628 INFO [stderr] --> src/main.rs:67:8 Nov 30 12:11:25.628 INFO [stderr] | Nov 30 12:11:25.628 INFO [stderr] 67 | if SUCCEEDED(ret) { Nov 30 12:11:25.628 INFO [stderr] | ^^^^^^^^^ not found in this scope Nov 30 12:11:25.628 INFO [stderr] Nov 30 12:11:25.628 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:25.628 INFO [stderr] --> src/main.rs:75:19 Nov 30 12:11:25.628 INFO [stderr] | Nov 30 12:11:25.628 INFO [stderr] 75 | let mut rect: RECT = RECT { Nov 30 12:11:25.628 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.628 INFO [stderr] Nov 30 12:11:25.628 INFO [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope Nov 30 12:11:25.628 INFO [stderr] --> src/main.rs:75:26 Nov 30 12:11:25.628 INFO [stderr] | Nov 30 12:11:25.628 INFO [stderr] 75 | let mut rect: RECT = RECT { Nov 30 12:11:25.628 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.628 INFO [stderr] Nov 30 12:11:25.628 INFO [stderr] error[E0425]: cannot find function `GetWindowRect` in this scope Nov 30 12:11:25.628 INFO [stderr] --> src/main.rs:81:24 Nov 30 12:11:25.628 INFO [stderr] | Nov 30 12:11:25.628 INFO [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; Nov 30 12:11:25.628 INFO [stderr] | ^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:25.628 INFO [stderr] Nov 30 12:11:25.628 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 30 12:11:25.628 INFO [stderr] --> src/main.rs:81:46 Nov 30 12:11:25.628 INFO [stderr] | Nov 30 12:11:25.628 INFO [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; Nov 30 12:11:25.628 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.628 INFO [stderr] Nov 30 12:11:25.628 INFO [stderr] error[E0412]: cannot find type `LPRECT` in this scope Nov 30 12:11:25.628 INFO [stderr] --> src/main.rs:81:65 Nov 30 12:11:25.628 INFO [stderr] | Nov 30 12:11:25.628 INFO [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; Nov 30 12:11:25.629 INFO [stderr] | ^^^^^^ not found in this scope Nov 30 12:11:25.629 INFO [stderr] Nov 30 12:11:25.629 INFO [stderr] error[E0425]: cannot find function `GetWindowTextLengthW` in this scope Nov 30 12:11:25.629 INFO [stderr] --> src/main.rs:91:24 Nov 30 12:11:25.629 INFO [stderr] | Nov 30 12:11:25.629 INFO [stderr] 91 | let text_len = GetWindowTextLengthW(hwnd as HWND); Nov 30 12:11:25.629 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:25.629 INFO [stderr] Nov 30 12:11:25.629 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 30 12:11:25.629 INFO [stderr] --> src/main.rs:91:53 Nov 30 12:11:25.629 INFO [stderr] | Nov 30 12:11:25.629 INFO [stderr] 91 | let text_len = GetWindowTextLengthW(hwnd as HWND); Nov 30 12:11:25.629 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.629 INFO [stderr] Nov 30 12:11:25.629 INFO [stderr] error[E0412]: cannot find type `WCHAR` in this scope Nov 30 12:11:25.629 INFO [stderr] --> src/main.rs:95:31 Nov 30 12:11:25.629 INFO [stderr] | Nov 30 12:11:25.629 INFO [stderr] 95 | let mut wide: Vec = Vec::with_capacity(max_size); Nov 30 12:11:25.629 INFO [stderr] | ^^^^^ not found in this scope Nov 30 12:11:25.629 INFO [stderr] Nov 30 12:11:25.629 INFO [stderr] error[E0425]: cannot find function `GetWindowTextW` in this scope Nov 30 12:11:25.629 INFO [stderr] --> src/main.rs:97:23 Nov 30 12:11:25.629 INFO [stderr] | Nov 30 12:11:25.629 INFO [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); Nov 30 12:11:25.629 INFO [stderr] | ^^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:25.629 INFO [stderr] Nov 30 12:11:25.629 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 30 12:11:25.629 INFO [stderr] --> src/main.rs:97:46 Nov 30 12:11:25.629 INFO [stderr] | Nov 30 12:11:25.629 INFO [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); Nov 30 12:11:25.629 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:25.629 INFO [stderr] Nov 30 12:11:25.629 INFO [stderr] error[E0412]: cannot find type `LPWSTR` in this scope Nov 30 12:11:25.629 INFO [stderr] --> src/main.rs:97:69 Nov 30 12:11:25.629 INFO [stderr] | Nov 30 12:11:25.629 INFO [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); Nov 30 12:11:25.629 INFO [stderr] | ^^^^^^ not found in this scope Nov 30 12:11:25.629 INFO [stderr] Nov 30 12:11:25.632 INFO [stderr] warning: unused imports: `DWORD`, `LPVOID` Nov 30 12:11:25.632 INFO [stderr] --> src/main.rs:11:33 Nov 30 12:11:25.632 INFO [stderr] | Nov 30 12:11:25.632 INFO [stderr] 11 | use winapi::shared::minwindef::{DWORD, LPVOID}; Nov 30 12:11:25.632 INFO [stderr] | ^^^^^ ^^^^^^ Nov 30 12:11:25.632 INFO [stderr] | Nov 30 12:11:25.632 INFO [stderr] = note: #[warn(unused_imports)] on by default Nov 30 12:11:25.632 INFO [stderr] Nov 30 12:11:25.632 INFO [stderr] warning: unused imports: `HWND`, `LPRECT`, `RECT` Nov 30 12:11:25.632 INFO [stderr] --> src/main.rs:12:30 Nov 30 12:11:25.632 INFO [stderr] | Nov 30 12:11:25.632 INFO [stderr] 12 | use winapi::shared::windef::{HWND, LPRECT, RECT}; Nov 30 12:11:25.632 INFO [stderr] | ^^^^ ^^^^^^ ^^^^ Nov 30 12:11:25.632 INFO [stderr] Nov 30 12:11:25.632 INFO [stderr] warning: unused import: `winapi::shared::winerror::SUCCEEDED` Nov 30 12:11:25.632 INFO [stderr] --> src/main.rs:13:5 Nov 30 12:11:25.632 INFO [stderr] | Nov 30 12:11:25.632 INFO [stderr] 13 | use winapi::shared::winerror::SUCCEEDED; Nov 30 12:11:25.632 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 30 12:11:25.632 INFO [stderr] Nov 30 12:11:25.632 INFO [stderr] warning: unused imports: `DWMWA_EXTENDED_FRAME_BOUNDS`, `DwmGetWindowAttribute` Nov 30 12:11:25.632 INFO [stderr] --> src/main.rs:14:26 Nov 30 12:11:25.632 INFO [stderr] | Nov 30 12:11:25.632 INFO [stderr] 14 | use winapi::um::dwmapi::{DwmGetWindowAttribute, DWMWA_EXTENDED_FRAME_BOUNDS}; Nov 30 12:11:25.632 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 30 12:11:25.632 INFO [stderr] Nov 30 12:11:25.632 INFO [stderr] warning: unused imports: `LPWSTR`, `WCHAR` Nov 30 12:11:25.632 INFO [stderr] --> src/main.rs:15:25 Nov 30 12:11:25.632 INFO [stderr] | Nov 30 12:11:25.632 INFO [stderr] 15 | use winapi::um::winnt::{LPWSTR, WCHAR}; Nov 30 12:11:25.633 INFO [stderr] | ^^^^^^ ^^^^^ Nov 30 12:11:25.633 INFO [stderr] Nov 30 12:11:25.633 INFO [stderr] warning: unused imports: `GetWindowRect`, `GetWindowTextLengthW`, `GetWindowTextW` Nov 30 12:11:25.633 INFO [stderr] --> src/main.rs:16:27 Nov 30 12:11:25.633 INFO [stderr] | Nov 30 12:11:25.633 INFO [stderr] 16 | use winapi::um::winuser::{GetWindowRect, GetWindowTextLengthW, GetWindowTextW}; Nov 30 12:11:25.633 INFO [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ Nov 30 12:11:25.633 INFO [stderr] Nov 30 12:11:25.712 INFO [stderr] error: aborting due to 29 previous errors Nov 30 12:11:25.712 INFO [stderr] Nov 30 12:11:25.712 INFO [stderr] Some errors occurred: E0412, E0422, E0425, E0433. Nov 30 12:11:25.712 INFO [stderr] For more information about an error, try `rustc --explain E0412`. Nov 30 12:11:25.712 INFO [stderr] error: Could not compile `win32api_test`. Nov 30 12:11:25.712 INFO [stderr] Nov 30 12:11:25.712 INFO [stderr] To learn more, run the command again with --verbose. Nov 30 12:11:25.712 INFO [stderr] su: No module specific data is present Nov 30 12:11:26.885 INFO running `"docker" "inspect" "6a1b1fc7dff94cd107042f1c04e0d2f6bfd5f2aaa5ee2961aed92c9198a45f03"` Nov 30 12:11:27.175 INFO running `"docker" "rm" "-f" "6a1b1fc7dff94cd107042f1c04e0d2f6bfd5f2aaa5ee2961aed92c9198a45f03"` Nov 30 12:11:27.596 INFO [stdout] 6a1b1fc7dff94cd107042f1c04e0d2f6bfd5f2aaa5ee2961aed92c9198a45f03