[INFO] cloning repository https://github.com/foriequal0/tpmiddle-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/foriequal0/tpmiddle-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforiequal0%2Ftpmiddle-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforiequal0%2Ftpmiddle-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3905d31bd1074284fdcdda78e2555c5bdd508b4d [INFO] documenting foriequal0/tpmiddle-rs against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforiequal0%2Ftpmiddle-rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/foriequal0/tpmiddle-rs on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/source/rust-toolchain [INFO] started tweaking git repo https://github.com/foriequal0/tpmiddle-rs [INFO] finished tweaking git repo https://github.com/foriequal0/tpmiddle-rs [INFO] tweaked toml for git repo https://github.com/foriequal0/tpmiddle-rs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/foriequal0/tpmiddle-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded field-offset v0.3.2 [INFO] [stderr] Downloaded hidapi v1.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 286215ce808f75cef401d7d418502b73dbd586d44ec81096fca8e302ecb96ead [INFO] running `Command { std: "docker" "start" "-a" "286215ce808f75cef401d7d418502b73dbd586d44ec81096fca8e302ecb96ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "286215ce808f75cef401d7d418502b73dbd586d44ec81096fca8e302ecb96ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "286215ce808f75cef401d7d418502b73dbd586d44ec81096fca8e302ecb96ead", kill_on_drop: false }` [INFO] [stdout] 286215ce808f75cef401d7d418502b73dbd586d44ec81096fca8e302ecb96ead [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 99d1922dfb8fb4b4a94521349a977cf83c14490091799e4d03aeac709c1cf99d [INFO] running `Command { std: "docker" "start" "-a" "99d1922dfb8fb4b4a94521349a977cf83c14490091799e4d03aeac709c1cf99d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking os_str_bytes v2.3.2 [INFO] [stderr] Checking spin_sleep v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking slog-scope v4.3.0 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Compiling field-offset v0.3.2 [INFO] [stderr] Checking slog-stdlog v4.1.0 [INFO] [stderr] Checking as-slice v0.1.4 [INFO] [stderr] Compiling hidapi v1.2.3 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking slog-term v2.6.0 [INFO] [stderr] Checking slog-envlogger v2.2.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Checking thiserror v1.0.21 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Documenting tpmiddle-rs v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/bt_wheel_blocker.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::{DWORD, LPARAM, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/bt_wheel_blocker.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::ntdef::{HANDLE, NULL}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/bt_wheel_blocker.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/bt_wheel_blocker.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::sysinfoapi::GetTickCount; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/bt_wheel_blocker.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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] --> src/control.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/control.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::WHEEL_DELTA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `_core` in `winapi` [INFO] [stdout] --> src/hook.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::_core::marker::PhantomData; [INFO] [stdout] | ^^^^^ could not find `_core` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/bt_wheel_blocker.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hook.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::{DWORD, HMODULE, LPARAM, LRESULT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hook.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::ntdef::NULL; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hook.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::windef::HHOOK; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hook.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hook.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/hook.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::{DWORD, LPVOID, UINT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/input.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::ntdef::{HANDLE, NULL}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/input.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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] --> src/tpmiddle.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::{LPARAM, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/tpmiddle.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tpmiddle.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::{HRAWINPUT, MOUSEEVENTF_HWHEEL, MOUSEEVENTF_WHEEL, WM_INPUT}; [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] --> src/transport_agnostic_tpmiddle.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::{DWORD, LPARAM, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/transport_agnostic_tpmiddle.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::ntdef::HANDLE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/transport_agnostic_tpmiddle.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/transport_agnostic_tpmiddle.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winuser::{GIDC_ARRIVAL, GIDC_REMOVAL, WM_INPUT_DEVICE_CHANGE}; [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] --> src/window.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `_core` in `winapi` [INFO] [stdout] --> src/window.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::_core::marker::PhantomData; [INFO] [stdout] | ^^^^^ could not find `_core` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/input.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::basetsd::LONG_PTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::minwindef::{FALSE, LPARAM, LRESULT, TRUE, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::shared::ntdef::{LPCWSTR, NULL}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::wincon::GetConsoleWindow; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/window.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | 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 `um` in `winapi` [INFO] [stdout] --> src/util.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | / c_try_ne!( [INFO] [stdout] 101 | | -1i32 as _, [INFO] [stdout] 102 | | GetRawInputDeviceList(NULL as _, &mut num_devices, SIZE) [INFO] [stdout] 103 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try_ne_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / c_try_ne!( [INFO] [stdout] 106 | | -1i32 as _, [INFO] [stdout] 107 | | GetRawInputDeviceList(devices.as_mut_ptr(), &mut num_devices, SIZE) [INFO] [stdout] 108 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try_ne_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | / c_try_ne!( [INFO] [stdout] 120 | | -1i32 as _, [INFO] [stdout] 121 | | GetRawInputDeviceInfoW(device.hDevice, RIDI_DEVICENAME, NULL as _, &mut size) [INFO] [stdout] 122 | | )?; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try_ne_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | / c_try_ne!( [INFO] [stdout] 125 | | -1i32 as _, [INFO] [stdout] 126 | | GetRawInputDeviceInfoW( [INFO] [stdout] 127 | | device.hDevice, [INFO] [stdout] ... | [INFO] [stdout] 131 | | ) [INFO] [stdout] 132 | | )?; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try_ne_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | / c_try_ne!( [INFO] [stdout] 147 | | (-1i32) as UINT, [INFO] [stdout] 148 | | GetRawInputDeviceInfoW( [INFO] [stdout] 149 | | device_handle, [INFO] [stdout] ... | [INFO] [stdout] 153 | | ) [INFO] [stdout] 154 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try_ne_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use ::winapi::shared::minwindef::{BOOL, FALSE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | c_try!(PostMessageW(self.hwnd, WM_USER_QUIT, 0, 0)) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/bt_wheel_blocker.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | c_try!(PostMessageW(self.hwnd, WM_USER_QUIT, 0, 0)) [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | let hmod = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try_nonnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let hhook = c_try_nonnull!(SetWindowsHookExW(id_hook, lpfn, hmod, dw_thread_id))?; [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try_nonnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use ::winapi::shared::minwindef::{BOOL, FALSE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | c_try!(UnhookWindowsHookEx(self.hhook)).unwrap(); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/hook.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | c_try!(UnhookWindowsHookEx(self.hhook)).unwrap(); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/input.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | / c_try_ne!( [INFO] [stdout] 173 | | (-1i32) as UINT, [INFO] [stdout] 174 | | GetRawInputDeviceInfoW( [INFO] [stdout] 175 | | handle, [INFO] [stdout] ... | [INFO] [stdout] 179 | | ) [INFO] [stdout] 180 | | )?; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try_ne_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let hwnd = c_try_nonnull!(CreateWindowExW( [INFO] [stdout] | ____________________- [INFO] [stdout] 40 | | 0, [INFO] [stdout] 41 | | class.atom, [INFO] [stdout] 42 | | name.as_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 51 | | proc.as_mut() as *mut T as _, [INFO] [stdout] 52 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try_nonnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | if let Err(err) = c_try_nonnull!(SetWindowLongPtrW( [INFO] [stdout] | ___________________________- [INFO] [stdout] 55 | | hwnd, [INFO] [stdout] 56 | | 0, [INFO] [stdout] 57 | | proc.as_mut() as *mut T as LONG_PTR [INFO] [stdout] 58 | | )) { [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try_nonnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use ::winapi::shared::minwindef::{BOOL, FALSE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | c_try!(DestroyWindow(hwnd))?; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | c_try!(DestroyWindow(hwnd))?; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | let status = c_try_ne!(-1, GetMessageW(&mut message, self.hwnd, 0, 0))?; [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try_ne_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:167:27 [INFO] [stdout] | [INFO] [stdout] 167 | class.hInstance = c_try_nonnull!(GetModuleHandleW(NULL as _))?; [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try_nonnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:170:20 [INFO] [stdout] | [INFO] [stdout] 170 | let atom = c_try_nonnull!(RegisterClassExW(&class))?; [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try_nonnull` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use ::winapi::shared::minwindef::{BOOL, FALSE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | / c_try!(RegisterRawInputDevices( [INFO] [stdout] 222 | | devices.as_ptr(), [INFO] [stdout] 223 | | devices.len() as _, [INFO] [stdout] 224 | | std::mem::size_of::() as _ [INFO] [stdout] 225 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use ::winapi::um::errhandlingapi::{GetLastError, SetLastError}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/window.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | / c_try!(RegisterRawInputDevices( [INFO] [stdout] 222 | | devices.as_ptr(), [INFO] [stdout] 223 | | devices.len() as _, [INFO] [stdout] 224 | | std::mem::size_of::() as _ [INFO] [stdout] 225 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `c_try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/window.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::ctypes::wchar_t; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | target_device_handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:47:43 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn peek_message(&mut self, u_msg: UINT, l_param: LPARAM) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:47:58 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn peek_message(&mut self, u_msg: UINT, l_param: LPARAM) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUT` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:52:49 [INFO] [stdout] | [INFO] [stdout] 52 | const SIZE: usize = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:97:59 [INFO] [stdout] | [INFO] [stdout] 97 | fn get_target_device_handle(vid: u16, pid: u16) -> Result { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | const SIZE: UINT = std::mem::size_of::() as _; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICELIST` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:98:44 [INFO] [stdout] | [INFO] [stdout] 98 | const SIZE: UINT = std::mem::size_of::() as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:142:28 [INFO] [stdout] | [INFO] [stdout] 142 | fn is_mouse(device_handle: HANDLE) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | time: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:165:11 [INFO] [stdout] | [INFO] [stdout] 165 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:223:49 [INFO] [stdout] | [INFO] [stdout] 223 | fn proc(&mut self, _n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> HookProcResult { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:223:66 [INFO] [stdout] | [INFO] [stdout] 223 | fn proc(&mut self, _n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> HookProcResult { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:234:23 [INFO] [stdout] | [INFO] [stdout] 234 | const DAY_MS: DWORD = 1000 * 60 * 60 * 24; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:272:21 [INFO] [stdout] | [INFO] [stdout] 272 | const WM_USER_QUIT: UINT = WM_USER + 1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_USER` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:272:28 [INFO] [stdout] | [INFO] [stdout] 272 | const WM_USER_QUIT: UINT = WM_USER + 1; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:277:16 [INFO] [stdout] | [INFO] [stdout] 277 | _hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:278:16 [INFO] [stdout] | [INFO] [stdout] 278 | u_msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:279:19 [INFO] [stdout] | [INFO] [stdout] 279 | _w_param: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/bt_wheel_blocker.rs:280:19 [INFO] [stdout] | [INFO] [stdout] 280 | _l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | fn scroll(&self, event: DWORD, units: i8); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | fn scroll(&self, event: DWORD, delta: i8) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | fn scroll(&self, event: DWORD, delta: i8) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:214:25 [INFO] [stdout] | [INFO] [stdout] 214 | Scroll { event: DWORD, delta: i8 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | event: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:233:49 [INFO] [stdout] | [INFO] [stdout] 233 | fn feed(&mut self, now: Instant, event: DWORD, delta: i8) -> bool { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:362:16 [INFO] [stdout] | [INFO] [stdout] 362 | event: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/control.rs:363:21 [INFO] [stdout] | [INFO] [stdout] 363 | mouse_data: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/hook.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub type HookProcResult = Result; [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/hook.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | fn proc(&mut self, n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> HookProcResult; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/hook.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 22 | fn proc(&mut self, n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> HookProcResult; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/hook.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | _phantom: PhantomData, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/hook.rs:33:57 [INFO] [stdout] | [INFO] [stdout] 33 | extern "system" fn proc(n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/hook.rs:33:74 [INFO] [stdout] | [INFO] [stdout] 33 | extern "system" fn proc(n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/hook.rs:33:85 [INFO] [stdout] | [INFO] [stdout] 33 | extern "system" fn proc(n_code: c_int, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HHOOK` in this scope [INFO] [stdout] --> src/hook.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | hhook: HHOOK, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HOOKPROC` in this scope [INFO] [stdout] --> src/hook.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait HookProc { [INFO] [stdout] | ------------------ similarly named trait `HookProc` defined here [INFO] [stdout] ... [INFO] [stdout] 73 | fn new(id_hook: c_int, lpfn: HOOKPROC, hmod: HMODULE, dw_thread_id: DWORD) -> Result { [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `HookProc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/hook.rs:73:50 [INFO] [stdout] | [INFO] [stdout] 73 | fn new(id_hook: c_int, lpfn: HOOKPROC, hmod: HMODULE, dw_thread_id: DWORD) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/hook.rs:73:73 [INFO] [stdout] | [INFO] [stdout] 73 | fn new(id_hook: c_int, lpfn: HOOKPROC, hmod: HMODULE, dw_thread_id: DWORD) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HHOOK` in this scope [INFO] [stdout] --> src/hook.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | hhook: HHOOK, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HHOOK` in this scope [INFO] [stdout] --> src/hook.rs:124:36 [INFO] [stdout] | [INFO] [stdout] 124 | fn get_handle(mut self, hhook: HHOOK) -> HookProcHandle { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/input.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn send_click(button: DWORD) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/input.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn send_wheel(event: DWORD, mouse_data: DWORD) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/input.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn send_wheel(event: DWORD, mouse_data: DWORD) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUT` in this scope [INFO] [stdout] --> src/input.rs:73:49 [INFO] [stdout] | [INFO] [stdout] 73 | const SIZE: usize = std::mem::size_of::() + HEADROOM; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRAWINPUT` in this scope [INFO] [stdout] --> src/input.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | fn read_hid(&mut self, l_param: HRAWINPUT) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/input.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | const SIZE: UINT = std::mem::size_of::() as _; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTHEADER` in this scope [INFO] [stdout] --> src/input.rs:84:52 [INFO] [stdout] | [INFO] [stdout] 84 | const SIZE: UINT = std::mem::size_of::() as _; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRAWINPUT` in this scope [INFO] [stdout] --> src/input.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | l_param: HRAWINPUT, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO_HID` in this scope [INFO] [stdout] --> src/input.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl From<&RID_DEVICE_INFO_HID> for DeviceInfo { [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO_HID` in this scope [INFO] [stdout] --> src/input.rs:158:18 [INFO] [stdout] | [INFO] [stdout] 158 | fn from(di: &RID_DEVICE_INFO_HID) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/input.rs:168:36 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn get_hid_device_info(handle: HANDLE) -> Result> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWHID` in this scope [INFO] [stdout] --> src/input.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 190 | struct RawHID<'a> { [INFO] [stdout] | ----------------- similarly named struct `RawHID` defined here [INFO] [stdout] ... [INFO] [stdout] 195 | impl<'a> From<&'a RAWHID> for RawHID<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 195 | impl<'a> From<&'a RawHID> for RawHID<'a> { [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 195 | impl<'a, RAWHID> From<&'a RAWHID> for RawHID<'a> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWHID` in this scope [INFO] [stdout] --> src/input.rs:196:22 [INFO] [stdout] | [INFO] [stdout] 190 | struct RawHID<'a> { [INFO] [stdout] | ----------------- similarly named struct `RawHID` defined here [INFO] [stdout] ... [INFO] [stdout] 196 | fn from(hid: &'a RAWHID) -> Self { [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `RawHID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/tpmiddle.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | _hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/tpmiddle.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | u_msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/tpmiddle.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | _w_param: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/tpmiddle.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/transport_agnostic_tpmiddle.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct TransportAgnosticTPMiddle<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, HANDLE` [INFO] [stdout] ... [INFO] [stdout] 32 | devices: HashMap, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/transport_agnostic_tpmiddle.rs:113:15 [INFO] [stdout] | [INFO] [stdout] 113 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/transport_agnostic_tpmiddle.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | u_msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/transport_agnostic_tpmiddle.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | w_param: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/transport_agnostic_tpmiddle.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | pub hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/window.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | _phantom: PhantomData, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 33 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `, WPARAM` [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn run(self) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/window.rs:106:36 [INFO] [stdout] | [INFO] [stdout] 106 | pub type WindowProcResult = Result; [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/window.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | u_msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | w_param: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | fn window_proc_ptr_from_hwnd(hwnd: HWND) -> *mut T { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/window.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/window.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | u_msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/window.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | w_param: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/window.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | l_param: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/window.rs:130:6 [INFO] [stdout] | [INFO] [stdout] 130 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/window.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | class: WNDCLASSEXW, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/window.rs:155:11 [INFO] [stdout] | [INFO] [stdout] 155 | atom: LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PhantomData` in this scope [INFO] [stdout] --> src/window.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | _phantom: PhantomData, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWINPUTDEVICE` in this scope [INFO] [stdout] --> src/window.rs:189:19 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct Devices { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 189 | devices: Box<[RAWINPUTDEVICE]>, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 138 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `tpmiddle-rs` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name tpmiddle_rs src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=27ff0bf0094ac7e4 -L dependency=/opt/rustwide/target/debug/deps --extern aligned=/opt/rustwide/target/debug/deps/libaligned-e631cd400a723c25.rmeta --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-cac8b837a4a146f1.rmeta --extern clap=/opt/rustwide/target/debug/deps/libclap-51af18ae9c64ad11.rmeta --extern crossbeam_channel=/opt/rustwide/target/debug/deps/libcrossbeam_channel-0a80e0a50cefaf0b.rmeta --extern field_offset=/opt/rustwide/target/debug/deps/libfield_offset-9d7aee1f00db77c8.rmeta --extern hidapi=/opt/rustwide/target/debug/deps/libhidapi-a58ce14ccfbe473a.rmeta --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-1479f2b7adeaa2b6.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-2be53ef7d3962f41.rmeta --extern slog=/opt/rustwide/target/debug/deps/libslog-442bffb74dc8f91b.rmeta --extern slog_envlogger=/opt/rustwide/target/debug/deps/libslog_envlogger-5f2b976528e41e65.rmeta --extern slog_scope=/opt/rustwide/target/debug/deps/libslog_scope-fae78f7fa155dd3b.rmeta --extern slog_stdlog=/opt/rustwide/target/debug/deps/libslog_stdlog-c43b743634fef21e.rmeta --extern slog_term=/opt/rustwide/target/debug/deps/libslog_term-80b6f54128c84942.rmeta --extern spin_sleep=/opt/rustwide/target/debug/deps/libspin_sleep-f28be0b9eca91b19.rmeta --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-0f92a6b48b304cde.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-3dcaa1c982b92403.rmeta --cap-lints=warn --crate-version 0.1.3` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "99d1922dfb8fb4b4a94521349a977cf83c14490091799e4d03aeac709c1cf99d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99d1922dfb8fb4b4a94521349a977cf83c14490091799e4d03aeac709c1cf99d", kill_on_drop: false }` [INFO] [stdout] 99d1922dfb8fb4b4a94521349a977cf83c14490091799e4d03aeac709c1cf99d