Nov 28 14:42:22.729 INFO checking AlfnXd/get_window_rect_rs against master#0b9f19dff1347e29bf4362ab5a8fab84b43023b5 for pr-56074 Nov 28 14:42:22.729 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-56074/worker-3/master#0b9f19dff1347e29bf4362ab5a8fab84b43023b5:/target:rw,Z" "-v" "/mnt/big/crater/work/local/test-source/worker-3/pr-56074/master#0b9f19dff1347e29bf4362ab5a8fab84b43023b5:/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 +0b9f19dff1347e29bf4362ab5a8fab84b43023b5-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 28 14:42:23.332 INFO [stdout] c5cf07fc5235689adc0dbcf1fc63a6d399c457985dc7579cf260cf450f81d4dd Nov 28 14:42:23.341 INFO running `"docker" "start" "-a" "c5cf07fc5235689adc0dbcf1fc63a6d399c457985dc7579cf260cf450f81d4dd"` Nov 28 14:42:24.650 INFO [stderr] usermod: no changes Nov 28 14:42:24.756 INFO [stderr] Compiling winapi v0.3.6 Nov 28 14:42:27.316 INFO [stderr] Checking win32api_test v0.1.0 (/source) Nov 28 14:42:27.952 INFO [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` Nov 28 14:42:27.953 INFO [stderr] --> src/main.rs:11:13 Nov 28 14:42:27.954 INFO [stderr] | Nov 28 14:42:27.954 INFO [stderr] 11 | use winapi::shared::minwindef::{DWORD, LPVOID}; Nov 28 14:42:27.955 INFO [stderr] | ^^^^^^ could not find `shared` in `winapi` Nov 28 14:42:27.956 INFO [stderr] Nov 28 14:42:27.956 INFO [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` Nov 28 14:42:27.957 INFO [stderr] --> src/main.rs:12:13 Nov 28 14:42:27.957 INFO [stderr] | Nov 28 14:42:27.958 INFO [stderr] 12 | use winapi::shared::windef::{HWND, LPRECT, RECT}; Nov 28 14:42:27.958 INFO [stderr] | ^^^^^^ could not find `shared` in `winapi` Nov 28 14:42:27.959 INFO [stderr] Nov 28 14:42:27.960 INFO [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` Nov 28 14:42:27.960 INFO [stderr] --> src/main.rs:13:13 Nov 28 14:42:27.960 INFO [stderr] | Nov 28 14:42:27.960 INFO [stderr] 13 | use winapi::shared::winerror::SUCCEEDED; Nov 28 14:42:27.960 INFO [stderr] | ^^^^^^ could not find `shared` in `winapi` Nov 28 14:42:27.960 INFO [stderr] Nov 28 14:42:27.960 INFO [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` Nov 28 14:42:27.960 INFO [stderr] --> src/main.rs:14:13 Nov 28 14:42:27.960 INFO [stderr] | Nov 28 14:42:27.960 INFO [stderr] 14 | use winapi::um::dwmapi::{DwmGetWindowAttribute, DWMWA_EXTENDED_FRAME_BOUNDS}; Nov 28 14:42:27.960 INFO [stderr] | ^^ could not find `um` in `winapi` Nov 28 14:42:27.960 INFO [stderr] Nov 28 14:42:27.960 INFO [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` Nov 28 14:42:27.960 INFO [stderr] --> src/main.rs:15:13 Nov 28 14:42:27.960 INFO [stderr] | Nov 28 14:42:27.960 INFO [stderr] 15 | use winapi::um::winnt::{LPWSTR, WCHAR}; Nov 28 14:42:27.960 INFO [stderr] | ^^ could not find `um` in `winapi` Nov 28 14:42:27.960 INFO [stderr] Nov 28 14:42:27.960 INFO [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` Nov 28 14:42:27.960 INFO [stderr] --> src/main.rs:16:13 Nov 28 14:42:27.960 INFO [stderr] | Nov 28 14:42:27.960 INFO [stderr] 16 | use winapi::um::winuser::{GetWindowRect, GetWindowTextLengthW, GetWindowTextW}; Nov 28 14:42:27.964 INFO [stderr] | ^^ could not find `um` in `winapi` Nov 28 14:42:27.964 INFO [stderr] Nov 28 14:42:28.013 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 28 14:42:28.013 INFO [stderr] --> src/main.rs:41:11 Nov 28 14:42:28.013 INFO [stderr] | Nov 28 14:42:28.013 INFO [stderr] 41 | impl From for PrettyPrintRect { Nov 28 14:42:28.013 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.013 INFO [stderr] Nov 28 14:42:28.013 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 28 14:42:28.013 INFO [stderr] --> src/main.rs:42:19 Nov 28 14:42:28.013 INFO [stderr] | Nov 28 14:42:28.013 INFO [stderr] 42 | fn from(rect: RECT) -> Self { Nov 28 14:42:28.013 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.013 INFO [stderr] Nov 28 14:42:28.013 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 28 14:42:28.013 INFO [stderr] --> src/main.rs:53:19 Nov 28 14:42:28.013 INFO [stderr] | Nov 28 14:42:28.013 INFO [stderr] 53 | let mut rect: RECT = RECT { Nov 28 14:42:28.013 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.013 INFO [stderr] Nov 28 14:42:28.013 INFO [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope Nov 28 14:42:28.013 INFO [stderr] --> src/main.rs:53:26 Nov 28 14:42:28.013 INFO [stderr] | Nov 28 14:42:28.013 INFO [stderr] 53 | let mut rect: RECT = RECT { Nov 28 14:42:28.013 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.013 INFO [stderr] Nov 28 14:42:28.013 INFO [stderr] error[E0425]: cannot find function `DwmGetWindowAttribute` in this scope Nov 28 14:42:28.013 INFO [stderr] --> src/main.rs:60:9 Nov 28 14:42:28.013 INFO [stderr] | Nov 28 14:42:28.013 INFO [stderr] 60 | DwmGetWindowAttribute( Nov 28 14:42:28.013 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope Nov 28 14:42:28.013 INFO [stderr] Nov 28 14:42:28.013 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 28 14:42:28.013 INFO [stderr] --> src/main.rs:61:21 Nov 28 14:42:28.013 INFO [stderr] | Nov 28 14:42:28.013 INFO [stderr] 61 | hwnd as HWND, Nov 28 14:42:28.013 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.013 INFO [stderr] Nov 28 14:42:28.013 INFO [stderr] error[E0425]: cannot find value `DWMWA_EXTENDED_FRAME_BOUNDS` in this scope Nov 28 14:42:28.013 INFO [stderr] --> src/main.rs:62:13 Nov 28 14:42:28.013 INFO [stderr] | Nov 28 14:42:28.013 INFO [stderr] 62 | DWMWA_EXTENDED_FRAME_BOUNDS, Nov 28 14:42:28.013 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope Nov 28 14:42:28.013 INFO [stderr] Nov 28 14:42:28.013 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 28 14:42:28.013 INFO [stderr] --> src/main.rs:63:31 Nov 28 14:42:28.013 INFO [stderr] | Nov 28 14:42:28.013 INFO [stderr] 63 | &mut rect as *mut RECT as LPVOID, Nov 28 14:42:28.013 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.013 INFO [stderr] Nov 28 14:42:28.013 INFO [stderr] error[E0412]: cannot find type `LPVOID` in this scope Nov 28 14:42:28.013 INFO [stderr] --> src/main.rs:63:39 Nov 28 14:42:28.013 INFO [stderr] | Nov 28 14:42:28.013 INFO [stderr] 63 | &mut rect as *mut RECT as LPVOID, Nov 28 14:42:28.013 INFO [stderr] | ^^^^^^ not found in this scope Nov 28 14:42:28.013 INFO [stderr] Nov 28 14:42:28.013 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 28 14:42:28.013 INFO [stderr] --> src/main.rs:64:28 Nov 28 14:42:28.013 INFO [stderr] | Nov 28 14:42:28.013 INFO [stderr] 64 | mem::size_of::() as DWORD, Nov 28 14:42:28.013 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.013 INFO [stderr] Nov 28 14:42:28.013 INFO [stderr] error[E0412]: cannot find type `DWORD` in this scope Nov 28 14:42:28.013 INFO [stderr] --> src/main.rs:64:39 Nov 28 14:42:28.013 INFO [stderr] | Nov 28 14:42:28.013 INFO [stderr] 64 | mem::size_of::() as DWORD, Nov 28 14:42:28.013 INFO [stderr] | ^^^^^ not found in this scope Nov 28 14:42:28.013 INFO [stderr] Nov 28 14:42:28.013 INFO [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope Nov 28 14:42:28.013 INFO [stderr] --> src/main.rs:67:8 Nov 28 14:42:28.013 INFO [stderr] | Nov 28 14:42:28.014 INFO [stderr] 67 | if SUCCEEDED(ret) { Nov 28 14:42:28.014 INFO [stderr] | ^^^^^^^^^ not found in this scope Nov 28 14:42:28.014 INFO [stderr] Nov 28 14:42:28.014 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 28 14:42:28.014 INFO [stderr] --> src/main.rs:75:19 Nov 28 14:42:28.014 INFO [stderr] | Nov 28 14:42:28.014 INFO [stderr] 75 | let mut rect: RECT = RECT { Nov 28 14:42:28.014 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.014 INFO [stderr] Nov 28 14:42:28.014 INFO [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope Nov 28 14:42:28.014 INFO [stderr] --> src/main.rs:75:26 Nov 28 14:42:28.014 INFO [stderr] | Nov 28 14:42:28.014 INFO [stderr] 75 | let mut rect: RECT = RECT { Nov 28 14:42:28.014 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.014 INFO [stderr] Nov 28 14:42:28.014 INFO [stderr] error[E0425]: cannot find function `GetWindowRect` in this scope Nov 28 14:42:28.014 INFO [stderr] --> src/main.rs:81:24 Nov 28 14:42:28.014 INFO [stderr] | Nov 28 14:42:28.014 INFO [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; Nov 28 14:42:28.014 INFO [stderr] | ^^^^^^^^^^^^^ not found in this scope Nov 28 14:42:28.014 INFO [stderr] Nov 28 14:42:28.014 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 28 14:42:28.014 INFO [stderr] --> src/main.rs:81:46 Nov 28 14:42:28.014 INFO [stderr] | Nov 28 14:42:28.014 INFO [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; Nov 28 14:42:28.014 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.014 INFO [stderr] Nov 28 14:42:28.014 INFO [stderr] error[E0412]: cannot find type `LPRECT` in this scope Nov 28 14:42:28.014 INFO [stderr] --> src/main.rs:81:65 Nov 28 14:42:28.014 INFO [stderr] | Nov 28 14:42:28.014 INFO [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; Nov 28 14:42:28.014 INFO [stderr] | ^^^^^^ not found in this scope Nov 28 14:42:28.014 INFO [stderr] Nov 28 14:42:28.014 INFO [stderr] error[E0425]: cannot find function `GetWindowTextLengthW` in this scope Nov 28 14:42:28.014 INFO [stderr] --> src/main.rs:91:24 Nov 28 14:42:28.014 INFO [stderr] | Nov 28 14:42:28.014 INFO [stderr] 91 | let text_len = GetWindowTextLengthW(hwnd as HWND); Nov 28 14:42:28.014 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope Nov 28 14:42:28.014 INFO [stderr] Nov 28 14:42:28.014 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 28 14:42:28.014 INFO [stderr] --> src/main.rs:91:53 Nov 28 14:42:28.014 INFO [stderr] | Nov 28 14:42:28.014 INFO [stderr] 91 | let text_len = GetWindowTextLengthW(hwnd as HWND); Nov 28 14:42:28.014 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.014 INFO [stderr] Nov 28 14:42:28.014 INFO [stderr] error[E0412]: cannot find type `WCHAR` in this scope Nov 28 14:42:28.014 INFO [stderr] --> src/main.rs:95:31 Nov 28 14:42:28.014 INFO [stderr] | Nov 28 14:42:28.014 INFO [stderr] 95 | let mut wide: Vec = Vec::with_capacity(max_size); Nov 28 14:42:28.014 INFO [stderr] | ^^^^^ not found in this scope Nov 28 14:42:28.014 INFO [stderr] Nov 28 14:42:28.014 INFO [stderr] error[E0425]: cannot find function `GetWindowTextW` in this scope Nov 28 14:42:28.014 INFO [stderr] --> src/main.rs:97:23 Nov 28 14:42:28.014 INFO [stderr] | Nov 28 14:42:28.014 INFO [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); Nov 28 14:42:28.014 INFO [stderr] | ^^^^^^^^^^^^^^ not found in this scope Nov 28 14:42:28.014 INFO [stderr] Nov 28 14:42:28.014 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 28 14:42:28.014 INFO [stderr] --> src/main.rs:97:46 Nov 28 14:42:28.014 INFO [stderr] | Nov 28 14:42:28.014 INFO [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); Nov 28 14:42:28.014 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.014 INFO [stderr] Nov 28 14:42:28.014 INFO [stderr] error[E0412]: cannot find type `LPWSTR` in this scope Nov 28 14:42:28.014 INFO [stderr] --> src/main.rs:97:69 Nov 28 14:42:28.014 INFO [stderr] | Nov 28 14:42:28.014 INFO [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); Nov 28 14:42:28.014 INFO [stderr] | ^^^^^^ not found in this scope Nov 28 14:42:28.014 INFO [stderr] Nov 28 14:42:28.024 INFO [stderr] warning: unused imports: `DWORD`, `LPVOID` Nov 28 14:42:28.024 INFO [stderr] --> src/main.rs:11:33 Nov 28 14:42:28.024 INFO [stderr] | Nov 28 14:42:28.024 INFO [stderr] 11 | use winapi::shared::minwindef::{DWORD, LPVOID}; Nov 28 14:42:28.024 INFO [stderr] | ^^^^^ ^^^^^^ Nov 28 14:42:28.024 INFO [stderr] | Nov 28 14:42:28.024 INFO [stderr] = note: #[warn(unused_imports)] on by default Nov 28 14:42:28.024 INFO [stderr] Nov 28 14:42:28.024 INFO [stderr] warning: unused imports: `HWND`, `LPRECT`, `RECT` Nov 28 14:42:28.025 INFO [stderr] --> src/main.rs:12:30 Nov 28 14:42:28.025 INFO [stderr] | Nov 28 14:42:28.025 INFO [stderr] 12 | use winapi::shared::windef::{HWND, LPRECT, RECT}; Nov 28 14:42:28.025 INFO [stderr] | ^^^^ ^^^^^^ ^^^^ Nov 28 14:42:28.025 INFO [stderr] Nov 28 14:42:28.025 INFO [stderr] warning: unused import: `winapi::shared::winerror::SUCCEEDED` Nov 28 14:42:28.025 INFO [stderr] --> src/main.rs:13:5 Nov 28 14:42:28.025 INFO [stderr] | Nov 28 14:42:28.025 INFO [stderr] 13 | use winapi::shared::winerror::SUCCEEDED; Nov 28 14:42:28.025 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 28 14:42:28.025 INFO [stderr] Nov 28 14:42:28.025 INFO [stderr] warning: unused imports: `DWMWA_EXTENDED_FRAME_BOUNDS`, `DwmGetWindowAttribute` Nov 28 14:42:28.025 INFO [stderr] --> src/main.rs:14:26 Nov 28 14:42:28.025 INFO [stderr] | Nov 28 14:42:28.025 INFO [stderr] 14 | use winapi::um::dwmapi::{DwmGetWindowAttribute, DWMWA_EXTENDED_FRAME_BOUNDS}; Nov 28 14:42:28.025 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 28 14:42:28.025 INFO [stderr] Nov 28 14:42:28.025 INFO [stderr] warning: unused imports: `LPWSTR`, `WCHAR` Nov 28 14:42:28.025 INFO [stderr] --> src/main.rs:15:25 Nov 28 14:42:28.025 INFO [stderr] | Nov 28 14:42:28.025 INFO [stderr] 15 | use winapi::um::winnt::{LPWSTR, WCHAR}; Nov 28 14:42:28.025 INFO [stderr] | ^^^^^^ ^^^^^ Nov 28 14:42:28.025 INFO [stderr] Nov 28 14:42:28.026 INFO [stderr] warning: unused imports: `GetWindowRect`, `GetWindowTextLengthW`, `GetWindowTextW` Nov 28 14:42:28.026 INFO [stderr] --> src/main.rs:16:27 Nov 28 14:42:28.026 INFO [stderr] | Nov 28 14:42:28.026 INFO [stderr] 16 | use winapi::um::winuser::{GetWindowRect, GetWindowTextLengthW, GetWindowTextW}; Nov 28 14:42:28.026 INFO [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ Nov 28 14:42:28.026 INFO [stderr] Nov 28 14:42:28.145 INFO [stderr] error: aborting due to 29 previous errors Nov 28 14:42:28.145 INFO [stderr] Nov 28 14:42:28.145 INFO [stderr] Some errors occurred: E0412, E0422, E0425, E0433. Nov 28 14:42:28.145 INFO [stderr] For more information about an error, try `rustc --explain E0412`. Nov 28 14:42:28.148 INFO [stderr] error: Could not compile `win32api_test`. Nov 28 14:42:28.148 INFO [stderr] warning: build failed, waiting for other jobs to finish... Nov 28 14:42:28.244 INFO [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` Nov 28 14:42:28.245 INFO [stderr] --> src/main.rs:11:13 Nov 28 14:42:28.245 INFO [stderr] | Nov 28 14:42:28.245 INFO [stderr] 11 | use winapi::shared::minwindef::{DWORD, LPVOID}; Nov 28 14:42:28.245 INFO [stderr] | ^^^^^^ could not find `shared` in `winapi` Nov 28 14:42:28.245 INFO [stderr] Nov 28 14:42:28.245 INFO [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` Nov 28 14:42:28.245 INFO [stderr] --> src/main.rs:12:13 Nov 28 14:42:28.245 INFO [stderr] | Nov 28 14:42:28.245 INFO [stderr] 12 | use winapi::shared::windef::{HWND, LPRECT, RECT}; Nov 28 14:42:28.245 INFO [stderr] | ^^^^^^ could not find `shared` in `winapi` Nov 28 14:42:28.245 INFO [stderr] Nov 28 14:42:28.245 INFO [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` Nov 28 14:42:28.245 INFO [stderr] --> src/main.rs:13:13 Nov 28 14:42:28.245 INFO [stderr] | Nov 28 14:42:28.245 INFO [stderr] 13 | use winapi::shared::winerror::SUCCEEDED; Nov 28 14:42:28.245 INFO [stderr] | ^^^^^^ could not find `shared` in `winapi` Nov 28 14:42:28.245 INFO [stderr] Nov 28 14:42:28.245 INFO [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` Nov 28 14:42:28.245 INFO [stderr] --> src/main.rs:14:13 Nov 28 14:42:28.245 INFO [stderr] | Nov 28 14:42:28.245 INFO [stderr] 14 | use winapi::um::dwmapi::{DwmGetWindowAttribute, DWMWA_EXTENDED_FRAME_BOUNDS}; Nov 28 14:42:28.245 INFO [stderr] | ^^ could not find `um` in `winapi` Nov 28 14:42:28.245 INFO [stderr] Nov 28 14:42:28.245 INFO [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` Nov 28 14:42:28.245 INFO [stderr] --> src/main.rs:15:13 Nov 28 14:42:28.245 INFO [stderr] | Nov 28 14:42:28.245 INFO [stderr] 15 | use winapi::um::winnt::{LPWSTR, WCHAR}; Nov 28 14:42:28.245 INFO [stderr] | ^^ could not find `um` in `winapi` Nov 28 14:42:28.245 INFO [stderr] Nov 28 14:42:28.245 INFO [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` Nov 28 14:42:28.245 INFO [stderr] --> src/main.rs:16:13 Nov 28 14:42:28.245 INFO [stderr] | Nov 28 14:42:28.245 INFO [stderr] 16 | use winapi::um::winuser::{GetWindowRect, GetWindowTextLengthW, GetWindowTextW}; Nov 28 14:42:28.245 INFO [stderr] | ^^ could not find `um` in `winapi` Nov 28 14:42:28.245 INFO [stderr] Nov 28 14:42:28.310 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 28 14:42:28.310 INFO [stderr] --> src/main.rs:41:11 Nov 28 14:42:28.310 INFO [stderr] | Nov 28 14:42:28.310 INFO [stderr] 41 | impl From for PrettyPrintRect { Nov 28 14:42:28.310 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.310 INFO [stderr] Nov 28 14:42:28.310 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 28 14:42:28.310 INFO [stderr] --> src/main.rs:42:19 Nov 28 14:42:28.310 INFO [stderr] | Nov 28 14:42:28.310 INFO [stderr] 42 | fn from(rect: RECT) -> Self { Nov 28 14:42:28.311 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.311 INFO [stderr] Nov 28 14:42:28.311 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 28 14:42:28.311 INFO [stderr] --> src/main.rs:53:19 Nov 28 14:42:28.311 INFO [stderr] | Nov 28 14:42:28.311 INFO [stderr] 53 | let mut rect: RECT = RECT { Nov 28 14:42:28.311 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.311 INFO [stderr] Nov 28 14:42:28.311 INFO [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope Nov 28 14:42:28.311 INFO [stderr] --> src/main.rs:53:26 Nov 28 14:42:28.311 INFO [stderr] | Nov 28 14:42:28.311 INFO [stderr] 53 | let mut rect: RECT = RECT { Nov 28 14:42:28.311 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.311 INFO [stderr] Nov 28 14:42:28.311 INFO [stderr] error[E0425]: cannot find function `DwmGetWindowAttribute` in this scope Nov 28 14:42:28.311 INFO [stderr] --> src/main.rs:60:9 Nov 28 14:42:28.312 INFO [stderr] | Nov 28 14:42:28.312 INFO [stderr] 60 | DwmGetWindowAttribute( Nov 28 14:42:28.312 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope Nov 28 14:42:28.312 INFO [stderr] Nov 28 14:42:28.312 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 28 14:42:28.312 INFO [stderr] --> src/main.rs:61:21 Nov 28 14:42:28.312 INFO [stderr] | Nov 28 14:42:28.313 INFO [stderr] 61 | hwnd as HWND, Nov 28 14:42:28.313 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.313 INFO [stderr] Nov 28 14:42:28.313 INFO [stderr] error[E0425]: cannot find value `DWMWA_EXTENDED_FRAME_BOUNDS` in this scope Nov 28 14:42:28.313 INFO [stderr] --> src/main.rs:62:13 Nov 28 14:42:28.313 INFO [stderr] | Nov 28 14:42:28.313 INFO [stderr] 62 | DWMWA_EXTENDED_FRAME_BOUNDS, Nov 28 14:42:28.313 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope Nov 28 14:42:28.313 INFO [stderr] Nov 28 14:42:28.313 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 28 14:42:28.313 INFO [stderr] --> src/main.rs:63:31 Nov 28 14:42:28.313 INFO [stderr] | Nov 28 14:42:28.313 INFO [stderr] 63 | &mut rect as *mut RECT as LPVOID, Nov 28 14:42:28.313 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.313 INFO [stderr] Nov 28 14:42:28.314 INFO [stderr] error[E0412]: cannot find type `LPVOID` in this scope Nov 28 14:42:28.314 INFO [stderr] --> src/main.rs:63:39 Nov 28 14:42:28.314 INFO [stderr] | Nov 28 14:42:28.314 INFO [stderr] 63 | &mut rect as *mut RECT as LPVOID, Nov 28 14:42:28.314 INFO [stderr] | ^^^^^^ not found in this scope Nov 28 14:42:28.314 INFO [stderr] Nov 28 14:42:28.314 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 28 14:42:28.314 INFO [stderr] --> src/main.rs:64:28 Nov 28 14:42:28.314 INFO [stderr] | Nov 28 14:42:28.314 INFO [stderr] 64 | mem::size_of::() as DWORD, Nov 28 14:42:28.314 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.314 INFO [stderr] Nov 28 14:42:28.314 INFO [stderr] error[E0412]: cannot find type `DWORD` in this scope Nov 28 14:42:28.314 INFO [stderr] --> src/main.rs:64:39 Nov 28 14:42:28.314 INFO [stderr] | Nov 28 14:42:28.314 INFO [stderr] 64 | mem::size_of::() as DWORD, Nov 28 14:42:28.315 INFO [stderr] | ^^^^^ not found in this scope Nov 28 14:42:28.315 INFO [stderr] Nov 28 14:42:28.315 INFO [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope Nov 28 14:42:28.315 INFO [stderr] --> src/main.rs:67:8 Nov 28 14:42:28.315 INFO [stderr] | Nov 28 14:42:28.315 INFO [stderr] 67 | if SUCCEEDED(ret) { Nov 28 14:42:28.315 INFO [stderr] | ^^^^^^^^^ not found in this scope Nov 28 14:42:28.315 INFO [stderr] Nov 28 14:42:28.315 INFO [stderr] error[E0412]: cannot find type `RECT` in this scope Nov 28 14:42:28.315 INFO [stderr] --> src/main.rs:75:19 Nov 28 14:42:28.315 INFO [stderr] | Nov 28 14:42:28.315 INFO [stderr] 75 | let mut rect: RECT = RECT { Nov 28 14:42:28.315 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.315 INFO [stderr] Nov 28 14:42:28.315 INFO [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope Nov 28 14:42:28.315 INFO [stderr] --> src/main.rs:75:26 Nov 28 14:42:28.315 INFO [stderr] | Nov 28 14:42:28.315 INFO [stderr] 75 | let mut rect: RECT = RECT { Nov 28 14:42:28.315 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.315 INFO [stderr] Nov 28 14:42:28.315 INFO [stderr] error[E0425]: cannot find function `GetWindowRect` in this scope Nov 28 14:42:28.315 INFO [stderr] --> src/main.rs:81:24 Nov 28 14:42:28.315 INFO [stderr] | Nov 28 14:42:28.315 INFO [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; Nov 28 14:42:28.316 INFO [stderr] | ^^^^^^^^^^^^^ not found in this scope Nov 28 14:42:28.316 INFO [stderr] Nov 28 14:42:28.316 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 28 14:42:28.316 INFO [stderr] --> src/main.rs:81:46 Nov 28 14:42:28.316 INFO [stderr] | Nov 28 14:42:28.316 INFO [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; Nov 28 14:42:28.316 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.316 INFO [stderr] Nov 28 14:42:28.316 INFO [stderr] error[E0412]: cannot find type `LPRECT` in this scope Nov 28 14:42:28.316 INFO [stderr] --> src/main.rs:81:65 Nov 28 14:42:28.316 INFO [stderr] | Nov 28 14:42:28.316 INFO [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; Nov 28 14:42:28.316 INFO [stderr] | ^^^^^^ not found in this scope Nov 28 14:42:28.316 INFO [stderr] Nov 28 14:42:28.316 INFO [stderr] error[E0425]: cannot find function `GetWindowTextLengthW` in this scope Nov 28 14:42:28.316 INFO [stderr] --> src/main.rs:91:24 Nov 28 14:42:28.316 INFO [stderr] | Nov 28 14:42:28.316 INFO [stderr] 91 | let text_len = GetWindowTextLengthW(hwnd as HWND); Nov 28 14:42:28.316 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope Nov 28 14:42:28.316 INFO [stderr] Nov 28 14:42:28.317 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 28 14:42:28.317 INFO [stderr] --> src/main.rs:91:53 Nov 28 14:42:28.317 INFO [stderr] | Nov 28 14:42:28.317 INFO [stderr] 91 | let text_len = GetWindowTextLengthW(hwnd as HWND); Nov 28 14:42:28.317 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.317 INFO [stderr] Nov 28 14:42:28.317 INFO [stderr] error[E0412]: cannot find type `WCHAR` in this scope Nov 28 14:42:28.317 INFO [stderr] --> src/main.rs:95:31 Nov 28 14:42:28.317 INFO [stderr] | Nov 28 14:42:28.317 INFO [stderr] 95 | let mut wide: Vec = Vec::with_capacity(max_size); Nov 28 14:42:28.317 INFO [stderr] | ^^^^^ not found in this scope Nov 28 14:42:28.317 INFO [stderr] Nov 28 14:42:28.317 INFO [stderr] error[E0425]: cannot find function `GetWindowTextW` in this scope Nov 28 14:42:28.317 INFO [stderr] --> src/main.rs:97:23 Nov 28 14:42:28.317 INFO [stderr] | Nov 28 14:42:28.317 INFO [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); Nov 28 14:42:28.317 INFO [stderr] | ^^^^^^^^^^^^^^ not found in this scope Nov 28 14:42:28.317 INFO [stderr] Nov 28 14:42:28.317 INFO [stderr] error[E0412]: cannot find type `HWND` in this scope Nov 28 14:42:28.317 INFO [stderr] --> src/main.rs:97:46 Nov 28 14:42:28.317 INFO [stderr] | Nov 28 14:42:28.317 INFO [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); Nov 28 14:42:28.318 INFO [stderr] | ^^^^ not found in this scope Nov 28 14:42:28.318 INFO [stderr] Nov 28 14:42:28.318 INFO [stderr] error[E0412]: cannot find type `LPWSTR` in this scope Nov 28 14:42:28.318 INFO [stderr] --> src/main.rs:97:69 Nov 28 14:42:28.318 INFO [stderr] | Nov 28 14:42:28.318 INFO [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); Nov 28 14:42:28.318 INFO [stderr] | ^^^^^^ not found in this scope Nov 28 14:42:28.318 INFO [stderr] Nov 28 14:42:28.318 INFO [stderr] warning: unused imports: `DWORD`, `LPVOID` Nov 28 14:42:28.318 INFO [stderr] --> src/main.rs:11:33 Nov 28 14:42:28.318 INFO [stderr] | Nov 28 14:42:28.318 INFO [stderr] 11 | use winapi::shared::minwindef::{DWORD, LPVOID}; Nov 28 14:42:28.318 INFO [stderr] | ^^^^^ ^^^^^^ Nov 28 14:42:28.318 INFO [stderr] | Nov 28 14:42:28.318 INFO [stderr] = note: #[warn(unused_imports)] on by default Nov 28 14:42:28.318 INFO [stderr] Nov 28 14:42:28.318 INFO [stderr] warning: unused imports: `HWND`, `LPRECT`, `RECT` Nov 28 14:42:28.318 INFO [stderr] --> src/main.rs:12:30 Nov 28 14:42:28.318 INFO [stderr] | Nov 28 14:42:28.318 INFO [stderr] 12 | use winapi::shared::windef::{HWND, LPRECT, RECT}; Nov 28 14:42:28.318 INFO [stderr] | ^^^^ ^^^^^^ ^^^^ Nov 28 14:42:28.318 INFO [stderr] Nov 28 14:42:28.318 INFO [stderr] warning: unused import: `winapi::shared::winerror::SUCCEEDED` Nov 28 14:42:28.319 INFO [stderr] --> src/main.rs:13:5 Nov 28 14:42:28.319 INFO [stderr] | Nov 28 14:42:28.319 INFO [stderr] 13 | use winapi::shared::winerror::SUCCEEDED; Nov 28 14:42:28.319 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 28 14:42:28.319 INFO [stderr] Nov 28 14:42:28.319 INFO [stderr] warning: unused imports: `DWMWA_EXTENDED_FRAME_BOUNDS`, `DwmGetWindowAttribute` Nov 28 14:42:28.319 INFO [stderr] --> src/main.rs:14:26 Nov 28 14:42:28.319 INFO [stderr] | Nov 28 14:42:28.319 INFO [stderr] 14 | use winapi::um::dwmapi::{DwmGetWindowAttribute, DWMWA_EXTENDED_FRAME_BOUNDS}; Nov 28 14:42:28.319 INFO [stderr] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Nov 28 14:42:28.319 INFO [stderr] Nov 28 14:42:28.319 INFO [stderr] warning: unused imports: `LPWSTR`, `WCHAR` Nov 28 14:42:28.319 INFO [stderr] --> src/main.rs:15:25 Nov 28 14:42:28.319 INFO [stderr] | Nov 28 14:42:28.319 INFO [stderr] 15 | use winapi::um::winnt::{LPWSTR, WCHAR}; Nov 28 14:42:28.319 INFO [stderr] | ^^^^^^ ^^^^^ Nov 28 14:42:28.319 INFO [stderr] Nov 28 14:42:28.319 INFO [stderr] warning: unused imports: `GetWindowRect`, `GetWindowTextLengthW`, `GetWindowTextW` Nov 28 14:42:28.319 INFO [stderr] --> src/main.rs:16:27 Nov 28 14:42:28.319 INFO [stderr] | Nov 28 14:42:28.319 INFO [stderr] 16 | use winapi::um::winuser::{GetWindowRect, GetWindowTextLengthW, GetWindowTextW}; Nov 28 14:42:28.319 INFO [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ Nov 28 14:42:28.319 INFO [stderr] Nov 28 14:42:28.397 INFO [stderr] error: aborting due to 29 previous errors Nov 28 14:42:28.397 INFO [stderr] Nov 28 14:42:28.397 INFO [stderr] Some errors occurred: E0412, E0422, E0425, E0433. Nov 28 14:42:28.397 INFO [stderr] For more information about an error, try `rustc --explain E0412`. Nov 28 14:42:28.406 INFO [stderr] error: Could not compile `win32api_test`. Nov 28 14:42:28.406 INFO [stderr] Nov 28 14:42:28.406 INFO [stderr] To learn more, run the command again with --verbose. Nov 28 14:42:28.408 INFO [stderr] su: No module specific data is present Nov 28 14:42:29.504 INFO running `"docker" "inspect" "c5cf07fc5235689adc0dbcf1fc63a6d399c457985dc7579cf260cf450f81d4dd"` Nov 28 14:42:29.736 INFO running `"docker" "rm" "-f" "c5cf07fc5235689adc0dbcf1fc63a6d399c457985dc7579cf260cf450f81d4dd"` Nov 28 14:42:30.140 INFO [stdout] c5cf07fc5235689adc0dbcf1fc63a6d399c457985dc7579cf260cf450f81d4dd