[INFO] cloning repository https://github.com/Jeffrey-P-McAteer/misc-winfixes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jeffrey-P-McAteer/misc-winfixes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeffrey-P-McAteer%2Fmisc-winfixes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeffrey-P-McAteer%2Fmisc-winfixes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38bf37ccac6aa53868edda2d31ed9225d71b4eae [INFO] checking Jeffrey-P-McAteer/misc-winfixes against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeffrey-P-McAteer%2Fmisc-winfixes" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jeffrey-P-McAteer/misc-winfixes on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jeffrey-P-McAteer/misc-winfixes [INFO] finished tweaking git repo https://github.com/Jeffrey-P-McAteer/misc-winfixes [INFO] tweaked toml for git repo https://github.com/Jeffrey-P-McAteer/misc-winfixes written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Jeffrey-P-McAteer/misc-winfixes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/qdot/systray-rs.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bindgen v0.52.0 [INFO] [stderr] Downloaded libappindicator v0.5.1 [INFO] [stderr] Downloaded libappindicator-sys v0.4.0 [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 634489e2a90fd3f8e95674d57cb890292c41691a5f78fcce8f7488f5e1b36384 [INFO] running `Command { std: "docker" "start" "-a" "634489e2a90fd3f8e95674d57cb890292c41691a5f78fcce8f7488f5e1b36384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "634489e2a90fd3f8e95674d57cb890292c41691a5f78fcce8f7488f5e1b36384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "634489e2a90fd3f8e95674d57cb890292c41691a5f78fcce8f7488f5e1b36384", kill_on_drop: false }` [INFO] [stdout] 634489e2a90fd3f8e95674d57cb890292c41691a5f78fcce8f7488f5e1b36384 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55f5371d48deb8f8077ea28087198f26cc86959757968f3a2893b1be40918044 [INFO] running `Command { std: "docker" "start" "-a" "55f5371d48deb8f8077ea28087198f26cc86959757968f3a2893b1be40918044", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling gio v0.8.1 [INFO] [stderr] Compiling bindgen v0.52.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling cairo-rs v0.8.1 [INFO] [stderr] Compiling pango v0.8.0 [INFO] [stderr] Compiling gdk-pixbuf v0.8.0 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling atk v0.8.0 [INFO] [stderr] Compiling gdk v0.12.1 [INFO] [stderr] Compiling gtk v0.8.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling glib-sys v0.9.1 [INFO] [stderr] Compiling gobject-sys v0.9.1 [INFO] [stderr] Compiling gio-sys v0.9.1 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.9.1 [INFO] [stderr] Compiling pango-sys v0.9.1 [INFO] [stderr] Compiling cairo-sys-rs v0.9.2 [INFO] [stderr] Compiling atk-sys v0.9.1 [INFO] [stderr] Compiling gdk-sys v0.9.1 [INFO] [stderr] Compiling gtk-sys v0.9.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking glib v0.9.3 [INFO] [stderr] Compiling libappindicator-sys v0.4.0 [INFO] [stderr] Checking libappindicator v0.5.1 [INFO] [stderr] Checking systray v0.4.0 (https://github.com/qdot/systray-rs.git#6d2d0a0b) [INFO] [stderr] Checking misc-winfixes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | shared::{minwindef::{BOOL, LPARAM}, windef::HWND}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | shared::{minwindef::{BOOL, LPARAM}, windef::HWND}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | w.hwnd, winapi::um::winuser::HWND_TOP, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | winapi::um::winuser::SWP_NOZORDER | winapi::um::winuser::SWP_NOOWNERZORDER | winapi::um::winuser::SWP_NOSENDCHANGING [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:82:55 [INFO] [stdout] | [INFO] [stdout] 82 | winapi::um::winuser::SWP_NOZORDER | winapi::um::winuser::SWP_NOOWNERZORDER | winapi::um::winuser::SWP_NOSENDCHANGING [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:82:96 [INFO] [stdout] | [INFO] [stdout] 82 | winapi::um::winuser::SWP_NOZORDER | winapi::um::winuser::SWP_NOOWNERZORDER | winapi::um::winuser::SWP_NOSENDCHANGING [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | w.hwnd, winapi::um::winuser::HWND_TOP, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | winapi::um::winuser::SWP_NOZORDER | winapi::um::winuser::SWP_NOOWNERZORDER | winapi::um::winuser::SWP_NOSENDCHANGING [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | winapi::um::wincon::GetConsoleProcessList(console_proc_list_buff.as_mut_ptr(), 16) [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:82:55 [INFO] [stdout] | [INFO] [stdout] 82 | winapi::um::winuser::SWP_NOZORDER | winapi::um::winuser::SWP_NOOWNERZORDER | winapi::um::winuser::SWP_NOSENDCHANGING [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:82:96 [INFO] [stdout] | [INFO] [stdout] 82 | winapi::um::winuser::SWP_NOZORDER | winapi::um::winuser::SWP_NOOWNERZORDER | winapi::um::winuser::SWP_NOSENDCHANGING [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | winapi::um::wincon::GetConsoleProcessList(console_proc_list_buff.as_mut_ptr(), 16) [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | unsafe { winapi::um::wincon::FreeConsole() }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | unsafe { winapi::um::wincon::FreeConsole() }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:156:44 [INFO] [stdout] | [INFO] [stdout] 156 | let mut r = std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:156:44 [INFO] [stdout] | [INFO] [stdout] 156 | let mut r = std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | pub hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | SetWindowPos( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | pub hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stdout] --> src/main.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | EnumWindows(Some(enumerate_windows), ptr as LPARAM); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:123:55 [INFO] [stdout] | [INFO] [stdout] 123 | EnumWindows(Some(enumerate_windows), ptr as LPARAM); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:130:53 [INFO] [stdout] | [INFO] [stdout] 130 | unsafe extern "system" fn enumerate_windows(window: HWND, state: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:130:66 [INFO] [stdout] | [INFO] [stdout] 130 | unsafe extern "system" fn enumerate_windows(window: HWND, state: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/main.rs:130:77 [INFO] [stdout] | [INFO] [stdout] 130 | unsafe extern "system" fn enumerate_windows(window: HWND, state: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope [INFO] [stdout] --> src/main.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | if IsWindowVisible(window) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthW` in this scope [INFO] [stdout] --> src/main.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | let length = GetWindowTextLengthW(window); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope [INFO] [stdout] --> src/main.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | if GetWindowTextW(window, title.as_mut_ptr() as LPWSTR, length+1) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stdout] --> src/main.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | EnumWindows(Some(enumerate_windows), ptr as LPARAM); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/main.rs:149:53 [INFO] [stdout] | [INFO] [stdout] 149 | if GetWindowTextW(window, title.as_mut_ptr() as LPWSTR, length+1) != 0 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:123:55 [INFO] [stdout] | [INFO] [stdout] 123 | EnumWindows(Some(enumerate_windows), ptr as LPARAM); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/main.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | GetWindowRect(window, &mut r); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:130:53 [INFO] [stdout] | [INFO] [stdout] 130 | unsafe extern "system" fn enumerate_windows(window: HWND, state: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:130:66 [INFO] [stdout] | [INFO] [stdout] 130 | unsafe extern "system" fn enumerate_windows(window: HWND, state: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/main.rs:130:77 [INFO] [stdout] | [INFO] [stdout] 130 | unsafe extern "system" fn enumerate_windows(window: HWND, state: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope [INFO] [stdout] --> src/main.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | if IsWindowVisible(window) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthW` in this scope [INFO] [stdout] --> src/main.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | let length = GetWindowTextLengthW(window); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope [INFO] [stdout] --> src/main.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | if GetWindowTextW(window, title.as_mut_ptr() as LPWSTR, length+1) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/main.rs:149:53 [INFO] [stdout] | [INFO] [stdout] 149 | if GetWindowTextW(window, title.as_mut_ptr() as LPWSTR, length+1) != 0 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/main.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | GetWindowRect(window, &mut r); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `misc-winfixes` due to 22 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "55f5371d48deb8f8077ea28087198f26cc86959757968f3a2893b1be40918044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55f5371d48deb8f8077ea28087198f26cc86959757968f3a2893b1be40918044", kill_on_drop: false }` [INFO] [stdout] 55f5371d48deb8f8077ea28087198f26cc86959757968f3a2893b1be40918044