[INFO] cloning repository https://github.com/naari3/pc_assist2
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/naari3/pc_assist2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fpc_assist2", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fpc_assist2'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 50805bdc5e008b47082a091915c4b60ea3cc9b48
[INFO] testing naari3/pc_assist2 against beta-2026-04-21 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fpc_assist2" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/naari3/pc_assist2
[INFO] finished tweaking git repo https://github.com/naari3/pc_assist2
[INFO] tweaked toml for git repo https://github.com/naari3/pc_assist2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/naari3/pc_assist2 on toolchain beta-2026-04-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/naari3/pc_assist2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b5c68941a77365143ba765efc080a2f146716611037146ce8d9b85e534b440da
[INFO] running `Command { std: "docker" "start" "-a" "b5c68941a77365143ba765efc080a2f146716611037146ce8d9b85e534b440da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b5c68941a77365143ba765efc080a2f146716611037146ce8d9b85e534b440da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b5c68941a77365143ba765efc080a2f146716611037146ce8d9b85e534b440da", kill_on_drop: false }`
[INFO] [stdout] b5c68941a77365143ba765efc080a2f146716611037146ce8d9b85e534b440da
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 88d6fc28330aa0419903eb3b7d35d06c543fc96bec9388ed979dec6803eebcbe
[INFO] running `Command { std: "docker" "start" "-a" "88d6fc28330aa0419903eb3b7d35d06c543fc96bec9388ed979dec6803eebcbe", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling xml-rs v0.8.2
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.18
[INFO] [stderr]    Compiling cc v1.0.52
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling adler32 v1.0.4
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling miniz_oxide v0.3.6
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling linked-hash-map v0.5.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]    Compiling bytemuck v1.2.0
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling downcast-rs v1.1.1
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling stb_truetype v0.3.1
[INFO] [stderr]    Compiling deflate v0.8.4
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling alsa-sys v0.1.2
[INFO] [stderr]    Compiling tiff v0.4.0
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling png v0.16.3
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling strsim v0.9.3
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling aho-corasick v0.7.10
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling minimp3-sys v0.3.2
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.4
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.6
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling dlib v0.4.1
[INFO] [stderr]    Compiling rayon v1.3.0
[INFO] [stderr]    Compiling wayland-sys v0.21.13
[INFO] [stderr]    Compiling ordered-float v1.0.2
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling rusttype v0.8.3
[INFO] [stderr]    Compiling cpal v0.11.0
[INFO] [stderr]    Compiling regex-syntax v0.6.17
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling gl v0.13.0
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling slice-deque v0.3.0
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling ogg v0.7.0
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling tinyvec v0.3.3
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]    Compiling minimp3 v0.3.5
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling memchr v0.1.11
[INFO] [stderr]    Compiling nodrop v0.1.14
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]    Compiling claxon v0.4.2
[INFO] [stderr]    Compiling pcf v0.1.0 (https://github.com/MinusKelvin/pcf?rev=12337b018d416e23d9d696ba9f9cb9187016b6fd#12337b01)
[INFO] [stderr]    Compiling hound v3.4.0
[INFO] [stderr]    Compiling aho-corasick v0.5.3
[INFO] [stderr]    Compiling lewton v0.10.1
[INFO] [stderr]    Compiling thread_local v0.2.7
[INFO] [stderr]    Compiling utf8-ranges v0.1.3
[INFO] [stderr]    Compiling regex-syntax v0.3.9
[INFO] [stderr]    Compiling arrayvec v0.5.1
[INFO] [stderr]    Compiling process-memory v0.3.0
[INFO] [stderr]    Compiling wayland-commons v0.21.13
[INFO] [stderr]    Compiling regex v0.1.80
[INFO] [stderr]    Compiling regex v1.3.7
[INFO] [stderr]    Compiling darling_core v0.10.2
[INFO] [stderr]    Compiling jpeg-decoder v0.1.18
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]    Compiling thiserror-impl v1.0.15
[INFO] [stderr]    Compiling image v0.23.4
[INFO] [stderr]    Compiling thiserror v1.0.15
[INFO] [stderr]    Compiling rodio v0.11.0
[INFO] [stderr]    Compiling darling_macro v0.10.2
[INFO] [stderr]    Compiling darling v0.10.2
[INFO] [stderr]    Compiling enumset_derive v0.4.4
[INFO] [stderr]    Compiling enumset v0.4.5
[INFO] [stderr]    Compiling texture_packer v0.21.1
[INFO] [stderr]    Compiling build-utils v0.1.0 (https://github.com/MinusKelvin/game-util-rs?rev=558fd05#558fd055)
[INFO] [stderr]    Compiling pc_assist v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling euclid v0.20.10
[INFO] [stderr]    Compiling smithay-client-toolkit v0.4.6
[INFO] [stderr]    Compiling winit v0.19.5
[INFO] [stderr]    Compiling glutin v0.21.2
[INFO] [stderr]    Compiling game-util v0.1.0 (https://github.com/MinusKelvin/game-util-rs?rev=558fd0555a30f1acf46c440790b5ccbc1ade8e92#558fd055)
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]  --> src/ppt.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     shared::minwindef::HMODULE,
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]  --> src/ppt.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     um::psapi::{EnumProcessModules, GetModuleFileNameExA},
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]    --> src/window.rs:181:13
[INFO] [stdout]     |
[INFO] [stdout] 181 | use winapi::shared::minwindef::*;
[INFO] [stdout]     |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]    --> src/window.rs:182:13
[INFO] [stdout]     |
[INFO] [stdout] 182 | use winapi::shared::windef::*;
[INFO] [stdout]     |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]    --> src/window.rs:183:13
[INFO] [stdout]     |
[INFO] [stdout] 183 | use winapi::um::winuser::{
[INFO] [stdout]     |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]   --> src/ppt.rs:44:36
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let mut exit_code: winapi::shared::minwindef::DWORD = 0;
[INFO] [stdout]    |                                    ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/ppt.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout] 46 |             winapi::um::processthreadsapi::GetExitCodeProcess(self.process_handle, &mut exit_code)
[INFO] [stdout]    |                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `shared` in `winapi`
[INFO] [stdout]   --> src/ppt.rs:47:22
[INFO] [stdout]    |
[INFO] [stdout] 47 |         } == winapi::shared::minwindef::FALSE
[INFO] [stdout]    |                      ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]   --> src/ppt.rs:51:37
[INFO] [stdout]    |
[INFO] [stdout] 51 |             Ok(exit_code == winapi::um::minwinbase::STILL_ACTIVE)
[INFO] [stdout]    |                                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `um` in `winapi`
[INFO] [stdout]    --> src/window.rs:256:22
[INFO] [stdout]     |
[INFO] [stdout] 256 |     unsafe { winapi::um::winuser::GetForegroundWindow() }
[INFO] [stdout]     |                      ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/window.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 |     hwnd: HWND,
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/window.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |         pid: DWORD,
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/window.rs:190:17
[INFO] [stdout]     |
[INFO] [stdout] 190 |     process_id: DWORD,
[INFO] [stdout]     |                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/window.rs:191:20
[INFO] [stdout]     |
[INFO] [stdout] 191 |     window_handle: HWND,
[INFO] [stdout]     |                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/window.rs:194:47
[INFO] [stdout]     |
[INFO] [stdout] 194 | pub fn get_client_rect_by_window_handle(hwnd: HWND) -> std::io::Result<RECT> {
[INFO] [stdout]     |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RECT` in this scope
[INFO] [stdout]    --> src/window.rs:194:72
[INFO] [stdout]     |
[INFO] [stdout] 194 | pub fn get_client_rect_by_window_handle(hwnd: HWND) -> std::io::Result<RECT> {
[INFO] [stdout]     |                                                                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/git/checkouts/game-util-rs-b0826425a78f0640/558fd05/src/lib.rs:39:5
[INFO] [stdout]     |
[INFO] [stdout]  39 |     pub type Rect<T, U=euclid::UnknownUnit> = euclid::Rect<T, U>;
[INFO] [stdout]     |     --------------------------------------- similarly named type alias `Rect` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 194 - pub fn get_client_rect_by_window_handle(hwnd: HWND) -> std::io::Result<RECT> {
[INFO] [stdout] 194 + pub fn get_client_rect_by_window_handle(hwnd: HWND) -> std::io::Result<Rect> {
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 194 | pub fn get_client_rect_by_window_handle<RECT>(hwnd: HWND) -> std::io::Result<RECT> {
[INFO] [stdout]     |                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]    --> src/window.rs:195:20
[INFO] [stdout]     |
[INFO] [stdout] 195 |     let mut rect = RECT {
[INFO] [stdout]     |                    ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/git/checkouts/game-util-rs-b0826425a78f0640/558fd05/src/lib.rs:39:5
[INFO] [stdout]     |
[INFO] [stdout]  39 |     pub type Rect<T, U=euclid::UnknownUnit> = euclid::Rect<T, U>;
[INFO] [stdout]     |     --------------------------------------- similarly named type alias `Rect` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 195 -     let mut rect = RECT {
[INFO] [stdout] 195 +     let mut rect = Rect {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/window.rs:202:53
[INFO] [stdout]     |
[INFO] [stdout] 202 |     if unsafe { GetClientRect(hwnd, &mut rect) } == FALSE {
[INFO] [stdout]     |                                                     ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 202 -     if unsafe { GetClientRect(hwnd, &mut rect) } == FALSE {
[INFO] [stdout] 202 +     if unsafe { GetClientRect(hwnd, &mut rect) } == false {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/window.rs:209:47
[INFO] [stdout]     |
[INFO] [stdout] 209 | pub fn get_window_rect_by_window_handle(hwnd: HWND) -> std::io::Result<RECT> {
[INFO] [stdout]     |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RECT` in this scope
[INFO] [stdout]    --> src/window.rs:209:72
[INFO] [stdout]     |
[INFO] [stdout] 209 | pub fn get_window_rect_by_window_handle(hwnd: HWND) -> std::io::Result<RECT> {
[INFO] [stdout]     |                                                                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/git/checkouts/game-util-rs-b0826425a78f0640/558fd05/src/lib.rs:39:5
[INFO] [stdout]     |
[INFO] [stdout]  39 |     pub type Rect<T, U=euclid::UnknownUnit> = euclid::Rect<T, U>;
[INFO] [stdout]     |     --------------------------------------- similarly named type alias `Rect` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 209 - pub fn get_window_rect_by_window_handle(hwnd: HWND) -> std::io::Result<RECT> {
[INFO] [stdout] 209 + pub fn get_window_rect_by_window_handle(hwnd: HWND) -> std::io::Result<Rect> {
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 209 | pub fn get_window_rect_by_window_handle<RECT>(hwnd: HWND) -> std::io::Result<RECT> {
[INFO] [stdout]     |                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]    --> src/window.rs:210:20
[INFO] [stdout]     |
[INFO] [stdout] 210 |     let mut rect = RECT {
[INFO] [stdout]     |                    ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/git/checkouts/game-util-rs-b0826425a78f0640/558fd05/src/lib.rs:39:5
[INFO] [stdout]     |
[INFO] [stdout]  39 |     pub type Rect<T, U=euclid::UnknownUnit> = euclid::Rect<T, U>;
[INFO] [stdout]     |     --------------------------------------- similarly named type alias `Rect` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 210 -     let mut rect = RECT {
[INFO] [stdout] 210 +     let mut rect = Rect {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/window.rs:217:53
[INFO] [stdout]     |
[INFO] [stdout] 217 |     if unsafe { GetWindowRect(hwnd, &mut rect) } == FALSE {
[INFO] [stdout]     |                                                     ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 217 -     if unsafe { GetWindowRect(hwnd, &mut rect) } == FALSE {
[INFO] [stdout] 217 +     if unsafe { GetWindowRect(hwnd, &mut rect) } == false {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/window.rs:224:41
[INFO] [stdout]     |
[INFO] [stdout] 224 | fn get_window_handle_by_process_id(pid: DWORD) -> HWND {
[INFO] [stdout]     |                                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/window.rs:224:51
[INFO] [stdout]     |
[INFO] [stdout] 224 | fn get_window_handle_by_process_id(pid: DWORD) -> HWND {
[INFO] [stdout]     |                                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/window.rs:227:29
[INFO] [stdout]     |
[INFO] [stdout] 227 |         window_handle: 0 as HWND,
[INFO] [stdout]     |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPARAM` in this scope
[INFO] [stdout]    --> src/window.rs:233:52
[INFO] [stdout]     |
[INFO] [stdout] 233 |             (&handle_data as *const HandleData) as LPARAM,
[INFO] [stdout]     |                                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/window.rs:240:43
[INFO] [stdout]     |
[INFO] [stdout] 240 | unsafe extern "system" fn enum_proc(hwnd: HWND, l_param: LPARAM) -> BOOL {
[INFO] [stdout]     |                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPARAM` in this scope
[INFO] [stdout]    --> src/window.rs:240:58
[INFO] [stdout]     |
[INFO] [stdout] 240 | unsafe extern "system" fn enum_proc(hwnd: HWND, l_param: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `BOOL` in this scope
[INFO] [stdout]    --> src/window.rs:240:69
[INFO] [stdout]     |
[INFO] [stdout] 240 | unsafe extern "system" fn enum_proc(hwnd: HWND, l_param: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                                     ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 240 - unsafe extern "system" fn enum_proc(hwnd: HWND, l_param: LPARAM) -> BOOL {
[INFO] [stdout] 240 + unsafe extern "system" fn enum_proc(hwnd: HWND, l_param: LPARAM) -> bool {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/window.rs:242:25
[INFO] [stdout]     |
[INFO] [stdout] 242 |     let mut process_id: DWORD = 0;
[INFO] [stdout]     |                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/window.rs:245:16
[INFO] [stdout]     |
[INFO] [stdout] 245 |         return TRUE;
[INFO] [stdout]     |                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 245 -         return TRUE;
[INFO] [stdout] 245 +         return true;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]    --> src/window.rs:248:5
[INFO] [stdout]     |
[INFO] [stdout] 248 |     FALSE
[INFO] [stdout]     |     ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you may want to use a bool value instead
[INFO] [stdout]     |
[INFO] [stdout] 248 -     FALSE
[INFO] [stdout] 248 +     false
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/window.rs:251:32
[INFO] [stdout]     |
[INFO] [stdout] 251 | unsafe fn is_main_window(hwnd: HWND) -> bool {
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/window.rs:252:46
[INFO] [stdout]     |
[INFO] [stdout] 252 |     return GetWindow(hwnd, GW_OWNER) == 0 as HWND && IsWindowVisible(hwnd) != 0;
[INFO] [stdout]     |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]    --> src/window.rs:255:31
[INFO] [stdout]     |
[INFO] [stdout] 255 | fn get_foreground_window() -> HWND {
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PlanPlacement`
[INFO] [stdout]  --> src/main.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::plan::{Cells, PlanPlacement};
[INFO] [stdout]   |                          ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `channel`
[INFO] [stdout]  --> src/main.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::mpsc::{channel, Receiver, Sender};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/ppt.rs:113:13
[INFO] [stdout]     |
[INFO] [stdout] 113 |             offsets = todo!();
[INFO] [stdout]     |             ^^^^^^^^^^-------
[INFO] [stdout]     |             |         |
[INFO] [stdout]     |             |         any code following this expression is unreachable
[INFO] [stdout]     |             unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/ppt.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |           return Ok(1);
[INFO] [stdout]     |           ------------ any code following this expression is unreachable
[INFO] [stdout] 129 |
[INFO] [stdout] 130 | /         let player_count_address = DataMember::<u32>::new_offset(
[INFO] [stdout] 131 | |             self.process_handle,
[INFO] [stdout] 132 | |             vec![self.get_base_address() + 0x01F260D0, 0x20, 0xB4],
[INFO] [stdout] 133 | |         );
[INFO] [stdout]     | |__________^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:153:22
[INFO] [stdout]     |
[INFO] [stdout] 153 |         board.hold = ppt.get_hold(player_index).ok();
[INFO] [stdout]     |         ----------   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<u32>`, found `Option<Option<u32>>`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected due to the type of this binding
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<u32>`
[INFO] [stdout]                found enum `Option<Option<u32>>`
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option<Option<u32>>` value, panicking if the value is an `Option::None`
[INFO] [stdout]     |
[INFO] [stdout] 153 |         board.hold = ppt.get_hold(player_index).ok().expect("REASON");
[INFO] [stdout]     |                                                     +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pc_assist` (bin "pc_assist") due to 36 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "88d6fc28330aa0419903eb3b7d35d06c543fc96bec9388ed979dec6803eebcbe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88d6fc28330aa0419903eb3b7d35d06c543fc96bec9388ed979dec6803eebcbe", kill_on_drop: false }`
[INFO] [stdout] 88d6fc28330aa0419903eb3b7d35d06c543fc96bec9388ed979dec6803eebcbe
