[INFO] cloning repository https://github.com/henoc/kana_power
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/henoc/kana_power" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenoc%2Fkana_power", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenoc%2Fkana_power'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c037b5fa2d384df8ebaee83793b6b737fddd73d9
[INFO] testing henoc/kana_power against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenoc%2Fkana_power" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/henoc/kana_power
[INFO] finished tweaking git repo https://github.com/henoc/kana_power
[INFO] tweaked toml for git repo https://github.com/henoc/kana_power written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/henoc/kana_power on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/henoc/kana_power 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2355c32e2cf8b4e16703312ca497d69b03172068d5903b85623fe38bd5e80c54
[INFO] running `Command { std: "docker" "start" "-a" "2355c32e2cf8b4e16703312ca497d69b03172068d5903b85623fe38bd5e80c54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2355c32e2cf8b4e16703312ca497d69b03172068d5903b85623fe38bd5e80c54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2355c32e2cf8b4e16703312ca497d69b03172068d5903b85623fe38bd5e80c54", kill_on_drop: false }`
[INFO] [stdout] 2355c32e2cf8b4e16703312ca497d69b03172068d5903b85623fe38bd5e80c54
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 82ab52fa0e1d86e404e1ae558430ece269726497e943a2a9560cf55981d61a22
[INFO] running `Command { std: "docker" "start" "-a" "82ab52fa0e1d86e404e1ae558430ece269726497e943a2a9560cf55981d61a22", kill_on_drop: false }`
[INFO] [stderr] Compiling serde v1.0.219
[INFO] [stderr] Compiling hashbrown v0.15.4
[INFO] [stderr] Compiling equivalent v1.0.2
[INFO] [stderr] Compiling winnow v0.5.40
[INFO] [stderr] Compiling pkg-config v0.3.32
[INFO] [stderr] Compiling target-lexicon v0.12.16
[INFO] [stderr] Compiling smallvec v1.15.1
[INFO] [stderr] Compiling heck v0.5.0
[INFO] [stderr] Compiling version-compare v0.2.0
[INFO] [stderr] Compiling proc-macro2 v1.0.95
[INFO] [stderr] Compiling unicode-ident v1.0.18
[INFO] [stderr] Compiling autocfg v1.4.0
[INFO] [stderr] Compiling libc v0.2.172
[INFO] [stderr] Compiling version_check v0.9.5
[INFO] [stderr] Compiling syn v1.0.109
[INFO] [stderr] Compiling once_cell v1.21.3
[INFO] [stderr] Compiling futures-core v0.3.31
[INFO] [stderr] Compiling pin-utils v0.1.0
[INFO] [stderr] Compiling pin-project-lite v0.2.16
[INFO] [stderr] Compiling futures-task v0.3.31
[INFO] [stderr] Compiling thiserror v1.0.69
[INFO] [stderr] Compiling heck v0.4.1
[INFO] [stderr] Compiling crossbeam-utils v0.8.21
[INFO] [stderr] Compiling memchr v2.7.4
[INFO] [stderr] Compiling futures-channel v0.3.31
[INFO] [stderr] Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr] Compiling proc-macro-error v1.0.4
[INFO] [stderr] Compiling semver v1.0.26
[INFO] [stderr] Compiling slab v0.4.9
[INFO] [stderr] Compiling indexmap v2.9.0
[INFO] [stderr] Compiling cfg-if v1.0.1
[INFO] [stderr] Compiling gio v0.18.4
[INFO] [stderr] Compiling futures-io v0.3.31
[INFO] [stderr] Compiling memoffset v0.9.1
[INFO] [stderr] Compiling windows-link v0.1.1
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Compiling cfg-expr v0.15.8
[INFO] [stderr] Compiling rayon-core v1.12.1
[INFO] [stderr] Compiling x11 v2.21.0
[INFO] [stderr] Compiling gtk v0.18.2
[INFO] [stderr] Compiling windows-result v0.3.4
[INFO] [stderr] Compiling windows-strings v0.3.1
[INFO] [stderr] Compiling crc32fast v1.4.2
[INFO] [stderr] Compiling simd-adler32 v0.3.7
[INFO] [stderr] Compiling rustc_version v0.4.1
[INFO] [stderr] Compiling libxdo-sys v0.11.0
[INFO] [stderr] Compiling quote v1.0.40
[INFO] [stderr] Compiling crossbeam-epoch v0.9.18
[INFO] [stderr] Compiling miniz_oxide v0.4.4
[INFO] [stderr] Compiling adler2 v2.0.1
[INFO] [stderr] Compiling either v1.15.0
[INFO] [stderr] Compiling field-offset v0.3.6
[INFO] [stderr] Compiling bitflags v1.3.2
[INFO] [stderr] Compiling syn v2.0.102
[INFO] [stderr] Compiling adler32 v1.2.0
[INFO] [stderr] Compiling miniz_oxide v0.8.9
[INFO] [stderr] Compiling crossbeam-deque v0.8.6
[INFO] [stderr] Compiling libloading v0.7.4
[INFO] [stderr] Compiling num-rational v0.3.2
[INFO] [stderr] Compiling log v0.4.27
[INFO] [stderr] Compiling unicode-segmentation v1.12.0
[INFO] [stderr] Compiling byteorder v1.5.0
[INFO] [stderr] Compiling weezl v0.1.10
[INFO] [stderr] Compiling adler v1.0.2
[INFO] [stderr] Compiling miniz_oxide v0.3.7
[INFO] [stderr] Compiling fdeflate v0.3.7
[INFO] [stderr] Compiling deflate v0.8.6
[INFO] [stderr] Compiling crossbeam-channel v0.5.15
[INFO] [stderr] Compiling dirs-sys-next v0.1.2
[INFO] [stderr] Compiling num-integer v0.1.46
[INFO] [stderr] Compiling libxdo v0.6.0
[INFO] [stderr] Compiling flate2 v1.1.2
[INFO] [stderr] Compiling rayon v1.10.0
[INFO] [stderr] Compiling serde_json v1.0.140
[INFO] [stderr] Compiling color_quant v1.1.0
[INFO] [stderr] Compiling dirs-next v2.0.0
[INFO] [stderr] Compiling gif v0.11.4
[INFO] [stderr] Compiling png v0.17.16
[INFO] [stderr] Compiling thread-id v3.3.0
[INFO] [stderr] Compiling bytemuck v1.23.1
[INFO] [stderr] Compiling lazy_static v1.5.0
[INFO] [stderr] Compiling scoped_threadpool v0.1.9
[INFO] [stderr] Compiling ryu v1.0.20
[INFO] [stderr] Compiling num-iter v0.1.45
[INFO] [stderr] Compiling itoa v1.0.15
[INFO] [stderr] Compiling simple-logging v2.0.2
[INFO] [stderr] Compiling png v0.16.8
[INFO] [stderr] Compiling toml_datetime v0.6.3
[INFO] [stderr] Compiling serde_spanned v0.6.9
[INFO] [stderr] Compiling toml_edit v0.20.2
[INFO] [stderr] Compiling toml_edit v0.19.15
[INFO] [stderr] Compiling jpeg-decoder v0.1.22
[INFO] [stderr] Compiling tiff v0.6.1
[INFO] [stderr] Compiling serde_derive v1.0.219
[INFO] [stderr] Compiling futures-macro v0.3.31
[INFO] [stderr] Compiling thiserror-impl v1.0.69
[INFO] [stderr] Compiling windows-interface v0.59.1
[INFO] [stderr] Compiling windows-implement v0.59.0
[INFO] [stderr] Compiling image v0.23.14
[INFO] [stderr] Compiling futures-util v0.3.31
[INFO] [stderr] Compiling windows-core v0.60.1
[INFO] [stderr] Compiling proc-macro-crate v1.3.1
[INFO] [stderr] Compiling windows-collections v0.1.1
[INFO] [stderr] Compiling windows-numerics v0.1.1
[INFO] [stderr] Compiling windows-future v0.1.1
[INFO] [stderr] Compiling gtk3-macros v0.18.2
[INFO] [stderr] Compiling windows v0.60.0
[INFO] [stderr] Compiling toml v0.8.2
[INFO] [stderr] Compiling proc-macro-crate v2.0.2
[INFO] [stderr] Compiling system-deps v6.2.2
[INFO] [stderr] Compiling glib-macros v0.18.5
[INFO] [stderr] Compiling glib-sys v0.18.1
[INFO] [stderr] Compiling gobject-sys v0.18.0
[INFO] [stderr] Compiling gio-sys v0.18.1
[INFO] [stderr] Compiling cairo-sys-rs v0.18.2
[INFO] [stderr] Compiling gdk-sys v0.18.2
[INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0
[INFO] [stderr] Compiling pango-sys v0.18.0
[INFO] [stderr] Compiling atk-sys v0.18.2
[INFO] [stderr] Compiling gtk-sys v0.18.2
[INFO] [stderr] Compiling futures-executor v0.3.31
[INFO] [stderr] Compiling bitflags v2.9.1
[INFO] [stderr] Compiling keyboard-types v0.7.0
[INFO] [stderr] Compiling glib v0.18.5
[INFO] [stderr] Compiling libappindicator-sys v0.9.0
[INFO] [stderr] Compiling cairo-rs v0.18.5
[INFO] [stderr] Compiling atk v0.18.2
[INFO] [stderr] Compiling pango v0.18.3
[INFO] [stderr] Compiling gdk-pixbuf v0.18.5
[INFO] [stderr] Compiling gdk v0.18.2
[INFO] [stderr] Compiling muda v0.11.5
[INFO] [stderr] Compiling libappindicator v0.9.0
[INFO] [stderr] Compiling tray-icon v0.11.3
[INFO] [stderr] Compiling kana_power v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout] --> src/main.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | Win32::Foundation::*,
[INFO] [stdout] | ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout] --> src/main.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | Win32::UI::WindowsAndMessaging::*,
[INFO] [stdout] | ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout] --> src/main.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 6 | Win32::System::LibraryLoader::GetModuleHandleA,
[INFO] [stdout] | ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout] --> src/main.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | Win32::UI::Input::KeyboardAndMouse::*,
[INFO] [stdout] | ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout] --> src/main.rs:278:23
[INFO] [stdout] |
[INFO] [stdout] 278 | fn main() -> windows::core::Result<()> {
[INFO] [stdout] | ^^^^ could not find `core` in `windows`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `VK_LCONTROL` in this scope
[INFO] [stdout] --> src/main.rs:46:22
[INFO] [stdout] |
[INFO] [stdout] 46 | ime_off: VK_LCONTROL.0 as u32,
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `VK_RCONTROL` in this scope
[INFO] [stdout] --> src/main.rs:47:21
[INFO] [stdout] |
[INFO] [stdout] 47 | ime_on: VK_RCONTROL.0 as u32,
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `INPUT` in this scope
[INFO] [stdout] --> src/main.rs:121:29
[INFO] [stdout] |
[INFO] [stdout] 121 | let mut inputs: Vec = Vec::with_capacity(2);
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout] |
[INFO] [stdout] 119 | fn send_ime_off() {
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope
[INFO] [stdout] --> src/main.rs:124:24
[INFO] [stdout] |
[INFO] [stdout] 124 | input.r#type = INPUT_KEYBOARD;
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `VK_IME_OFF` in this scope
[INFO] [stdout] --> src/main.rs:125:34
[INFO] [stdout] |
[INFO] [stdout] 125 | input.Anonymous.ki.wVk = VK_IME_OFF;
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope
[INFO] [stdout] --> src/main.rs:129:24
[INFO] [stdout] |
[INFO] [stdout] 129 | input.r#type = INPUT_KEYBOARD;
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `VK_IME_OFF` in this scope
[INFO] [stdout] --> src/main.rs:130:34
[INFO] [stdout] |
[INFO] [stdout] 130 | input.Anonymous.ki.wVk = VK_IME_OFF;
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_KEYUP` in this scope
[INFO] [stdout] --> src/main.rs:131:38
[INFO] [stdout] |
[INFO] [stdout] 131 | input.Anonymous.ki.dwFlags = KEYEVENTF_KEYUP;
[INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `INPUT` in this scope
[INFO] [stdout] --> src/main.rs:134:58
[INFO] [stdout] |
[INFO] [stdout] 134 | let ret = SendInput(&inputs, std::mem::size_of::() as i32);
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout] |
[INFO] [stdout] 119 | fn send_ime_off() {
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `INPUT` in this scope
[INFO] [stdout] --> src/main.rs:141:29
[INFO] [stdout] |
[INFO] [stdout] 141 | let mut inputs: Vec = Vec::with_capacity(2);
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout] |
[INFO] [stdout] 139 | fn send_ime_on() {
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope
[INFO] [stdout] --> src/main.rs:144:24
[INFO] [stdout] |
[INFO] [stdout] 144 | input.r#type = INPUT_KEYBOARD;
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `VK_IME_ON` in this scope
[INFO] [stdout] --> src/main.rs:145:34
[INFO] [stdout] |
[INFO] [stdout] 145 | input.Anonymous.ki.wVk = VK_IME_ON;
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope
[INFO] [stdout] --> src/main.rs:149:24
[INFO] [stdout] |
[INFO] [stdout] 149 | input.r#type = INPUT_KEYBOARD;
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `VK_IME_ON` in this scope
[INFO] [stdout] --> src/main.rs:150:34
[INFO] [stdout] |
[INFO] [stdout] 150 | input.Anonymous.ki.wVk = VK_IME_ON;
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_KEYUP` in this scope
[INFO] [stdout] --> src/main.rs:151:38
[INFO] [stdout] |
[INFO] [stdout] 151 | input.Anonymous.ki.dwFlags = KEYEVENTF_KEYUP;
[INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `INPUT` in this scope
[INFO] [stdout] --> src/main.rs:154:58
[INFO] [stdout] |
[INFO] [stdout] 154 | let ret = SendInput(&inputs, std::mem::size_of::() as i32);
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout] |
[INFO] [stdout] 139 | fn send_ime_on() {
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `VIRTUAL_KEY` in this scope
[INFO] [stdout] --> src/main.rs:159:28
[INFO] [stdout] |
[INFO] [stdout] 159 | fn is_key_pressed(vk_code: VIRTUAL_KEY) -> bool {
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `WPARAM` in this scope
[INFO] [stdout] --> src/main.rs:223:61
[INFO] [stdout] |
[INFO] [stdout] 223 | unsafe extern "system" fn hook_callback(code: i32, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `LPARAM` in this scope
[INFO] [stdout] --> src/main.rs:223:78
[INFO] [stdout] |
[INFO] [stdout] 223 | unsafe extern "system" fn hook_callback(code: i32, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[INFO] [stdout] | ^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `LRESULT` in this scope
[INFO] [stdout] --> src/main.rs:223:89
[INFO] [stdout] |
[INFO] [stdout] 223 | unsafe extern "system" fn hook_callback(code: i32, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[INFO] [stdout] | ^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `KBDLLHOOKSTRUCT` in this scope
[INFO] [stdout] --> src/main.rs:225:43
[INFO] [stdout] |
[INFO] [stdout] 225 | let vk_code = l_param.0 as *const KBDLLHOOKSTRUCT;
[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/main.rs:252:32
[INFO] [stdout] |
[INFO] [stdout] 252 | if !is_key_pressed(VK_LCONTROL) {
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `VK_RCONTROL` in this scope
[INFO] [stdout] --> src/main.rs:258:32
[INFO] [stdout] |
[INFO] [stdout] 258 | if !is_key_pressed(VK_RCONTROL) {
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `WH_KEYBOARD_LL` in this scope
[INFO] [stdout] --> src/main.rs:324:13
[INFO] [stdout] |
[INFO] [stdout] 324 | WH_KEYBOARD_LL,
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find type `INPUT` in this scope
[INFO] [stdout] --> src/main.rs:123:25
[INFO] [stdout] |
[INFO] [stdout] 123 | let mut input = INPUT::default();
[INFO] [stdout] | ^^^^^ use of undeclared type `INPUT`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find type `INPUT` in this scope
[INFO] [stdout] --> src/main.rs:128:25
[INFO] [stdout] |
[INFO] [stdout] 128 | let mut input = INPUT::default();
[INFO] [stdout] | ^^^^^ use of undeclared type `INPUT`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout] --> src/main.rs:134:19
[INFO] [stdout] |
[INFO] [stdout] 134 | let ret = SendInput(&inputs, std::mem::size_of::() as i32);
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find type `INPUT` in this scope
[INFO] [stdout] --> src/main.rs:143:25
[INFO] [stdout] |
[INFO] [stdout] 143 | let mut input = INPUT::default();
[INFO] [stdout] | ^^^^^ use of undeclared type `INPUT`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find type `INPUT` in this scope
[INFO] [stdout] --> src/main.rs:148:25
[INFO] [stdout] |
[INFO] [stdout] 148 | let mut input = INPUT::default();
[INFO] [stdout] | ^^^^^ use of undeclared type `INPUT`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout] --> src/main.rs:154:19
[INFO] [stdout] |
[INFO] [stdout] 154 | let ret = SendInput(&inputs, std::mem::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 `GetAsyncKeyState` in this scope
[INFO] [stdout] --> src/main.rs:161:9
[INFO] [stdout] |
[INFO] [stdout] 161 | GetAsyncKeyState(vk_code.0 as i32) < 0
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CallNextHookEx` in this scope
[INFO] [stdout] --> src/main.rs:246:5
[INFO] [stdout] |
[INFO] [stdout] 246 | CallNextHookEx(None, code, w_param, l_param)
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HINSTANCE` in this scope
[INFO] [stdout] --> src/main.rs:322:24
[INFO] [stdout] |
[INFO] [stdout] 322 | let instance = HINSTANCE(GetModuleHandleA(None)?.0);
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowsHookExA` in this scope
[INFO] [stdout] --> src/main.rs:323:20
[INFO] [stdout] |
[INFO] [stdout] 323 | let hook = SetWindowsHookExA(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: cannot find type `MSG` in this scope
[INFO] [stdout] --> src/main.rs:335:23
[INFO] [stdout] |
[INFO] [stdout] 335 | let mut msg = MSG::default();
[INFO] [stdout] | ^^^ use of undeclared type `MSG`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageA` in this scope
[INFO] [stdout] --> src/main.rs:336:15
[INFO] [stdout] |
[INFO] [stdout] 336 | while GetMessageA(&mut msg, None, 0, 0).into() {
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stdout] --> src/main.rs:341:21
[INFO] [stdout] |
[INFO] [stdout] 341 | let _ = TranslateMessage(&msg);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageA` in this scope
[INFO] [stdout] --> src/main.rs:342:13
[INFO] [stdout] |
[INFO] [stdout] 342 | DispatchMessageA(&msg);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnhookWindowsHookEx` in this scope
[INFO] [stdout] --> src/main.rs:345:17
[INFO] [stdout] |
[INFO] [stdout] 345 | let _ = UnhookWindowsHookEx(hook.unwrap());
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `kana_power` (bin "kana_power") due to 44 previous errors
[INFO] running `Command { std: "docker" "inspect" "82ab52fa0e1d86e404e1ae558430ece269726497e943a2a9560cf55981d61a22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82ab52fa0e1d86e404e1ae558430ece269726497e943a2a9560cf55981d61a22", kill_on_drop: false }`
[INFO] [stdout] 82ab52fa0e1d86e404e1ae558430ece269726497e943a2a9560cf55981d61a22