[INFO] fetching crate wintrap 0.3.1... [INFO] checking wintrap-0.3.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate wintrap 0.3.1 into /workspace/builds/worker-115/source [INFO] validating manifest of crates.io crate wintrap 0.3.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-115/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--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-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afb642d5720dec4edd186b4478f8c74308deb72033ca5d1f9f7c438ff70ab284 [INFO] running `Command { std: "docker" "start" "-a" "afb642d5720dec4edd186b4478f8c74308deb72033ca5d1f9f7c438ff70ab284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afb642d5720dec4edd186b4478f8c74308deb72033ca5d1f9f7c438ff70ab284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afb642d5720dec4edd186b4478f8c74308deb72033ca5d1f9f7c438ff70ab284", kill_on_drop: false }` [INFO] [stdout] afb642d5720dec4edd186b4478f8c74308deb72033ca5d1f9f7c438ff70ab284 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b238c502775edc1eecd4dcc4d7692ea37558b48bd5fa875f400cd99fd9a6f4c [INFO] running `Command { std: "docker" "start" "-a" "7b238c502775edc1eecd4dcc4d7692ea37558b48bd5fa875f400cd99fd9a6f4c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] winapi v0.3.9: handleapi, ntstatus, winerror, winnt, winsock2, ws2def, ws2ipdef, ws2tcpip [INFO] [stderr] [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking wintrap v0.3.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [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[E0433]: failed to resolve: use of undeclared type `DWORD` [INFO] [stdout] --> src/windows.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | DWORD::from(MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT)), [INFO] [stdout] | ^^^^^ use of undeclared type `DWORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking tokio-codec v0.1.2 [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[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/windows.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { GetLastError() } [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] | ^^^^ 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: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[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleCtrlHandler` in this scope [INFO] [stdout] --> src/windows.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { SetConsoleCtrlHandler(Some(handler_routine), if add { TRUE } else { FALSE }) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Error::SetConsoleCtrlHandler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/windows.rs:42:72 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { SetConsoleCtrlHandler(Some(handler_routine), if add { TRUE } else { FALSE }) }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/windows.rs:42:86 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { SetConsoleCtrlHandler(Some(handler_routine), if add { TRUE } else { FALSE }) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/windows.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | if result == FALSE { [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[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stdout] --> src/windows.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let result = unsafe { GetModuleHandleW(ptr::null()) }; [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: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[E0425]: cannot find function, tuple struct or tuple variant `RegisterWindowMessageW` in this scope [INFO] [stdout] --> src/windows.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | let result = unsafe { RegisterWindowMessageW(identifier_wide.as_ptr()) }; [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: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[E0425]: cannot find function, tuple struct or tuple variant `PostThreadMessageW` in this scope [INFO] [stdout] --> src/windows.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | let result = unsafe { PostThreadMessageW(thread_id, msg, wparam, lparam) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/windows.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | if result == FALSE { [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[E0425]: cannot find function, tuple struct or tuple variant `PostMessageW` in this scope [INFO] [stdout] --> src/windows.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | let result = unsafe { PostMessageW(window_handle.hwnd, msg, wparam, lparam) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/windows.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | if result == FALSE { [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[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentThreadId` in this scope [INFO] [stdout] --> src/windows.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | unsafe { GetCurrentThreadId() } [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] | ^^^^ 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: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[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stdout] --> src/windows.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | unsafe { EnumWindows(Some(proc), lparam) != FALSE } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/windows.rs:105:49 [INFO] [stdout] | [INFO] [stdout] 105 | unsafe { EnumWindows(Some(proc), lparam) != FALSE } [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:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | let mut process_id: DWORD = MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope [INFO] [stdout] --> src/windows.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | let thread_id = GetWindowThreadProcessId(hwnd, &mut process_id as *mut 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:111:80 [INFO] [stdout] | [INFO] [stdout] 111 | let thread_id = GetWindowThreadProcessId(hwnd, &mut process_id as *mut 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 `LPWSTR` in this scope [INFO] [stdout] --> src/windows.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | let mut buf: LPWSTR = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/windows.rs:119:50 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn format_error(code: DWORD) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 119 | let buf_ptr = unsafe { mem::transmute::<*mut LPWSTR, LPWSTR>(&mut buf as *mut LPWSTR) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/windows.rs:119:58 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn format_error(code: DWORD) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 119 | let buf_ptr = unsafe { mem::transmute::<*mut LPWSTR, LPWSTR>(&mut buf as *mut LPWSTR) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope [INFO] [stdout] --> src/windows.rs:119:83 [INFO] [stdout] | [INFO] [stdout] 119 | let buf_ptr = unsafe { mem::transmute::<*mut LPWSTR, LPWSTR>(&mut buf as *mut LPWSTR) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FormatMessageW` in this scope [INFO] [stdout] --> src/windows.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | FormatMessageW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_ALLOCATE_BUFFER` in this scope [INFO] [stdout] --> src/windows.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | FORMAT_MESSAGE_ALLOCATE_BUFFER [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_FROM_SYSTEM` in this scope [INFO] [stdout] --> src/windows.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | | FORMAT_MESSAGE_FROM_SYSTEM [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_IGNORE_INSERTS` in this scope [INFO] [stdout] --> src/windows.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | | FORMAT_MESSAGE_IGNORE_INSERTS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MAKELANGID` in this scope [INFO] [stdout] --> src/windows.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | DWORD::from(MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LANG_NEUTRAL` in this scope [INFO] [stdout] --> src/windows.rs:127:36 [INFO] [stdout] | [INFO] [stdout] 127 | DWORD::from(MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT)), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SUBLANG_DEFAULT` in this scope [INFO] [stdout] --> src/windows.rs:127:50 [INFO] [stdout] | [INFO] [stdout] 127 | DWORD::from(MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT)), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LocalFree` in this scope [INFO] [stdout] --> src/windows.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | unsafe { LocalFree(buf as HLOCAL) }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HLOCAL` in this scope [INFO] [stdout] --> src/windows.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | unsafe { LocalFree(buf as HLOCAL) }; [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: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[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope [INFO] [stdout] --> src/windows.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | let hwnd = CreateWindowExW( [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/windows.rs:159:42 [INFO] [stdout] | [INFO] [stdout] 159 | window_class.wndclass as LPCWSTR, [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 `MSG` in this scope [INFO] [stdout] --> src/windows.rs:181:26 [INFO] [stdout] | [INFO] [stdout] 181 | let mut msg: MSG = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/windows.rs:182:32 [INFO] [stdout] | [INFO] [stdout] 182 | let ret = unsafe { GetMessageW(&mut msg as *mut MSG, ptr::null_mut(), 0, 0) }; [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:182:61 [INFO] [stdout] | [INFO] [stdout] 182 | let ret = unsafe { GetMessageW(&mut msg as *mut MSG, ptr::null_mut(), 0, 0) }; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/windows.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | TranslateMessage(&mut msg as *mut MSG); [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:186:55 [INFO] [stdout] | [INFO] [stdout] 186 | TranslateMessage(&mut msg as *mut MSG); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/windows.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | DispatchMessageW(&mut msg as *mut MSG); [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:187:55 [INFO] [stdout] | [INFO] [stdout] 187 | DispatchMessageW(&mut msg as *mut MSG); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope [INFO] [stdout] --> src/windows.rs:200:18 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe { DestroyWindow(self.hwnd) }; [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[E0422]: cannot find struct, variant or union type `WNDCLASSEXW` in this scope [INFO] [stdout] --> src/windows.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 218 | let mut opts = WNDCLASSEXW { [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/windows.rs:219:36 [INFO] [stdout] | [INFO] [stdout] 213 | impl WindowClass { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 219 | cbSize: mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in this scope [INFO] [stdout] --> src/windows.rs:232:33 [INFO] [stdout] | [INFO] [stdout] 232 | let wndclass = unsafe { RegisterClassExW(&mut opts as *mut WNDCLASSEXW) }; [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/windows.rs:232:68 [INFO] [stdout] | [INFO] [stdout] 232 | let wndclass = unsafe { RegisterClassExW(&mut opts as *mut WNDCLASSEXW) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/windows.rs:234:26 [INFO] [stdout] | [INFO] [stdout] 234 | Err(unsafe { GetLastError() }) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnregisterClassW` in this scope [INFO] [stdout] --> src/windows.rs:243:18 [INFO] [stdout] | [INFO] [stdout] 243 | unsafe { UnregisterClassW(self.wndclass as *mut u16, self.instance) }; [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[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> src/lib.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | if msg == WM_CLOSE { [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:111:55 [INFO] [stdout] | [INFO] [stdout] 111 | Signal::from_console_ctrl_event(wparam as 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: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] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:274:25 [INFO] [stdout] | [INFO] [stdout] 274 | FALSE [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:276:25 [INFO] [stdout] | [INFO] [stdout] 276 | TRUE [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:284:67 [INFO] [stdout] | [INFO] [stdout] 284 | (&enum_windows_data as *const EnumWindowsData) as 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/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[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> src/lib.rs:320:50 [INFO] [stdout] | [INFO] [stdout] 320 | } else if msg.message == WM_CLOSE { [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:328:46 [INFO] [stdout] | [INFO] [stdout] 328 | let thread_id = r.recv().unwrap() as 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:329:41 [INFO] [stdout] | [INFO] [stdout] 329 | let hwnd = r.recv().unwrap() as 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: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 `WPARAM` in this scope [INFO] [stdout] --> src/lib.rs:338:78 [INFO] [stdout] | [INFO] [stdout] 338 | windows::post_message(self.window_handle, *WM_CONSOLE_CTRL, event as WPARAM, 0) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_QUIT` in this scope [INFO] [stdout] --> src/lib.rs:345:54 [INFO] [stdout] | [INFO] [stdout] 345 | windows::post_thread_message(self.thread_id, WM_QUIT, 0, 0).unwrap(); [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] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:360:38 [INFO] [stdout] | [INFO] [stdout] 360 | ... Ok(_) => TRUE, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:361:39 [INFO] [stdout] | [INFO] [stdout] 361 | ... Err(_) => FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:364:29 [INFO] [stdout] | [INFO] [stdout] 364 | None => FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 367 | FALSE [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:370:17 [INFO] [stdout] | [INFO] [stdout] 370 | None => FALSE, [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: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[E0425]: cannot find value `WM_CLOSE` in this scope [INFO] [stdout] --> src/lib.rs:387:15 [INFO] [stdout] | [INFO] [stdout] 387 | if msg == WM_CLOSE || msg == *WM_CONSOLE_CTRL { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope [INFO] [stdout] --> src/lib.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | DefWindowProcW(hwnd, msg, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/windows.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | .encode_wide() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/windows.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | OsString::from_wide(unsafe { slice::from_raw_parts(buf as *const u16, size as usize) }); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/windows.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | .encode_wide() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 149 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wintrap` due to 150 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "7b238c502775edc1eecd4dcc4d7692ea37558b48bd5fa875f400cd99fd9a6f4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b238c502775edc1eecd4dcc4d7692ea37558b48bd5fa875f400cd99fd9a6f4c", kill_on_drop: false }` [INFO] [stdout] 7b238c502775edc1eecd4dcc4d7692ea37558b48bd5fa875f400cd99fd9a6f4c