[INFO] cloning repository https://github.com/glenmurphy/superhat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/glenmurphy/superhat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglenmurphy%2Fsuperhat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglenmurphy%2Fsuperhat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd0aba00bdab47fc7ebfc7f3e60a8730fdb99898 [INFO] checking glenmurphy/superhat against master#cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9 for pr-136968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglenmurphy%2Fsuperhat" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/glenmurphy/superhat on toolchain cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/glenmurphy/superhat [INFO] finished tweaking git repo https://github.com/glenmurphy/superhat [INFO] tweaked toml for git repo https://github.com/glenmurphy/superhat written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/glenmurphy/superhat 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" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/glenmurphy/winky/` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45032caa6c3b91f4b4113ee871920cdaaf0e525f758689f4362c2e24af2eb1ec [INFO] running `Command { std: "docker" "start" "-a" "45032caa6c3b91f4b4113ee871920cdaaf0e525f758689f4362c2e24af2eb1ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45032caa6c3b91f4b4113ee871920cdaaf0e525f758689f4362c2e24af2eb1ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45032caa6c3b91f4b4113ee871920cdaaf0e525f758689f4362c2e24af2eb1ec", kill_on_drop: false }` [INFO] [stdout] 45032caa6c3b91f4b4113ee871920cdaaf0e525f758689f4362c2e24af2eb1ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8472c070c8059a0681bbd7f4c0f43a41d0d874a4fa119d225f67a32ad295c0b7 [INFO] running `Command { std: "docker" "start" "-a" "8472c070c8059a0681bbd7f4c0f43a41d0d874a4fa119d225f67a32ad295c0b7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling gilrs v0.10.10 [INFO] [stderr] Checking windows-targets v0.48.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking windows v0.48.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking gilrs-core v0.5.15 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking winky v0.1.0 (https://github.com/glenmurphy/winky/#7aeec61b) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::{LPVOID, WPARAM, LPARAM, LRESULT, DWORD}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | shared::windef::*, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | um::winuser::*, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::Event`, `crate::Button` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{Event, Button}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `RI_KEY_BREAK` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | RI_KEY_MAKE | RI_KEY_BREAK => { [INFO] [stdout] | ^^^^^^^^^^^ ------------ variable not in all patterns [INFO] [stdout] | | [INFO] [stdout] | pattern doesn't bind `RI_KEY_BREAK` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::RI_KEY_BREAK` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:129:27 [INFO] [stdout] | [INFO] [stdout] 129 | RI_KEY_MAKE | RI_KEY_BREAK => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `RI_KEY_MAKE` is not bound in all patterns [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:129:27 [INFO] [stdout] | [INFO] [stdout] 129 | RI_KEY_MAKE | RI_KEY_BREAK => { [INFO] [stdout] | ----------- ^^^^^^^^^^^^ pattern doesn't bind `RI_KEY_MAKE` [INFO] [stdout] | | [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::RI_KEY_MAKE` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | RI_KEY_MAKE | RI_KEY_BREAK => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:183:58 [INFO] [stdout] | [INFO] [stdout] 183 | &mut raw_input as *mut _ as *mut winapi::ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:252:30 [INFO] [stdout] | [INFO] [stdout] 252 | dx: x as winapi::shared::ntdef::LONG, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:253:30 [INFO] [stdout] | [INFO] [stdout] 253 | dy: y as winapi::shared::ntdef::LONG, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | fn create_window() -> HWND { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let win = WNDCLASSW { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_EX_CLIENTEDGE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | WS_EX_CLIENTEDGE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | WS_OVERLAPPEDWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | fn attach(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | let mouse = RAWINPUTDEVICE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIDEV_INPUTSINK` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | dwFlags: RIDEV_INPUTSINK, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | let keyboard = RAWINPUTDEVICE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIDEV_INPUTSINK` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | dwFlags: RIDEV_INPUTSINK, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:78:88 [INFO] [stdout] | [INFO] [stdout] 78 | RegisterRawInputDevices(vec![mouse, keyboard].as_ptr(), 2, std::mem::size_of::() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | fn attach(hwnd: HWND) { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICELIST` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | fn get_device_name(device: RAWINPUTDEVICELIST) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RIDI_DEVICENAME` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:91:60 [INFO] [stdout] | [INFO] [stdout] 91 | let bytes = GetRawInputDeviceInfoW(device.hDevice, RIDI_DEVICENAME, name.as_mut_ptr() as LPVOID, &mut name_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICELIST` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | let mut buffer: [RAWINPUTDEVICELIST; 1000] = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICELIST` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:108:52 [INFO] [stdout] | [INFO] [stdout] 108 | let device_list_size = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 104 | fn get_devices() { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICELIST` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:113:59 [INFO] [stdout] | [INFO] [stdout] 113 | GetRawInputDeviceList(buffer.as_mut_ptr() as *mut RAWINPUTDEVICELIST, &mut num_devices, device_list_size as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICELIST` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:116:79 [INFO] [stdout] | [INFO] [stdout] 116 | let device_ptr = (&mut buffer[pos..pos+1]).as_mut_ptr() as *const RAWINPUTDEVICELIST; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 123 | fn handle_key(raw_input: &RAWINPUT) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | fn handle_mouse(raw_input: &RAWINPUT) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 170 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:177:55 [INFO] [stdout] | [INFO] [stdout] 177 | let mut dwsize: u32 = std::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 169 | unsafe extern "system" fn wnd_proc( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:178:32 [INFO] [stdout] | [INFO] [stdout] 178 | let mut raw_input: RAWINPUT = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RID_INPUT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | RID_INPUT, [INFO] [stdout] | ^^^^^^^^^ help: a local variable with a similar name exists: `WM_INPUT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTHEADER` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:185:37 [INFO] [stdout] | [INFO] [stdout] 185 | std::mem::size_of::() as u32 [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 169 | unsafe extern "system" fn wnd_proc( [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | fn message_loop(hwnd: HWND) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MSG` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | let mut msg = MSG { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:206:14 [INFO] [stdout] | [INFO] [stdout] 206 | pt : POINT { x: 0, y: 0, }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:209:45 [INFO] [stdout] | [INFO] [stdout] 209 | while GetMessageW(&mut msg, hwnd as HWND, WM_INPUT, WM_INPUT) == 1 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_INPUT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:209:51 [INFO] [stdout] | [INFO] [stdout] 209 | while GetMessageW(&mut msg, hwnd as HWND, WM_INPUT, WM_INPUT) == 1 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_INPUT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:209:61 [INFO] [stdout] | [INFO] [stdout] 209 | while GetMessageW(&mut msg, hwnd as HWND, WM_INPUT, WM_INPUT) == 1 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT_u` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | let mut input_u: INPUT_u = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_SCANCODE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | let mut flags = KEYEVENTF_SCANCODE; [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] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:201:18 [INFO] [stdout] | [INFO] [stdout] 201 | flags |= KEYEVENTF_KEYUP [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_EXTENDEDKEY` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:204:18 [INFO] [stdout] | [INFO] [stdout] 204 | flags |= KEYEVENTF_EXTENDEDKEY; [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] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | *input_u.ki_mut() = 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] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:217:21 [INFO] [stdout] | [INFO] [stdout] 217 | let mut input = 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] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 218 | type_: INPUT_KEYBOARD, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:221:38 [INFO] [stdout] | [INFO] [stdout] 221 | let ipsize = 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] 196 | fn send_key(key: Key, down: bool) -> Result<(), Error> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT_u` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:229:22 [INFO] [stdout] | [INFO] [stdout] 229 | let mut input_u: INPUT_u = unsafe { std::mem::zeroed() }; [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] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:233:35 [INFO] [stdout] | [INFO] [stdout] 233 | Button::Left => if down { MOUSEEVENTF_LEFTDOWN } else { MOUSEEVENTF_LEFTUP }, [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] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:233:65 [INFO] [stdout] | [INFO] [stdout] 233 | Button::Left => if down { MOUSEEVENTF_LEFTDOWN } else { MOUSEEVENTF_LEFTUP }, [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] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:234:36 [INFO] [stdout] | [INFO] [stdout] 234 | Button::Right => if down { MOUSEEVENTF_RIGHTDOWN } else { MOUSEEVENTF_RIGHTUP }, [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] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:234:67 [INFO] [stdout] | [INFO] [stdout] 234 | Button::Right => if down { MOUSEEVENTF_RIGHTDOWN } else { MOUSEEVENTF_RIGHTUP }, [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] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:235:37 [INFO] [stdout] | [INFO] [stdout] 235 | Button::Middle => if down { MOUSEEVENTF_MIDDLEDOWN } else { MOUSEEVENTF_MIDDLEUP }, [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] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:235:69 [INFO] [stdout] | [INFO] [stdout] 235 | Button::Middle => if down { MOUSEEVENTF_MIDDLEDOWN } else { MOUSEEVENTF_MIDDLEUP }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHEEL_DELTA` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:237:26 [INFO] [stdout] | [INFO] [stdout] 237 | mouse_data = WHEEL_DELTA; [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] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | MOUSEEVENTF_WHEEL [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHEEL_DELTA` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:241:27 [INFO] [stdout] | [INFO] [stdout] 241 | mouse_data = -WHEEL_DELTA; [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] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | MOUSEEVENTF_WHEEL [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] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:247:18 [INFO] [stdout] | [INFO] [stdout] 247 | flags |= MOUSEEVENTF_MOVE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:251:29 [INFO] [stdout] | [INFO] [stdout] 251 | *input_u.mi_mut() = MOUSEINPUT { [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] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | let mut input = INPUT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INPUT_MOUSE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:262:16 [INFO] [stdout] | [INFO] [stdout] 262 | type_: INPUT_MOUSE, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:265:38 [INFO] [stdout] | [INFO] [stdout] 265 | let ipsize = 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] 228 | fn send_mouse(x: i32, y: i32, button: Button, down: bool) -> Result<(), Error> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | assert!(RegisterClassW(&win) != 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | let hwnd = CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterRawInputDevices` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | RegisterRawInputDevices(vec![mouse, keyboard].as_ptr(), 2, std::mem::size_of::() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceInfoW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | let bytes = GetRawInputDeviceInfoW(device.hDevice, RIDI_DEVICENAME, name.as_mut_ptr() as LPVOID, &mut name_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | let full_name = match OsString::from_wide(name_slice).into_string(){ [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9/library/std/src/ffi/os_str.rs:140:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 94 - let full_name = match OsString::from_wide(name_slice).into_string(){ [INFO] [stdout] 94 + let full_name = match OsString::from_iter(name_slice).into_string(){ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceList` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | GetRawInputDeviceList(ptr::null_mut(), &mut num_devices, device_list_size as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputDeviceList` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | GetRawInputDeviceList(buffer.as_mut_ptr() as *mut RAWINPUTDEVICELIST, &mut num_devices, device_list_size as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetRawInputData` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | GetRawInputData( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:195:14 [INFO] [stdout] | [INFO] [stdout] 195 | _ => DefWindowProcW(hwnd, msg, 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 `GetMessageW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:209:15 [INFO] [stdout] | [INFO] [stdout] 209 | while GetMessageW(&mut msg, hwnd as HWND, WM_INPUT, WM_INPUT) == 1 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseWindow` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/listener.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | CloseWindow(hwnd); [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] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | SendInput(1, &mut input, ipsize); [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] --> /opt/rustwide/cargo-home/git/checkouts/winky-fc6b2d8879bf177c/7aeec61/src/lib.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | SendInput(1, &mut input, ipsize); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winky` (lib) due to 83 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8472c070c8059a0681bbd7f4c0f43a41d0d874a4fa119d225f67a32ad295c0b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8472c070c8059a0681bbd7f4c0f43a41d0d874a4fa119d225f67a32ad295c0b7", kill_on_drop: false }` [INFO] [stdout] 8472c070c8059a0681bbd7f4c0f43a41d0d874a4fa119d225f67a32ad295c0b7