[INFO] cloning repository https://github.com/T1mberland/keys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/T1mberland/keys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FT1mberland%2Fkeys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FT1mberland%2Fkeys'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d78c36bea38b846ac7a934824f74c6ffaba42a9a [INFO] testing T1mberland/keys against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FT1mberland%2Fkeys" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/T1mberland/keys [INFO] finished tweaking git repo https://github.com/T1mberland/keys [INFO] tweaked toml for git repo https://github.com/T1mberland/keys written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/T1mberland/keys on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/T1mberland/keys 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8caf692aa0a9abc35da615b556bad11b7fcb748cde33080f2a67263258e0300a [INFO] running `Command { std: "docker" "start" "-a" "8caf692aa0a9abc35da615b556bad11b7fcb748cde33080f2a67263258e0300a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8caf692aa0a9abc35da615b556bad11b7fcb748cde33080f2a67263258e0300a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8caf692aa0a9abc35da615b556bad11b7fcb748cde33080f2a67263258e0300a", kill_on_drop: false }` [INFO] [stdout] 8caf692aa0a9abc35da615b556bad11b7fcb748cde33080f2a67263258e0300a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 201ee7cd03d03999bffd64ba860ec9571f1af880661be4615c3e8713ef9de80a [INFO] running `Command { std: "docker" "start" "-a" "201ee7cd03d03999bffd64ba860ec9571f1af880661be4615c3e8713ef9de80a", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling keys v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::{minwindef::*, 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/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::libloaderapi::GetModuleHandleW; [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/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::wingdi::{Rectangle, TextOutW}; [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/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_TOUCH` is not bound in all patterns [INFO] [stdout] --> src/main.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | WM_LBUTTONDOWN | WM_TOUCH => { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------- variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `WM_TOUCH` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_TOUCH` [INFO] [stdout] --> src/main.rs:387:26 [INFO] [stdout] | [INFO] [stdout] 387 | WM_LBUTTONDOWN | WM_TOUCH => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `WM_LBUTTONDOWN` is not bound in all patterns [INFO] [stdout] --> src/main.rs:387:26 [INFO] [stdout] | [INFO] [stdout] 387 | WM_LBUTTONDOWN | WM_TOUCH => { [INFO] [stdout] | -------------- ^^^^^^^^ pattern doesn't bind `WM_LBUTTONDOWN` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::WM_LBUTTONDOWN` [INFO] [stdout] --> src/main.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | WM_LBUTTONDOWN | WM_TOUCH => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_UP` in this scope [INFO] [stdout] --> src/main.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | action: Action::SendKey(VK_UP as u16), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LEFT` in this scope [INFO] [stdout] --> src/main.rs:119:33 [INFO] [stdout] | [INFO] [stdout] 119 | action: Action::SendKey(VK_LEFT as u16), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_DOWN` in this scope [INFO] [stdout] --> src/main.rs:130:33 [INFO] [stdout] | [INFO] [stdout] 130 | action: Action::SendKey(VK_DOWN as u16), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_RIGHT` in this scope [INFO] [stdout] --> src/main.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | action: Action::SendKey(VK_RIGHT as u16), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_BACK` in this scope [INFO] [stdout] --> src/main.rs:171:33 [INFO] [stdout] | [INFO] [stdout] 171 | action: Action::SendKey(VK_BACK as u16), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope [INFO] [stdout] --> src/main.rs:188:29 [INFO] [stdout] | [INFO] [stdout] 188 | unsafe fn draw_buttons(hdc: HDC, buttons: &[Button]) { [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/main.rs:237:22 [INFO] [stdout] | [INFO] [stdout] 237 | let mut inputs: [INPUT; 2] = std::mem::zeroed(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope [INFO] [stdout] --> src/main.rs:240:23 [INFO] [stdout] | [INFO] [stdout] 240 | inputs[0].type_ = INPUT_KEYBOARD; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope [INFO] [stdout] --> src/main.rs:241:29 [INFO] [stdout] | [INFO] [stdout] 241 | *inputs[0].u.ki_mut() = KEYBDINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope [INFO] [stdout] --> src/main.rs:250:23 [INFO] [stdout] | [INFO] [stdout] 250 | inputs[1].type_ = INPUT_KEYBOARD; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope [INFO] [stdout] --> src/main.rs:251:29 [INFO] [stdout] | [INFO] [stdout] 251 | *inputs[1].u.ki_mut() = KEYBDINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_KEYUP` in this scope [INFO] [stdout] --> src/main.rs:254:18 [INFO] [stdout] | [INFO] [stdout] 254 | dwFlags: KEYEVENTF_KEYUP, [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/main.rs:262:29 [INFO] [stdout] | [INFO] [stdout] 262 | std::mem::size_of::() as i32, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 236 | unsafe fn send_key(vk: u16) { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stdout] --> src/main.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | let mut inputs: [INPUT; 4] = std::mem::zeroed(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope [INFO] [stdout] --> src/main.rs:271:23 [INFO] [stdout] | [INFO] [stdout] 271 | inputs[0].type_ = INPUT_KEYBOARD; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope [INFO] [stdout] --> src/main.rs:272:29 [INFO] [stdout] | [INFO] [stdout] 272 | *inputs[0].u.ki_mut() = KEYBDINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_CONTROL` in this scope [INFO] [stdout] --> src/main.rs:273:14 [INFO] [stdout] | [INFO] [stdout] 273 | wVk: VK_CONTROL as u16, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope [INFO] [stdout] --> src/main.rs:281:23 [INFO] [stdout] | [INFO] [stdout] 281 | inputs[1].type_ = INPUT_KEYBOARD; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope [INFO] [stdout] --> src/main.rs:282:29 [INFO] [stdout] | [INFO] [stdout] 282 | *inputs[1].u.ki_mut() = KEYBDINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope [INFO] [stdout] --> src/main.rs:291:23 [INFO] [stdout] | [INFO] [stdout] 291 | inputs[2].type_ = INPUT_KEYBOARD; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope [INFO] [stdout] --> src/main.rs:292:29 [INFO] [stdout] | [INFO] [stdout] 292 | *inputs[2].u.ki_mut() = KEYBDINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_KEYUP` in this scope [INFO] [stdout] --> src/main.rs:295:18 [INFO] [stdout] | [INFO] [stdout] 295 | dwFlags: KEYEVENTF_KEYUP, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope [INFO] [stdout] --> src/main.rs:301:23 [INFO] [stdout] | [INFO] [stdout] 301 | inputs[3].type_ = INPUT_KEYBOARD; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope [INFO] [stdout] --> src/main.rs:302:29 [INFO] [stdout] | [INFO] [stdout] 302 | *inputs[3].u.ki_mut() = KEYBDINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_CONTROL` in this scope [INFO] [stdout] --> src/main.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | wVk: VK_CONTROL as u16, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_KEYUP` in this scope [INFO] [stdout] --> src/main.rs:305:18 [INFO] [stdout] | [INFO] [stdout] 305 | dwFlags: KEYEVENTF_KEYUP, [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/main.rs:313:29 [INFO] [stdout] | [INFO] [stdout] 313 | std::mem::size_of::() as i32, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 267 | unsafe fn send_ctrl_v() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stdout] --> src/main.rs:319:22 [INFO] [stdout] | [INFO] [stdout] 319 | let mut inputs: [INPUT; 4] = std::mem::zeroed(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope [INFO] [stdout] --> src/main.rs:322:23 [INFO] [stdout] | [INFO] [stdout] 322 | inputs[0].type_ = INPUT_KEYBOARD; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope [INFO] [stdout] --> src/main.rs:323:29 [INFO] [stdout] | [INFO] [stdout] 323 | *inputs[0].u.ki_mut() = KEYBDINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_CONTROL` in this scope [INFO] [stdout] --> src/main.rs:324:14 [INFO] [stdout] | [INFO] [stdout] 324 | wVk: VK_CONTROL as u16, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope [INFO] [stdout] --> src/main.rs:332:23 [INFO] [stdout] | [INFO] [stdout] 332 | inputs[1].type_ = INPUT_KEYBOARD; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope [INFO] [stdout] --> src/main.rs:333:29 [INFO] [stdout] | [INFO] [stdout] 333 | *inputs[1].u.ki_mut() = KEYBDINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope [INFO] [stdout] --> src/main.rs:342:23 [INFO] [stdout] | [INFO] [stdout] 342 | inputs[2].type_ = INPUT_KEYBOARD; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope [INFO] [stdout] --> src/main.rs:343:29 [INFO] [stdout] | [INFO] [stdout] 343 | *inputs[2].u.ki_mut() = KEYBDINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_KEYUP` in this scope [INFO] [stdout] --> src/main.rs:346:18 [INFO] [stdout] | [INFO] [stdout] 346 | dwFlags: KEYEVENTF_KEYUP, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope [INFO] [stdout] --> src/main.rs:352:23 [INFO] [stdout] | [INFO] [stdout] 352 | inputs[3].type_ = INPUT_KEYBOARD; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope [INFO] [stdout] --> src/main.rs:353:29 [INFO] [stdout] | [INFO] [stdout] 353 | *inputs[3].u.ki_mut() = KEYBDINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_CONTROL` in this scope [INFO] [stdout] --> src/main.rs:354:14 [INFO] [stdout] | [INFO] [stdout] 354 | wVk: VK_CONTROL as u16, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_KEYUP` in this scope [INFO] [stdout] --> src/main.rs:356:18 [INFO] [stdout] | [INFO] [stdout] 356 | dwFlags: KEYEVENTF_KEYUP, [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/main.rs:364:29 [INFO] [stdout] | [INFO] [stdout] 364 | std::mem::size_of::() as i32, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 318 | unsafe fn send_ctrl_c() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:370:11 [INFO] [stdout] | [INFO] [stdout] 370 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/main.rs:371:10 [INFO] [stdout] | [INFO] [stdout] 371 | msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | wparam: WPARAM, [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/main.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/main.rs:374:6 [INFO] [stdout] | [INFO] [stdout] 374 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PAINTSTRUCT` in this scope [INFO] [stdout] --> src/main.rs:380:25 [INFO] [stdout] | [INFO] [stdout] 380 | let mut ps: PAINTSTRUCT = std::mem::zeroed(); [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/main.rs:388:38 [INFO] [stdout] | [INFO] [stdout] 388 | let x = LOWORD(lparam as DWORD) as i32; [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/main.rs:389:38 [INFO] [stdout] | [INFO] [stdout] 389 | let y = HIWORD(lparam as DWORD) as i32; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stdout] --> src/main.rs:408:25 [INFO] [stdout] | [INFO] [stdout] 408 | let wnd_class = WNDCLASSW { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stdout] --> src/main.rs:409:20 [INFO] [stdout] | [INFO] [stdout] 409 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stdout] --> src/main.rs:409:33 [INFO] [stdout] | [INFO] [stdout] 409 | style: CS_HREDRAW | CS_VREDRAW, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/main.rs:412:46 [INFO] [stdout] | [INFO] [stdout] 412 | hCursor: LoadCursorW(null_mut(), IDC_ARROW), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOOLWINDOW` in this scope [INFO] [stdout] --> src/main.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | WS_EX_TOOLWINDOW | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_NOACTIVATE` in this scope [INFO] [stdout] --> src/main.rs:421:32 [INFO] [stdout] | [INFO] [stdout] 421 | WS_EX_TOOLWINDOW | WS_EX_NOACTIVATE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPED` in this scope [INFO] [stdout] --> src/main.rs:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CAPTION` in this scope [INFO] [stdout] --> src/main.rs:424:29 [INFO] [stdout] | [INFO] [stdout] 424 | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SYSMENU` in this scope [INFO] [stdout] --> src/main.rs:424:42 [INFO] [stdout] | [INFO] [stdout] 424 | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope [INFO] [stdout] --> src/main.rs:424:55 [INFO] [stdout] | [INFO] [stdout] 424 | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/main.rs:424:72 [INFO] [stdout] | [INFO] [stdout] 424 | WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/main.rs:425:13 [INFO] [stdout] | [INFO] [stdout] 425 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/main.rs:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HWND_TOPMOST` in this scope [INFO] [stdout] --> src/main.rs:439:28 [INFO] [stdout] | [INFO] [stdout] 439 | SetWindowPos(hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOMOVE` in this scope [INFO] [stdout] --> src/main.rs:439:54 [INFO] [stdout] | [INFO] [stdout] 439 | SetWindowPos(hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SWP_NOSIZE` in this scope [INFO] [stdout] --> src/main.rs:439:67 [INFO] [stdout] | [INFO] [stdout] 439 | SetWindowPos(hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_SHOWNORMAL` in this scope [INFO] [stdout] --> src/main.rs:441:26 [INFO] [stdout] | [INFO] [stdout] 441 | ShowWindow(hwnd, SW_SHOWNORMAL); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/main.rs:444:22 [INFO] [stdout] | [INFO] [stdout] 444 | let mut msg: MSG = std::mem::zeroed(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | OsStr::new(s).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope [INFO] [stdout] --> src/main.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | SendInput( [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/main.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | SendInput( [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/main.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | SendInput( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope [INFO] [stdout] --> src/main.rs:381:23 [INFO] [stdout] | [INFO] [stdout] 381 | let hdc = BeginPaint(hwnd, &mut ps); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope [INFO] [stdout] --> src/main.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | EndPaint(hwnd, &ps); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LOWORD` in this scope [INFO] [stdout] --> src/main.rs:388:21 [INFO] [stdout] | [INFO] [stdout] 388 | let x = LOWORD(lparam as DWORD) as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HIWORD` in this scope [INFO] [stdout] --> src/main.rs:389:21 [INFO] [stdout] | [INFO] [stdout] 389 | let y = HIWORD(lparam as DWORD) as i32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/main.rs:395:13 [INFO] [stdout] | [INFO] [stdout] 395 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/main.rs:399:14 [INFO] [stdout] | [INFO] [stdout] 399 | _ => DefWindowProcW(hwnd, msg, wparam, lparam), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> src/main.rs:412:22 [INFO] [stdout] | [INFO] [stdout] 412 | hCursor: LoadCursorW(null_mut(), IDC_ARROW), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stdout] --> src/main.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | RegisterClassW(&wnd_class); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/main.rs:420:20 [INFO] [stdout] | [INFO] [stdout] 420 | let hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterTouchWindow` in this scope [INFO] [stdout] --> src/main.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | RegisterTouchWindow(hwnd, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stdout] --> src/main.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | SetWindowPos(hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> src/main.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | ShowWindow(hwnd, SW_SHOWNORMAL); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in this scope [INFO] [stdout] --> src/main.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | UpdateWindow(hwnd); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/main.rs:445:15 [INFO] [stdout] | [INFO] [stdout] 445 | while GetMessageW(&mut msg, null_mut(), 0, 0) != 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/main.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/main.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `send_key` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | send_key(vk); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/main.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | unsafe fn handle_button_click(x: i32, y: i32, buttons: &[Button]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `send_ctrl_v` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:217:21 [INFO] [stdout] | [INFO] [stdout] 217 | send_ctrl_v(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `send_ctrl_c` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | send_ctrl_c(); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0408, E0412, E0422, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keys` (bin "keys") due to 94 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "201ee7cd03d03999bffd64ba860ec9571f1af880661be4615c3e8713ef9de80a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "201ee7cd03d03999bffd64ba860ec9571f1af880661be4615c3e8713ef9de80a", kill_on_drop: false }` [INFO] [stdout] 201ee7cd03d03999bffd64ba860ec9571f1af880661be4615c3e8713ef9de80a