[INFO] crate winhandle 0.3.0 is already in cache [INFO] testing winhandle-0.3.0 against 1.44.0 for beta-1.45-1 [INFO] extracting crate winhandle 0.3.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate winhandle 0.3.0 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate winhandle 0.3.0 [INFO] finished tweaking crates.io crate winhandle 0.3.0 [INFO] tweaked toml for crates.io crate winhandle 0.3.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stdout] 6bea040c7f04663200edf4eca72966ac90a9e74be69155febe6064260abb5062 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "6bea040c7f04663200edf4eca72966ac90a9e74be69155febe6064260abb5062"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling widestring v0.2.2 [INFO] [stderr] Compiling winhandle v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/macros.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | pub use winapi::shared::minwindef::{FALSE}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/macros.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | pub use winapi::shared::winerror::{E_FAIL, S_OK}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/macros.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | pub use winapi::shared::winerror::{SUCCEEDED}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/macros.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | pub use winapi::um::errhandlingapi::{GetLastError}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/macros.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | pub use winapi::um::handleapi::{INVALID_HANDLE_VALUE}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/handle.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::windows::prelude::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/handle.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::um::winnt::{HANDLE, PVOID, ACCESS_MASK}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/handle.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::um::winnt::{DUPLICATE_SAME_ACCESS, DUPLICATE_CLOSE_SOURCE}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/handle.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use winapi::shared::minwindef::{DWORD, ULONG, TRUE, FALSE}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/handle.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::shared::winerror::{SUCCEEDED, NO_ERROR}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/handle.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use winapi::um::handleapi::{INVALID_HANDLE_VALUE, CloseHandle, GetHandleInformation, DuplicateHandle}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/handle.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | use winapi::um::processthreadsapi::{GetCurrentProcess}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/handle.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use winapi::um::fileapi::{GetFileType}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/handle.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | use winapi::um::winbase::{FILE_TYPE_CHAR, FILE_TYPE_DISK, FILE_TYPE_PIPE, FILE_TYPE_UNKNOWN}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/handle.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | use winapi::um::errhandlingapi::{GetLastError}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/comptr.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::um::unknwnbase::IUnknown; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/mem.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::um::winbase::{LocalFree}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/sys.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::winnt::{HANDLE, HRESULT, PVOID, LPSTR, ACCESS_MASK}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/sys.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::ntdef::{UNICODE_STRING}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/sys.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::shared::minwindef::{DWORD, HMODULE, ULONG, PULONG}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/sys.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::um::libloaderapi::{GetModuleHandleExW, GetProcAddress}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `Opaque` [INFO] [stderr] --> src/handle.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | use ::{Opaque}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/handle.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct WinHandle(HANDLE); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stderr] --> src/handle.rs:36:43 [INFO] [stderr] | [INFO] [stderr] 36 | if !self.0.is_null() && self.0 != INVALID_HANDLE_VALUE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stderr] --> src/handle.rs:37:22 [INFO] [stderr] | [INFO] [stderr] 37 | unsafe { CloseHandle(self.0); } [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/handle.rs:42:28 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct WinHandleTarget(HANDLE); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stderr] --> src/handle.rs:46:43 [INFO] [stderr] | [INFO] [stderr] 46 | if !self.0.is_null() && self.0 != INVALID_HANDLE_VALUE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stderr] --> src/handle.rs:47:22 [INFO] [stderr] | [INFO] [stderr] 47 | unsafe { CloseHandle(self.0); } [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/handle.rs:54:46 [INFO] [stderr] | [INFO] [stderr] 54 | pub unsafe fn from_raw_unchecked(handle: HANDLE) -> WinHandle { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/handle.rs:65:29 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn from_raw(handle: HANDLE) -> Option { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetHandleInformation` in this scope [INFO] [stderr] --> src/handle.rs:68:16 [INFO] [stderr] | [INFO] [stderr] 68 | if GetHandleInformation(handle, &mut _flags) == TRUE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/handle.rs:68:61 [INFO] [stderr] | [INFO] [stderr] 68 | if GetHandleInformation(handle, &mut _flags) == TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `AsRawHandle` in this scope [INFO] [stderr] --> src/handle.rs:76:67 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn clone_from(t: &T) -> io::Result where T: AsRawHandle { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/handle.rs:80:35 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn clone_from_raw(handle: HANDLE) -> io::Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `AsRawHandle` in this scope [INFO] [stderr] --> src/handle.rs:84:117 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn clone_from_ex(t: &T, inheritable: bool, access: ClonedHandleAccess) -> io::Result where T: AsRawHandle [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/handle.rs:89:45 [INFO] [stderr] | [INFO] [stderr] 89 | pub unsafe fn clone_from_raw_ex(handle: HANDLE, inheritable: bool, access: ClonedHandleAccess) -> io::Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DUPLICATE_SAME_ACCESS` in this scope [INFO] [stderr] --> src/handle.rs:91:45 [INFO] [stderr] | [INFO] [stderr] 91 | ClonedHandleAccess::Same => (0, DUPLICATE_SAME_ACCESS), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DuplicateHandle` in this scope [INFO] [stderr] --> src/handle.rs:96:32 [INFO] [stderr] | [INFO] [stderr] 96 | winapi_bool_call!(log: DuplicateHandle( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stderr] --> src/handle.rs:97:13 [INFO] [stderr] | [INFO] [stderr] 97 | GetCurrentProcess(), handle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stderr] --> src/handle.rs:98:13 [INFO] [stderr] | [INFO] [stderr] 98 | GetCurrentProcess(), &mut *new_handle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/handle.rs:100:30 [INFO] [stderr] | [INFO] [stderr] 100 | if inheritable { TRUE } else { FALSE }, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/handle.rs:100:44 [INFO] [stderr] | [INFO] [stderr] 100 | if inheritable { TRUE } else { FALSE }, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in module `$crate::macros` [INFO] [stderr] --> src/macros.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | ) == $crate::macros::FALSE { [INFO] [stderr] | ^^^^^ not found in `$crate::macros` [INFO] [stderr] | [INFO] [stderr] ::: src/handle.rs:96:9 [INFO] [stderr] | [INFO] [stderr] 96 | / winapi_bool_call!(log: DuplicateHandle( [INFO] [stderr] 97 | | GetCurrentProcess(), handle, [INFO] [stderr] 98 | | GetCurrentProcess(), &mut *new_handle, [INFO] [stderr] 99 | | access, [INFO] [stderr] 100 | | if inheritable { TRUE } else { FALSE }, [INFO] [stderr] 101 | | flags, [INFO] [stderr] 102 | | ))?; [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/handle.rs:107:30 [INFO] [stderr] | [INFO] [stderr] 107 | pub fn into_raw(self) -> HANDLE { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DUPLICATE_SAME_ACCESS` in this scope [INFO] [stderr] --> src/handle.rs:115:45 [INFO] [stderr] | [INFO] [stderr] 115 | ClonedHandleAccess::Same => (0, DUPLICATE_SAME_ACCESS), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DUPLICATE_CLOSE_SOURCE` in this scope [INFO] [stderr] --> src/handle.rs:119:29 [INFO] [stderr] | [INFO] [stderr] 119 | let flags = flags | DUPLICATE_CLOSE_SOURCE; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `DuplicateHandle` in this scope [INFO] [stderr] --> src/handle.rs:124:36 [INFO] [stderr] | [INFO] [stderr] 124 | winapi_bool_call!(log: DuplicateHandle( [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stderr] --> src/handle.rs:125:17 [INFO] [stderr] | [INFO] [stderr] 125 | GetCurrentProcess(), old_handle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stderr] --> src/handle.rs:126:17 [INFO] [stderr] | [INFO] [stderr] 126 | GetCurrentProcess(), &mut *new_handle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/handle.rs:128:34 [INFO] [stderr] | [INFO] [stderr] 128 | if inheritable { TRUE } else { FALSE }, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stderr] --> src/handle.rs:128:48 [INFO] [stderr] | [INFO] [stderr] 128 | if inheritable { TRUE } else { FALSE }, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in module `$crate::macros` [INFO] [stderr] --> src/macros.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | ) == $crate::macros::FALSE { [INFO] [stderr] | ^^^^^ not found in `$crate::macros` [INFO] [stderr] | [INFO] [stderr] ::: src/handle.rs:124:13 [INFO] [stderr] | [INFO] [stderr] 124 | / winapi_bool_call!(log: DuplicateHandle( [INFO] [stderr] 125 | | GetCurrentProcess(), old_handle, [INFO] [stderr] 126 | | GetCurrentProcess(), &mut *new_handle, [INFO] [stderr] 127 | | access, [INFO] [stderr] 128 | | if inheritable { TRUE } else { FALSE }, [INFO] [stderr] 129 | | flags, [INFO] [stderr] 130 | | ))?; [INFO] [stderr] | |______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `AsRawHandle` in this scope [INFO] [stderr] --> src/handle.rs:147:50 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn from(handle: &T) -> &Self where T: AsRawHandle { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/handle.rs:152:50 [INFO] [stderr] | [INFO] [stderr] 152 | pub unsafe fn from_raw_unchecked<'a>(handle: HANDLE) -> &'a Self { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/handle.rs:163:30 [INFO] [stderr] | [INFO] [stderr] 163 | pub fn from_raw(handle: &HANDLE) -> Option<&Self> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetHandleInformation` in this scope [INFO] [stderr] --> src/handle.rs:166:16 [INFO] [stderr] | [INFO] [stderr] 166 | if GetHandleInformation(*handle, &mut _flags) == TRUE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/handle.rs:166:62 [INFO] [stderr] | [INFO] [stderr] 166 | if GetHandleInformation(*handle, &mut _flags) == TRUE { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/handle.rs:174:26 [INFO] [stderr] | [INFO] [stderr] 174 | pub fn get(&self) -> HANDLE { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/handle.rs:191:36 [INFO] [stderr] | [INFO] [stderr] 191 | let mut return_length: ULONG = 0; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stderr] --> src/handle.rs:194:129 [INFO] [stderr] | [INFO] [stderr] 194 | match HRESULT_FROM_NT(nt_query_object(self.get(), OBJECT_INFORMATION_CLASS::TypeInformation, buffer.as_mut_ptr() as PVOID, buffer.len() as ULONG, &mut return_length)) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/handle.rs:194:152 [INFO] [stderr] | [INFO] [stderr] 194 | match HRESULT_FROM_NT(nt_query_object(self.get(), OBJECT_INFORMATION_CLASS::TypeInformation, buffer.as_mut_ptr() as PVOID, buffer.len() as ULONG, &mut return_length)) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/handle.rs:195:22 [INFO] [stderr] | [INFO] [stderr] 195 | s if SUCCEEDED(s) => {}, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetFileType` in this scope [INFO] [stderr] --> src/handle.rs:208:38 [INFO] [stderr] | [INFO] [stderr] 208 | let kind = match GetFileType(self.get()) { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stderr] --> src/handle.rs:213:32 [INFO] [stderr] | [INFO] [stderr] 213 | ... if GetLastError() != NO_ERROR { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NO_ERROR` in this scope [INFO] [stderr] --> src/handle.rs:213:50 [INFO] [stderr] | [INFO] [stderr] 213 | ... if GetLastError() != NO_ERROR { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/handle.rs:245:36 [INFO] [stderr] | [INFO] [stderr] 245 | let mut return_length: ULONG = 0; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stderr] --> src/handle.rs:248:129 [INFO] [stderr] | [INFO] [stderr] 248 | match HRESULT_FROM_NT(nt_query_object(self.get(), OBJECT_INFORMATION_CLASS::NameInformation, buffer.as_mut_ptr() as PVOID, buffer.len() as ULONG, &mut return_length)) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/handle.rs:248:152 [INFO] [stderr] | [INFO] [stderr] 248 | match HRESULT_FROM_NT(nt_query_object(self.get(), OBJECT_INFORMATION_CLASS::NameInformation, buffer.as_mut_ptr() as PVOID, buffer.len() as ULONG, &mut return_length)) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/handle.rs:249:22 [INFO] [stderr] | [INFO] [stderr] 249 | s if SUCCEEDED(s) => {}, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ACCESS_MASK` in this scope [INFO] [stderr] --> src/handle.rs:265:45 [INFO] [stderr] | [INFO] [stderr] 146 | impl WinHandleRef { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 265 | pub fn access_mask(&self) -> io::Result { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/handle.rs:270:46 [INFO] [stderr] | [INFO] [stderr] 146 | impl WinHandleRef { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 270 | pub fn handle_count(&self) -> io::Result { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/handle.rs:280:36 [INFO] [stderr] | [INFO] [stderr] 280 | let mut return_length: ULONG = 0; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stderr] --> src/handle.rs:282:136 [INFO] [stderr] | [INFO] [stderr] 282 | match HRESULT_FROM_NT(nt_query_object(self.get(), OBJECT_INFORMATION_CLASS::BasicInformation, &mut basic_info as *mut _ as PVOID, mem::size_of_val(&basic_info) as ULONG, &mut return_length)) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/handle.rs:282:176 [INFO] [stderr] | [INFO] [stderr] 282 | match HRESULT_FROM_NT(nt_query_object(self.get(), OBJECT_INFORMATION_CLASS::BasicInformation, &mut basic_info as *mut _ as PVOID, mem::size_of_val(&basic_info) as ULONG, &mut return_length)) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stderr] --> src/handle.rs:283:22 [INFO] [stderr] | [INFO] [stderr] 283 | s if SUCCEEDED(s) => {}, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `AsRawHandle` in this scope [INFO] [stderr] --> src/handle.rs:295:6 [INFO] [stderr] | [INFO] [stderr] 295 | impl AsRawHandle for WinHandle { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RawHandle` in this scope [INFO] [stderr] --> src/handle.rs:296:32 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct WinHandle(HANDLE); [INFO] [stderr] | ----------------------------- similarly named struct `WinHandle` defined here [INFO] [stderr] ... [INFO] [stderr] 296 | fn as_raw_handle(&self) -> RawHandle { unsafe { mem::transmute(self.get()) } } [INFO] [stderr] | ^^^^^^^^^ help: a struct with a similar name exists: `WinHandle` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `AsRawHandle` in this scope [INFO] [stderr] --> src/handle.rs:299:6 [INFO] [stderr] | [INFO] [stderr] 299 | impl AsRawHandle for WinHandleRef { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RawHandle` in this scope [INFO] [stderr] --> src/handle.rs:300:32 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct WinHandle(HANDLE); [INFO] [stderr] | ----------------------------- similarly named struct `WinHandle` defined here [INFO] [stderr] ... [INFO] [stderr] 300 | fn as_raw_handle(&self) -> RawHandle { unsafe { mem::transmute(self.get()) } } [INFO] [stderr] | ^^^^^^^^^ help: a struct with a similar name exists: `WinHandle` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `IntoRawHandle` in this scope [INFO] [stderr] --> src/handle.rs:303:40 [INFO] [stderr] | [INFO] [stderr] 303 | impl From for WinHandle where T: IntoRawHandle { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/handle.rs:333:14 [INFO] [stderr] | [INFO] [stderr] 333 | Explicit(DWORD), [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/handle.rs:368:19 [INFO] [stderr] | [INFO] [stderr] 368 | type Target = HANDLE; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/handle.rs:370:25 [INFO] [stderr] | [INFO] [stderr] 370 | fn deref(&self) -> &HANDLE { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/handle.rs:376:37 [INFO] [stderr] | [INFO] [stderr] 376 | fn deref_mut(&mut self) -> &mut HANDLE { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/handle.rs:402:11 [INFO] [stderr] | [INFO] [stderr] 402 | Other(DWORD), [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/comptr.rs:7:27 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct ComPtr(*mut IUnknown, PhantomData); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/comptr.rs:8:33 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct ComPtrTarget(*mut IUnknown, PhantomData); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/comptr.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | ComPtr(raw as *mut IUnknown, PhantomData) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/comptr.rs:30:24 [INFO] [stderr] | [INFO] [stderr] 30 | (*(raw as *mut IUnknown)).AddRef(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/comptr.rs:31:28 [INFO] [stderr] | [INFO] [stderr] 31 | ComPtr(raw as *mut IUnknown, PhantomData) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/comptr.rs:44:62 [INFO] [stderr] | [INFO] [stderr] 39 | impl ComPtrTarget { [INFO] [stderr] | - help: you might be missing a type parameter: `, IUnknown` [INFO] [stderr] ... [INFO] [stderr] 44 | pub unsafe fn as_unknown(&mut self) -> &mut ComPtrTarget { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/comptr.rs:45:66 [INFO] [stderr] | [INFO] [stderr] 39 | impl ComPtrTarget { [INFO] [stderr] | - help: you might be missing a type parameter: `, IUnknown` [INFO] [stderr] ... [INFO] [stderr] 45 | &mut *(self as *mut ComPtrTarget as *mut ComPtrTarget) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/comptr.rs:77:44 [INFO] [stderr] | [INFO] [stderr] 77 | unsafe { &*(&self.0 as *const *mut IUnknown as *const *mut T) } [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stderr] --> src/comptr.rs:83:50 [INFO] [stderr] | [INFO] [stderr] 83 | unsafe { &mut *(&mut self.0 as *mut *mut IUnknown as *mut *mut T) } [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `LocalFree` in this scope [INFO] [stderr] --> src/mem.rs:10:18 [INFO] [stderr] | [INFO] [stderr] 10 | unsafe { LocalFree(self.0 as _); } [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/sys.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn HRESULT_FROM_NT(x: DWORD) -> HRESULT { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/sys.rs:12:37 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn HRESULT_FROM_NT(x: DWORD) -> HRESULT { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/sys.rs:13:28 [INFO] [stderr] | [INFO] [stderr] 13 | const FACILITY_NT_BIT: DWORD = 0x10000000; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stderr] --> src/sys.rs:15:30 [INFO] [stderr] | [INFO] [stderr] 15 | (x | FACILITY_NT_BIT) as HRESULT [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/sys.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | handle: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stderr] --> src/sys.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | object_information: PVOID, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/sys.rs:22:32 [INFO] [stderr] | [INFO] [stderr] 22 | object_information_length: ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PULONG` in this scope [INFO] [stderr] --> src/sys.rs:23:20 [INFO] [stderr] | [INFO] [stderr] 23 | return_length: PULONG, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/sys.rs:24:6 [INFO] [stderr] | [INFO] [stderr] 24 | ) -> DWORD; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/sys.rs:26:38 [INFO] [stderr] | [INFO] [stderr] 26 | const GET_MODULE_HANDLE_EX_FLAG_PIN: DWORD = 0x1; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stderr] --> src/sys.rs:30:25 [INFO] [stderr] | [INFO] [stderr] 30 | let mut handle: HMODULE = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleExW` in this scope [INFO] [stderr] --> src/sys.rs:31:33 [INFO] [stderr] | [INFO] [stderr] 31 | match winapi_bool_call!(GetModuleHandleExW( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FALSE` in module `$crate::macros` [INFO] [stderr] --> src/macros.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | ) == $crate::macros::FALSE { [INFO] [stderr] | ^^^^^ not found in `$crate::macros` [INFO] [stderr] | [INFO] [stderr] ::: src/sys.rs:31:15 [INFO] [stderr] | [INFO] [stderr] 31 | match winapi_bool_call!(GetModuleHandleExW( [INFO] [stderr] | _______________- [INFO] [stderr] 32 | | GET_MODULE_HANDLE_EX_FLAG_PIN, [INFO] [stderr] 33 | | WideCString::from_str("ntdll.dll").unwrap().as_ptr(), [INFO] [stderr] 34 | | &mut handle, [INFO] [stderr] 35 | | )) { [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stderr] --> src/sys.rs:48:19 [INFO] [stderr] | [INFO] [stderr] 48 | match GetProcAddress(*nt_dll, b"NtQueryObject\0".as_ptr() as LPSTR) { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPSTR` in this scope [INFO] [stderr] --> src/sys.rs:48:74 [INFO] [stderr] | [INFO] [stderr] 48 | match GetProcAddress(*nt_dll, b"NtQueryObject\0".as_ptr() as LPSTR) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/sys.rs:69:21 [INFO] [stderr] | [INFO] [stderr] 69 | pub Attributes: ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ACCESS_MASK` in this scope [INFO] [stderr] --> src/sys.rs:70:24 [INFO] [stderr] | [INFO] [stderr] 70 | pub GrantedAccess: ACCESS_MASK, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/sys.rs:71:22 [INFO] [stderr] | [INFO] [stderr] 71 | pub HandleCount: ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/sys.rs:72:23 [INFO] [stderr] | [INFO] [stderr] 72 | pub PointerCount: ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/sys.rs:73:16 [INFO] [stderr] | [INFO] [stderr] 73 | Reserved: [ULONG; 10], [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UNICODE_STRING` in this scope [INFO] [stderr] --> src/sys.rs:78:19 [INFO] [stderr] | [INFO] [stderr] 78 | pub TypeName: UNICODE_STRING, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/sys.rs:79:16 [INFO] [stderr] | [INFO] [stderr] 79 | Reserved: [ULONG; 22], [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UNICODE_STRING` in this scope [INFO] [stderr] --> src/sys.rs:84:15 [INFO] [stderr] | [INFO] [stderr] 84 | pub Name: UNICODE_STRING, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stderr] --> src/sys.rs:89:23 [INFO] [stderr] | [INFO] [stderr] 89 | struct HModuleWrapper(HMODULE); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stderr] --> src/sys.rs:94:19 [INFO] [stderr] | [INFO] [stderr] 94 | type Target = HMODULE; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stderr] --> src/sys.rs:96:25 [INFO] [stderr] | [INFO] [stderr] 96 | fn deref(&self) -> &HMODULE { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/sys.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | / lazy_static! { [INFO] [stderr] 29 | | static ref NT_DLL_HANDLE: Option = unsafe { [INFO] [stderr] 30 | | let mut handle: HMODULE = ptr::null_mut(); [INFO] [stderr] 31 | | match winapi_bool_call!(GetModuleHandleExW( [INFO] [stderr] ... | [INFO] [stderr] 42 | | }; [INFO] [stderr] 43 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/sys.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | / lazy_static! { [INFO] [stderr] 46 | | pub static ref NtQueryObject: Option = unsafe { [INFO] [stderr] 47 | | NT_DLL_HANDLE.and_then(|nt_dll| { [INFO] [stderr] 48 | | match GetProcAddress(*nt_dll, b"NtQueryObject\0".as_ptr() as LPSTR) { [INFO] [stderr] ... | [INFO] [stderr] 56 | | }; [INFO] [stderr] 57 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 121 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `winhandle`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6bea040c7f04663200edf4eca72966ac90a9e74be69155febe6064260abb5062"` [INFO] running `"docker" "rm" "-f" "6bea040c7f04663200edf4eca72966ac90a9e74be69155febe6064260abb5062"` [INFO] [stdout] 6bea040c7f04663200edf4eca72966ac90a9e74be69155febe6064260abb5062