[INFO] cloning repository https://github.com/lmdslyngl/wndsize [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lmdslyngl/wndsize" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flmdslyngl%2Fwndsize"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flmdslyngl%2Fwndsize'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e8e76fa8d0bc321ef000c2e65b942a295fd4a2cf [INFO] checking lmdslyngl/wndsize against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flmdslyngl%2Fwndsize" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lmdslyngl/wndsize on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/lmdslyngl/wndsize [INFO] finished tweaking git repo https://github.com/lmdslyngl/wndsize [INFO] tweaked toml for git repo https://github.com/lmdslyngl/wndsize written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/lmdslyngl/wndsize already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 82659c094a85a02b1ac20a8e08dce79b5ceded6d247eabeaa52923a89f92734a [INFO] running `"docker" "start" "-a" "82659c094a85a02b1ac20a8e08dce79b5ceded6d247eabeaa52923a89f92734a"` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking wndsize v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::um::winnt::WCHAR; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::windef::HWND; [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:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::minwindef::{LPARAM, BOOL, TRUE}; [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:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::winuser::{ [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:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::um::winnt::WCHAR; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::windef::HWND; [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:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::shared::minwindef::{LPARAM, BOOL, TRUE}; [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:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::winuser::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:20:53 [INFO] [stderr] | [INFO] [stderr] 20 | extern "system" fn enum_windows_proc(window_handle: HWND, lparam: LPARAM) -> BOOL { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:20:67 [INFO] [stderr] | [INFO] [stderr] 20 | extern "system" fn enum_windows_proc(window_handle: HWND, lparam: LPARAM) -> BOOL { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/main.rs:20:78 [INFO] [stderr] | [INFO] [stderr] 20 | extern "system" fn enum_windows_proc(window_handle: HWND, lparam: LPARAM) -> BOOL { [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:23:55 [INFO] [stderr] | [INFO] [stderr] 20 | extern "system" fn enum_windows_proc(window_handle: HWND, lparam: LPARAM) -> BOOL { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 23 | window_handle_list = &mut*(lparam as *mut Vec); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/main.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | TRUE [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:30:36 [INFO] [stderr] | [INFO] [stderr] 30 | fn get_window_handle_list() -> Vec { [INFO] [stderr] | - ^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:31:37 [INFO] [stderr] | [INFO] [stderr] 30 | fn get_window_handle_list() -> Vec { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 31 | let mut window_handle_list: Vec = Vec::new(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stderr] --> src/main.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | EnumWindows( [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:35:49 [INFO] [stderr] | [INFO] [stderr] 30 | fn get_window_handle_list() -> Vec { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 35 | &mut window_handle_list as *mut Vec as LPARAM); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:35:58 [INFO] [stderr] | [INFO] [stderr] 35 | &mut window_handle_list as *mut Vec as LPARAM); [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:41:36 [INFO] [stderr] | [INFO] [stderr] 41 | fn get_window_title(window_handle: HWND) -> String { [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:42:28 [INFO] [stderr] | [INFO] [stderr] 42 | let mut window_title: [WCHAR; 256] = [0; 256]; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope [INFO] [stderr] --> src/main.rs:45:28 [INFO] [stderr] | [INFO] [stderr] 45 | window_title_len = GetWindowTextW( [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:54:60 [INFO] [stderr] | [INFO] [stderr] 54 | fn find_window_from_title(window_title: &String) -> Option { [INFO] [stderr] | - ^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowW` in this scope [INFO] [stderr] --> src/main.rs:57:25 [INFO] [stderr] | [INFO] [stderr] 57 | window_handle = FindWindowW( [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:68:35 [INFO] [stderr] | [INFO] [stderr] 68 | fn set_window_size(window_handle: HWND, width: i32, height: i32) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stderr] --> src/main.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | SetWindowPos( [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SWP_NOMOVE` in this scope [INFO] [stderr] --> src/main.rs:72:34 [INFO] [stderr] | [INFO] [stderr] 72 | 0, 0, width, height, SWP_NOMOVE); [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:76:28 [INFO] [stderr] | [INFO] [stderr] 76 | fn utf16_to_utf8(source: &[WCHAR]) -> String { [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:80:42 [INFO] [stderr] | [INFO] [stderr] 80 | fn utf8_to_utf16(source: &String) -> Vec { [INFO] [stderr] | - ^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:135:29 [INFO] [stderr] | [INFO] [stderr] 134 | fn show_windows_list() { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 135 | let window_handles: Vec = get_window_handle_list(); [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:20:53 [INFO] [stderr] | [INFO] [stderr] 20 | extern "system" fn enum_windows_proc(window_handle: HWND, lparam: LPARAM) -> BOOL { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:20:67 [INFO] [stderr] | [INFO] [stderr] 20 | extern "system" fn enum_windows_proc(window_handle: HWND, lparam: LPARAM) -> BOOL { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/main.rs:20:78 [INFO] [stderr] | [INFO] [stderr] 20 | extern "system" fn enum_windows_proc(window_handle: HWND, lparam: LPARAM) -> BOOL { [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:23:55 [INFO] [stderr] | [INFO] [stderr] 20 | extern "system" fn enum_windows_proc(window_handle: HWND, lparam: LPARAM) -> BOOL { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 23 | window_handle_list = &mut*(lparam as *mut Vec); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/main.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | TRUE [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:30:36 [INFO] [stderr] | [INFO] [stderr] 30 | fn get_window_handle_list() -> Vec { [INFO] [stderr] | - ^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:31:37 [INFO] [stderr] | [INFO] [stderr] 30 | fn get_window_handle_list() -> Vec { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 31 | let mut window_handle_list: Vec = Vec::new(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stderr] --> src/main.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | EnumWindows( [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:35:49 [INFO] [stderr] | [INFO] [stderr] 30 | fn get_window_handle_list() -> Vec { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 35 | &mut window_handle_list as *mut Vec as LPARAM); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:35:58 [INFO] [stderr] | [INFO] [stderr] 35 | &mut window_handle_list as *mut Vec as LPARAM); [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:41:36 [INFO] [stderr] | [INFO] [stderr] 41 | fn get_window_title(window_handle: HWND) -> String { [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:42:28 [INFO] [stderr] | [INFO] [stderr] 42 | let mut window_title: [WCHAR; 256] = [0; 256]; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope [INFO] [stderr] --> src/main.rs:45:28 [INFO] [stderr] | [INFO] [stderr] 45 | window_title_len = GetWindowTextW( [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:54:60 [INFO] [stderr] | [INFO] [stderr] 54 | fn find_window_from_title(window_title: &String) -> Option { [INFO] [stderr] | - ^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowW` in this scope [INFO] [stderr] --> src/main.rs:57:25 [INFO] [stderr] | [INFO] [stderr] 57 | window_handle = FindWindowW( [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:68:35 [INFO] [stderr] | [INFO] [stderr] 68 | fn set_window_size(window_handle: HWND, width: i32, height: i32) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stderr] --> src/main.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | SetWindowPos( [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SWP_NOMOVE` in this scope [INFO] [stderr] --> src/main.rs:72:34 [INFO] [stderr] | [INFO] [stderr] 72 | 0, 0, width, height, SWP_NOMOVE); [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:76:28 [INFO] [stderr] | [INFO] [stderr] 76 | fn utf16_to_utf8(source: &[WCHAR]) -> String { [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:80:42 [INFO] [stderr] | [INFO] [stderr] 80 | fn utf8_to_utf16(source: &String) -> Vec { [INFO] [stderr] | - ^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:135:29 [INFO] [stderr] | [INFO] [stderr] 134 | fn show_windows_list() { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 135 | let window_handles: Vec = get_window_handle_list(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 25 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: aborting due to 25 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `wndsize`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wndsize`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "82659c094a85a02b1ac20a8e08dce79b5ceded6d247eabeaa52923a89f92734a"` [INFO] running `"docker" "rm" "-f" "82659c094a85a02b1ac20a8e08dce79b5ceded6d247eabeaa52923a89f92734a"` [INFO] [stdout] 82659c094a85a02b1ac20a8e08dce79b5ceded6d247eabeaa52923a89f92734a