[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] 024a93e0ef3b29cc7d7f0f21047b53d12e389620
[INFO] documenting foriequal0/tpmiddle-rs against 1.47.0 for beta-1.48-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforiequal0%2Ftpmiddle-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/foriequal0/tpmiddle-rs on toolchain 1.47.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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-2/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.47.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1a5ebde24d02c538c98a8e3e94f4b6bbec94b072e5dbeb71e86b8880e280283f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1a5ebde24d02c538c98a8e3e94f4b6bbec94b072e5dbeb71e86b8880e280283f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1a5ebde24d02c538c98a8e3e94f4b6bbec94b072e5dbeb71e86b8880e280283f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a5ebde24d02c538c98a8e3e94f4b6bbec94b072e5dbeb71e86b8880e280283f", kill_on_drop: false }`
[INFO] [stdout] 1a5ebde24d02c538c98a8e3e94f4b6bbec94b072e5dbeb71e86b8880e280283f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.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] 5247783509fb09eaeaebaade7e487b119e132125d056357352994cb57e76ed15
[INFO] running `Command { std: "docker" "start" "-a" "5247783509fb09eaeaebaade7e487b119e132125d056357352994cb57e76ed15", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.42
[INFO] [stderr]    Compiling cc v1.0.60
[INFO] [stderr]    Compiling anyhow v1.0.32
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking os_str_bytes v2.3.2
[INFO] [stderr]     Checking spin_sleep v1.0.0
[INFO] [stderr]     Checking textwrap v0.12.1
[INFO] [stderr]     Checking generic-array v0.13.2
[INFO] [stderr]    Compiling field-offset v0.3.2
[INFO] [stderr]     Checking as-slice v0.1.4
[INFO] [stderr]     Checking aligned v0.3.4
[INFO] [stderr]    Compiling hidapi v1.2.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.2
[INFO] [stderr]     Checking clap v3.0.0-beta.2
[INFO] [stderr]  Documenting tpmiddle-rs v0.1.1 (/opt/rustwide/workdir)
[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 `shared` in `winapi`
[INFO] [stdout]  --> src/input.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::shared::ntdef::USHORT;
[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:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::winuser::{
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/window.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | 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:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | 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:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::minwindef::{FALSE, HINSTANCE, INT, 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:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::shared::ntdef::{LPCWSTR, LPWSTR, NULL, USHORT};
[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:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::shared::windef::{HMENU, 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:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | 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:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::shared::minwindef::{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/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | 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/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::um::processthreadsapi::{GetCurrentProcess, SetPriorityClass};
[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/main.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::um::winbase::HIGH_PRIORITY_CLASS;
[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/main.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | 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:26:27
[INFO] [stdout]    |
[INFO] [stdout] 26 |               use ::winapi::um::errhandlingapi::{GetLastError, SetLastError};
[INFO] [stdout]    |                             ^^ could not find `um` in `winapi`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: src/window.rs:30:20
[INFO] [stdout]    |
[INFO] [stdout] 30 |           let hwnd = c_try_nonnull!(CreateWindowExW(
[INFO] [stdout]    |  ____________________-
[INFO] [stdout] 31 | |             0,
[INFO] [stdout] 32 | |             class.atom,
[INFO] [stdout] 33 | |             NULL as LPCWSTR,
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |             NULL,
[INFO] [stdout] 43 | |         ));
[INFO] [stdout]    | |__________- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (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:26:27
[INFO] [stdout]    |
[INFO] [stdout] 26 |             use ::winapi::um::errhandlingapi::{GetLastError, SetLastError};
[INFO] [stdout]    |                           ^^ could not find `um` in `winapi`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: src/window.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         c_try_nonnull!(SetWindowLongPtrW(hwnd, 0, proc.as_mut() as *mut T as isize));
[INFO] [stdout]    |         ----------------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (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:26:27
[INFO] [stdout]     |
[INFO] [stdout] 26  |             use ::winapi::um::errhandlingapi::{GetLastError, SetLastError};
[INFO] [stdout]     |                           ^^ could not find `um` in `winapi`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/window.rs:117:27
[INFO] [stdout]     |
[INFO] [stdout] 117 |         class.hInstance = c_try_nonnull!(GetModuleHandleW(NULL as LPWSTR));
[INFO] [stdout]     |                           ------------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (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:26:27
[INFO] [stdout]     |
[INFO] [stdout] 26  |             use ::winapi::um::errhandlingapi::{GetLastError, SetLastError};
[INFO] [stdout]     |                           ^^ could not find `um` in `winapi`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/window.rs:120:20
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let atom = c_try_nonnull!(RegisterClassExW(&class));
[INFO] [stdout]     |                    ---------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (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:6:27
[INFO] [stdout]     |
[INFO] [stdout] 6   |               use ::winapi::shared::minwindef::{BOOL, FALSE};
[INFO] [stdout]     |                             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/window.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 | /         c_try!(RegisterRawInputDevices(
[INFO] [stdout] 155 | |             devices.as_ptr(),
[INFO] [stdout] 156 | |             devices.len() as UINT,
[INFO] [stdout] 157 | |             std::mem::size_of::<RAWINPUTDEVICE>() as UINT
[INFO] [stdout] 158 | |         ));
[INFO] [stdout]     | |___________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (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:7:27
[INFO] [stdout]     |
[INFO] [stdout] 7   |               use ::winapi::um::errhandlingapi::{GetLastError, SetLastError};
[INFO] [stdout]     |                             ^^ could not find `um` in `winapi`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/window.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 | /         c_try!(RegisterRawInputDevices(
[INFO] [stdout] 155 | |             devices.as_ptr(),
[INFO] [stdout] 156 | |             devices.len() as UINT,
[INFO] [stdout] 157 | |             std::mem::size_of::<RAWINPUTDEVICE>() as UINT
[INFO] [stdout] 158 | |         ));
[INFO] [stdout]     | |___________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (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:6:27
[INFO] [stdout]     |
[INFO] [stdout] 6   |             use ::winapi::shared::minwindef::{BOOL, FALSE};
[INFO] [stdout]     |                           ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/main.rs:129:5
[INFO] [stdout]     |
[INFO] [stdout] 129 |     c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS));
[INFO] [stdout]     |     ------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (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:7:27
[INFO] [stdout]     |
[INFO] [stdout] 7   |             use ::winapi::um::errhandlingapi::{GetLastError, SetLastError};
[INFO] [stdout]     |                           ^^ could not find `um` in `winapi`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/main.rs:129:5
[INFO] [stdout]     |
[INFO] [stdout] 129 |     c_try!(SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS));
[INFO] [stdout]     |     ------------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (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:44:23
[INFO] [stdout]     |
[INFO] [stdout] 44  |         use ::winapi::um::errhandlingapi::{GetLastError, SetLastError};
[INFO] [stdout]     |                       ^^ could not find `um` in `winapi`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/main.rs:139:26
[INFO] [stdout]     |
[INFO] [stdout] 139 |             let status = c_try_ne!(-1, GetMessageW(&mut message, NULL as HWND, 0, 0));
[INFO] [stdout]     |                          ------------------------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in a macro (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:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::ctypes::wchar_t;
[INFO] [stdout]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/control.rs:36:29
[INFO] [stdout]    |
[INFO] [stdout] 36 |     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:46:33
[INFO] [stdout]    |
[INFO] [stdout] 46 |         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:120:33
[INFO] [stdout]     |
[INFO] [stdout] 120 |         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:213:25
[INFO] [stdout]     |
[INFO] [stdout] 213 |         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:220:20
[INFO] [stdout]     |
[INFO] [stdout] 220 |             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:232:49
[INFO] [stdout]     |
[INFO] [stdout] 232 |         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:361:16
[INFO] [stdout]     |
[INFO] [stdout] 361 |         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:362:21
[INFO] [stdout]     |
[INFO] [stdout] 362 |         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:11:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const VID_DEVICE: DWORD = 0x17EF;
[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:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const PID_USB: DWORD = 0x60EE;
[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:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const PID_BT: DWORD = 0x60E1;
[INFO] [stdout]    |                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `USHORT` in this scope
[INFO] [stdout]   --> src/input.rs:15:25
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub const USAGE_PAGES: [USHORT; 3] = [0xFF00, 0xFF10, 0xFFA0];
[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:17:27
[INFO] [stdout]    |
[INFO] [stdout] 17 | 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:46:26
[INFO] [stdout]    |
[INFO] [stdout] 46 | 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:46:45
[INFO] [stdout]    |
[INFO] [stdout] 46 | 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 `HRAWINPUT` in this scope
[INFO] [stdout]   --> src/input.rs:79:43
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub(crate) fn from_raw_input(l_param: HRAWINPUT) -> Result<Self, ()> {
[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:80:49
[INFO] [stdout]    |
[INFO] [stdout] 80 |         const SIZE: usize = std::mem::size_of::<RAWINPUT>() + 9;
[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:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 |     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:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 |     _phantom: PhantomData<T>,
[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 `UINT` in this scope
[INFO] [stdout]   --> src/window.rs:80:31
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn proc(&mut self, u_msg: UINT, 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 `WPARAM` in this scope
[INFO] [stdout]   --> src/window.rs:80:46
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn proc(&mut self, u_msg: UINT, 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/window.rs:80:63
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn proc(&mut self, u_msg: UINT, 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/window.rs:80:74
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn proc(&mut self, u_msg: UINT, 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 `HWND` in this scope
[INFO] [stdout]   --> src/window.rs:83:39
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn window_proc_ptr_from_hwnd<T>(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:91:11
[INFO] [stdout]    |
[INFO] [stdout] 91 |     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:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 |     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:93:14
[INFO] [stdout]    |
[INFO] [stdout] 93 |     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:94:14
[INFO] [stdout]    |
[INFO] [stdout] 94 |     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:95:6
[INFO] [stdout]    |
[INFO] [stdout] 95 | ) -> 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:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 |     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:102:11
[INFO] [stdout]     |
[INFO] [stdout] 102 |     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:103:15
[INFO] [stdout]     |
[INFO] [stdout] 103 |     _phantom: PhantomData<T>,
[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:139:19
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub struct Devices {
[INFO] [stdout]     |                   - help: you might be missing a type parameter: `<RAWINPUTDEVICE>`
[INFO] [stdout] 139 |     devices: Box<[RAWINPUTDEVICE]>,
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `USHORT` in this scope
[INFO] [stdout]    --> src/window.rs:143:54
[INFO] [stdout]     |
[INFO] [stdout] 143 |     pub fn new<T>(window: &Window<T>, usage_pages: &[USHORT]) -> Result<Self> {
[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/main.rs:49:31
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn proc(&mut self, u_msg: UINT, _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 `WPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:49:47
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn proc(&mut self, u_msg: UINT, _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/main.rs:49:64
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn proc(&mut self, u_msg: UINT, _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/main.rs:49:75
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn proc(&mut self, u_msg: UINT, _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 `WPARAM` in this scope
[INFO] [stdout]    --> src/main.rs:120:25
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn try_main() -> Result<WPARAM> {
[INFO] [stdout]     |            -            ^^^^^^ not found in this scope
[INFO] [stdout]     |            |
[INFO] [stdout]     |            help: you might be missing a type parameter: `<WPARAM>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 71 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, 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 bin --crate-name tpmiddle_rs src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern aligned=/opt/rustwide/target/debug/deps/libaligned-649e0319ba738813.rmeta --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-939bb92c8d96bb88.rmeta --extern clap=/opt/rustwide/target/debug/deps/libclap-c3dc2bc15bc9a5e1.rmeta --extern crossbeam_channel=/opt/rustwide/target/debug/deps/libcrossbeam_channel-70ab6c11dfb5dbe1.rmeta --extern field_offset=/opt/rustwide/target/debug/deps/libfield_offset-d68b84d386348bf8.rmeta --extern hidapi=/opt/rustwide/target/debug/deps/libhidapi-2e6b217f2109596f.rmeta --extern spin_sleep=/opt/rustwide/target/debug/deps/libspin_sleep-3e478231cf88b142.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-54e7b175515f717e.rmeta --cap-lints=warn --crate-version 0.1.1` (exit code: 1)
[INFO] running `Command { std: "docker" "inspect" "5247783509fb09eaeaebaade7e487b119e132125d056357352994cb57e76ed15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5247783509fb09eaeaebaade7e487b119e132125d056357352994cb57e76ed15", kill_on_drop: false }`
[INFO] [stdout] 5247783509fb09eaeaebaade7e487b119e132125d056357352994cb57e76ed15
