[INFO] fetching crate wintrap 0.3.1... [INFO] documenting wintrap-0.3.1 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate wintrap 0.3.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate wintrap 0.3.1 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] started tweaking crates.io crate wintrap 0.3.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate wintrap 0.3.1 [INFO] tweaked toml for crates.io crate wintrap 0.3.1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate crates.io crate wintrap 0.3.1 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 7272c26ae646b1b01001aec1fb90d67c46906e0085f0552bf6c5c2b499eafd57 [INFO] running `Command { std: "docker" "start" "-a" "7272c26ae646b1b01001aec1fb90d67c46906e0085f0552bf6c5c2b499eafd57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7272c26ae646b1b01001aec1fb90d67c46906e0085f0552bf6c5c2b499eafd57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7272c26ae646b1b01001aec1fb90d67c46906e0085f0552bf6c5c2b499eafd57", kill_on_drop: false }` [INFO] [stdout] 7272c26ae646b1b01001aec1fb90d67c46906e0085f0552bf6c5c2b499eafd57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 33f7cef25c97ad425eb0b6455efae028b3c545a55993d5729cb47f3b4caf5d5b [INFO] running `Command { std: "docker" "start" "-a" "33f7cef25c97ad425eb0b6455efae028b3c545a55993d5729cb47f3b4caf5d5b", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Documenting wintrap v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/windows.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/windows.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::{ [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/windows.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::ntdef::{LANG_NEUTRAL, LPCWSTR, LPWSTR, MAKELANGID, SUBLANG_DEFAULT}; [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/windows.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/windows.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::consoleapi::SetConsoleCtrlHandler; [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/windows.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::errhandlingapi::GetLastError; [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/windows.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | 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/windows.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::processthreadsapi::GetCurrentThreadId; [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/windows.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winbase::{ [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/windows.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | 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/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | use winapi::shared::minwindef::{BOOL, DWORD, 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/lib.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | 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/lib.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | use winapi::um::wincon::{CTRL_BREAK_EVENT, CTRL_CLOSE_EVENT, CTRL_C_EVENT}; [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/lib.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | use winapi::um::winuser::{DefWindowProcW, WM_CLOSE, WM_QUIT}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn get_last_error() -> 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/windows.rs:38:58 [INFO] [stdout] | [INFO] [stdout] 38 | handler_routine: unsafe extern "system" fn(CtrlType: DWORD) -> BOOL, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/windows.rs:38:68 [INFO] [stdout] | [INFO] [stdout] 38 | handler_routine: unsafe extern "system" fn(CtrlType: DWORD) -> BOOL, [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn set_console_ctrl_handler( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 40 | ) -> Result<(), DWORD> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/windows.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_module_handle() -> 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 `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:50:47 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_module_handle() -> 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/windows.rs:59:71 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn register_window_message(identifier: impl AsRef) -> 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 `DWORD` in this scope [INFO] [stdout] --> src/windows.rs:59:77 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn register_window_message(identifier: impl AsRef) -> 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/windows.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | 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/windows.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | wparam: 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/windows.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | lparam: 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/windows.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn post_thread_message( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 77 | ) -> Result<(), DWORD> { [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/windows.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | 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/windows.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | wparam: 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/windows.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | lparam: 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/windows.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn post_message( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 91 | ) -> Result<(), 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/windows.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn get_current_thread_id() -> 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/windows.rs:104:53 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn enum_windows(proc: unsafe extern "system" fn(HWND, LPARAM) -> BOOL, lparam: LPARAM) -> bool { [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/windows.rs:104:59 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn enum_windows(proc: unsafe extern "system" fn(HWND, LPARAM) -> BOOL, lparam: LPARAM) -> bool { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/windows.rs:104:70 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn enum_windows(proc: unsafe extern "system" fn(HWND, LPARAM) -> BOOL, lparam: LPARAM) -> bool { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/windows.rs:104:84 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn enum_windows(proc: unsafe extern "system" fn(HWND, LPARAM) -> BOOL, lparam: LPARAM) -> bool { [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/windows.rs:108:43 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn get_window_thread_process_id(hwnd: HWND) -> (DWORD, 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/windows.rs:108:53 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn get_window_thread_process_id(hwnd: HWND) -> (DWORD, 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/windows.rs:108:60 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn get_window_thread_process_id(hwnd: HWND) -> (DWORD, 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/windows.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn format_error(code: 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/windows.rs:116:52 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn format_error(code: DWORD) -> 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/windows.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | pub hwnd: HWND, [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/windows.rs:152:41 [INFO] [stdout] | [INFO] [stdout] 152 | proc: unsafe extern "system" fn(HWND, UINT, WPARAM, LPARAM) -> LRESULT, [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/windows.rs:152:47 [INFO] [stdout] | [INFO] [stdout] 152 | proc: unsafe extern "system" fn(HWND, UINT, WPARAM, 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/windows.rs:152:53 [INFO] [stdout] | [INFO] [stdout] 152 | proc: unsafe extern "system" fn(HWND, UINT, WPARAM, 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/windows.rs:152:61 [INFO] [stdout] | [INFO] [stdout] 152 | proc: unsafe extern "system" fn(HWND, UINT, WPARAM, 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/windows.rs:152:72 [INFO] [stdout] | [INFO] [stdout] 152 | proc: unsafe extern "system" fn(HWND, UINT, WPARAM, LPARAM) -> LRESULT, [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/windows.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 150 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 153 | ) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/windows.rs:179:59 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn run_event_loop(&mut self, message_cb: impl Fn(&MSG)) -> 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/windows.rs:179:80 [INFO] [stdout] | [INFO] [stdout] 150 | impl Window { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn run_event_loop(&mut self, message_cb: impl Fn(&MSG)) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ATOM` in this scope [INFO] [stdout] --> src/windows.rs:209:15 [INFO] [stdout] | [INFO] [stdout] 209 | wndclass: ATOM, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/windows.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | instance: HINSTANCE, [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/windows.rs:215:41 [INFO] [stdout] | [INFO] [stdout] 215 | proc: unsafe extern "system" fn(HWND, UINT, WPARAM, LPARAM) -> LRESULT, [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/windows.rs:215:47 [INFO] [stdout] | [INFO] [stdout] 215 | proc: unsafe extern "system" fn(HWND, UINT, WPARAM, 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/windows.rs:215:53 [INFO] [stdout] | [INFO] [stdout] 215 | proc: unsafe extern "system" fn(HWND, UINT, WPARAM, 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/windows.rs:215:61 [INFO] [stdout] | [INFO] [stdout] 215 | proc: unsafe extern "system" fn(HWND, UINT, WPARAM, 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/windows.rs:215:72 [INFO] [stdout] | [INFO] [stdout] 215 | proc: unsafe extern "system" fn(HWND, UINT, WPARAM, LPARAM) -> LRESULT, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/windows.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 216 | instance: HMODULE, [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/windows.rs:217:30 [INFO] [stdout] | [INFO] [stdout] 213 | impl WindowClass { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 217 | ) -> Result { [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/windows.rs:249:15 [INFO] [stdout] | [INFO] [stdout] 249 | pub hwnd: HWND, [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/lib.rs:98:39 [INFO] [stdout] | [INFO] [stdout] 98 | fn from_console_ctrl_event(event: DWORD) -> Option { [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/lib.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 107 | fn from_window_message(msg: UINT, wparam: WPARAM, _lparam: LPARAM) -> Option { [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/lib.rs:107:47 [INFO] [stdout] | [INFO] [stdout] 107 | fn from_window_message(msg: UINT, wparam: WPARAM, _lparam: LPARAM) -> Option { [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/lib.rs:107:64 [INFO] [stdout] | [INFO] [stdout] 107 | fn from_window_message(msg: UINT, wparam: WPARAM, _lparam: LPARAM) -> Option { [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/lib.rs:126:27 [INFO] [stdout] | [INFO] [stdout] 126 | SetConsoleCtrlHandler(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/lib.rs:135:18 [INFO] [stdout] | [INFO] [stdout] 135 | CreateWindow(DWORD), [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/lib.rs:158:33 [INFO] [stdout] | [INFO] [stdout] 158 | static ref WM_CONSOLE_CTRL: UINT = [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/lib.rs:260:23 [INFO] [stdout] | [INFO] [stdout] 260 | hwnd: HWND, [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/lib.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | process_id: 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/lib.rs:267:63 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe extern "system" fn enum_windows_proc(hwnd: HWND, lparam: LPARAM) -> BOOL { [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/lib.rs:267:77 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe extern "system" fn enum_windows_proc(hwnd: HWND, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:267:88 [INFO] [stdout] | [INFO] [stdout] 267 | unsafe extern "system" fn enum_windows_proc(hwnd: HWND, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:296:16 [INFO] [stdout] | [INFO] [stdout] 296 | thread_id: 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/lib.rs:337:41 [INFO] [stdout] | [INFO] [stdout] 337 | fn enqueue_ctrl_event(&self, event: DWORD) -> Result<(), 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/lib.rs:337:62 [INFO] [stdout] | [INFO] [stdout] 300 | impl TrapThreadData { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 337 | fn enqueue_ctrl_event(&self, event: DWORD) -> Result<(), 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/lib.rs:350:55 [INFO] [stdout] | [INFO] [stdout] 350 | unsafe extern "system" fn console_ctrl_handler(event: DWORD) -> BOOL { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:350:65 [INFO] [stdout] | [INFO] [stdout] 350 | unsafe extern "system" fn console_ctrl_handler(event: DWORD) -> BOOL { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/lib.rs:375:11 [INFO] [stdout] | [INFO] [stdout] 375 | 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/lib.rs:376:10 [INFO] [stdout] | [INFO] [stdout] 376 | 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/lib.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | wparam: 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/lib.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | lparam: 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/lib.rs:379:6 [INFO] [stdout] | [INFO] [stdout] 379 | ) -> LRESULT { [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 82 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `wintrap` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name wintrap src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=a7ed373e6ac0987f -L dependency=/opt/rustwide/target/debug/deps --extern crossbeam_channel=/opt/rustwide/target/debug/deps/libcrossbeam_channel-d98f6188f64c5645.rmeta --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-1479f2b7adeaa2b6.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-00acb59b070ed94c.rmeta --cap-lints=warn --crate-version 0.3.1` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "33f7cef25c97ad425eb0b6455efae028b3c545a55993d5729cb47f3b4caf5d5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33f7cef25c97ad425eb0b6455efae028b3c545a55993d5729cb47f3b4caf5d5b", kill_on_drop: false }` [INFO] [stdout] 33f7cef25c97ad425eb0b6455efae028b3c545a55993d5729cb47f3b4caf5d5b