[INFO] cloning repository https://github.com/dxenonb/risk-of-rain-2-command-driver
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dxenonb/risk-of-rain-2-command-driver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdxenonb%2Frisk-of-rain-2-command-driver", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdxenonb%2Frisk-of-rain-2-command-driver'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9d2dd50519cfdd827b443b1b05d57a7aa52cbf6c
[INFO] checking dxenonb/risk-of-rain-2-command-driver against master#7f5a42b073dc2bee2aa625052eb066ee07072048 for pr-78991
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdxenonb%2Frisk-of-rain-2-command-driver" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dxenonb/risk-of-rain-2-command-driver on toolchain 7f5a42b073dc2bee2aa625052eb066ee07072048
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/dxenonb/risk-of-rain-2-command-driver
[INFO] finished tweaking git repo https://github.com/dxenonb/risk-of-rain-2-command-driver
[INFO] tweaked toml for git repo https://github.com/dxenonb/risk-of-rain-2-command-driver written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/dxenonb/risk-of-rain-2-command-driver already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a4a4cde016a436424b214aef91318029e3ff1a7ef1421ed332cf543027f87140
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a4a4cde016a436424b214aef91318029e3ff1a7ef1421ed332cf543027f87140", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a4a4cde016a436424b214aef91318029e3ff1a7ef1421ed332cf543027f87140", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4a4cde016a436424b214aef91318029e3ff1a7ef1421ed332cf543027f87140", kill_on_drop: false }`
[INFO] [stdout] a4a4cde016a436424b214aef91318029e3ff1a7ef1421ed332cf543027f87140
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ef602a502e1869be65d964f10576eff374f0ebee0ffbec42942293923f91d572
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ef602a502e1869be65d964f10576eff374f0ebee0ffbec42942293923f91d572", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking adler32 v1.0.4
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking bytemuck v1.2.0
[INFO] [stderr]     Checking inflate v0.4.5
[INFO] [stderr]     Checking miniz_oxide v0.3.6
[INFO] [stderr]     Checking crc32fast v1.2.0
[INFO] [stderr]     Checking gif v0.10.3
[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-traits v0.2.11
[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]     Checking deflate v0.8.4
[INFO] [stderr]     Checking tiff v0.4.0
[INFO] [stderr]     Checking crossbeam-queue v0.2.1
[INFO] [stderr]     Checking num_cpus v1.12.0
[INFO] [stderr]     Checking png v0.16.2
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.18
[INFO] [stderr]     Checking image v0.23.2
[INFO] [stderr]     Checking ror2_command v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/robot.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | 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 `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:256:17
[INFO] [stdout]     |
[INFO] [stdout] 256 |     use winapi::um::winuser::ReleaseDC;
[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/lib.rs:257:17
[INFO] [stdout]     |
[INFO] [stdout] 257 |     use winapi::um::wingdi::{
[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/lib.rs:282:17
[INFO] [stdout]     |
[INFO] [stdout] 282 |     use winapi::shared::minwindef::WORD;
[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/lib.rs:283:17
[INFO] [stdout]     |
[INFO] [stdout] 283 |     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 `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:291:17
[INFO] [stdout]     |
[INFO] [stdout] 291 |     use winapi::um::wingdi::{
[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/robot.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | 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 `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:256:17
[INFO] [stdout]     |
[INFO] [stdout] 256 |     use winapi::um::winuser::ReleaseDC;
[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/lib.rs:257:17
[INFO] [stdout]     |
[INFO] [stdout] 257 |     use winapi::um::wingdi::{
[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/lib.rs:282:17
[INFO] [stdout]     |
[INFO] [stdout] 282 |     use winapi::shared::minwindef::WORD;
[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/lib.rs:283:17
[INFO] [stdout]     |
[INFO] [stdout] 283 |     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 `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:291:17
[INFO] [stdout]     |
[INFO] [stdout] 291 |     use winapi::um::wingdi::{
[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/lib.rs:278:29
[INFO] [stdout]     |
[INFO] [stdout] 278 |     dc_screen: &mut winapi::shared::windef::HDC,
[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/lib.rs:279:29
[INFO] [stdout]     |
[INFO] [stdout] 279 |     dc_target: &mut winapi::shared::windef::HDC,
[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/lib.rs:280:30
[INFO] [stdout]     |
[INFO] [stdout] 280 |     bmp_target: &mut winapi::shared::windef::HBITMAP,
[INFO] [stdout]     |                              ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursorPos` in this scope
[INFO] [stdout]   --> src/robot.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             SetCursorPos(x as _, y as _);
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `INPUT` in this scope
[INFO] [stdout]   --> src/robot.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 |             input = INPUT {
[INFO] [stdout]    |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INPUT_MOUSE` in this scope
[INFO] [stdout]   --> src/robot.rs:42:24
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 type_: INPUT_MOUSE,
[INFO] [stdout]    |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope
[INFO] [stdout]   --> src/robot.rs:45:33
[INFO] [stdout]    |
[INFO] [stdout] 45 |             *input.u.mi_mut() = MOUSEINPUT {
[INFO] [stdout]    |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_LEFTDOWN` in this scope
[INFO] [stdout]   --> src/robot.rs:49:26
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 dwFlags: MOUSEEVENTF_LEFTDOWN,
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout]   --> src/robot.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |             SendInput(1, &mut input as *mut _, mem::size_of::() as _);
[INFO] [stdout]    |             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]   --> src/robot.rs:53:63
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Robot for WinRobot {
[INFO] [stdout]    |     - help: you might be missing a type parameter: ``
[INFO] [stdout] ...
[INFO] [stdout] 53 |             SendInput(1, &mut input as *mut _, mem::size_of::() as _);
[INFO] [stdout]    |                                                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope
[INFO] [stdout]   --> src/robot.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 55 |             *input.u.mi_mut() = MOUSEINPUT {
[INFO] [stdout]    |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_LEFTUP` in this scope
[INFO] [stdout]   --> src/robot.rs:59:26
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 dwFlags: MOUSEEVENTF_LEFTUP,
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout]   --> src/robot.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |             SendInput(1, &mut input as *mut _, mem::size_of::() as _);
[INFO] [stdout]    |             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]   --> src/robot.rs:63:63
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Robot for WinRobot {
[INFO] [stdout]    |     - help: you might be missing a type parameter: ``
[INFO] [stdout] ...
[INFO] [stdout] 63 |             SendInput(1, &mut input as *mut _, mem::size_of::() as _);
[INFO] [stdout]    |                                                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope
[INFO] [stdout]    --> src/lib.rs:269:9
[INFO] [stdout]     |
[INFO] [stdout] 269 |         DeleteObject(bmp_target as *mut _);
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope
[INFO] [stdout]    --> src/lib.rs:270:9
[INFO] [stdout]     |
[INFO] [stdout] 270 |         DeleteDC(dc_target);
[INFO] [stdout]     |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope
[INFO] [stdout]    --> src/lib.rs:271:9
[INFO] [stdout]     |
[INFO] [stdout] 271 |         ReleaseDC(ptr::null_mut(), dc_screen);
[INFO] [stdout]     |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]    --> src/lib.rs:308:17
[INFO] [stdout]     |
[INFO] [stdout] 308 |         let x = GetSystemMetrics(SM_XVIRTUALSCREEN);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_XVIRTUALSCREEN` in this scope
[INFO] [stdout]    --> src/lib.rs:308:34
[INFO] [stdout]     |
[INFO] [stdout] 308 |         let x = GetSystemMetrics(SM_XVIRTUALSCREEN);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]    --> src/lib.rs:309:17
[INFO] [stdout]     |
[INFO] [stdout] 309 |         let y = GetSystemMetrics(SM_YVIRTUALSCREEN);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_YVIRTUALSCREEN` in this scope
[INFO] [stdout]    --> src/lib.rs:309:34
[INFO] [stdout]     |
[INFO] [stdout] 309 |         let y = GetSystemMetrics(SM_YVIRTUALSCREEN);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]    --> src/lib.rs:310:18
[INFO] [stdout]     |
[INFO] [stdout] 310 |         let cx = GetSystemMetrics(SM_CXVIRTUALSCREEN);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CXVIRTUALSCREEN` in this scope
[INFO] [stdout]    --> src/lib.rs:310:35
[INFO] [stdout]     |
[INFO] [stdout] 310 |         let cx = GetSystemMetrics(SM_CXVIRTUALSCREEN);
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]    --> src/lib.rs:311:18
[INFO] [stdout]     |
[INFO] [stdout] 311 |         let cy = GetSystemMetrics(SM_CYVIRTUALSCREEN);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CYVIRTUALSCREEN` in this scope
[INFO] [stdout]    --> src/lib.rs:311:35
[INFO] [stdout]     |
[INFO] [stdout] 311 |         let cy = GetSystemMetrics(SM_CYVIRTUALSCREEN);
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope
[INFO] [stdout]    --> src/lib.rs:313:22
[INFO] [stdout]     |
[INFO] [stdout] 313 |         *dc_screen = GetDC(ptr::null_mut());
[INFO] [stdout]     |                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope
[INFO] [stdout]    --> src/lib.rs:319:22
[INFO] [stdout]     |
[INFO] [stdout] 319 |         *dc_target = CreateCompatibleDC(dc_screen);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleBitmap` in this scope
[INFO] [stdout]    --> src/lib.rs:325:23
[INFO] [stdout]     |
[INFO] [stdout] 325 |         *bmp_target = CreateCompatibleBitmap(dc_screen, cx, cy);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/lib.rs:331:23
[INFO] [stdout]     |
[INFO] [stdout] 331 |         let old_bmp = SelectObject(dc_target, bmp_target as *mut _);
[INFO] [stdout]     |                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope
[INFO] [stdout]    --> src/lib.rs:333:12
[INFO] [stdout]     |
[INFO] [stdout] 333 |         if BitBlt(dc_target, 0, 0, cx, cy, dc_screen, x, y, SRCCOPY | CAPTUREBLT) == 0 {
[INFO] [stdout]     |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope
[INFO] [stdout]    --> src/lib.rs:333:61
[INFO] [stdout]     |
[INFO] [stdout] 333 |         if BitBlt(dc_target, 0, 0, cx, cy, dc_screen, x, y, SRCCOPY | CAPTUREBLT) == 0 {
[INFO] [stdout]     |                                                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CAPTUREBLT` in this scope
[INFO] [stdout]    --> src/lib.rs:333:71
[INFO] [stdout]     |
[INFO] [stdout] 333 |         if BitBlt(dc_target, 0, 0, cx, cy, dc_screen, x, y, SRCCOPY | CAPTUREBLT) == 0 {
[INFO] [stdout]     |                                                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BITMAP` in this scope
[INFO] [stdout]    --> src/lib.rs:338:37
[INFO] [stdout]     |
[INFO] [stdout] 277 | fn screencap_inner(
[INFO] [stdout]     |                   - help: you might be missing a type parameter: ``
[INFO] [stdout] ...
[INFO] [stdout] 338 |         let mut buffer: MaybeUninit = MaybeUninit::uninit();
[INFO] [stdout]     |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BITMAP` in this scope
[INFO] [stdout]    --> src/lib.rs:339:42
[INFO] [stdout]     |
[INFO] [stdout] 277 | fn screencap_inner(
[INFO] [stdout]     |                   - help: you might be missing a type parameter: ``
[INFO] [stdout] ...
[INFO] [stdout] 339 |         let bitmap_size = mem::size_of::() as _;
[INFO] [stdout]     |                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]    --> src/lib.rs:278:29
[INFO] [stdout]     |
[INFO] [stdout] 278 |     dc_screen: &mut winapi::shared::windef::HDC,
[INFO] [stdout]     |                             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetObjectA` in this scope
[INFO] [stdout]    --> src/lib.rs:340:22
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let result = GetObjectA(bmp_target as *mut _, bitmap_size, buffer.as_mut_ptr() as *mut _);
[INFO] [stdout]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]    --> src/lib.rs:279:29
[INFO] [stdout]     |
[INFO] [stdout] 279 |     dc_target: &mut winapi::shared::windef::HDC,
[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/lib.rs:280:30
[INFO] [stdout]     |
[INFO] [stdout] 280 |     bmp_target: &mut winapi::shared::windef::HBITMAP,
[INFO] [stdout]     |                              ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WORD` in this scope
[INFO] [stdout]    --> src/lib.rs:345:23
[INFO] [stdout]     |
[INFO] [stdout] 345 |         let clr_bits: WORD = (bmp.bmPlanes * bmp.bmBitsPixel) as _;
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFO` in this scope
[INFO] [stdout]    --> src/lib.rs:349:23
[INFO] [stdout]     |
[INFO] [stdout] 349 |         let mut bmi = BITMAPINFO {
[INFO] [stdout]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFOHEADER` in this scope
[INFO] [stdout]    --> src/lib.rs:350:24
[INFO] [stdout]     |
[INFO] [stdout] 350 |             bmiHeader: BITMAPINFOHEADER {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BITMAPINFOHEADER` in this scope
[INFO] [stdout]    --> src/lib.rs:351:40
[INFO] [stdout]     |
[INFO] [stdout] 277 | fn screencap_inner(
[INFO] [stdout]     |                   - help: you might be missing a type parameter: ``
[INFO] [stdout] ...
[INFO] [stdout] 351 |                 biSize: mem::size_of::() as _,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BI_RGB` in this scope
[INFO] [stdout]    --> src/lib.rs:356:32
[INFO] [stdout]     |
[INFO] [stdout] 356 |                 biCompression: BI_RGB,
[INFO] [stdout]     |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDIBits` in this scope
[INFO] [stdout]    --> src/lib.rs:366:17
[INFO] [stdout]     |
[INFO] [stdout] 366 |         let r = GetDIBits(
[INFO] [stdout]     |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope
[INFO] [stdout]    --> src/lib.rs:373:13
[INFO] [stdout]     |
[INFO] [stdout] 373 |             DIB_RGB_COLORS,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/lib.rs:379:9
[INFO] [stdout]     |
[INFO] [stdout] 379 |         SelectObject(dc_target, old_bmp);
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCursorPos` in this scope
[INFO] [stdout]   --> src/robot.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             SetCursorPos(x as _, y as _);
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `INPUT` in this scope
[INFO] [stdout]   --> src/robot.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 |             input = INPUT {
[INFO] [stdout]    |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INPUT_MOUSE` in this scope
[INFO] [stdout]   --> src/robot.rs:42:24
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 type_: INPUT_MOUSE,
[INFO] [stdout]    |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope
[INFO] [stdout]   --> src/robot.rs:45:33
[INFO] [stdout]    |
[INFO] [stdout] 45 |             *input.u.mi_mut() = MOUSEINPUT {
[INFO] [stdout]    |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_LEFTDOWN` in this scope
[INFO] [stdout]   --> src/robot.rs:49:26
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 dwFlags: MOUSEEVENTF_LEFTDOWN,
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout]   --> src/robot.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |             SendInput(1, &mut input as *mut _, mem::size_of::() as _);
[INFO] [stdout]    |             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]   --> src/robot.rs:53:63
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Robot for WinRobot {
[INFO] [stdout]    |     - help: you might be missing a type parameter: ``
[INFO] [stdout] ...
[INFO] [stdout] 53 |             SendInput(1, &mut input as *mut _, mem::size_of::() as _);
[INFO] [stdout]    |                                                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope
[INFO] [stdout]   --> src/robot.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 55 |             *input.u.mi_mut() = MOUSEINPUT {
[INFO] [stdout]    |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_LEFTUP` in this scope
[INFO] [stdout]   --> src/robot.rs:59:26
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 dwFlags: MOUSEEVENTF_LEFTUP,
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout]   --> src/robot.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |             SendInput(1, &mut input as *mut _, mem::size_of::() as _);
[INFO] [stdout]    |             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]   --> src/robot.rs:63:63
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Robot for WinRobot {
[INFO] [stdout]    |     - help: you might be missing a type parameter: ``
[INFO] [stdout] ...
[INFO] [stdout] 63 |             SendInput(1, &mut input as *mut _, mem::size_of::() as _);
[INFO] [stdout]    |                                                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope
[INFO] [stdout]    --> src/lib.rs:269:9
[INFO] [stdout]     |
[INFO] [stdout] 269 |         DeleteObject(bmp_target as *mut _);
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope
[INFO] [stdout]    --> src/lib.rs:270:9
[INFO] [stdout]     |
[INFO] [stdout] 270 |         DeleteDC(dc_target);
[INFO] [stdout]     |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope
[INFO] [stdout]    --> src/lib.rs:271:9
[INFO] [stdout]     |
[INFO] [stdout] 271 |         ReleaseDC(ptr::null_mut(), dc_screen);
[INFO] [stdout]     |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]    --> src/lib.rs:308:17
[INFO] [stdout]     |
[INFO] [stdout] 308 |         let x = GetSystemMetrics(SM_XVIRTUALSCREEN);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_XVIRTUALSCREEN` in this scope
[INFO] [stdout]    --> src/lib.rs:308:34
[INFO] [stdout]     |
[INFO] [stdout] 308 |         let x = GetSystemMetrics(SM_XVIRTUALSCREEN);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]    --> src/lib.rs:309:17
[INFO] [stdout]     |
[INFO] [stdout] 309 |         let y = GetSystemMetrics(SM_YVIRTUALSCREEN);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_YVIRTUALSCREEN` in this scope
[INFO] [stdout]    --> src/lib.rs:309:34
[INFO] [stdout]     |
[INFO] [stdout] 309 |         let y = GetSystemMetrics(SM_YVIRTUALSCREEN);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]    --> src/lib.rs:310:18
[INFO] [stdout]     |
[INFO] [stdout] 310 |         let cx = GetSystemMetrics(SM_CXVIRTUALSCREEN);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CXVIRTUALSCREEN` in this scope
[INFO] [stdout]    --> src/lib.rs:310:35
[INFO] [stdout]     |
[INFO] [stdout] 310 |         let cx = GetSystemMetrics(SM_CXVIRTUALSCREEN);
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]    --> src/lib.rs:311:18
[INFO] [stdout]     |
[INFO] [stdout] 311 |         let cy = GetSystemMetrics(SM_CYVIRTUALSCREEN);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CYVIRTUALSCREEN` in this scope
[INFO] [stdout]    --> src/lib.rs:311:35
[INFO] [stdout]     |
[INFO] [stdout] 311 |         let cy = GetSystemMetrics(SM_CYVIRTUALSCREEN);
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope
[INFO] [stdout]    --> src/lib.rs:313:22
[INFO] [stdout]     |
[INFO] [stdout] 313 |         *dc_screen = GetDC(ptr::null_mut());
[INFO] [stdout]     |                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope
[INFO] [stdout]    --> src/lib.rs:319:22
[INFO] [stdout]     |
[INFO] [stdout] 319 |         *dc_target = CreateCompatibleDC(dc_screen);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleBitmap` in this scope
[INFO] [stdout]    --> src/lib.rs:325:23
[INFO] [stdout]     |
[INFO] [stdout] 325 |         *bmp_target = CreateCompatibleBitmap(dc_screen, cx, cy);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/lib.rs:331:23
[INFO] [stdout]     |
[INFO] [stdout] 331 |         let old_bmp = SelectObject(dc_target, bmp_target as *mut _);
[INFO] [stdout]     |                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope
[INFO] [stdout]    --> src/lib.rs:333:12
[INFO] [stdout]     |
[INFO] [stdout] 333 |         if BitBlt(dc_target, 0, 0, cx, cy, dc_screen, x, y, SRCCOPY | CAPTUREBLT) == 0 {
[INFO] [stdout]     |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope
[INFO] [stdout]    --> src/lib.rs:333:61
[INFO] [stdout]     |
[INFO] [stdout] 333 |         if BitBlt(dc_target, 0, 0, cx, cy, dc_screen, x, y, SRCCOPY | CAPTUREBLT) == 0 {
[INFO] [stdout]     |                                                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CAPTUREBLT` in this scope
[INFO] [stdout]    --> src/lib.rs:333:71
[INFO] [stdout]     |
[INFO] [stdout] 333 |         if BitBlt(dc_target, 0, 0, cx, cy, dc_screen, x, y, SRCCOPY | CAPTUREBLT) == 0 {
[INFO] [stdout]     |                                                                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BITMAP` in this scope
[INFO] [stdout]    --> src/lib.rs:338:37
[INFO] [stdout]     |
[INFO] [stdout] 277 | fn screencap_inner(
[INFO] [stdout]     |                   - help: you might be missing a type parameter: ``
[INFO] [stdout] ...
[INFO] [stdout] 338 |         let mut buffer: MaybeUninit = MaybeUninit::uninit();
[INFO] [stdout]     |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BITMAP` in this scope
[INFO] [stdout]    --> src/lib.rs:339:42
[INFO] [stdout]     |
[INFO] [stdout] 277 | fn screencap_inner(
[INFO] [stdout]     |                   - help: you might be missing a type parameter: ``
[INFO] [stdout] ...
[INFO] [stdout] 339 |         let bitmap_size = mem::size_of::() as _;
[INFO] [stdout]     |                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetObjectA` in this scope
[INFO] [stdout]    --> src/lib.rs:340:22
[INFO] [stdout]     |
[INFO] [stdout] 340 |         let result = GetObjectA(bmp_target as *mut _, bitmap_size, buffer.as_mut_ptr() as *mut _);
[INFO] [stdout]     |                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WORD` in this scope
[INFO] [stdout]    --> src/lib.rs:345:23
[INFO] [stdout]     |
[INFO] [stdout] 345 |         let clr_bits: WORD = (bmp.bmPlanes * bmp.bmBitsPixel) as _;
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFO` in this scope
[INFO] [stdout]    --> src/lib.rs:349:23
[INFO] [stdout]     |
[INFO] [stdout] 349 |         let mut bmi = BITMAPINFO {
[INFO] [stdout]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFOHEADER` in this scope
[INFO] [stdout]    --> src/lib.rs:350:24
[INFO] [stdout]     |
[INFO] [stdout] 350 |             bmiHeader: BITMAPINFOHEADER {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BITMAPINFOHEADER` in this scope
[INFO] [stdout]    --> src/lib.rs:351:40
[INFO] [stdout]     |
[INFO] [stdout] 277 | fn screencap_inner(
[INFO] [stdout]     |                   - help: you might be missing a type parameter: ``
[INFO] [stdout] ...
[INFO] [stdout] 351 |                 biSize: mem::size_of::() as _,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BI_RGB` in this scope
[INFO] [stdout]    --> src/lib.rs:356:32
[INFO] [stdout]     |
[INFO] [stdout] 356 |                 biCompression: BI_RGB,
[INFO] [stdout]     |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDIBits` in this scope
[INFO] [stdout]    --> src/lib.rs:366:17
[INFO] [stdout]     |
[INFO] [stdout] 366 |         let r = GetDIBits(
[INFO] [stdout]     |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope
[INFO] [stdout]    --> src/lib.rs:373:13
[INFO] [stdout]     |
[INFO] [stdout] 373 |             DIB_RGB_COLORS,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/lib.rs:379:9
[INFO] [stdout]     |
[INFO] [stdout] 379 |         SelectObject(dc_target, old_bmp);
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 49 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ror2_command`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 49 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "ef602a502e1869be65d964f10576eff374f0ebee0ffbec42942293923f91d572", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef602a502e1869be65d964f10576eff374f0ebee0ffbec42942293923f91d572", kill_on_drop: false }`
[INFO] [stdout] ef602a502e1869be65d964f10576eff374f0ebee0ffbec42942293923f91d572