[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] checking naari3/pc_assist2 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fpc_assist2" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/naari3/pc_assist2 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/MinusKelvin/game-util-rs` [INFO] [stderr] Updating git repository `https://github.com/MinusKelvin/pcf` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enumset_derive v0.4.4 [INFO] [stderr] Downloaded thiserror-impl v1.0.15 [INFO] [stderr] Downloaded thiserror v1.0.15 [INFO] [stderr] Downloaded enumset v0.4.5 [INFO] [stderr] Downloaded png v0.16.3 [INFO] [stderr] Downloaded cc v1.0.52 [INFO] [stderr] Downloaded euclid v0.20.10 [INFO] [stderr] Downloaded bindgen v0.53.2 [INFO] [stderr] Downloaded syn v1.0.18 [INFO] [stderr] Downloaded backtrace-sys v0.1.36 [INFO] [stderr] Downloaded texture_packer v0.21.1 [INFO] [stderr] Downloaded process-memory v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9998459267d74406424d8cd9b8fd6f610dd4d23fa0b149724514bcb31aea69f0 [INFO] running `Command { std: "docker" "start" "-a" "9998459267d74406424d8cd9b8fd6f610dd4d23fa0b149724514bcb31aea69f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9998459267d74406424d8cd9b8fd6f610dd4d23fa0b149724514bcb31aea69f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9998459267d74406424d8cd9b8fd6f610dd4d23fa0b149724514bcb31aea69f0", kill_on_drop: false }` [INFO] [stdout] 9998459267d74406424d8cd9b8fd6f610dd4d23fa0b149724514bcb31aea69f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10ca3834b3a07593fedf540cc95d7be71e4bd7b0ce64c03266628d38be90144c [INFO] running `Command { std: "docker" "start" "-a" "10ca3834b3a07593fedf540cc95d7be71e4bd7b0ce64c03266628d38be90144c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [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 xml-rs v0.8.2 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling png v0.16.3 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling cpal v0.11.0 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking minimp3 v0.3.5 [INFO] [stderr] Checking lewton v0.10.1 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Compiling pcf v0.1.0 (https://github.com/MinusKelvin/pcf?rev=12337b018d416e23d9d696ba9f9cb9187016b6fd#12337b01) [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking claxon v0.4.2 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking process-memory v0.3.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking 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] Checking thiserror v1.0.15 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking rodio v0.11.0 [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 darling v0.10.2 [INFO] [stderr] Compiling enumset_derive v0.4.4 [INFO] [stderr] Compiling pc_assist v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking enumset v0.4.5 [INFO] [stderr] Checking euclid v0.20.10 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.21.2 [INFO] [stderr] Checking 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: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 `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 `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 `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/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 `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 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] | ~~~~~ [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 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] | ~~~~~ [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[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 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] | ~~~~ [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: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 248 | false [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[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[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] 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 `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 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] | ~~~~~ [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 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] | ~~~~~ [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[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 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] | ~~~~ [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: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 248 | false [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[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[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] 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`, found `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] help: consider using `Option::expect` to unwrap the `Option>` 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] 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`, found `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] help: consider using `Option::expect` to unwrap the `Option>` 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] error: aborting due to 36 previous errors [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` (bin "pc_assist") due to 37 previous errors [INFO] [stdout] error: aborting due to 36 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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` (bin "pc_assist" test) due to 37 previous errors [INFO] running `Command { std: "docker" "inspect" "10ca3834b3a07593fedf540cc95d7be71e4bd7b0ce64c03266628d38be90144c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10ca3834b3a07593fedf540cc95d7be71e4bd7b0ce64c03266628d38be90144c", kill_on_drop: false }` [INFO] [stdout] 10ca3834b3a07593fedf540cc95d7be71e4bd7b0ce64c03266628d38be90144c [INFO] checking naari3/pc_assist2 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fpc_assist2" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/naari3/pc_assist2 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-1-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3429026f371b39f7887e454da49b7e456e78d034fd859b3ad72fb47a430b1ae8 [INFO] running `Command { std: "docker" "start" "-a" "3429026f371b39f7887e454da49b7e456e78d034fd859b3ad72fb47a430b1ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3429026f371b39f7887e454da49b7e456e78d034fd859b3ad72fb47a430b1ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3429026f371b39f7887e454da49b7e456e78d034fd859b3ad72fb47a430b1ae8", kill_on_drop: false }` [INFO] [stdout] 3429026f371b39f7887e454da49b7e456e78d034fd859b3ad72fb47a430b1ae8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1088af2ad23f1895671d2ae5ac0641e36d6bf17264c9fa295390539bc1f18ab [INFO] running `Command { std: "docker" "start" "-a" "b1088af2ad23f1895671d2ae5ac0641e36d6bf17264c9fa295390539bc1f18ab", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "b1088af2ad23f1895671d2ae5ac0641e36d6bf17264c9fa295390539bc1f18ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1088af2ad23f1895671d2ae5ac0641e36d6bf17264c9fa295390539bc1f18ab", kill_on_drop: false }` [INFO] [stdout] b1088af2ad23f1895671d2ae5ac0641e36d6bf17264c9fa295390539bc1f18ab