Nov 30 12:11:21.831 INFO checking AlfnXd/get_window_rect_rs against master#a49316ddc99d9d595193557fc899f6c52e4d9af9 for pr-56323 Nov 30 12:11:21.831 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-56323/worker-4/master#a49316ddc99d9d595193557fc899f6c52e4d9af9:/target:rw,Z" "-v" "/mnt/big/crater/work/local/test-source/worker-4/pr-56323/master#a49316ddc99d9d595193557fc899f6c52e4d9af9:/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 +a49316ddc99d9d595193557fc899f6c52e4d9af9-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:22.278 INFO [stdout] e431112ccf8538567c9c91b67ad545f3d50e32442f187128667e5436e287f026 Nov 30 12:11:22.282 INFO running `"docker" "start" "-a" "e431112ccf8538567c9c91b67ad545f3d50e32442f187128667e5436e287f026"` Nov 30 12:11:23.417 INFO [stderr] usermod: no changes Nov 30 12:11:23.474 INFO [stderr] Compiling winapi v0.3.6 Nov 30 12:11:25.764 INFO [stderr] Checking win32api_test v0.1.0 (/source) Nov 30 12:11:26.640 INFO [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` Nov 30 12:11:26.640 INFO [stderr] --> src/main.rs:11:13 Nov 30 12:11:26.640 INFO [stderr] | Nov 30 12:11:26.640 INFO [stderr] 11 | use winapi::shared::minwindef::{DWORD, LPVOID}; Nov 30 12:11:26.640 INFO [stderr] | ^^^^^^ could not find `shared` in `winapi` Nov 30 12:11:26.640 INFO [stderr] Nov 30 12:11:26.640 INFO [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` Nov 30 12:11:26.640 INFO [stderr] --> src/main.rs:12:13 Nov 30 12:11:26.640 INFO [stderr] | Nov 30 12:11:26.640 INFO [stderr] 12 | use winapi::shared::windef::{HWND, LPRECT, RECT}; Nov 30 12:11:26.640 INFO [stderr] | ^^^^^^ could not find `shared` in `winapi` Nov 30 12:11:26.640 INFO [stderr] Nov 30 12:11:26.640 INFO [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` Nov 30 12:11:26.640 INFO [stderr] --> src/main.rs:13:13 Nov 30 12:11:26.640 INFO [stderr] | Nov 30 12:11:26.640 INFO [stderr] 13 | use winapi::shared::winerror::SUCCEEDED; Nov 30 12:11:26.640 INFO [stderr] | ^^^^^^ could not find `shared` in `winapi` Nov 30 12:11:26.640 INFO [stderr] Nov 30 12:11:26.640 INFO [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` Nov 30 12:11:26.640 INFO [stderr] --> src/main.rs:14:13 Nov 30 12:11:26.641 INFO [stderr] | Nov 30 12:11:26.641 INFO [stderr] 14 | use winapi::um::dwmapi::{DwmGetWindowAttribute, DWMWA_EXTENDED_FRAME_BOUNDS}; Nov 30 12:11:26.641 INFO [stderr] | ^^ could not find `um` in `winapi` Nov 30 12:11:26.641 INFO [stderr] Nov 30 12:11:26.641 INFO [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` Nov 30 12:11:26.641 INFO [stderr] --> src/main.rs:15:13 Nov 30 12:11:26.641 INFO [stderr] | Nov 30 12:11:26.641 INFO [stderr] 15 | use winapi::um::winnt::{LPWSTR, WCHAR}; Nov 30 12:11:26.641 INFO [stderr] | ^^ could not find `um` in `winapi` Nov 30 12:11:26.641 INFO [stderr] Nov 30 12:11:26.641 INFO [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` Nov 30 12:11:26.641 INFO [stderr] --> src/main.rs:16:13 Nov 30 12:11:26.641 INFO [stderr] | Nov 30 12:11:26.641 INFO [stderr] 16 | use winapi::um::winuser::{GetWindowRect, GetWindowTextLengthW, GetWindowTextW}; Nov 30 12:11:26.641 INFO [stderr] | ^^ could not find `um` in `winapi` Nov 30 12:11:26.641 INFO [stderr] Nov 30 12:11:26.741 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:26.741 INFO [stderr] --> src/main.rs:41:11 Nov 30 12:11:26.741 INFO [stderr] | Nov 30 12:11:26.741 INFO [stderr] 41 | impl From for PrettyPrintRect { Nov 30 12:11:26.741 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.741 INFO [stderr] Nov 30 12:11:26.741 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:26.741 INFO [stderr] --> src/main.rs:42:19 Nov 30 12:11:26.741 INFO [stderr] | Nov 30 12:11:26.741 INFO [stderr] 42 | fn from(rect: RECT) -> Self { Nov 30 12:11:26.741 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.741 INFO [stderr] Nov 30 12:11:26.741 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:26.741 INFO [stderr] --> src/main.rs:53:19 Nov 30 12:11:26.741 INFO [stderr] | Nov 30 12:11:26.741 INFO [stderr] 53 | let mut rect: RECT = RECT { Nov 30 12:11:26.741 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.741 INFO [stderr] Nov 30 12:11:26.741 INFO [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope Nov 30 12:11:26.741 INFO [stderr] --> src/main.rs:53:26 Nov 30 12:11:26.741 INFO [stderr] | Nov 30 12:11:26.741 INFO [stderr] 53 | let mut rect: RECT = RECT { Nov 30 12:11:26.741 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.741 INFO [stderr] Nov 30 12:11:26.741 INFO [stderr] error[E0425]: cannot find function `DwmGetWindowAttribute` in this scope Nov 30 12:11:26.741 INFO [stderr] --> src/main.rs:60:9 Nov 30 12:11:26.741 INFO [stderr] | Nov 30 12:11:26.741 INFO [stderr] 60 | DwmGetWindowAttribute( Nov 30 12:11:26.741 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:26.741 INFO [stderr] Nov 30 12:11:26.741 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 30 12:11:26.741 INFO [stderr] --> src/main.rs:61:21 Nov 30 12:11:26.741 INFO [stderr] | Nov 30 12:11:26.741 INFO [stderr] 61 | hwnd as HWND, Nov 30 12:11:26.741 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.741 INFO [stderr] Nov 30 12:11:26.741 INFO [stderr] error[E0425]: cannot find value `DWMWA_EXTENDED_FRAME_BOUNDS` in this scope Nov 30 12:11:26.741 INFO [stderr] --> src/main.rs:62:13 Nov 30 12:11:26.741 INFO [stderr] | Nov 30 12:11:26.741 INFO [stderr] 62 | DWMWA_EXTENDED_FRAME_BOUNDS, Nov 30 12:11:26.741 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:26.741 INFO [stderr] Nov 30 12:11:26.741 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:26.741 INFO [stderr] --> src/main.rs:63:31 Nov 30 12:11:26.741 INFO [stderr] | Nov 30 12:11:26.741 INFO [stderr] 63 | &mut rect as *mut RECT as LPVOID, Nov 30 12:11:26.741 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.741 INFO [stderr] Nov 30 12:11:26.741 INFO [stderr] error[E0412]: cannot find type `LPVOID` in this scope Nov 30 12:11:26.741 INFO [stderr] --> src/main.rs:63:39 Nov 30 12:11:26.741 INFO [stderr] | Nov 30 12:11:26.741 INFO [stderr] 63 | &mut rect as *mut RECT as LPVOID, Nov 30 12:11:26.741 INFO [stderr] | ^^^^^^ not found in this scope Nov 30 12:11:26.741 INFO [stderr] Nov 30 12:11:26.741 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:26.741 INFO [stderr] --> src/main.rs:64:28 Nov 30 12:11:26.741 INFO [stderr] | Nov 30 12:11:26.741 INFO [stderr] 64 | mem::size_of::() as DWORD, Nov 30 12:11:26.741 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.741 INFO [stderr] Nov 30 12:11:26.741 INFO [stderr] error[E0412]: cannot find type `DWORD` in this scope Nov 30 12:11:26.741 INFO [stderr] --> src/main.rs:64:39 Nov 30 12:11:26.741 INFO [stderr] | Nov 30 12:11:26.741 INFO [stderr] 64 | mem::size_of::() as DWORD, Nov 30 12:11:26.741 INFO [stderr] | ^^^^^ not found in this scope Nov 30 12:11:26.741 INFO [stderr] Nov 30 12:11:26.741 INFO [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope Nov 30 12:11:26.741 INFO [stderr] --> src/main.rs:67:8 Nov 30 12:11:26.741 INFO [stderr] | Nov 30 12:11:26.741 INFO [stderr] 67 | if SUCCEEDED(ret) { Nov 30 12:11:26.741 INFO [stderr] | ^^^^^^^^^ not found in this scope Nov 30 12:11:26.741 INFO [stderr] Nov 30 12:11:26.741 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:26.741 INFO [stderr] --> src/main.rs:75:19 Nov 30 12:11:26.742 INFO [stderr] | Nov 30 12:11:26.742 INFO [stderr] 75 | let mut rect: RECT = RECT { Nov 30 12:11:26.742 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.742 INFO [stderr] Nov 30 12:11:26.742 INFO [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope Nov 30 12:11:26.742 INFO [stderr] --> src/main.rs:75:26 Nov 30 12:11:26.742 INFO [stderr] | Nov 30 12:11:26.742 INFO [stderr] 75 | let mut rect: RECT = RECT { Nov 30 12:11:26.742 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.742 INFO [stderr] Nov 30 12:11:26.742 INFO [stderr] error[E0425]: cannot find function `GetWindowRect` in this scope Nov 30 12:11:26.742 INFO [stderr] --> src/main.rs:81:24 Nov 30 12:11:26.742 INFO [stderr] | Nov 30 12:11:26.742 INFO [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; Nov 30 12:11:26.742 INFO [stderr] | ^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:26.742 INFO [stderr] Nov 30 12:11:26.742 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 30 12:11:26.742 INFO [stderr] --> src/main.rs:81:46 Nov 30 12:11:26.742 INFO [stderr] | Nov 30 12:11:26.742 INFO [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; Nov 30 12:11:26.742 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.742 INFO [stderr] Nov 30 12:11:26.742 INFO [stderr] error[E0412]: cannot find type `LPRECT` in this scope Nov 30 12:11:26.742 INFO [stderr] --> src/main.rs:81:65 Nov 30 12:11:26.742 INFO [stderr] | Nov 30 12:11:26.742 INFO [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; Nov 30 12:11:26.742 INFO [stderr] | ^^^^^^ not found in this scope Nov 30 12:11:26.742 INFO [stderr] Nov 30 12:11:26.742 INFO [stderr] error[E0425]: cannot find function `GetWindowTextLengthW` in this scope Nov 30 12:11:26.742 INFO [stderr] --> src/main.rs:91:24 Nov 30 12:11:26.742 INFO [stderr] | Nov 30 12:11:26.742 INFO [stderr] 91 | let text_len = GetWindowTextLengthW(hwnd as HWND); Nov 30 12:11:26.742 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:26.742 INFO [stderr] Nov 30 12:11:26.742 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 30 12:11:26.742 INFO [stderr] --> src/main.rs:91:53 Nov 30 12:11:26.742 INFO [stderr] | Nov 30 12:11:26.742 INFO [stderr] 91 | let text_len = GetWindowTextLengthW(hwnd as HWND); Nov 30 12:11:26.742 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.742 INFO [stderr] Nov 30 12:11:26.742 INFO [stderr] error[E0412]: cannot find type `WCHAR` in this scope Nov 30 12:11:26.742 INFO [stderr] --> src/main.rs:95:31 Nov 30 12:11:26.742 INFO [stderr] | Nov 30 12:11:26.742 INFO [stderr] 95 | let mut wide: Vec = Vec::with_capacity(max_size); Nov 30 12:11:26.742 INFO [stderr] | ^^^^^ not found in this scope Nov 30 12:11:26.742 INFO [stderr] Nov 30 12:11:26.742 INFO [stderr] error[E0425]: cannot find function `GetWindowTextW` in this scope Nov 30 12:11:26.742 INFO [stderr] --> src/main.rs:97:23 Nov 30 12:11:26.742 INFO [stderr] | Nov 30 12:11:26.742 INFO [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); Nov 30 12:11:26.742 INFO [stderr] | ^^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:26.742 INFO [stderr] Nov 30 12:11:26.742 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 30 12:11:26.742 INFO [stderr] --> src/main.rs:97:46 Nov 30 12:11:26.742 INFO [stderr] | Nov 30 12:11:26.742 INFO [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); Nov 30 12:11:26.742 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.742 INFO [stderr] Nov 30 12:11:26.742 INFO [stderr] error[E0412]: cannot find type `LPWSTR` in this scope Nov 30 12:11:26.742 INFO [stderr] --> src/main.rs:97:69 Nov 30 12:11:26.742 INFO [stderr] | Nov 30 12:11:26.742 INFO [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); Nov 30 12:11:26.742 INFO [stderr] | ^^^^^^ not found in this scope Nov 30 12:11:26.742 INFO [stderr] Nov 30 12:11:26.742 INFO [stderr] warning: unused imports: `DWORD`, `LPVOID` Nov 30 12:11:26.742 INFO [stderr] --> src/main.rs:11:33 Nov 30 12:11:26.742 INFO [stderr] | Nov 30 12:11:26.742 INFO [stderr] 11 | use winapi::shared::minwindef::{DWORD, LPVOID}; Nov 30 12:11:26.742 INFO [stderr] | ^^^^^ ^^^^^^ Nov 30 12:11:26.742 INFO [stderr] | Nov 30 12:11:26.742 INFO [stderr] = note: #[warn(unused_imports)] on by default Nov 30 12:11:26.742 INFO [stderr] Nov 30 12:11:26.742 INFO [stderr] warning: unused imports: `HWND`, `LPRECT`, `RECT` Nov 30 12:11:26.742 INFO [stderr] --> src/main.rs:12:30 Nov 30 12:11:26.742 INFO [stderr] | Nov 30 12:11:26.742 INFO [stderr] 12 | use winapi::shared::windef::{HWND, LPRECT, RECT}; Nov 30 12:11:26.742 INFO [stderr] | ^^^^ ^^^^^^ ^^^^ Nov 30 12:11:26.742 INFO [stderr] Nov 30 12:11:26.742 INFO [stderr] warning: unused import: `winapi::shared::winerror::SUCCEEDED` Nov 30 12:11:26.742 INFO [stderr] --> src/main.rs:13:5 Nov 30 12:11:26.742 INFO [stderr] | Nov 30 12:11:26.742 INFO [stderr] 13 | use winapi::shared::winerror::SUCCEEDED; Nov 30 12:11:26.742 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 30 12:11:26.742 INFO [stderr] Nov 30 12:11:26.742 INFO [stderr] warning: unused imports: `DWMWA_EXTENDED_FRAME_BOUNDS`, `DwmGetWindowAttribute` Nov 30 12:11:26.742 INFO [stderr] --> src/main.rs:14:26 Nov 30 12:11:26.742 INFO [stderr] | Nov 30 12:11:26.742 INFO [stderr] 14 | use winapi::um::dwmapi::{DwmGetWindowAttribute, DWMWA_EXTENDED_FRAME_BOUNDS}; Nov 30 12:11:26.742 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 30 12:11:26.742 INFO [stderr] Nov 30 12:11:26.742 INFO [stderr] warning: unused imports: `LPWSTR`, `WCHAR` Nov 30 12:11:26.742 INFO [stderr] --> src/main.rs:15:25 Nov 30 12:11:26.742 INFO [stderr] | Nov 30 12:11:26.742 INFO [stderr] 15 | use winapi::um::winnt::{LPWSTR, WCHAR}; Nov 30 12:11:26.742 INFO [stderr] | ^^^^^^ ^^^^^ Nov 30 12:11:26.742 INFO [stderr] Nov 30 12:11:26.743 INFO [stderr] warning: unused imports: `GetWindowRect`, `GetWindowTextLengthW`, `GetWindowTextW` Nov 30 12:11:26.743 INFO [stderr] --> src/main.rs:16:27 Nov 30 12:11:26.743 INFO [stderr] | Nov 30 12:11:26.743 INFO [stderr] 16 | use winapi::um::winuser::{GetWindowRect, GetWindowTextLengthW, GetWindowTextW}; Nov 30 12:11:26.743 INFO [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ Nov 30 12:11:26.743 INFO [stderr] Nov 30 12:11:26.821 INFO [stderr] error: aborting due to 29 previous errors Nov 30 12:11:26.821 INFO [stderr] Nov 30 12:11:26.821 INFO [stderr] Some errors occurred: E0412, E0422, E0425, E0433. Nov 30 12:11:26.821 INFO [stderr] For more information about an error, try `rustc --explain E0412`. Nov 30 12:11:26.824 INFO [stderr] error: Could not compile `win32api_test`. Nov 30 12:11:26.824 INFO [stderr] warning: build failed, waiting for other jobs to finish... Nov 30 12:11:26.868 INFO [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` Nov 30 12:11:26.868 INFO [stderr] --> src/main.rs:11:13 Nov 30 12:11:26.868 INFO [stderr] | Nov 30 12:11:26.868 INFO [stderr] 11 | use winapi::shared::minwindef::{DWORD, LPVOID}; Nov 30 12:11:26.868 INFO [stderr] | ^^^^^^ could not find `shared` in `winapi` Nov 30 12:11:26.868 INFO [stderr] Nov 30 12:11:26.868 INFO [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` Nov 30 12:11:26.868 INFO [stderr] --> src/main.rs:12:13 Nov 30 12:11:26.868 INFO [stderr] | Nov 30 12:11:26.868 INFO [stderr] 12 | use winapi::shared::windef::{HWND, LPRECT, RECT}; Nov 30 12:11:26.868 INFO [stderr] | ^^^^^^ could not find `shared` in `winapi` Nov 30 12:11:26.868 INFO [stderr] Nov 30 12:11:26.868 INFO [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` Nov 30 12:11:26.868 INFO [stderr] --> src/main.rs:13:13 Nov 30 12:11:26.868 INFO [stderr] | Nov 30 12:11:26.868 INFO [stderr] 13 | use winapi::shared::winerror::SUCCEEDED; Nov 30 12:11:26.868 INFO [stderr] | ^^^^^^ could not find `shared` in `winapi` Nov 30 12:11:26.868 INFO [stderr] Nov 30 12:11:26.868 INFO [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` Nov 30 12:11:26.868 INFO [stderr] --> src/main.rs:14:13 Nov 30 12:11:26.868 INFO [stderr] | Nov 30 12:11:26.868 INFO [stderr] 14 | use winapi::um::dwmapi::{DwmGetWindowAttribute, DWMWA_EXTENDED_FRAME_BOUNDS}; Nov 30 12:11:26.868 INFO [stderr] | ^^ could not find `um` in `winapi` Nov 30 12:11:26.868 INFO [stderr] Nov 30 12:11:26.868 INFO [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` Nov 30 12:11:26.868 INFO [stderr] --> src/main.rs:15:13 Nov 30 12:11:26.868 INFO [stderr] | Nov 30 12:11:26.868 INFO [stderr] 15 | use winapi::um::winnt::{LPWSTR, WCHAR}; Nov 30 12:11:26.868 INFO [stderr] | ^^ could not find `um` in `winapi` Nov 30 12:11:26.868 INFO [stderr] Nov 30 12:11:26.868 INFO [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` Nov 30 12:11:26.868 INFO [stderr] --> src/main.rs:16:13 Nov 30 12:11:26.868 INFO [stderr] | Nov 30 12:11:26.868 INFO [stderr] 16 | use winapi::um::winuser::{GetWindowRect, GetWindowTextLengthW, GetWindowTextW}; Nov 30 12:11:26.868 INFO [stderr] | ^^ could not find `um` in `winapi` Nov 30 12:11:26.868 INFO [stderr] Nov 30 12:11:26.933 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:26.933 INFO [stderr] --> src/main.rs:41:11 Nov 30 12:11:26.933 INFO [stderr] | Nov 30 12:11:26.933 INFO [stderr] 41 | impl From for PrettyPrintRect { Nov 30 12:11:26.933 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.933 INFO [stderr] Nov 30 12:11:26.933 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:26.933 INFO [stderr] --> src/main.rs:42:19 Nov 30 12:11:26.934 INFO [stderr] | Nov 30 12:11:26.934 INFO [stderr] 42 | fn from(rect: RECT) -> Self { Nov 30 12:11:26.934 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.934 INFO [stderr] Nov 30 12:11:26.934 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:26.934 INFO [stderr] --> src/main.rs:53:19 Nov 30 12:11:26.934 INFO [stderr] | Nov 30 12:11:26.934 INFO [stderr] 53 | let mut rect: RECT = RECT { Nov 30 12:11:26.934 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.934 INFO [stderr] Nov 30 12:11:26.934 INFO [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope Nov 30 12:11:26.934 INFO [stderr] --> src/main.rs:53:26 Nov 30 12:11:26.934 INFO [stderr] | Nov 30 12:11:26.934 INFO [stderr] 53 | let mut rect: RECT = RECT { Nov 30 12:11:26.934 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.934 INFO [stderr] Nov 30 12:11:26.934 INFO [stderr] error[E0425]: cannot find function `DwmGetWindowAttribute` in this scope Nov 30 12:11:26.934 INFO [stderr] --> src/main.rs:60:9 Nov 30 12:11:26.934 INFO [stderr] | Nov 30 12:11:26.934 INFO [stderr] 60 | DwmGetWindowAttribute( Nov 30 12:11:26.934 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:26.934 INFO [stderr] Nov 30 12:11:26.934 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 30 12:11:26.934 INFO [stderr] --> src/main.rs:61:21 Nov 30 12:11:26.934 INFO [stderr] | Nov 30 12:11:26.934 INFO [stderr] 61 | hwnd as HWND, Nov 30 12:11:26.934 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.934 INFO [stderr] Nov 30 12:11:26.934 INFO [stderr] error[E0425]: cannot find value `DWMWA_EXTENDED_FRAME_BOUNDS` in this scope Nov 30 12:11:26.934 INFO [stderr] --> src/main.rs:62:13 Nov 30 12:11:26.934 INFO [stderr] | Nov 30 12:11:26.934 INFO [stderr] 62 | DWMWA_EXTENDED_FRAME_BOUNDS, Nov 30 12:11:26.934 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:26.934 INFO [stderr] Nov 30 12:11:26.934 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:26.934 INFO [stderr] --> src/main.rs:63:31 Nov 30 12:11:26.934 INFO [stderr] | Nov 30 12:11:26.934 INFO [stderr] 63 | &mut rect as *mut RECT as LPVOID, Nov 30 12:11:26.934 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.934 INFO [stderr] Nov 30 12:11:26.934 INFO [stderr] error[E0412]: cannot find type `LPVOID` in this scope Nov 30 12:11:26.934 INFO [stderr] --> src/main.rs:63:39 Nov 30 12:11:26.934 INFO [stderr] | Nov 30 12:11:26.934 INFO [stderr] 63 | &mut rect as *mut RECT as LPVOID, Nov 30 12:11:26.934 INFO [stderr] | ^^^^^^ not found in this scope Nov 30 12:11:26.934 INFO [stderr] Nov 30 12:11:26.934 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:26.934 INFO [stderr] --> src/main.rs:64:28 Nov 30 12:11:26.934 INFO [stderr] | Nov 30 12:11:26.934 INFO [stderr] 64 | mem::size_of::() as DWORD, Nov 30 12:11:26.934 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.934 INFO [stderr] Nov 30 12:11:26.934 INFO [stderr] error[E0412]: cannot find type `DWORD` in this scope Nov 30 12:11:26.934 INFO [stderr] --> src/main.rs:64:39 Nov 30 12:11:26.934 INFO [stderr] | Nov 30 12:11:26.934 INFO [stderr] 64 | mem::size_of::() as DWORD, Nov 30 12:11:26.934 INFO [stderr] | ^^^^^ not found in this scope Nov 30 12:11:26.934 INFO [stderr] Nov 30 12:11:26.934 INFO [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope Nov 30 12:11:26.934 INFO [stderr] --> src/main.rs:67:8 Nov 30 12:11:26.934 INFO [stderr] | Nov 30 12:11:26.934 INFO [stderr] 67 | if SUCCEEDED(ret) { Nov 30 12:11:26.934 INFO [stderr] | ^^^^^^^^^ not found in this scope Nov 30 12:11:26.934 INFO [stderr] Nov 30 12:11:26.934 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 30 12:11:26.934 INFO [stderr] --> src/main.rs:75:19 Nov 30 12:11:26.934 INFO [stderr] | Nov 30 12:11:26.934 INFO [stderr] 75 | let mut rect: RECT = RECT { Nov 30 12:11:26.934 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.934 INFO [stderr] Nov 30 12:11:26.934 INFO [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope Nov 30 12:11:26.934 INFO [stderr] --> src/main.rs:75:26 Nov 30 12:11:26.934 INFO [stderr] | Nov 30 12:11:26.934 INFO [stderr] 75 | let mut rect: RECT = RECT { Nov 30 12:11:26.934 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.934 INFO [stderr] Nov 30 12:11:26.934 INFO [stderr] error[E0425]: cannot find function `GetWindowRect` in this scope Nov 30 12:11:26.934 INFO [stderr] --> src/main.rs:81:24 Nov 30 12:11:26.934 INFO [stderr] | Nov 30 12:11:26.934 INFO [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; Nov 30 12:11:26.934 INFO [stderr] | ^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:26.934 INFO [stderr] Nov 30 12:11:26.934 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 30 12:11:26.934 INFO [stderr] --> src/main.rs:81:46 Nov 30 12:11:26.934 INFO [stderr] | Nov 30 12:11:26.934 INFO [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; Nov 30 12:11:26.934 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.934 INFO [stderr] Nov 30 12:11:26.934 INFO [stderr] error[E0412]: cannot find type `LPRECT` in this scope Nov 30 12:11:26.935 INFO [stderr] --> src/main.rs:81:65 Nov 30 12:11:26.935 INFO [stderr] | Nov 30 12:11:26.935 INFO [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; Nov 30 12:11:26.935 INFO [stderr] | ^^^^^^ not found in this scope Nov 30 12:11:26.935 INFO [stderr] Nov 30 12:11:26.935 INFO [stderr] error[E0425]: cannot find function `GetWindowTextLengthW` in this scope Nov 30 12:11:26.935 INFO [stderr] --> src/main.rs:91:24 Nov 30 12:11:26.935 INFO [stderr] | Nov 30 12:11:26.935 INFO [stderr] 91 | let text_len = GetWindowTextLengthW(hwnd as HWND); Nov 30 12:11:26.935 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:26.935 INFO [stderr] Nov 30 12:11:26.935 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 30 12:11:26.935 INFO [stderr] --> src/main.rs:91:53 Nov 30 12:11:26.935 INFO [stderr] | Nov 30 12:11:26.935 INFO [stderr] 91 | let text_len = GetWindowTextLengthW(hwnd as HWND); Nov 30 12:11:26.935 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.935 INFO [stderr] Nov 30 12:11:26.935 INFO [stderr] error[E0412]: cannot find type `WCHAR` in this scope Nov 30 12:11:26.935 INFO [stderr] --> src/main.rs:95:31 Nov 30 12:11:26.935 INFO [stderr] | Nov 30 12:11:26.935 INFO [stderr] 95 | let mut wide: Vec = Vec::with_capacity(max_size); Nov 30 12:11:26.935 INFO [stderr] | ^^^^^ not found in this scope Nov 30 12:11:26.935 INFO [stderr] Nov 30 12:11:26.935 INFO [stderr] error[E0425]: cannot find function `GetWindowTextW` in this scope Nov 30 12:11:26.935 INFO [stderr] --> src/main.rs:97:23 Nov 30 12:11:26.935 INFO [stderr] | Nov 30 12:11:26.935 INFO [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); Nov 30 12:11:26.935 INFO [stderr] | ^^^^^^^^^^^^^^ not found in this scope Nov 30 12:11:26.935 INFO [stderr] Nov 30 12:11:26.935 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 30 12:11:26.935 INFO [stderr] --> src/main.rs:97:46 Nov 30 12:11:26.935 INFO [stderr] | Nov 30 12:11:26.935 INFO [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); Nov 30 12:11:26.935 INFO [stderr] | ^^^^ not found in this scope Nov 30 12:11:26.935 INFO [stderr] Nov 30 12:11:26.935 INFO [stderr] error[E0412]: cannot find type `LPWSTR` in this scope Nov 30 12:11:26.935 INFO [stderr] --> src/main.rs:97:69 Nov 30 12:11:26.935 INFO [stderr] | Nov 30 12:11:26.935 INFO [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); Nov 30 12:11:26.935 INFO [stderr] | ^^^^^^ not found in this scope Nov 30 12:11:26.935 INFO [stderr] Nov 30 12:11:26.935 INFO [stderr] warning: unused imports: `DWORD`, `LPVOID` Nov 30 12:11:26.935 INFO [stderr] --> src/main.rs:11:33 Nov 30 12:11:26.935 INFO [stderr] | Nov 30 12:11:26.935 INFO [stderr] 11 | use winapi::shared::minwindef::{DWORD, LPVOID}; Nov 30 12:11:26.935 INFO [stderr] | ^^^^^ ^^^^^^ Nov 30 12:11:26.935 INFO [stderr] | Nov 30 12:11:26.935 INFO [stderr] = note: #[warn(unused_imports)] on by default Nov 30 12:11:26.935 INFO [stderr] Nov 30 12:11:26.935 INFO [stderr] warning: unused imports: `HWND`, `LPRECT`, `RECT` Nov 30 12:11:26.935 INFO [stderr] --> src/main.rs:12:30 Nov 30 12:11:26.935 INFO [stderr] | Nov 30 12:11:26.935 INFO [stderr] 12 | use winapi::shared::windef::{HWND, LPRECT, RECT}; Nov 30 12:11:26.935 INFO [stderr] | ^^^^ ^^^^^^ ^^^^ Nov 30 12:11:26.935 INFO [stderr] Nov 30 12:11:26.935 INFO [stderr] warning: unused import: `winapi::shared::winerror::SUCCEEDED` Nov 30 12:11:26.935 INFO [stderr] --> src/main.rs:13:5 Nov 30 12:11:26.935 INFO [stderr] | Nov 30 12:11:26.935 INFO [stderr] 13 | use winapi::shared::winerror::SUCCEEDED; Nov 30 12:11:26.935 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 30 12:11:26.935 INFO [stderr] Nov 30 12:11:26.935 INFO [stderr] warning: unused imports: `DWMWA_EXTENDED_FRAME_BOUNDS`, `DwmGetWindowAttribute` Nov 30 12:11:26.935 INFO [stderr] --> src/main.rs:14:26 Nov 30 12:11:26.935 INFO [stderr] | Nov 30 12:11:26.935 INFO [stderr] 14 | use winapi::um::dwmapi::{DwmGetWindowAttribute, DWMWA_EXTENDED_FRAME_BOUNDS}; Nov 30 12:11:26.935 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 30 12:11:26.935 INFO [stderr] Nov 30 12:11:26.935 INFO [stderr] warning: unused imports: `LPWSTR`, `WCHAR` Nov 30 12:11:26.935 INFO [stderr] --> src/main.rs:15:25 Nov 30 12:11:26.935 INFO [stderr] | Nov 30 12:11:26.935 INFO [stderr] 15 | use winapi::um::winnt::{LPWSTR, WCHAR}; Nov 30 12:11:26.935 INFO [stderr] | ^^^^^^ ^^^^^ Nov 30 12:11:26.935 INFO [stderr] Nov 30 12:11:26.935 INFO [stderr] warning: unused imports: `GetWindowRect`, `GetWindowTextLengthW`, `GetWindowTextW` Nov 30 12:11:26.935 INFO [stderr] --> src/main.rs:16:27 Nov 30 12:11:26.935 INFO [stderr] | Nov 30 12:11:26.935 INFO [stderr] 16 | use winapi::um::winuser::{GetWindowRect, GetWindowTextLengthW, GetWindowTextW}; Nov 30 12:11:26.935 INFO [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ Nov 30 12:11:26.935 INFO [stderr] Nov 30 12:11:27.010 INFO [stderr] error: aborting due to 29 previous errors Nov 30 12:11:27.010 INFO [stderr] Nov 30 12:11:27.012 INFO [stderr] Some errors occurred: E0412, E0422, E0425, E0433. Nov 30 12:11:27.012 INFO [stderr] For more information about an error, try `rustc --explain E0412`. Nov 30 12:11:27.017 INFO [stderr] error: Could not compile `win32api_test`. Nov 30 12:11:27.017 INFO [stderr] Nov 30 12:11:27.017 INFO [stderr] To learn more, run the command again with --verbose. Nov 30 12:11:27.018 INFO [stderr] su: No module specific data is present Nov 30 12:11:28.080 INFO running `"docker" "inspect" "e431112ccf8538567c9c91b67ad545f3d50e32442f187128667e5436e287f026"` Nov 30 12:11:28.350 INFO running `"docker" "rm" "-f" "e431112ccf8538567c9c91b67ad545f3d50e32442f187128667e5436e287f026"` Nov 30 12:11:28.736 INFO [stdout] e431112ccf8538567c9c91b67ad545f3d50e32442f187128667e5436e287f026