[INFO] cloning repository https://github.com/boringcactus/OWReplayRenderer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/boringcactus/OWReplayRenderer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboringcactus%2FOWReplayRenderer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboringcactus%2FOWReplayRenderer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a67b4fba3e60b1abe7d96f76859ab987ae8014cc [INFO] checking boringcactus/OWReplayRenderer against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboringcactus%2FOWReplayRenderer" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/boringcactus/OWReplayRenderer on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/boringcactus/OWReplayRenderer [INFO] finished tweaking git repo https://github.com/boringcactus/OWReplayRenderer [INFO] tweaked toml for git repo https://github.com/boringcactus/OWReplayRenderer written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/boringcactus/OWReplayRenderer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rulinalg v0.4.2 [INFO] [stderr] Downloaded png v0.15.1 [INFO] [stderr] Downloaded websocket v0.23.0 [INFO] [stderr] Downloaded imageproc v0.19.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99ca54d8f9c80de22406e63c8803c822c7f3e0f1a49f9c0129e215bdbc6db9eb [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" "99ca54d8f9c80de22406e63c8803c822c7f3e0f1a49f9c0129e215bdbc6db9eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99ca54d8f9c80de22406e63c8803c822c7f3e0f1a49f9c0129e215bdbc6db9eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99ca54d8f9c80de22406e63c8803c822c7f3e0f1a49f9c0129e215bdbc6db9eb", kill_on_drop: false }` [INFO] [stdout] 99ca54d8f9c80de22406e63c8803c822c7f3e0f1a49f9c0129e215bdbc6db9eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--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] aa5751b85cdc4003e882d7118389cabbe004ff4a091546d2fd5998537b3a7c76 [INFO] running `Command { std: "docker" "start" "-a" "aa5751b85cdc4003e882d7118389cabbe004ff4a091546d2fd5998537b3a7c76", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking safemem v0.3.2 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking tokio-sync v0.1.7 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking stb_truetype v0.3.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.51 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking png v0.15.1 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking rusttype v0.8.1 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking rulinalg v0.4.2 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking rayon v1.2.0 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking ctrlc v3.1.3 [INFO] [stderr] Checking tokio-tls v0.2.1 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking websocket v0.23.0 [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking imageproc v0.19.2 [INFO] [stderr] Checking ow_replay_renderer v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::{BOOL, FALSE, LPARAM, TRUE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::ntdef::LPSTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/window.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::{BOOL, FALSE, LPARAM, TRUE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::ntdef::LPSTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/window.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 25 | struct WindowSearch { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 26 | handle: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | handle: HWND, [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/window.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | type Item = INPUT; [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/window.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 69 | impl IntoIterator for Key { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 70 | type Item = INPUT; [INFO] [stdout] 71 | type IntoIter = as IntoIterator>::IntoIter; [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/window.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | fn keydown(vk: c_int) -> INPUT { [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/window.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | let mut result: INPUT = unsafe { 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/window.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | result.type_ = INPUT_KEYBOARD; [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/window.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | fn keyup(vk: c_int) -> INPUT { [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/window.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | let mut result: INPUT = unsafe { 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/window.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | result.type_ = INPUT_KEYBOARD; [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/window.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | info.dwFlags = KEYEVENTF_KEYUP; [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/window.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | Left => VK_LEFT, [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/window.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | Right => VK_RIGHT, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_UP` in this scope [INFO] [stdout] --> src/window.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | Up => VK_UP, [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/window.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | Down => VK_DOWN, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_ESCAPE` in this scope [INFO] [stdout] --> src/window.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | Escape => VK_ESCAPE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_SPACE` in this scope [INFO] [stdout] --> src/window.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | Space => VK_SPACE, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_TAB` in this scope [INFO] [stdout] --> src/window.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | Tab => VK_TAB, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F1` in this scope [INFO] [stdout] --> src/window.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | F1 => VK_F1, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F2` in this scope [INFO] [stdout] --> src/window.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | F2 => VK_F2, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F3` in this scope [INFO] [stdout] --> src/window.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | F3 => VK_F3, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F4` in this scope [INFO] [stdout] --> src/window.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | F4 => VK_F4, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F5` in this scope [INFO] [stdout] --> src/window.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | F5 => VK_F5, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F6` in this scope [INFO] [stdout] --> src/window.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | F6 => VK_F6, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F7` in this scope [INFO] [stdout] --> src/window.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | F7 => VK_F7, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F8` in this scope [INFO] [stdout] --> src/window.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | F8 => VK_F8, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F9` in this scope [INFO] [stdout] --> src/window.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | F9 => VK_F9, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F10` in this scope [INFO] [stdout] --> src/window.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | F10 => VK_F10, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F11` in this scope [INFO] [stdout] --> src/window.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | F11 => VK_F11, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F12` in this scope [INFO] [stdout] --> src/window.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | F12 => VK_F12, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LCONTROL` in this scope [INFO] [stdout] --> src/window.rs:116:38 [INFO] [stdout] | [INFO] [stdout] 116 | let before = keydown(VK_LCONTROL); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LCONTROL` in this scope [INFO] [stdout] --> src/window.rs:117:35 [INFO] [stdout] | [INFO] [stdout] 117 | let after = keyup(VK_LCONTROL); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:129:42 [INFO] [stdout] | [INFO] [stdout] 129 | unsafe extern "system" fn has_title(win: HWND, arg: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:129:53 [INFO] [stdout] | [INFO] [stdout] 129 | unsafe extern "system" fn has_title(win: HWND, arg: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/window.rs:129:64 [INFO] [stdout] | [INFO] [stdout] 129 | unsafe extern "system" fn has_title(win: HWND, arg: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthA` in this scope [INFO] [stdout] --> src/window.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | let size = GetWindowTextLengthA(win); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/window.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | return TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextA` in this scope [INFO] [stdout] --> src/window.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | GetWindowTextA(win, &mut raw_title[0] as LPSTR, size + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stdout] --> src/window.rs:136:46 [INFO] [stdout] | [INFO] [stdout] 136 | GetWindowTextA(win, &mut raw_title[0] as LPSTR, size + 1); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/window.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | return FALSE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/window.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stdout] --> src/window.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | EnumWindows( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:155:57 [INFO] [stdout] | [INFO] [stdout] 155 | result.as_mut() as *mut WindowSearch as LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope [INFO] [stdout] --> src/window.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | GetForegroundWindow() == self.handle [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/window.rs:173:49 [INFO] [stdout] | [INFO] [stdout] 146 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 173 | unsafe fn send_input(&self, mut inputs: Vec) { [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/window.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | SendInput( [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/window.rs:176:36 [INFO] [stdout] | [INFO] [stdout] 176 | &mut inputs[0] as *mut INPUT, [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/window.rs:177:33 [INFO] [stdout] | [INFO] [stdout] 146 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 177 | std::mem::size_of::() as i32, [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/window.rs:193:34 [INFO] [stdout] | [INFO] [stdout] 193 | let mut result0: INPUT = std::mem::zeroed(); [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/window.rs:194:33 [INFO] [stdout] | [INFO] [stdout] 194 | result0.type_ = INPUT_MOUSE; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_ABSOLUTE` in this scope [INFO] [stdout] --> src/window.rs:198:32 [INFO] [stdout] | [INFO] [stdout] 198 | info.dwFlags = MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN; [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/window.rs:198:55 [INFO] [stdout] | [INFO] [stdout] 198 | info.dwFlags = MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN; [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/window.rs:198:74 [INFO] [stdout] | [INFO] [stdout] 198 | info.dwFlags = MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN; [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/window.rs:199:34 [INFO] [stdout] | [INFO] [stdout] 199 | let mut result1: INPUT = std::mem::zeroed(); [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/window.rs:200:33 [INFO] [stdout] | [INFO] [stdout] 200 | result1.type_ = INPUT_MOUSE; [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/window.rs:202:32 [INFO] [stdout] | [INFO] [stdout] 202 | info.dwFlags = MOUSEEVENTF_LEFTUP; [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/window.rs:212:33 [INFO] [stdout] | [INFO] [stdout] 146 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 212 | let inputs: Vec = key.clone().into_iter().collect(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | static ref RUNNING: Arc = { Arc::new(AtomicBool::new(true)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 25 | struct WindowSearch { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 26 | handle: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | handle: HWND, [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/window.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | type Item = INPUT; [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/window.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 69 | impl IntoIterator for Key { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 70 | type Item = INPUT; [INFO] [stdout] 71 | type IntoIter = as IntoIterator>::IntoIter; [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/window.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | fn keydown(vk: c_int) -> INPUT { [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/window.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | let mut result: INPUT = unsafe { 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/window.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | result.type_ = INPUT_KEYBOARD; [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/window.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | fn keyup(vk: c_int) -> INPUT { [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/window.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | let mut result: INPUT = unsafe { 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/window.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | result.type_ = INPUT_KEYBOARD; [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/window.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | info.dwFlags = KEYEVENTF_KEYUP; [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/window.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | Left => VK_LEFT, [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/window.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | Right => VK_RIGHT, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_UP` in this scope [INFO] [stdout] --> src/window.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | Up => VK_UP, [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/window.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | Down => VK_DOWN, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_ESCAPE` in this scope [INFO] [stdout] --> src/window.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | Escape => VK_ESCAPE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_SPACE` in this scope [INFO] [stdout] --> src/window.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | Space => VK_SPACE, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_TAB` in this scope [INFO] [stdout] --> src/window.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | Tab => VK_TAB, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F1` in this scope [INFO] [stdout] --> src/window.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | F1 => VK_F1, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F2` in this scope [INFO] [stdout] --> src/window.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | F2 => VK_F2, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F3` in this scope [INFO] [stdout] --> src/window.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | F3 => VK_F3, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F4` in this scope [INFO] [stdout] --> src/window.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | F4 => VK_F4, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F5` in this scope [INFO] [stdout] --> src/window.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | F5 => VK_F5, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F6` in this scope [INFO] [stdout] --> src/window.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | F6 => VK_F6, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F7` in this scope [INFO] [stdout] --> src/window.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | F7 => VK_F7, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F8` in this scope [INFO] [stdout] --> src/window.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | F8 => VK_F8, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F9` in this scope [INFO] [stdout] --> src/window.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | F9 => VK_F9, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F10` in this scope [INFO] [stdout] --> src/window.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | F10 => VK_F10, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F11` in this scope [INFO] [stdout] --> src/window.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | F11 => VK_F11, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_F12` in this scope [INFO] [stdout] --> src/window.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | F12 => VK_F12, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LCONTROL` in this scope [INFO] [stdout] --> src/window.rs:116:38 [INFO] [stdout] | [INFO] [stdout] 116 | let before = keydown(VK_LCONTROL); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_LCONTROL` in this scope [INFO] [stdout] --> src/window.rs:117:35 [INFO] [stdout] | [INFO] [stdout] 117 | let after = keyup(VK_LCONTROL); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:129:42 [INFO] [stdout] | [INFO] [stdout] 129 | unsafe extern "system" fn has_title(win: HWND, arg: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:129:53 [INFO] [stdout] | [INFO] [stdout] 129 | unsafe extern "system" fn has_title(win: HWND, arg: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/window.rs:129:64 [INFO] [stdout] | [INFO] [stdout] 129 | unsafe extern "system" fn has_title(win: HWND, arg: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthA` in this scope [INFO] [stdout] --> src/window.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | let size = GetWindowTextLengthA(win); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/window.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | return TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextA` in this scope [INFO] [stdout] --> src/window.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | GetWindowTextA(win, &mut raw_title[0] as LPSTR, size + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stdout] --> src/window.rs:136:46 [INFO] [stdout] | [INFO] [stdout] 136 | GetWindowTextA(win, &mut raw_title[0] as LPSTR, size + 1); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/window.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | return FALSE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/window.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stdout] --> src/window.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | EnumWindows( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:155:57 [INFO] [stdout] | [INFO] [stdout] 155 | result.as_mut() as *mut WindowSearch as LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope [INFO] [stdout] --> src/window.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | GetForegroundWindow() == self.handle [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/window.rs:173:49 [INFO] [stdout] | [INFO] [stdout] 146 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 173 | unsafe fn send_input(&self, mut inputs: Vec) { [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/window.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | SendInput( [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/window.rs:176:36 [INFO] [stdout] | [INFO] [stdout] 176 | &mut inputs[0] as *mut INPUT, [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/window.rs:177:33 [INFO] [stdout] | [INFO] [stdout] 146 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 177 | std::mem::size_of::() as i32, [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/window.rs:193:34 [INFO] [stdout] | [INFO] [stdout] 193 | let mut result0: INPUT = std::mem::zeroed(); [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/window.rs:194:33 [INFO] [stdout] | [INFO] [stdout] 194 | result0.type_ = INPUT_MOUSE; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_ABSOLUTE` in this scope [INFO] [stdout] --> src/window.rs:198:32 [INFO] [stdout] | [INFO] [stdout] 198 | info.dwFlags = MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN; [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/window.rs:198:55 [INFO] [stdout] | [INFO] [stdout] 198 | info.dwFlags = MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN; [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/window.rs:198:74 [INFO] [stdout] | [INFO] [stdout] 198 | info.dwFlags = MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN; [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/window.rs:199:34 [INFO] [stdout] | [INFO] [stdout] 199 | let mut result1: INPUT = std::mem::zeroed(); [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/window.rs:200:33 [INFO] [stdout] | [INFO] [stdout] 200 | result1.type_ = INPUT_MOUSE; [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/window.rs:202:32 [INFO] [stdout] | [INFO] [stdout] 202 | info.dwFlags = MOUSEEVENTF_LEFTUP; [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/window.rs:212:33 [INFO] [stdout] | [INFO] [stdout] 146 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 212 | let inputs: Vec = key.clone().into_iter().collect(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | static ref RUNNING: Arc = { Arc::new(AtomicBool::new(true)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 62 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ow_replay_renderer` [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 62 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, 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" "aa5751b85cdc4003e882d7118389cabbe004ff4a091546d2fd5998537b3a7c76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa5751b85cdc4003e882d7118389cabbe004ff4a091546d2fd5998537b3a7c76", kill_on_drop: false }` [INFO] [stdout] aa5751b85cdc4003e882d7118389cabbe004ff4a091546d2fd5998537b3a7c76