[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] 74ce7bcf1a1a754ebacdcc92d32c98c68cdfeceb [INFO] testing dxenonb/risk-of-rain-2-command-driver against 1.60.0 for beta-1.61-1 [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-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dxenonb/risk-of-rain-2-command-driver on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-14/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded image v0.23.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+1.60.0" "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] c4ab688c34f47fe2cc92197431cca3d9518b3600ab426a29c3046d5b0cd06b4c [INFO] running `Command { std: "docker" "start" "-a" "c4ab688c34f47fe2cc92197431cca3d9518b3600ab426a29c3046d5b0cd06b4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4ab688c34f47fe2cc92197431cca3d9518b3600ab426a29c3046d5b0cd06b4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4ab688c34f47fe2cc92197431cca3d9518b3600ab426a29c3046d5b0cd06b4c", kill_on_drop: false }` [INFO] [stdout] c4ab688c34f47fe2cc92197431cca3d9518b3600ab426a29c3046d5b0cd06b4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+1.60.0" "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] bdd62c20004fff4c0aa0e9bac478f230e3ac2b88ee0a9be599e683e2bca18620 [INFO] running `Command { std: "docker" "start" "-a" "bdd62c20004fff4c0aa0e9bac478f230e3ac2b88ee0a9be599e683e2bca18620", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling image v0.23.2 [INFO] [stderr] Compiling 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/xinput.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::xinput::{ [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:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | 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:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | let mut 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:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | 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:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | *input.u.mi_mut() = MOUSEINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_MOVE` in this scope [INFO] [stdout] --> src/robot.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | dwFlags: MOUSEEVENTF_MOVE, [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:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | 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:62:63 [INFO] [stdout] | [INFO] [stdout] 40 | impl Robot for WinRobot { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 62 | 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 `INPUT` in this scope [INFO] [stdout] --> src/robot.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | 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:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | 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:76:33 [INFO] [stdout] | [INFO] [stdout] 76 | *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:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | 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:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | 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:84:63 [INFO] [stdout] | [INFO] [stdout] 40 | impl Robot for WinRobot { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 84 | 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:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | *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:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | 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:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | 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:94:63 [INFO] [stdout] | [INFO] [stdout] 40 | impl Robot for WinRobot { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 94 | 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 `XINPUT_STATE` in this scope [INFO] [stdout] --> src/xinput.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | let mut state: XINPUT_STATE = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XInputGetState` in this scope [INFO] [stdout] --> src/xinput.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let result = unsafe { XInputGetState(index, &mut state) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_A` in this scope [INFO] [stdout] --> src/xinput.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | a: state.Gamepad.wButtons & XINPUT_GAMEPAD_A != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_X` in this scope [INFO] [stdout] --> src/xinput.rs:39:37 [INFO] [stdout] | [INFO] [stdout] 39 | x: state.Gamepad.wButtons & XINPUT_GAMEPAD_X != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_Y` in this scope [INFO] [stdout] --> src/xinput.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | y: state.Gamepad.wButtons & XINPUT_GAMEPAD_Y != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_B` in this scope [INFO] [stdout] --> src/xinput.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | b: state.Gamepad.wButtons & XINPUT_GAMEPAD_B != 0, [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] error: aborting due to 62 previous errors [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` due to 63 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bdd62c20004fff4c0aa0e9bac478f230e3ac2b88ee0a9be599e683e2bca18620", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdd62c20004fff4c0aa0e9bac478f230e3ac2b88ee0a9be599e683e2bca18620", kill_on_drop: false }` [INFO] [stdout] bdd62c20004fff4c0aa0e9bac478f230e3ac2b88ee0a9be599e683e2bca18620