[INFO] fetching crate bushido_keys_rs 0.2.80... [INFO] checking bushido_keys_rs-0.2.80 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate bushido_keys_rs 0.2.80 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate bushido_keys_rs 0.2.80 [INFO] finished tweaking crates.io crate bushido_keys_rs 0.2.80 [INFO] tweaked toml for crates.io crate bushido_keys_rs 0.2.80 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bushido_keys_rs 0.2.80 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bushido_keys_rs 0.2.80 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-implement v0.59.0 [INFO] [stderr] Downloaded windows-result v0.3.0 [INFO] [stderr] Downloaded windows-strings v0.3.0 [INFO] [stderr] Downloaded windows-interface v0.59.0 [INFO] [stderr] Downloaded tracelogging_macros v1.2.0 [INFO] [stderr] Downloaded tracelogging v1.2.2 [INFO] [stderr] Downloaded windows-core v0.59.0 [INFO] [stderr] Downloaded windows v0.59.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f607c8aca85026b29aa7fe32b26fbcd3e1e5f46811dd7f5630c2c4f3db274253 [INFO] running `Command { std: "docker" "start" "-a" "f607c8aca85026b29aa7fe32b26fbcd3e1e5f46811dd7f5630c2c4f3db274253", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f607c8aca85026b29aa7fe32b26fbcd3e1e5f46811dd7f5630c2c4f3db274253", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f607c8aca85026b29aa7fe32b26fbcd3e1e5f46811dd7f5630c2c4f3db274253", kill_on_drop: false }` [INFO] [stdout] f607c8aca85026b29aa7fe32b26fbcd3e1e5f46811dd7f5630c2c4f3db274253 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7e86beadb19ac213ef6eafaead5e9d7dd6502f358f74662427e8fa1c9ff46dc [INFO] running `Command { std: "docker" "start" "-a" "d7e86beadb19ac213ef6eafaead5e9d7dd6502f358f74662427e8fa1c9ff46dc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling windows_x86_64_gnu v0.53.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking windows-targets v0.53.0 [INFO] [stderr] Checking windows-strings v0.3.0 [INFO] [stderr] Checking windows-result v0.3.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling tracelogging_macros v1.2.0 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking quote v1.0.38 [INFO] [stderr] Checking tracelogging v1.2.2 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling windows-implement v0.59.0 [INFO] [stderr] Compiling windows-interface v0.59.0 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.6 [INFO] [stderr] Checking windows-core v0.59.0 [INFO] [stderr] Checking windows v0.59.0 [INFO] [stderr] Checking bushido_keys_rs v0.2.80 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::Win32::Foundation::{HINSTANCE, LPARAM, LRESULT, WPARAM}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::System::LibraryLoader::GetModuleHandleW; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::UI::WindowsAndMessaging::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/input_simulator.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::UI::Input::KeyboardAndMouse::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | let mouse_input = 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/input_simulator.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | dwFlags: MOUSEEVENTF_MOVE, [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/input_simulator.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let 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/input_simulator.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | Anonymous: INPUT_0 { mi: mouse_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/input_simulator.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | SendInput(&[input], 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] 5 | pub fn move_mouse(dx: i32, dy: i32) { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | let mouse_input = MOUSEINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_WHEEL` in this scope [INFO] [stdout] --> src/input_simulator.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | dwFlags: MOUSEEVENTF_WHEEL, [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/input_simulator.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | let 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/input_simulator.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | Anonymous: INPUT_0 { mi: mouse_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/input_simulator.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | SendInput(&[input], 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] 23 | pub fn simulate_scroll(dx: i32, dy: i32) { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | let mouse_input = MOUSEINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_HWHEEL` in this scope [INFO] [stdout] --> src/input_simulator.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | dwFlags: MOUSEEVENTF_HWHEEL, [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/input_simulator.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let 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/input_simulator.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | Anonymous: INPUT_0 { mi: mouse_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/input_simulator.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | SendInput(&[input], 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] 23 | pub fn simulate_scroll(dx: i32, dy: i32) { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | let mouse_input = 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/input_simulator.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | dwFlags: MOUSEEVENTF_LEFTDOWN, [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/input_simulator.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let 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/input_simulator.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | Anonymous: INPUT_0 { mi: mouse_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/input_simulator.rs:76:39 [INFO] [stdout] | [INFO] [stdout] 76 | SendInput(&[input], 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] 62 | pub fn simulate_left_down() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | let mouse_input = 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/input_simulator.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | dwFlags: MOUSEEVENTF_LEFTUP, [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/input_simulator.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let 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/input_simulator.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | Anonymous: INPUT_0 { mi: mouse_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/input_simulator.rs:94:39 [INFO] [stdout] | [INFO] [stdout] 94 | SendInput(&[input], 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] 80 | pub fn simulate_left_up() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | let mouse_input = MOUSEINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_RIGHTDOWN` in this scope [INFO] [stdout] --> src/input_simulator.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | dwFlags: MOUSEEVENTF_RIGHTDOWN, [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/input_simulator.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let 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/input_simulator.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | Anonymous: INPUT_0 { mi: mouse_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/input_simulator.rs:112:39 [INFO] [stdout] | [INFO] [stdout] 112 | SendInput(&[input], 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] 98 | pub fn simulate_right_down() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | let mouse_input = MOUSEINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_RIGHTUP` in this scope [INFO] [stdout] --> src/input_simulator.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | dwFlags: MOUSEEVENTF_RIGHTUP, [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/input_simulator.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | let 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/input_simulator.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | Anonymous: INPUT_0 { mi: mouse_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/input_simulator.rs:130:39 [INFO] [stdout] | [INFO] [stdout] 130 | SendInput(&[input], 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] 116 | pub fn simulate_right_up() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | let mouse_input = MOUSEINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_MIDDLEDOWN` in this scope [INFO] [stdout] --> src/input_simulator.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | dwFlags: MOUSEEVENTF_MIDDLEDOWN, [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/input_simulator.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | let 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/input_simulator.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | Anonymous: INPUT_0 { mi: mouse_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/input_simulator.rs:148:39 [INFO] [stdout] | [INFO] [stdout] 148 | SendInput(&[input], 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] 134 | pub fn simulate_middle_down() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | let mouse_input = MOUSEINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_MIDDLEUP` in this scope [INFO] [stdout] --> src/input_simulator.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | dwFlags: MOUSEEVENTF_MIDDLEUP, [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/input_simulator.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | let 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/input_simulator.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:163:20 [INFO] [stdout] | [INFO] [stdout] 163 | Anonymous: INPUT_0 { mi: mouse_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/input_simulator.rs:166:39 [INFO] [stdout] | [INFO] [stdout] 166 | SendInput(&[input], 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] 152 | pub fn simulate_middle_up() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:209:18 [INFO] [stdout] | [INFO] [stdout] 209 | let kb = KEYBDINPUT { [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/input_simulator.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | inputs.push(INPUT { [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/input_simulator.rs:217:21 [INFO] [stdout] | [INFO] [stdout] 217 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | Anonymous: INPUT_0 { ki: kb }, [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/input_simulator.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | let kb_down = KEYBDINPUT { [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/input_simulator.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | inputs.push(INPUT { [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/input_simulator.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 231 | Anonymous: INPUT_0 { ki: kb_down }, [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/input_simulator.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | let kb_up = 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/input_simulator.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | dwFlags: KEYEVENTF_KEYUP, [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/input_simulator.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | inputs.push(INPUT { [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/input_simulator.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | Anonymous: INPUT_0 { ki: kb_up }, [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/input_simulator.rs:247:18 [INFO] [stdout] | [INFO] [stdout] 247 | let kb = 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/input_simulator.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 250 | dwFlags: KEYEVENTF_KEYUP, [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/input_simulator.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | inputs.push(INPUT { [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/input_simulator.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:256:24 [INFO] [stdout] | [INFO] [stdout] 256 | Anonymous: INPUT_0 { ki: kb }, [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/input_simulator.rs:260:38 [INFO] [stdout] | [INFO] [stdout] 260 | SendInput(&inputs, 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] 195 | pub fn simulate_key_tap(vk_code: u32, modifiers: &[u32], auto_modifiers: &[u32]) { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quote::quote` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use quote::quote; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::current_time_ms` [INFO] [stdout] --> src/basic_mode.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utils::current_time_ms; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/key_state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/key_state.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conversion::*` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use conversion::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `key_state::VK_SHIFT` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use key_state::VK_SHIFT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::Win32::Foundation::{HINSTANCE, LPARAM, LRESULT, WPARAM}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::System::LibraryLoader::GetModuleHandleW; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::UI::WindowsAndMessaging::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/input_simulator.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::UI::Input::KeyboardAndMouse::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope [INFO] [stdout] --> src/input_simulator.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | SendInput(&[input], size_of::() 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 `SendInput` in this scope [INFO] [stdout] --> src/input_simulator.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | SendInput(&[input], size_of::() 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 `SendInput` in this scope [INFO] [stdout] --> src/input_simulator.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | SendInput(&[input], size_of::() 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 `SendInput` in this scope [INFO] [stdout] --> src/input_simulator.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | SendInput(&[input], size_of::() 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 `SendInput` in this scope [INFO] [stdout] --> src/input_simulator.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | SendInput(&[input], size_of::() 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 `SendInput` in this scope [INFO] [stdout] --> src/input_simulator.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | SendInput(&[input], size_of::() 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 `SendInput` in this scope [INFO] [stdout] --> src/input_simulator.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | SendInput(&[input], size_of::() 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 `SendInput` in this scope [INFO] [stdout] --> src/input_simulator.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | SendInput(&[input], size_of::() 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 `SendInput` in this scope [INFO] [stdout] --> src/input_simulator.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | SendInput(&[input], size_of::() 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 `VIRTUAL_KEY` in this scope [INFO] [stdout] --> src/input_simulator.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | wVk: VIRTUAL_KEY(*mod_vk as u16), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `KEYBD_EVENT_FLAGS` in this scope [INFO] [stdout] --> src/input_simulator.rs:212:22 [INFO] [stdout] | [INFO] [stdout] 212 | dwFlags: KEYBD_EVENT_FLAGS(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VIRTUAL_KEY` in this scope [INFO] [stdout] --> src/input_simulator.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | wVk: VIRTUAL_KEY(vk_code as u16), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `KEYBD_EVENT_FLAGS` in this scope [INFO] [stdout] --> src/input_simulator.rs:225:18 [INFO] [stdout] | [INFO] [stdout] 225 | dwFlags: KEYBD_EVENT_FLAGS(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VIRTUAL_KEY` in this scope [INFO] [stdout] --> src/input_simulator.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | wVk: VIRTUAL_KEY(vk_code as u16), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VIRTUAL_KEY` in this scope [INFO] [stdout] --> src/input_simulator.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | wVk: VIRTUAL_KEY(*mod_vk as u16), [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/input_simulator.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | SendInput(&inputs, size_of::() as i32); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handled` is never read [INFO] [stdout] --> src/basic_mode.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | let mut handled = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handled` is never read [INFO] [stdout] --> src/basic_mode.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | handled = true; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handled` is never read [INFO] [stdout] --> src/basic_mode.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | handled = true; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handled` is never read [INFO] [stdout] --> src/basic_mode.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let mut handled = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handled` is never read [INFO] [stdout] --> src/basic_mode.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | handled = true; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handled` is never read [INFO] [stdout] --> src/basic_mode.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | handled = true; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/conversion.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 214 | 0x5B | 0x5C | 0x5D => Some("WINDOWS".to_string()), [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] 215 | // LWIN [INFO] [stdout] 216 | 0x5B => Some("LWIN".to_string()), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/conversion.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 214 | 0x5B | 0x5C | 0x5D => Some("WINDOWS".to_string()), [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 218 | 0x5C => Some("RWIN".to_string()), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `config` is never read [INFO] [stdout] --> src/mouse_mode.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let mut config: MouseConfig = MouseConfig::default(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_click_code` [INFO] [stdout] --> src/mouse_mode.rs:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | let left_click_code = char_to_vk(self.config.left_click_key); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_click_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_click_code` [INFO] [stdout] --> src/mouse_mode.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | let right_click_code = char_to_vk(self.config.right_click_key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_click_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middle_click_code` [INFO] [stdout] --> src/mouse_mode.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | let middle_click_code = char_to_vk(self.config.middle_click_key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middle_click_code` [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 `bushido_keys_rs` (bin "bushido_keys_rs") due to 93 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | let mouse_input = 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/input_simulator.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | dwFlags: MOUSEEVENTF_MOVE, [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/input_simulator.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let 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/input_simulator.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | Anonymous: INPUT_0 { mi: mouse_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/input_simulator.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | SendInput(&[input], 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] 5 | pub fn move_mouse(dx: i32, dy: i32) { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | let mouse_input = MOUSEINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_WHEEL` in this scope [INFO] [stdout] --> src/input_simulator.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | dwFlags: MOUSEEVENTF_WHEEL, [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/input_simulator.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | let 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/input_simulator.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | Anonymous: INPUT_0 { mi: mouse_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/input_simulator.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | SendInput(&[input], 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] 23 | pub fn simulate_scroll(dx: i32, dy: i32) { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | let mouse_input = MOUSEINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_HWHEEL` in this scope [INFO] [stdout] --> src/input_simulator.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | dwFlags: MOUSEEVENTF_HWHEEL, [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/input_simulator.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let 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/input_simulator.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | Anonymous: INPUT_0 { mi: mouse_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/input_simulator.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | SendInput(&[input], 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] 23 | pub fn simulate_scroll(dx: i32, dy: i32) { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | let mouse_input = 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/input_simulator.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | dwFlags: MOUSEEVENTF_LEFTDOWN, [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/input_simulator.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let 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/input_simulator.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | Anonymous: INPUT_0 { mi: mouse_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/input_simulator.rs:76:39 [INFO] [stdout] | [INFO] [stdout] 76 | SendInput(&[input], 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] 62 | pub fn simulate_left_down() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | let mouse_input = 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/input_simulator.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | dwFlags: MOUSEEVENTF_LEFTUP, [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/input_simulator.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let 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/input_simulator.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | Anonymous: INPUT_0 { mi: mouse_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/input_simulator.rs:94:39 [INFO] [stdout] | [INFO] [stdout] 94 | SendInput(&[input], 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] 80 | pub fn simulate_left_up() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | let mouse_input = MOUSEINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_RIGHTDOWN` in this scope [INFO] [stdout] --> src/input_simulator.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | dwFlags: MOUSEEVENTF_RIGHTDOWN, [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/input_simulator.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let 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/input_simulator.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | Anonymous: INPUT_0 { mi: mouse_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/input_simulator.rs:112:39 [INFO] [stdout] | [INFO] [stdout] 112 | SendInput(&[input], 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] 98 | pub fn simulate_right_down() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | let mouse_input = MOUSEINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_RIGHTUP` in this scope [INFO] [stdout] --> src/input_simulator.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | dwFlags: MOUSEEVENTF_RIGHTUP, [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/input_simulator.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | let 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/input_simulator.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | Anonymous: INPUT_0 { mi: mouse_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/input_simulator.rs:130:39 [INFO] [stdout] | [INFO] [stdout] 130 | SendInput(&[input], 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] 116 | pub fn simulate_right_up() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | let mouse_input = MOUSEINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_MIDDLEDOWN` in this scope [INFO] [stdout] --> src/input_simulator.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | dwFlags: MOUSEEVENTF_MIDDLEDOWN, [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/input_simulator.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | let 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/input_simulator.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | Anonymous: INPUT_0 { mi: mouse_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/input_simulator.rs:148:39 [INFO] [stdout] | [INFO] [stdout] 148 | SendInput(&[input], 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] 134 | pub fn simulate_middle_down() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | let mouse_input = MOUSEINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_MIDDLEUP` in this scope [INFO] [stdout] --> src/input_simulator.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | dwFlags: MOUSEEVENTF_MIDDLEUP, [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/input_simulator.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | let 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/input_simulator.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:163:20 [INFO] [stdout] | [INFO] [stdout] 163 | Anonymous: INPUT_0 { mi: mouse_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/input_simulator.rs:166:39 [INFO] [stdout] | [INFO] [stdout] 166 | SendInput(&[input], 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] 152 | pub fn simulate_middle_up() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope [INFO] [stdout] --> src/input_simulator.rs:209:18 [INFO] [stdout] | [INFO] [stdout] 209 | let kb = KEYBDINPUT { [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/input_simulator.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | inputs.push(INPUT { [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/input_simulator.rs:217:21 [INFO] [stdout] | [INFO] [stdout] 217 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | Anonymous: INPUT_0 { ki: kb }, [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/input_simulator.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | let kb_down = KEYBDINPUT { [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/input_simulator.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | inputs.push(INPUT { [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/input_simulator.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 231 | Anonymous: INPUT_0 { ki: kb_down }, [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/input_simulator.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | let kb_up = 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/input_simulator.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | dwFlags: KEYEVENTF_KEYUP, [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/input_simulator.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | inputs.push(INPUT { [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/input_simulator.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | Anonymous: INPUT_0 { ki: kb_up }, [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/input_simulator.rs:247:18 [INFO] [stdout] | [INFO] [stdout] 247 | let kb = 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/input_simulator.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 250 | dwFlags: KEYEVENTF_KEYUP, [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/input_simulator.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | inputs.push(INPUT { [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/input_simulator.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | r#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 `INPUT_0` in this scope [INFO] [stdout] --> src/input_simulator.rs:256:24 [INFO] [stdout] | [INFO] [stdout] 256 | Anonymous: INPUT_0 { ki: kb }, [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/input_simulator.rs:260:38 [INFO] [stdout] | [INFO] [stdout] 260 | SendInput(&inputs, 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] 195 | pub fn simulate_key_tap(vk_code: u32, modifiers: &[u32], auto_modifiers: &[u32]) { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quote::quote` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use quote::quote; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::current_time_ms` [INFO] [stdout] --> src/basic_mode.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utils::current_time_ms; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/key_state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/key_state.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conversion::*` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use conversion::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `key_state::VK_SHIFT` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use key_state::VK_SHIFT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope [INFO] [stdout] --> src/input_simulator.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | SendInput(&[input], size_of::() 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 `SendInput` in this scope [INFO] [stdout] --> src/input_simulator.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | SendInput(&[input], size_of::() 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 `SendInput` in this scope [INFO] [stdout] --> src/input_simulator.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | SendInput(&[input], size_of::() 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 `SendInput` in this scope [INFO] [stdout] --> src/input_simulator.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | SendInput(&[input], size_of::() 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 `SendInput` in this scope [INFO] [stdout] --> src/input_simulator.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | SendInput(&[input], size_of::() 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 `SendInput` in this scope [INFO] [stdout] --> src/input_simulator.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | SendInput(&[input], size_of::() 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 `SendInput` in this scope [INFO] [stdout] --> src/input_simulator.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | SendInput(&[input], size_of::() 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 `SendInput` in this scope [INFO] [stdout] --> src/input_simulator.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | SendInput(&[input], size_of::() 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 `SendInput` in this scope [INFO] [stdout] --> src/input_simulator.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | SendInput(&[input], size_of::() 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 `VIRTUAL_KEY` in this scope [INFO] [stdout] --> src/input_simulator.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | wVk: VIRTUAL_KEY(*mod_vk as u16), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `KEYBD_EVENT_FLAGS` in this scope [INFO] [stdout] --> src/input_simulator.rs:212:22 [INFO] [stdout] | [INFO] [stdout] 212 | dwFlags: KEYBD_EVENT_FLAGS(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VIRTUAL_KEY` in this scope [INFO] [stdout] --> src/input_simulator.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | wVk: VIRTUAL_KEY(vk_code as u16), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `KEYBD_EVENT_FLAGS` in this scope [INFO] [stdout] --> src/input_simulator.rs:225:18 [INFO] [stdout] | [INFO] [stdout] 225 | dwFlags: KEYBD_EVENT_FLAGS(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VIRTUAL_KEY` in this scope [INFO] [stdout] --> src/input_simulator.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | wVk: VIRTUAL_KEY(vk_code as u16), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VIRTUAL_KEY` in this scope [INFO] [stdout] --> src/input_simulator.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | wVk: VIRTUAL_KEY(*mod_vk as u16), [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/input_simulator.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | SendInput(&inputs, size_of::() as i32); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handled` is never read [INFO] [stdout] --> src/basic_mode.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | let mut handled = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handled` is never read [INFO] [stdout] --> src/basic_mode.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | handled = true; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handled` is never read [INFO] [stdout] --> src/basic_mode.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | handled = true; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handled` is never read [INFO] [stdout] --> src/basic_mode.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let mut handled = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handled` is never read [INFO] [stdout] --> src/basic_mode.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | handled = true; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handled` is never read [INFO] [stdout] --> src/basic_mode.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | handled = true; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/conversion.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 214 | 0x5B | 0x5C | 0x5D => Some("WINDOWS".to_string()), [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] 215 | // LWIN [INFO] [stdout] 216 | 0x5B => Some("LWIN".to_string()), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/conversion.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 214 | 0x5B | 0x5C | 0x5D => Some("WINDOWS".to_string()), [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 218 | 0x5C => Some("RWIN".to_string()), [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `config` is never read [INFO] [stdout] --> src/mouse_mode.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let mut config: MouseConfig = MouseConfig::default(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_click_code` [INFO] [stdout] --> src/mouse_mode.rs:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | let left_click_code = char_to_vk(self.config.left_click_key); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_click_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_click_code` [INFO] [stdout] --> src/mouse_mode.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | let right_click_code = char_to_vk(self.config.right_click_key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_click_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middle_click_code` [INFO] [stdout] --> src/mouse_mode.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | let middle_click_code = char_to_vk(self.config.middle_click_key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middle_click_code` [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 `bushido_keys_rs` (bin "bushido_keys_rs" test) due to 93 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d7e86beadb19ac213ef6eafaead5e9d7dd6502f358f74662427e8fa1c9ff46dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7e86beadb19ac213ef6eafaead5e9d7dd6502f358f74662427e8fa1c9ff46dc", kill_on_drop: false }` [INFO] [stdout] d7e86beadb19ac213ef6eafaead5e9d7dd6502f358f74662427e8fa1c9ff46dc