[INFO] updating cached repository https://github.com/AlfnXd/get_window_rect_rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 51aca2ee068c6247ce85b4e31142c1f11769c7a9 [INFO] testing AlfnXd/get_window_rect_rs against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlfnXd%2Fget_window_rect_rs" "work/builds/worker-5/source"` [INFO] [stderr] Cloning into 'work/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlfnXd/get_window_rect_rs on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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 work/builds/worker-5/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 `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 08b67415a915df59151d9cc6ab442db9f313b3804ba4804b97cc9e98fea55be6 [INFO] running `"docker" "start" "-a" "08b67415a915df59151d9cc6ab442db9f313b3804ba4804b97cc9e98fea55be6"` [INFO] [stderr] Compiling winapi v0.3.6 [INFO] [stderr] Compiling win32api_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::shared::minwindef::{DWORD, LPVOID}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::shared::windef::{HWND, LPRECT, RECT}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use winapi::shared::winerror::SUCCEEDED; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | use winapi::um::dwmapi::{DwmGetWindowAttribute, DWMWA_EXTENDED_FRAME_BOUNDS}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use winapi::um::winnt::{LPWSTR, WCHAR}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | use winapi::um::winuser::{GetWindowRect, GetWindowTextLengthW, GetWindowTextW}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:41:11 [INFO] [stderr] | [INFO] [stderr] 41 | impl From for PrettyPrintRect { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:42:19 [INFO] [stderr] | [INFO] [stderr] 42 | fn from(rect: RECT) -> Self { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:53:19 [INFO] [stderr] | [INFO] [stderr] 53 | let mut rect: RECT = RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stderr] --> src/main.rs:53:26 [INFO] [stderr] | [INFO] [stderr] 53 | let mut rect: RECT = RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `DwmGetWindowAttribute` in this scope [INFO] [stderr] --> src/main.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | DwmGetWindowAttribute( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:61:21 [INFO] [stderr] | [INFO] [stderr] 61 | hwnd as HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DWMWA_EXTENDED_FRAME_BOUNDS` in this scope [INFO] [stderr] --> src/main.rs:62:13 [INFO] [stderr] | [INFO] [stderr] 62 | DWMWA_EXTENDED_FRAME_BOUNDS, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:63:31 [INFO] [stderr] | [INFO] [stderr] 63 | &mut rect as *mut RECT as LPVOID, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/main.rs:63:39 [INFO] [stderr] | [INFO] [stderr] 63 | &mut rect as *mut RECT as LPVOID, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:64:28 [INFO] [stderr] | [INFO] [stderr] 64 | mem::size_of::() as DWORD, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/main.rs:64:39 [INFO] [stderr] | [INFO] [stderr] 64 | mem::size_of::() as DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SUCCEEDED` in this scope [INFO] [stderr] --> src/main.rs:67:8 [INFO] [stderr] | [INFO] [stderr] 67 | if SUCCEEDED(ret) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/main.rs:75:19 [INFO] [stderr] | [INFO] [stderr] 75 | let mut rect: RECT = RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stderr] --> src/main.rs:75:26 [INFO] [stderr] | [INFO] [stderr] 75 | let mut rect: RECT = RECT { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowRect` in this scope [INFO] [stderr] --> src/main.rs:81:24 [INFO] [stderr] | [INFO] [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:81:46 [INFO] [stderr] | [INFO] [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stderr] --> src/main.rs:81:65 [INFO] [stderr] | [INFO] [stderr] 81 | let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowTextLengthW` in this scope [INFO] [stderr] --> src/main.rs:91:24 [INFO] [stderr] | [INFO] [stderr] 91 | let text_len = GetWindowTextLengthW(hwnd as HWND); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:91:53 [INFO] [stderr] | [INFO] [stderr] 91 | let text_len = GetWindowTextLengthW(hwnd as HWND); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stderr] --> src/main.rs:95:31 [INFO] [stderr] | [INFO] [stderr] 95 | let mut wide: Vec = Vec::with_capacity(max_size); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetWindowTextW` in this scope [INFO] [stderr] --> src/main.rs:97:23 [INFO] [stderr] | [INFO] [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:97:46 [INFO] [stderr] | [INFO] [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stderr] --> src/main.rs:97:69 [INFO] [stderr] | [INFO] [stderr] 97 | let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DWORD`, `LPVOID` [INFO] [stderr] --> src/main.rs:11:33 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::shared::minwindef::{DWORD, LPVOID}; [INFO] [stderr] | ^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HWND`, `LPRECT`, `RECT` [INFO] [stderr] --> src/main.rs:12:30 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::shared::windef::{HWND, LPRECT, RECT}; [INFO] [stderr] | ^^^^ ^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::winerror::SUCCEEDED` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use winapi::shared::winerror::SUCCEEDED; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DWMWA_EXTENDED_FRAME_BOUNDS`, `DwmGetWindowAttribute` [INFO] [stderr] --> src/main.rs:14:26 [INFO] [stderr] | [INFO] [stderr] 14 | use winapi::um::dwmapi::{DwmGetWindowAttribute, DWMWA_EXTENDED_FRAME_BOUNDS}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LPWSTR`, `WCHAR` [INFO] [stderr] --> src/main.rs:15:25 [INFO] [stderr] | [INFO] [stderr] 15 | use winapi::um::winnt::{LPWSTR, WCHAR}; [INFO] [stderr] | ^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `GetWindowRect`, `GetWindowTextLengthW`, `GetWindowTextW` [INFO] [stderr] --> src/main.rs:16:27 [INFO] [stderr] | [INFO] [stderr] 16 | use winapi::um::winuser::{GetWindowRect, GetWindowTextLengthW, GetWindowTextW}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 29 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `win32api_test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "08b67415a915df59151d9cc6ab442db9f313b3804ba4804b97cc9e98fea55be6"` [INFO] running `"docker" "rm" "-f" "08b67415a915df59151d9cc6ab442db9f313b3804ba4804b97cc9e98fea55be6"` [INFO] [stdout] 08b67415a915df59151d9cc6ab442db9f313b3804ba4804b97cc9e98fea55be6