[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-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fpc_assist2" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/naari3/pc_assist2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7/source/Cargo.toml [INFO] crate git repo https://github.com/naari3/pc_assist2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b04db482d47583fe764b729f03a6cf2f4b1728eabf9574a5454f725b7929e75b [INFO] running `Command { std: "docker" "start" "-a" "b04db482d47583fe764b729f03a6cf2f4b1728eabf9574a5454f725b7929e75b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b04db482d47583fe764b729f03a6cf2f4b1728eabf9574a5454f725b7929e75b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b04db482d47583fe764b729f03a6cf2f4b1728eabf9574a5454f725b7929e75b", kill_on_drop: false }` [INFO] [stdout] b04db482d47583fe764b729f03a6cf2f4b1728eabf9574a5454f725b7929e75b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7dc669da9f4ecfa237a0964f8ce57cf4191399cb16ea3a7f789137e8ecdceae9 [INFO] running `Command { std: "docker" "start" "-a" "7dc669da9f4ecfa237a0964f8ce57cf4191399cb16ea3a7f789137e8ecdceae9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling xml-rs v0.8.2 [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 rayon-core v1.7.0 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling cpal v0.11.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling claxon v0.4.2 [INFO] [stderr] Compiling winapi v0.3.8 [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 regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling ogg v0.7.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling png v0.16.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling lewton v0.10.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling process-memory v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling minimp3 v0.3.5 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling image v0.23.4 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Compiling darling_macro v0.10.2 [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 thiserror v1.0.15 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling enumset_derive v0.4.4 [INFO] [stderr] Compiling rodio v0.11.0 [INFO] [stderr] Compiling pc_assist v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling enumset v0.4.5 [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]: failed to resolve: could not 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]: failed to resolve: could not 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]: failed to resolve: could not 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]: failed to resolve: could not 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]: failed to resolve: could not 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]: failed to resolve: could not 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]: failed to resolve: could not 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]: failed to resolve: could not 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]: failed to resolve: could not 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]: failed to resolve: could not 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[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/ppt.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 14 | impl Ppt { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 17 | let mut hmod: Vec = vec![MaybeUninit::::zeroed().assume_init(); 1024]; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/ppt.rs:17:61 [INFO] [stdout] | [INFO] [stdout] 14 | impl Ppt { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 17 | let mut hmod: Vec = vec![MaybeUninit::::zeroed().assume_init(); 1024]; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope [INFO] [stdout] --> src/ppt.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | if EnumProcessModules( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/ppt.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 14 | impl Ppt { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 22 | std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleFileNameExA` in this scope [INFO] [stdout] --> src/ppt.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | if GetModuleFileNameExA( [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/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[E0412]: 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[E0412]: 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[E0412]: 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[E0412]: 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 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: 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 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/game-util-rs-a135c90f2c688344/558fd05/src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub type Rect = euclid::Rect; [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 { [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(hwnd: HWND) -> std::io::Result { [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] | ^^^^ help: a type alias with a similar name exists: `Rect` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/game-util-rs-a135c90f2c688344/558fd05/src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub type Rect = euclid::Rect; [INFO] [stdout] | ------------------------------------------------------------- similarly named type alias `Rect` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/window.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | if unsafe { GetClientRect(hwnd, &mut rect) } == FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [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: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::window::gl::FALSE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: 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 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: 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 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/game-util-rs-a135c90f2c688344/558fd05/src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub type Rect = euclid::Rect; [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 { [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(hwnd: HWND) -> std::io::Result { [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] | ^^^^ help: a type alias with a similar name exists: `Rect` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/game-util-rs-a135c90f2c688344/558fd05/src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub type Rect = euclid::Rect; [INFO] [stdout] | ------------------------------------------------------------- similarly named type alias `Rect` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/window.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | if unsafe { GetWindowRect(hwnd, &mut rect) } == FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [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: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::window::gl::FALSE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: 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[E0412]: 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[E0412]: 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 function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stdout] --> src/window.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | EnumWindows( [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/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[E0412]: 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[E0412]: 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[E0412]: 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] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: 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 function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope [INFO] [stdout] --> src/window.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | GetWindowThreadProcessId(hwnd, &mut process_id); [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: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::window::gl::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: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::window::gl::FALSE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: 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 function, tuple struct or tuple variant `GetWindow` in this scope [INFO] [stdout] --> src/window.rs:252:12 [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 value `GW_OWNER` in this scope [INFO] [stdout] --> src/window.rs:252:28 [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[E0412]: 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 function, tuple struct or tuple variant `IsWindowVisible` in this scope [INFO] [stdout] --> src/window.rs:252:54 [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[E0412]: 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)]` 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)]` 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::::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 `u32`, found enum `Option` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, 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` due to 49 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7dc669da9f4ecfa237a0964f8ce57cf4191399cb16ea3a7f789137e8ecdceae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dc669da9f4ecfa237a0964f8ce57cf4191399cb16ea3a7f789137e8ecdceae9", kill_on_drop: false }` [INFO] [stdout] 7dc669da9f4ecfa237a0964f8ce57cf4191399cb16ea3a7f789137e8ecdceae9