[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] testing foriequal0/tpmiddle-rs against 1.69.0 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforiequal0%2Ftpmiddle-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/foriequal0/tpmiddle-rs on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-5-tc1/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-5-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded slog-stdlog v4.1.0
[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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5ab041e3d2a79ce46c46f9644b1307782e93437db0ba34ad2501328695be6824
[INFO] running `Command { std: "docker" "start" "-a" "5ab041e3d2a79ce46c46f9644b1307782e93437db0ba34ad2501328695be6824", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5ab041e3d2a79ce46c46f9644b1307782e93437db0ba34ad2501328695be6824", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ab041e3d2a79ce46c46f9644b1307782e93437db0ba34ad2501328695be6824", kill_on_drop: false }`
[INFO] [stdout] 5ab041e3d2a79ce46c46f9644b1307782e93437db0ba34ad2501328695be6824
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d3055e32bc8df2d5ad415c0ea71d66818acc7f4ee5377e1db797043429424532
[INFO] running `Command { std: "docker" "start" "-a" "d3055e32bc8df2d5ad415c0ea71d66818acc7f4ee5377e1db797043429424532", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling libc v0.2.79
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.42
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling slog v2.5.2
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling dirs-sys v0.3.5
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling dirs v2.0.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling arc-swap v0.4.7
[INFO] [stderr]    Compiling cc v1.0.60
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling slog-scope v4.3.0
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling aho-corasick v0.7.14
[INFO] [stderr]    Compiling field-offset v0.3.2
[INFO] [stderr]    Compiling crossbeam-channel v0.4.4
[INFO] [stderr]    Compiling term v0.6.1
[INFO] [stderr]    Compiling generic-array v0.13.2
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling hidapi v1.2.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling regex-syntax v0.6.20
[INFO] [stderr]    Compiling anyhow v1.0.32
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling textwrap v0.12.1
[INFO] [stderr]    Compiling as-slice v0.1.4
[INFO] [stderr]    Compiling slog-async v2.5.0
[INFO] [stderr]    Compiling slog-term v2.6.0
[INFO] [stderr]    Compiling slog-stdlog v4.1.0
[INFO] [stderr]    Compiling os_str_bytes v2.3.2
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling aligned v0.3.4
[INFO] [stderr]    Compiling spin_sleep v1.0.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.21
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.2
[INFO] [stderr]    Compiling regex v1.4.1
[INFO] [stderr]    Compiling thiserror v1.0.21
[INFO] [stderr]    Compiling slog-envlogger v2.2.0
[INFO] [stderr]    Compiling clap v3.0.0-beta.2
[INFO] [stderr]    Compiling 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` which comes from the expansion of the macro `c_try_ne` (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` which comes from the expansion of the macro `c_try_ne` (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` which comes from the expansion of the macro `c_try_ne` (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` which comes from the expansion of the macro `c_try_ne` (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` which comes from the expansion of the macro `c_try_ne` (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` which comes from the expansion of the macro `c_try_ne` (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` which comes from the expansion of the macro `c_try_ne` (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::<RAWINPUTDEVICE>() 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::<RAWINPUTDEVICE>() 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] note: erroneous constant used
[INFO] [stdout]   --> src/bt_wheel_blocker.rs:53:46
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let mut raw_buffer: Aligned<A8, [u8; SIZE]> = Aligned([0; SIZE]);
[INFO] [stdout]    |                                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] note: erroneous constant used
[INFO] [stdout]   --> src/bt_wheel_blocker.rs:53:67
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let mut raw_buffer: Aligned<A8, [u8; SIZE]> = Aligned([0; SIZE]);
[INFO] [stdout]    |                                                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `HOOKS` in the current scope
[INFO] [stdout]   --> src/hook.rs:34:35
[INFO] [stdout]    |
[INFO] [stdout] 34 |               let mut hooks = HOOKS.lock().unwrap();
[INFO] [stdout]    |                                     ^^^^ method not found in `HOOKS`
[INFO] [stdout] ...
[INFO] [stdout] 92 | / lazy_static! {
[INFO] [stdout] 93 | |     static ref HOOKS: Mutex<HashMap<c_int, RegisteredHookProc>> = Mutex::new(HashMap::new());
[INFO] [stdout] 94 | | }
[INFO] [stdout]    | |_- method `lock` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `HOOKS` in the current scope
[INFO] [stdout]    --> src/hook.rs:106:27
[INFO] [stdout]     |
[INFO] [stdout] 92  | / lazy_static! {
[INFO] [stdout] 93  | |     static ref HOOKS: Mutex<HashMap<c_int, RegisteredHookProc>> = Mutex::new(HashMap::new());
[INFO] [stdout] 94  | | }
[INFO] [stdout]     | |_- method `lock` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 106 |       let mut hooks = HOOKS.lock().unwrap();
[INFO] [stdout]     |                             ^^^^ method not found in `HOOKS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `HOOKS` in the current scope
[INFO] [stdout]    --> src/hook.rs:138:31
[INFO] [stdout]     |
[INFO] [stdout] 92  | / lazy_static! {
[INFO] [stdout] 93  | |     static ref HOOKS: Mutex<HashMap<c_int, RegisteredHookProc>> = Mutex::new(HashMap::new());
[INFO] [stdout] 94  | | }
[INFO] [stdout]     | |_- method `lock` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 138 |           let mut hooks = HOOKS.lock().unwrap();
[INFO] [stdout]     |                                 ^^^^ method not found in `HOOKS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/window.rs:38:51
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let name: Vec<wchar_t> = OsStr::new(name).encode_wide().chain(once(0)).collect();
[INFO] [stdout]    |                                                   ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/window.rs:161:51
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let name: Vec<wchar_t> = OsStr::new(name).encode_wide().chain(once(0)).collect();
[INFO] [stdout]     |                                                   ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Iterator`
[INFO] [stdout]  --> src/window.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter::{once, Iterator};
[INFO] [stdout]   |                       ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 62 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tpmiddle-rs` due to 63 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "d3055e32bc8df2d5ad415c0ea71d66818acc7f4ee5377e1db797043429424532", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3055e32bc8df2d5ad415c0ea71d66818acc7f4ee5377e1db797043429424532", kill_on_drop: false }`
[INFO] [stdout] d3055e32bc8df2d5ad415c0ea71d66818acc7f4ee5377e1db797043429424532
